Jkjkjmokk

In: Computers and Technology

Submitted By AyArMrwt
Words 517
Pages 3
Hospital Management
UML Class Diagram Example
This is an example of a hospital domain model diagram. The domain model for the Hospital Management System is represented by several class diagrams. The purpose of the diagram is to show and explain hospital structure, staff, relationships with patients, and patient treatment terminology.
On the diagram below a Person could be associated with different Hospitals, and a Hospital could employ or serve multiple Persons. Person class has derived attributes name and homeAddress. Name represents full name and could be combined from title, given (or first) name, middle name, and family (or last) name.Patient class has derived attribute age which could be calculated based on her or his birth date and current date or hospital admission date.
The Patient class inherits attributes from the Person class. Several inherited attributes name, gender, and birthDate are shown with prepended caret '^' symbol (new notation introduced in UML 2.5).

Hospital organization domain model - Patient, Hospital, Staff - Operations, Administrative, Technical.
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. Diagram below shows it using {id} modifier for ward's name.
Wards are differentiated by gender of its patients, i.e. male wards and female wards. A ward can only have patients of the gender admitted to it. Gender is shown as enumeration. Ward and patient have constraint on Gender.
Every ward has a fixed capacity, which is the maximum number of patients that can be on it at one time (i.e. the capacity is the number of beds in the ward). Different wards may have different capacities.
The doctors in the hospital are organised into teams (also called…...

Similar Documents