Question: Q1: Draw a Class Diagram using MS Visio for the following scenario. A client wants you to develop a Hospital Management System as per the

Q1: Draw a Class Diagram using MS Visio for the following scenario.               
 
A client wants you to develop a Hospital Management System as per the details provided below.
There are a lot of people associated with the hospital. Each Person could be associated with different Hospitals, and a Hospital could employ or serve multiple persons.
Person has derived attributes name and address. Name represents full name and could be combined from title, given (or first) name, middle name, and family (or last) name.
A Person can be a Patient or Staff. The Staff can be Operations Staff and Administrative Staff. Doctors and Nurses come under Operations Staff.
Patient can have a unique patient number, date of admission, blood group, sickness, allergies and prescriptions and a derived attribute age which could be calculated based on her or his birth date. A Patient can take medicine, give blood test or X-ray, or do exercise as per instructions.
Doctor has some specialty, designation and location of his room. A doctor can examine, provide prescription and perform surgery/operation of his patient. A Doctor and a nurse can treat many patients. One patient is treated by 1 or 2 doctors, a senior doctor and a junior doctor.
The hospital consists of wards. Ward is a division of a hospital or a suite of rooms shared by patients who need a similar kind of care. In a hospital, there are a number of wards, each of which may be empty or have on it one or more patients. Each ward has a unique name and fixed capacity. Wards are differentiated by gender of its patients, i.e. male wards and female wards.


Step by Step Solution

3.31 Rating (151 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

Here is the Diagram in ... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!