Visiting Doctor scenario
a) Draw an ERD for a scenario in which patients visit doctors. It is possible that a patient is visited by more than one doctor. Create DOCTOR and PATIENT entities and add at least four attributes to them including a primary key. Create an implementation ready ERD with all appropriate connectivities and cardinalities. Justify your choice of cardinalities with real world examples. In case you need to add any new entities, add at least two attributes apart from their primary keys to describe the entity.
b) Extend your ERD by adding a test entity. During each visit, doctors may ask patients to take a test in the doctor’s office. Write all appropriate connectivities and cardinalities in the ERD.
ERD:
Explanation:
represents ENTITY
represents Attribute
represents primary attribute
represents relationship
represents cardinality
Get Answers For Free
Most questions answered within 1 hours.