Hospital
+ name : string
+ address : string
<<exception>>Appointment rejected
+ phone_no : long
+ name : string 1
1 + operate()
- phone_no : long
+ checkUp()
1
1
Lab
1..* do tests at 1 + location : string
Patient + test()
1..* + generateReports()
+ name : string
+ age : int
+ gender : char
+ address : string Receptionist{Id=JC999}
1 add details Patient Database
+ bloodgroup : char1..* 1 + name : string 1 + size : int
+ phone_no : long + id : char
+ providePatientDetails()
+ takeAppointment() take appointment + giveAppointment()
+ storeDetails()
+ cancelAppointment() + checkAppointment()
+ checkUp() 1..* + maintainPatientRecord()
+ payBill() 1..* + generateBills() 1
+ test()
Doctor should available
ask for appointment
attains 1..* 1..*
Doctor Cardiologist
1..*
Nurse 1..* 1..* + name : string 1..* + name : string
1..* # license_no : string
+ qualification : char
+ name : string + licence_no : string + checkUp()
+ id : char provide details
+ speciality : string + treatment()
+ prescribe() + checkUp()
+ report() + treatment()
+ maintainFile() 1..*
+ prescription()
+ suggestTests()
Class Diagram For Hospital Management System
Diagram: class diagram Page 1
: Patient : Receptionist : Doctor
: Patient Database : Lab
1:Ask for appointment
2:Check if doctor is available
3:Confirm or deny appointment
4: Add patient details
5.Check up
6.Suggest some tests
7: Perform tests
8: Generate reports
9:Collect reports
10:Show reports
11:Give prescription
12:Generate bill
13:Pay bill
14: Update record
Sequence Diagram For Check up of Patient in Hospital Management System
Diagram: sequence diagram for HMS Page 1
Initial state
Lab open
Tests arre suggested
Doctors not available Do tests
Reports are generated
Lab close
Final state
State Diagram For Object Lab in Hospital Management System
Diagram: state diagram for HMS Page 1
D:Doctor
+ Name : = Ruhaan Mishra
+ Speciality : = Cardiologist
+ Checkup()
+ Perform test()
+ Discuss reports()
+ Give prescription()
p:Patient
H:Hospital
+ Name : = Ruhi Dey
+ Name : = Ganpati
+ Gender : = F
+ Speciality : = Cardiac center
# Age : = 26
+ Admit patient()
+ Take appointment()
+ Operations()
+ Cancel appointment()
+ Treatment()
+ Checkup()
+ Pay bill()
Object Diagram For Hospital Management System
Diagram: object diagram for HMS Page 1
Initial state
Database open
Appointment given and check up done
Docor not available Undergoing updation
Updation completed
Database close
Final state
State Diagram For Patient Database Object in Hospital Management System
Diagram: state diagram for db in HMS Page 1
Take appointment
Check up Ask for appointment
Treatment
Doctor
Patient
Give prescription
Generate bill Receptionist
<<include>>
Pay bill
Cancel appointment
Use Case Diagram For Hospital Management System
Diagram: use case diagram for HMS Page 1
HMS.exe
Hospital database Operation theater
Rooms
staff
Component Diagram For Hospital Management System
Diagram: component diagram for HMS Page 1
Application server
<<lan>>
Hospital local server
<<lan>> <<optical fibre wire>>
<<lan>>
Desktop client Printer
Database server
Deployment Diagram For Hospital Management System
Diagram: deployment diagram for HMS Page 1