User Stories
Actor I want to . . . So that . . .
Login I can use the functionality of the
As a Doctor system
and Change Password I can change my password
Secretary Add Patient I can add new patient’s record
Edit Patient I can edit record of the patient
View Patient I can view record of the patient
Print Medical I can print medical certificate for the
Certificate patients
Add Vaccines I can add new vaccines for the
patients immunization
Edit Vaccines I can edit the vaccines record
View Vaccines I can view the vaccines record
Add Appointment I can add appointment of the patient
Edit Appointment I can edit appointment details of the
patient
View I can view appointment of the patient
Appointment
Add Referral I can create a form that can refer a
patient to another or more capable
doctor that will take care of the
patient
Edit Referral I can edit the referral in the event of
errors
Print Referral I can make a hard copy of the referral
form of the patient
Add Medical I can create or add Medical Record of
Record patient(Symptoms, Physical Exam,
Diagnosis, Treatment, Remarks)
View Medical I can view past medical record of the
Record patient
Add Vaccination I can add vaccination to be injected in
the patient
View Vaccination I can view the vaccination that was
injected already to the patient
Add Payments I can add payments of the patient
View Payments I can view payments of the patient
Vaccine Report I can view vaccine that are commonly
used in the clinic
Illnesses Report I can view statistical report of the
illness
Backup & Restore I can back up and restore all the data
in the database
Edit Medical I can edit the medical record of the
As a Doctor Record patient in the event of errors
Edit Vaccination I can edit the vaccination in the event
of errors
Edit Payments I can edit error on the payments of
the patient
Add User I can create new users for the system
Edit User I can edit information of the users
View User I can view information of the user
Add Services I can add services the clinic serves
Edit Services I can edit service in the event of
errors
Delete Services I can delete service that my clinic does
not need anymore
Add Physicians I can add new physicians record for
my clinic
Edit Physicians I can edit physician’s record in the
event of errors
View Physicians I can view physician’s record easily
As a Receive SMS I can be reminded of my
Patient Message appointment/schedule.
As the Send Message I can send a reminder for the patient
System
Use Case Diagram
Use Case Specification
Use Case 2.2.1
Number:
Use Case Add Patient
Name :
Actors: Doctor/Secretary
Summary: The use case will add patient information
Triggers: The Doctor/Secretary wants to create record for the
patients
Pre- The Doctor/Secretary must login to the system to add
conditions: patient
Basic Doctor/Secretary: enter patient info.
Course Of a. Firstname
Events: b. Middlename
c. Lastname
d. Gender
e. Patient’s Birthday
f. Contact Number
g. Barangay
h. Town
i. City/Province
Optional:
j. Father’s Firstname
k. Father’s Middlename
l. Father’s Lastname
m. Mother’s Firstname
n. Mother’s Middlename
o. Mother’s Lastname
p. Guardian’s Firstname
q. Guardian’s Middlename
r. Guardian’s Lastname
PHIS: validate new patient info.
PHIS: save patient info
Alternative Doctor/Secretary: cancel adding patient information.
Paths: PHIS: close add patient form.
Exception If the Doctor/Secretary entered invalid information, the
Paths: system will not allow the Doctor/Secretary to add patient.
If the Doctor/Secretary did enter information or entered
invalid information, the system will display error.
Related The necessary information should be filled up.
Business User must login to access the system.
Rules:
Post The Doctor/Secretary successfully add patient in the
Conditions: system
Author & Author Name
Date: Date
Use Case 2.2.2
Number:
Use Case Edit Patient
Name :
Actors: Doctor/Secretary
Summary: The use case will edit patient information in the system.
Triggers: The doctor/secretary wants to edit patient information.
Pre- The doctor/secretary must login to the system to edit
conditions: patient information.
Basic Doctor/Secretary: search patient info
Course Of a. PatientID
Events: b. Lastname
c. Firstname
PHIS: validate patient info
PHIS: search patient info
PHIS: display patient info
Doctor/Secretary: edit patient info
d. Firstname
e. Middlename
f. Lastname
g. Gender
h. Patient’s Birthday
i. Contact Number
j. Barangay
k. Town
l. City/Province
Optional:
m. Father’s Firstname
n. Father’s Middlename
o. Father’s Lastname
p. Mother’s Firstname
q. Mother’s Middlename
r. Mother’s Lastname
s. Guardian’s Firstname
t. Guardian’s Middlename
u. Guardian’s Lastname
PHIS: validate edited patient info
PHIS: save patient info
Alternative Doctor/Secretary: cancel viewing patient information.
Paths: PHIS: edit patient form will be close.
Exception If the Doctor/Secretary did not enter information, the
Paths: system will not allow the Doctor/Secretary to view
patient.
If the Doctor/Secretary entered invalid information, the
system display error message.
Related Patient information must exist in the system
Business User must login to access the system.
Rules:
Post The Doctor/Secretary edits patient information
Conditions: successfully in the system.
Author & Author Name
Date: Date
Use Case 2.2.3
Number:
Use Case View patient
Name :
Actors: Doctor/Secretary
Summary: The use case will view patient information
Triggers: The doctor/secretary wants to view patient information
Pre- The doctor/secretary must login to the system to view
conditions: patient information
Basic Doctor/Secretary: Search patient info
Course Of a. PatientID
Events: b. Lastname
c. Firstname
PHIS: validate patient info
PHIS: verify search patient info
PHIS: display patient info
Alternative Secretary: cancel viewing patient information.
Paths: PHIS: close view patient form.
Exception If the Doctor/Secretary entered invalid information, the
Paths: system will display error.
Related Patient information must exist in the system.
Business Users must login to access the system.
Rules:
Post The Doctor/Secretary successfully views patient
Conditions: information in the system.
Author & Author Name
Date: Date
Sequence Diagram
Class Diagram