Professional Documents
Culture Documents
Sequence Diagrams
Self Message
aPatient :Patient
Object Focus of Control
Time Line
T h is is a n
explanatory note
Notes
aDoctor :
: ActorPatient
System Doctor
: ActorPatient
checkAvailability() checkAvailability( )
System GHRS
: ActorPatient : Administrator
This is a hypothetical
AnnounceArrival() object meant to represent
actor system interaction.
Real objects will replace
ProvideDetails() the system object shown
here in detailed diagrams
EnterDetails()
VerifyDetails() Separate Sequence
Diagrams will apply
if Insufficient Details
are provided by
VerifyMedicalInsuranceDetails() Patients
CreatePatientRecord()
CreatePatientRecordID()
aInterface aCalendar :
: Staff
Calendar
ShowCalendar()
GetCalendar()
EnterRosterDetails()
VerifyCalendar()
Separate Sequence
ValidateRosterDetails() diagrams need to be
created if there are
conflicting Rosters
UpdateCalendar()
AcceptedRosterDetails()
SpecifyInitialConsultationDetails()
ProvidePhysicianList()
Calendar is
SelectPhysician() separately
updated by
GetAvailableDate&Time() Doctor (Staff) in
terms of their
availability
SelectDate&Time()
UpdateCalendar()
ConfirmDate&Time()
: BPay : Bill
: ActorPatient
displayPayment( )
VeirfyBpayStatement()
acceptPayment( )
UpdateBill( )
GenerateReceipt()
ConfirmReceipt()
aPatient:
Patient
Patient
1: checkPatientDetails( ) checkPatientDetails( )
State
Start State
Transition
& Decision Point
Self-Transition
Notes
[ CorrectDetails ]
Guard Condition/
/ acceptPolicy
Action
• Stop State
– The state of the object at the end of its lifetime.
– Optional – a statechart will not have a stop state if the
object is never destroyed.
– A statechart can have many stop states.
Registered
Surgical
Yes No
For OutPatient,
Admitted Consulting follow
Consulation
StateChart
Operated
Recovered
Released
Available
[ Cancelled ]
Booked
SuperStates for
Consultation Objects
Closed
Provided
Billed
Generated PartPaid
Paid?
Yes No
Paid Defaulted
WEAKNESSES:
Deals with only one TRAPS:
object’s lifecycle Confusing with Activity diagrams
Remains Incomplete as does Too many technical details in
not show all objects and all business-level diagrams
states and transitions in one
diagram