Hi, this might be an easy question but my mind is blank.
I have 3 tables for a teen drop in service.
I know tblPatients is a 1-many relationship with tblReasonForVisit. But is tblOutcomeOfVisit a 1-1 relationship with rblReasonForVisit? As each visit only has 1 outcome? And if so, what FK do I need to put in the tblOutcomeOfVisit table to link with another table?
tblPatients
Also on a side note, is it possible to select more than 1 outcome from a drop down or list box and have them stored in a table?
Cheers
Will
I have 3 tables for a teen drop in service.
I know tblPatients is a 1-many relationship with tblReasonForVisit. But is tblOutcomeOfVisit a 1-1 relationship with rblReasonForVisit? As each visit only has 1 outcome? And if so, what FK do I need to put in the tblOutcomeOfVisit table to link with another table?
tblPatients
- ID
- DateOfVisit - would this be better in the ReasonForVisit table?
- Date of Birth
- Postcode
- Gender
- FirstVisitofYear - YES/NO outcome - would this be better in the ReasonForVisit table?
- ID (auto num)
- patientID (number) - linked to tblPatients ID field
- Smoking - Check Box
- Exercise - Checkbox
- MentalHealth Advice - Checkbox
- Relationship Advice - Checkbox
- ID (auto num)
- Now this FK, does it need to be the tblReasonForVisit ID or the tblPatients ID?
- PregnancyTest
- Notes
- EHC
- CondomDistribution
- SignpostToOtherServices - this was going to be a drop down, but it can have more than 1 outcome, so would a few check boxes be better? As a patient can be signed to like a GP and a midwife etc...??
Also on a side note, is it possible to select more than 1 outcome from a drop down or list box and have them stored in a table?
Cheers
Will