Professional Documents
Culture Documents
04 Modeling
04 Modeling
M hnh ng cnh
M hnh tng tc
M hnh cu trc
M hnh hnh vi
external interaction
perspective perspective
System
behavioral structural
perspective perspective
M hnh ha t chc
M hnh ha hnh vi ca mt h thng
ng ca h thng hay cu trc ca d
v cch n tr li s liu c x l bi
kin nh th no. h thng.
M hnh ng cnh
M hnh tng tc
M hnh cu trc
M hnh hnh vi
Patient Record
System
Management
Admissions System
Reporting System
MHC-PMS
HC Statistics
Prescription System
System
Appointments
System
Security system
Branch Accounting
Account DB
system
ATM
System
Branch counter
Usage DB
system
Mantainance
system
Transfer to
[not available] police station
Confirm
detention
decision Find secure
place
Transfer to
Inform
[available] secure hospital
[dangerous] social care
Inform
patient of Inform next
rights of kin
Record Update
Admit to
detention register
hospital
decision [not
dangerous]
system
system MHC-PMS
system Admissions
MHC-PMS system
14
M hnh quy trnh mua thit b
Deli very
note
Checked Delivery
Equipment note
spec.
Specify spec. Accept Check
Validate Get cost
equipment delivery of delivered
specification estimates
required equipment items
Spec. +
supplier + Installation
Equipment estimate Order
instructions
spec. Supplier list notification
Place
Supplier Find Choose Install
equipment
database suppliers supplier equipment
Order order
details plus
blank order Installation
form acceptance
Accept
delivered
Check ed and
equipment
signed or der f orm
Equipment
details
Equipment
database
M hnh ng cnh
M hnh tng tc
M hnh cu trc
M hnh hnh vi
Transfer data
20
Cc use cases v tng tc ca
Medical Receptionist
Register
patient
Unregister
patient
View patient
info.
Medical
receptionist
Transfer data
Contact
patient
21
Biu tun t
vL mt phn ca UML v c s dng m
hnh ha tng tc gia cc actor v cc i
tng trong mt h thng.
vCh ra mt chui tun t cc tng tc xy ra
trong mt use case c th no hoc mt
trng hp ca use case.
vCc i tng v cc actor lin quan c lit
k pha trn biu , vi mt ng nt t
v theo chiu ng t cc i tng ny.
vCc tng tc gia cc i tng ny c
bng nhng ng mi tn c ch thch.
ViewInfo (PID)
report (Info, PID, i tng v
UID) cc actor
authorize (Info,
thng ip UID)
(message) chu k sng
(lifeline) ca
authorization i tng
alt
[authorization OK] Patient info
thng ip tr
iu kin v (return
[authorization fail] Error (no access)
message)
23
Biu tun t truyn d liu
Medical Receptionist PRS
login ( )
ok
alt
[sendInfo]
updateInfo( ) updatePRS (UID )
authorize (TF, UID)
authorization
update (PID)
update OK
Message (OK)
[sendSummary]
UpdateSummary( )
summarize (UID )
authorize (TF, UID)
authorization
:summary
update (PID)
update OK
Message (OK)
logout ( )
24
Ni dung
M hnh ng cnh
M hnh tng tc
M hnh cu trc
M hnh hnh vi
1 1 Patient
Patient record
Kt hp
Lp Patient (association)
28
Cc lp v cc kt hp trong h
thng MHC-PMS
Consultant
1
referred-to
1..*
1..* 1..* 1..* 1
Condition Patient General
referred-by practitioner
diagnosed-
with 1..*
attends
1..*
prescribes
Consultation Medication
1..* 1..*
1..*
runs prescribes
1..4 Treatment
1..*
Hospital
Doctor
29
Lp Consultation
Tn lp
Consultation
New ( )
Prescribe ( )
RecordNotes ( )
Transcribe ( )
...
30
Tng qut ha (Generalization)
Doctor
Hospital General
doctor practitioner
Trainee Qualified
doctor doctor
33
Mt cy phn cp chi tit hn
Doctor
Name
Phone #
Email
register ( )
de-register ( )
Staff # Practice
Pager # Address
34
M hnh cng gp lp i tng
Patient record
1 1
1 1..*
Patient Consultation
36
Ni dung
M hnh ng cnh
M hnh tng tc
M hnh cu trc
M hnh hnh vi
Calculate
insulin
delivery
Control Calculate
Insulin Pump control Insulin
pump pump
pump commands requirement
commands
40
X l n t hng
datastore
:Order Budget
Orders
Fillin ( )
Validate ( )
[validation ok]
Update (amount)
Save ( )
Send ( )
41
M hnh hng s kin
Timer
Waiting
Number
do: display Operation
Full Set time
time
power do: get number do: operate
exit: set time oven
Half
Half power
Door
power Cancel
Timer closed
Start
Door
open Door
Half power Enabled Waiting
open
do: set power Door do: display do: display
= 300 closed 'Ready' time
Disabled
Trng thi do: display
'Waiting'
Tc ng
44 (stimulus)
Trng thi ca l vi ba (a)
Trng thi M t
Waiting L vi ba ang i u vo. Mn hnh hin th thi gian hin ti.
Half power Ngun c thit lp mc 300 watts. Mn hnh hin th Half
power.
Full power Ngun c thit lp mc 600 watts. Mn hnh hin th Full
power.
Set time Thi gian nu c thit lp bi gi tr u vo ca ngi dng.
Mn hnh hin th thi gian nu c chn v cp nht li thi
gian ngi dng thit lp.
Disabled Hot ng ca l vi ba b dng v l do an ton. n bn trong l bt
sng. Mn hnh hin th Not ready.
Enabled Hot ng ca ca l vi ba trang thi sn sng nu. n trong
l tt. Mn hnh hin th Ready to cook.
Operation L ang trng thi hot ng. n trong l bt sng. Mn hnh
hin th b m li. Khi nu xong, c mt ting buzz trong 5s. n
trong l bt sng. Mn hnh hin th Cooking complete khi ang c
ting buzz.
45
Cc tc ng vo l vi ba (b)
Tc ng M t
Half power Ngi s dng n nt half-power.
46
Hot ng ca l vi ba
Operation
Time
Checking
OK Cook
do: check do: run
status generator
Done
Alarm
do: buzzer on
do: display
for 5 secs.
event
Disabled Waiting
47
Tng kt
v M hnh l gc nhn tru tng ca mt h thng
m n b qua cc chi tit ca h thng. Cc m
hnh h thng c s dng ch ra ng cnh,
tng tc, cu trc v hnh vi ca h thng.
v M hnh ng cnh h tr vic nh ngha ranh gii
ca h thng c pht trin v mi trng m n
thc thi trong .
v Biu use case v biu tun t c dng
m t tng tc gia ngi dng v h thng ang
c thit k.
Cc use case m t tng tc gia mt h thng v cc actor
bn ngoi;
Biu tun t thm thng tin vo nhng use case ny bng
cch ch ra tng tc gia cc i tng h thng.