Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 8

Abdul Ahad khan

21 – ARID -4824
4853 BSSE – 3A
Software Engineering Requirements

Use cases in the Mentcare system involving the role


‘ Medical Receptionist’

Register
Patient

Unregister
Patient

View patient
Info.
Medical
Receptionist
Transfer data

Contact
Patient
Process model of involuntary detention

Transfer to
[not available]
Confirm detention Police station
decision

Find Secure
Place Inform
Transfer to Social care
[dangerous]
[available] secure hospital
Inform
Patient of
rights
Inform next
of kin

Record
Detention
decision
Update
register

Admin to
hospital
[not
dangerous]
<<system>
>
mentcare
<<system>
> <<system>>
Admission mentcare
system
Sequence diagram for View patient information

Medical Receptionist

P: PatientInfo D: Mentcare-DB AS: Authorization

ViewInfo (PID)
Report (Info, PID,
UID)
Authorize (Info,
UID)

Authorization

alt Patient Info


[authorization OK]

[authorization fail] Error (no access)


Transfer-data use case

Transfer data

Medical Receptionist Patient record system


Medical
PRS
Receptionist

P: PatientInfo AS: Authorization

Login( )

[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 ()
Order processing

Purchase Officer
State diagram of a microwave oven

Full
power
Full power

do: set power


=600

Timer
Number
Waiting Full Operation
Set time
Do: display power Do: operate
Time do: get number even
Exit: set time

Half
power
Start
Half Timer Door
Cancel
powe Closed
r
Door Door
Open Open Waiting
Enabled

Do: display
Half power ‘Ready’
Do: Display time
Do: set power
=300

Disabled

Do: display
‘Waiting’
<<system>>
Patient
record
system
<<system>>
<<system>
Managemen
>
t Reporting
Admissions
system
system

<<system>>
mentcare

<<system> <<system>
> HC >
statistics Prescriptio
system n system

<<system>>
mentcare

You might also like