Requirements Analysis Document
Requirements Analysis Document
Patient-Tariku
Entry Condition The Cashier sends filled Test order form written by the
doctor to the laboratory class after laboratory payment
takes place.
2
Table 7.as-is scenario for Write Prescription
3
<<Uses>> Adduser
Receptionists
<<Uses>> Renewpatient
Receptionists
5
Alternative flow The patient has no laboratory test.
go to step 6
The doctor press the “NO” button
The HMS backs to the prescription form.
Exit condition The doctor presses yes button after saving the information.
Quality The doctor must carefully press the buttons available.
requirement
Table 10.write prescription use case
Writeperscription
Doctor
Laboratory Request
Doctor
Fig 4.Laboratory Requestuse case model
Use case Name ViewOrder
Participating actor Doctor
Entry condition The doctor logged to the system, the receptionist send the order
to the doctor
Flow of event 1. HMS responds by displaying “diagnosis window” with
list of menu (prescription, laboratory request, orders, lab
result )
2. The doctor selects the orders menu.
3. HMS displays a form with list of patient orders.
4. The doctor selects the first order in the list.
5. HMS displays selected patient information.
7
Table 12.view order use case
Vieworder
8
<<Uses>> Test result
<<extends>>
View order
Lab Technician
9
Fig 7 charge payment use case model
Exit condition The patient pays the total price and the cashier gives
receipt
10
Quality requirement The patient must have the money.
The cashier must provide receipt.
Table 15.advanced payment use case
11
Fig 9.login use case model
Use Case Name AddAccount
Participating Actor Manager, user
Entry Condition Manager gets user’s name
Flow of Control 1. System display “create”, “remove” buttons.
2. Manager clicks on “create” button.
3. HMS display “AccountCreate form” that contains
“UserName”, “PassWord”, fields .
4. Manager fills in this fields and clicks on “create”
button.
Exit condition When create button is clicked.
Quality requirement It must contain different user name and password.
Table 17 add account use case
12
Fig 11 add account use case mode
General Use Case Model
13
Class Patient
This class is used to store patients’ information. It contains Full name, age,
address, sub city, kebele, House number, telephone number, occupation and
marital status as attribute. Also will have set and get method for those attributes.
Class Employee
This classes inherits from the Employee class and will have a method related to
their jobs this methods are shown in the class diagram.
Class Account
This class is used to manage the user accounts and is only created by the
manager. But all users can change their own user name and password. It will have
username and password as an attribute and changeuname() and changepass() as a
method.
Class Department
14
3.4.3.2 Class diagrams
Fig 12 class diagram
15
3.4.4 Dynamic models
Sequence Diagrams
16
Fig 15 sequence diagram for renew patient registration
17
Fig 16 sequence diagram for adding account
18
Fig 17 sequence diagram for remove account
19
Fig 18 sequence diagram for lab test order
20
Fig 19 sequence diagram for login
21
Fig 20 sequence diagram for charge payment
22
Fig 21 sequence diagram for advanced payment
23
Fig 22 sequence diagram for writing prescription
24
Fig 23 sequence diagram for view order
25
Fig 24 sequence diagram for lab result form
26