This project requires you to create a database design. Your design will be documented in a set of Entity-Relationship diagrams. Draw a set of Entity-Relationship diagrams to model the following scenario. OHIP wants to track its' doctors, patients and hospitals. For the doctors, your design must be able to store:
For the patients, your design must be able to store:
For the hospital, your design must be able to store:
Finally, you need to store the following relationships:
can be seen by more than one doctor and a doctor can have more than one patient that they are attending to. Since the assignments relate to the doctor's area of specialty, a doctor may not always have patients assigned to them. One doctor will be given the position of the Chief Doctor at the Hospital. A doctor will only be the Chief Doctor for one hospital at a time. Every hospital must have a Chief Doctor. Not all doctors in the area will be a Chief Doctor for a Hospital in the area. When a serious medical condition arises, a patient will be admitted to the closest hospital. A hospital may have many patients, but a patient will only be admitted to one hospital. All hospitals will have patients that have been admitted and are waiting to be treated. An individual is not considered a patient of the hospital unless they have been admitted to the hospital and are waiting to be treated.