Vous êtes sur la page 1sur 8

Case study2: Hospital Management System

Use Case Diagram:

Sequence Diagram:

P1:Patient

R1:Receptionist

D1:Doctor

N1:Nurse

Takes Appointment

Takes Appointment From Doctor Doctor Available

Confirms Appointment

Consults Doctor Assist Doctor Treats Patient Patient OK

Ask For payment Pays Fees

Collaboration Diagram:

1: Takes Appointment 1 : Pay Fees P1:Patient !: Confirms Appointment ": Ask For Payment R1:Receptionist

': Doctor Available %: Treats Patient #: Consults Doctor $: Patient OK

&: Takes Appointment from Doctor

D1:Doctor (: Assist Doctor

N1:Nurse

State Chart Diagram

)*le

Patient approac. .ospital 1.en ill

Patient A*mitte*

0vent Of Patient

+ali*ate

Operate*

,ill -eneration

Patient Disc.ar/e

Class Diagram:

2ur/eon name 1556 i* *esi/nation operate78 1556 2enior sur/eon speciali3ation in non4senior sur/eon speciali3ation in

works for

Operation t.eatre operation9i*

Nurses 1 :ospital name i* place a*ministration78 maintain info78 a** patient78 a** sur/eon78 works in 1 1556 name i* 1ar*9no assistin/78 c.eckin/ paitent .ealt.78 1 assigned to 1556 ;ar* 1ar*9no patient9a*mitte* 555 nurse9assi/ne*

conducts 1

Patient Operation admitted in name 1556 operation9i* Patient type 1556 undergoes 1556 1 name patient9i* i* sur/eon9i* type9of9treatment cost9of9operation 1ar*9no

admitted to

ACTI IT! DIA"#AM:

Patient takes appointment receptionist check s for doctor no *octor is not available

<es patient consult *octor

patient needs to be operated

no

Doctor attains patient

yes

un*er/oes operation patient /ets operate* patient ok yes *isc.ar/e

sur/eon operates paitent

nurse assist sur/eon

no

C$M%$&'&T DIA"#AM:

eBuipment *atabase @@useAA @@useAA

:O2P)TA= >ANA-0>0NT 2<2T0> =OCA= 20R+0R

:O2P)TA= >ANA-0>0NT DATA,A20

@@useAA @@resi*eAA ?tility :>2 DATA PROC022)N?ser )nterface

D'%($!M'&T DIA"#AM:

Desktop client

@@Primary net1orkAA

Printer

:O2P)TA= =OCA= 20R+0R

@@Private net1orkAA

@@Private net1orkAA

Database server

Vous aimerez peut-être aussi