0% found this document useful (0 votes)
87 views1 page

Class Diagram

The class diagram models a hospital management system with four main classes: Patient, Doctor, Receptionist, and their relationships. A patient can be assigned to one doctor and one room, a doctor can have multiple patients, and a receptionist manages room availability and record keeping.

Uploaded by

akshada
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
87 views1 page

Class Diagram

The class diagram models a hospital management system with four main classes: Patient, Doctor, Receptionist, and their relationships. A patient can be assigned to one doctor and one room, a doctor can have multiple patients, and a receptionist manages room availability and record keeping.

Uploaded by

akshada
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Model1::ClassDiagram1

Patient
receptionist
doctor
+pId: int
+Rid: int
+doctId: int +pname: string
1 +name: string
+Name: string +age: int *
+dept: string +mob: int +checkRoomavail()
+specialization: string * * +sex: string +bookRoom()
+roomNo: int +generatebill()
+prescribeMeds() +Attribute1 +MaintainRecords()
+checkReports()
+payBills()

You might also like