Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Consider a Hospital with a fixed number of rooms for patients. The application needs to keep track of patients, their emergency contact person, and rooms.
Consider a Hospital with a fixed number of rooms for patients. The application needs to keep track
of patients, their emergency contact person, and rooms. Patients need to be admitted when brought
to the clinic for care and discharged afterwards. Each room can be empty, or there can be a patient
assigned to it New patients can only be admitted if there is an available room, and can only be
Page
assigned to an empty room. Each patient can have zero or more doctors when first admitted, there
may not be a doctor assigned to them; we need to be able to assign doctors to admitted patients, be
able to find out which doctors have been assigned to each patient, and lookup the emergency contact
for a specific patient. Each doctor can have zero or more patients assigned, we need a way to assign
doctors to patients, and find out which patients are assigned to each doctor. Doctors will start their
shift, care for some number of admitted patients while on duty, and end their shift after some number
of hours.
Evaluatio
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started