Assign 1
Assign 1
ID: 664997
A patient record and scheduling system in a doctor’s office is used by the receptionists, nurses,
and doctors. The receptionists use the system to enter new patient information when first-time
patients visit the doctor. They also schedule all appointments. The nurses use the system to keep
track of the results of each visit including diagnosis and medications. For each visit, free form
text fields are used captures information on diagnosis and treatment. Multiple medications may
be prescribed during each visit. The nurses can also access the information to print out a history
of patient visits. The doctors primarily use the system to view patient history. The doctors may
enter some patient treatment information and prescriptions occasionally, but most frequently they
let the nurses enter this information. -- Each patient is assigned to a family. The head of family is
responsible for the person with the primary medical coverage. Information about doctors is
maintained since a family has a primary care physician, but different doctors may be the ones
seeing the patient during the visit.
(i) Identify Classes and their attributes
1. Patient: name, patient ID, date of birth, gender, contact information, medical
history
2. Doctor: doctor ID, name, contact information, specialty, patient id
3. Receptionist: reception ID name, contact information
4. Nurse: nurse ID, name, contact information, doctor id
5. Appointment: appointment ID, date, time, doctor id, patient id
6. Medication: medicine id, medicine name, patient id
7. Family: family id, family head, patient id.