Hello Everyone!
Here is an example of an Class diagram of a Hospital Management System.
Problem Statement -
The hospital wishes to maintain a database to assist with the administration of its wards and operating theatre and to maintain information related to its patients, surgeons and nurse. Most patients are assigned to a ward on admittance and each ward may contain many patients. However consultants (senior surgeons) in the hospital may have private patients who are assigned to private room. A nurse may or may not be assigned to a ward and she cannot be assigned to more than one ward. A ward may have many nurses assigned to it. Each ward is dedicated to a particular type of patient. A nurse may or may not be assigned to a theatre and she cannot be assigned more than one theatre. Theatre may have many nurses assigned to it. A patient may have number of operations. The information to be recorded about the operation includes the type of operation, the patients, the surgeons involved, date time and location. Only one surgeon will perform the operation. Any other surgeon present will be considered as assisting operator. Each consultant has a specialization.
Check out other UML (Unified Modeling Language) Diagrams -
Comments
Post a Comment