Menu

(Solved) : Paython Code Hospital Busy Place Lot Patients Also Lot Employees Keep System Running Perfe Q35684164 . . .

paython code:

A hospital is a very busy place with a lot of patients and alsoa lot of employees to keep
the system running perfectly. All people in the hospital have basicinformation like title,
name, gender, address, and phone number. Employees of the hospitalhave extra
information like employee-id and salary. For every 25 employees,there is a manager who
is also an employee, but gets an allowance of 7% more than thesalary. There are also
doctors and nurses who are employees in the hospital. Doctors andnurses are assigned to
a specific department, like dental, pediatric, cardiac, and so on.Then, there are two types
of patients in the hospital, the In-Patients and the Out-Patients,while both have all the
basic information, the In-Patients have a room number where theyare admitted.
You are required to draw the UML Class diagram and create Pythonclasses to represent
the different types of people in a hospital. Identify the classesand the relationships
between them. Implement the classes in Python.

Create a separate test module where instances of the class arecreated, and the methods are tested by creating a list ofdifferentpeople in the hospital and displaying theirinformationInclude also a Test class, to test the functionalitiesof the implemented classes.

Expert Answer


Answer to Paython Code Hospital Busy Place Lot Patients Also Lot Employees Keep System Running Perfe Q35684164 . . .

OR