T
Tim Tafflinger
I'm building a medical case management database in which the patient will be
asked a series of questions to assess their current situation, with
additional questions asked depending on their answers.
The two main tables are:
MEMBERS
PK - MemberID
CASES (each member can have multiple cases)
PK - CaseID
FK - MemberID
What I'm struggling with is that related to the case are about 35 distinct
assessment areas with multiple questions in each area and some of those
questions can have multiple answers which requires another related table.
Plus there are another 5 tables with other data related to the case. It
seemed to me that relating all 40 tables to the CASES table was the way to go
but when trying to set up the relatioinships with referential integrity I
received an error. Apparently that exceeds the number of relationships one
table can have in Access.
So, the first question would be is my data model ok and I'm just dealing
with an Access limitation, or is it a poor data model? If it's a poor data
model then I'm at a loss to know how to redesign it. Any suggestions greatly
appreciated!
asked a series of questions to assess their current situation, with
additional questions asked depending on their answers.
The two main tables are:
MEMBERS
PK - MemberID
CASES (each member can have multiple cases)
PK - CaseID
FK - MemberID
What I'm struggling with is that related to the case are about 35 distinct
assessment areas with multiple questions in each area and some of those
questions can have multiple answers which requires another related table.
Plus there are another 5 tables with other data related to the case. It
seemed to me that relating all 40 tables to the CASES table was the way to go
but when trying to set up the relatioinships with referential integrity I
received an error. Apparently that exceeds the number of relationships one
table can have in Access.
So, the first question would be is my data model ok and I'm just dealing
with an Access limitation, or is it a poor data model? If it's a poor data
model then I'm at a loss to know how to redesign it. Any suggestions greatly
appreciated!