Hi guys,
I'm new to Access although I've read countless tutorials and guide on how to design databases and on how to use Access.
Nonetheless, I'm still uncertain with my approach. Please see my relationship screenshot and tell me if I'm off to a good start.
Basically, I'm doing a clinical database where all patients are listed in "tbl_Patient". The PK is "Patient_ID".
One patient can have many visit. So I created a tbl_PatientVisit with a one-to-many relationship. In this table PatientVisit_ID is the autonumber PK and the table represent the combination of a patient with a visit and a timestamp. The tbl_Visit is only a lookup table where I've put text tags for the Visit_ID that is a PK number field (1= baseline; 2= first follow-up; 3=second follow; 4= final follow-up).
This is where I'm confused...
At each visit, I do a complete re-assessment of the patient with different questionnaires. The first one is the tbl_Patient_GDS-15 which is a depression questionnaire with 15 items (each one is a field). The second one is an apathy questionnaire and is named tbl_Patient_ApathyScale; it has 14 questions and each one is a field. The third questionnaire is tbl_Patient_DRS2 and is a dementia questionnaire and will have over 200 fields when I'll finish designing the table.
My rules:
So basically, one patient can have many visit. This creates a PatientVisit_ID.
One patient visit (PatientVisit_ID) can only have one record by questionnaire; one for each questionnaire type (tbl_Patient_GDS-15; tbl_Patient_ApathyScale; tbl_Patient_DRS2). Because in real life one Patient_GDS-15_ID = one questionnaire printed on paper, one Patient_ApathyScale_ID = one questionnaire printed on paper and one Patient_DRS-2_ID = one questionnaire printed on paper, each of them can be related to only one PatientVisit_ID = one patient visit, this creates a one-to-one relationship.
My first question : Up to now, Am I seeing this the correct way? I know I could merge all my questionnaires table into one, but some of them have will over 200 fields (and I'll add a total of 16 questionnaires), so I wanted to divide them.
What I'm aiming at :
To create a user interface for my assistant to type in data.
There'll be a "tier 1" form where the user select/creates a patient_ID file (add new patient for instance). Once selected or created, they'll be at a "tier 2" form to select the visit_ID and the time of this visit. They'll have buttons to select or create a new visit for the pre-selected patient at step 1. Once visit selected, they will open the "tier 3" form where all the tests are organized within tabs and they can record the patient responses for this visit for all questionnaires...
Please see the second screenshot to have an idea of what my data would look like in a redundant Excel spreadsheet. Of course, I only included two mockup questionnaires with 4 questions each
My second question : So far, Am I ok with my form design?
On my end:
I'll create custom queries to extract data and analyse it in SPSS/SAS/MathLab.
I want my data to be organized so that I can apply filters (criteria) to my needs.
For instance : extract all the data from all patients over 70 years old, with a score >4 at baseline (T0) on the GDS-15 questionnaire.
Other example : extract all T0 (baseline) questionnaires (all questionnaires) data from all patients over 50 years old.
Report example : show me all the patient that have had at least one follow-up.
My third : Will I be able to do that with such an approach? Should I reconsider some aspects of my design?
I thank you so very much, it is really appreciated.
Regards,
Max