R
Raj Patel
Hello,
I am a newbite to Access and have a question.
I have three tables in a medical database that are of concern:
tblQuestions
------------
PK - QuestionID
FK - ExamID
Number
tblEncounters
-------------
PK - EncounterID
FK - ExamID
Date
Location
tblHospitalizations
-------------------
PK - HospitalizationID
FK - PatientID
AdmitDate
LocationType
LocationName
KeywordPresent
All of these tables relate to a final table that looks like this:
tblDiagnoses
------------
DiagnosisID
Reason
Code
SP
Each on of the tables can had multiple diagnoses. Right now I have
created many-to-many relationships between these three tables and a
single tblDiagnoses table. This way each record in the three tables
can have multiple diagnoses. I am not sure whether this is the proper
way to setup this relationship. How else can/should this be done? A
one-to-many relationship seems right, but that will not work since
there are three tables that all relate to tblDiagnoses.
Thanks.
I am a newbite to Access and have a question.
I have three tables in a medical database that are of concern:
tblQuestions
------------
PK - QuestionID
FK - ExamID
Number
tblEncounters
-------------
PK - EncounterID
FK - ExamID
Date
Location
tblHospitalizations
-------------------
PK - HospitalizationID
FK - PatientID
AdmitDate
LocationType
LocationName
KeywordPresent
All of these tables relate to a final table that looks like this:
tblDiagnoses
------------
DiagnosisID
Reason
Code
SP
Each on of the tables can had multiple diagnoses. Right now I have
created many-to-many relationships between these three tables and a
single tblDiagnoses table. This way each record in the three tables
can have multiple diagnoses. I am not sure whether this is the proper
way to setup this relationship. How else can/should this be done? A
one-to-many relationship seems right, but that will not work since
there are three tables that all relate to tblDiagnoses.
Thanks.