Del_Piero_3
Registered User.
- Local time
- Today, 19:09
- Joined
- Jul 20, 2004
- Messages
- 33
Hi guys, I need help with setting up my tables and relationship for a questionnaire type of database.
Basically there are two questionnaires that are conducted; one is completed on the day of the treatment and another one after the treatment on a later date. Both questionnaires have 13 questions each but are different. The database is supposed to store this data.
First questionnaire also has the patient ID number, Age and patient telephone contact number recorded while the second questionnaire only needs the patient ID number and a date. The second questionnaire has some questions that have multiple values such as comments with a normal answer yes or no.
This is so far I’ve come up with:
tblePatients
PatientID
Age
TelephoneNo
tbleQuestions
QuestionID
QuestionNo
Question
tbleAnswers
AnswerID
QuestionID
PatientID
Answer
The problem I am having is that I am not sure how to distinguish the difference between the two questionnaires and where the date field supposed to go? I would appreciate your help, I have to make sure the structure is right before I proceed further.
Kind Regards
Basically there are two questionnaires that are conducted; one is completed on the day of the treatment and another one after the treatment on a later date. Both questionnaires have 13 questions each but are different. The database is supposed to store this data.
First questionnaire also has the patient ID number, Age and patient telephone contact number recorded while the second questionnaire only needs the patient ID number and a date. The second questionnaire has some questions that have multiple values such as comments with a normal answer yes or no.
This is so far I’ve come up with:
tblePatients
PatientID
Age
TelephoneNo
tbleQuestions
QuestionID
QuestionNo
Question
tbleAnswers
AnswerID
QuestionID
PatientID
Answer
The problem I am having is that I am not sure how to distinguish the difference between the two questionnaires and where the date field supposed to go? I would appreciate your help, I have to make sure the structure is right before I proceed further.
Kind Regards
Last edited: