Professional Documents
Culture Documents
Actors :
• Administrator
• Doctors
• Receptionist
• Nurse/Staff
• Patient
• Accountant
• Pharmacist
Use cases :
• Login
• Appointments
• Room allotment
• Diagnosis
• Prescribe treatment
• Prescribe tests
• Salary
• Bill payments
• Reports generation
• Give medicines
II.CLASS DIAGRAM
Accountant Receptionis
Hired_dt : date Hired_dtt : date
Exp : int Exp : int
Skill : string Skill : string
Salary: int Salary: int
handles Rooms
room_id: int
Person type: string
Payment
name : string
payment_id: int
pid : int
patient_id : int
address : string
total : int
dob : date
phone : string Visits
sex: string
makes
Appointmen
app_id:tint
app_dt : date Nurse
patient_id : int ward_id: int
doc_id : int Hired_dt : date
Exp : int
takes Skill : string
Salary: int
Patient Is allotted
Reg_dt : date
Doctor
makes
Department_id: int Pharmacist
Hired_dt : date Hired_dt : date
Exp : int Exp : int
Treatment Skill : string
does Salary: int
trt_id: int Salary: int
patient_id : int
doc_id : int
gives
treatment : has
string
Medicines
med_id: int Department
Hospital
med_desc: string dept_id:sint
price : float dept_name:string has hosp_id: int
hosp_name: string
head_id: int
III. SEQUENCE DIAGRAMS
2. Provide details
3. Enter
1. Enter details
hospital
1. Visit_doc()
2. Ask_que()
3. Tell_prob()
5. Diagnose()
6. Start()
7. Prescribe_test()
8. test_done()
9.
Prescribe_med()
10. Take_med()
11. cured()
• Bill Payment
Patient Accountant
1. Provide _detail()
2. Prepare_ bill()
3.Return_ bill()
4. Pay_amount()
5.
Return_receipt()
IV. COLLABORATION DIAGRAM
1. Enter_hosp()
2. Enquire()
Patient Receptionis
t
7. Gives_report () 3. Enter_detail()
4. Give_appointment(
9. Pay_bill ()
)
Accountant Doctor
10.Prepare_bill () 5. Diagnose()
6. Prescribe tests_ med
11.Take_amount () ()
8. Cures_patient ()
V.STATE CHART DIAGRAMS
• Patient
Enters
hospital
Takes
appointment
Undergo
Diagnosis
Takes Not
treatment cured
Undergo tests
and take
medicines
Gets cured
• Receptionist
Takes
patient’s
details
Check doctor’s
availability
Gives
appointment
Generates
reports
Room
allotment if
required
• Doctor
Diagnose the
patient
Gives the
treatment
Prescribes
medicines
and tests
Cures the
patient
USE CASE DIAGRAM
Appointment
s
Room
allotments
Receptionis Administrat
Diagnosis
t or
Prescribe
treatment
Login
Patient
Tests
Doctor
Salary
Bill
payments
Reports
generation
Accountant
Give
medicines Pharmacis
t