In: Operations Management
A hospital has a large number of registered physicians.
Attributes of PHYSICIAN include Physician ID (the identifier) and
Specialty. Patients are admitted to the hospital by physicians.
Attributes of PATIENT include Patient ID (the identifier) and
Patient Name. Any patient who is admitted must have exactly one
admitting physician. A physician may optionally admit any number of
patients. Once admitted, a given patient must be treated by at
least one physician. A particular physician may treat any number of
patients, or may not treat any patients. Whenever a patient is
treated by a physician, the hospital wishes to record the details
of the treatment (Treatment Detail). Components of Treatment Detail
include Date, Time, and Results.
Q1. Did you draw more than one relationship between physician and
patient? Why or why not?
Q2.Did you include hospital as an entity type? Why or why
not?
Q3.Does your ERD allow for the same patient to be admitted by
different physicians over time?
I have used the following symbols in the ER diagram-
1.
Yes, one is 'admit' and the second one is 'treat'.
2.
Yes, one may however choose to not include it in the ER diagram as it is a base.
3.
Yes, a patient has a unique patient id however there is no date or admit transaction recorded.