OOSE Lab File E-5
OOSE Lab File E-5
OOSE Lab File E-5
EXPERIMENT – 5
AIM: Write use case description of your case study i.e. “Hospital Patient
Management System (HPMS)”.
Introduction: This use case allows the user to access the system.
Actors:
Patient
Doctor
Admin
Precondition: The user must have their login id and password with them.
Postcondition: If the use case is successful, the user is granted access to the
system.
Event Flow:
Basic Flow
1. The user enters his/her login id and password.
2. The user’s login id and password are matched with the system’s database.
3. The user’s credentials match and he is granted access of the system.
Special Requirements:
None
Associated use cases:
All other use cases are executable only after this login use case.
+
Introduction: This use case allows the user to check the doctor’s available.
Actors:
Patient
Precondition: The user must have their login id and password with them.
Postcondition: If the use case is successful, the user is given the information if the
Doctor is available.
Event Flow:
Basic Flow
The user gets the access to the list of available doctors available in the database.
Special Requirements:
None
Introduction: This use case allows the user to access the list of available
appointments.
Actors:
Patient
Precondition: The user must be logged into the system before the use case begins.
Event Flow:
Basic Flow
The user gets the access to the list of available appointments available in the database.
Special Requirements:
None
Introduction: This use case allows the users to book and appointment for meeting
a doctor.
Actors:
Patient
Precondition: The user must be logged onto the system before the use case begins.
Event Flow:
Basic Flow
The users enter the required details for booking an appointment which is to be maintained. Then
details of registration are updated in the database and maintained by the administrator.
Special Requirements:
The details entered by the users should be in prescribed format (data handling).
Introduction: This use case allows the Patient and the Administrator to manage
appointments.
Actors:
Administrator
Patient
Precondition: The patient and the administrator must be logged onto the system before the use
case begins.
Postcondition: If the use case is successful, details of the appointment can be viewed and updated
by the Patient and the Administrator.
Event Flow:
Basic Flow
The patient/administrator enter their login details. Now they can update their appointment timings.
Special Requirements:
The details entered by the patient/administrator should be in prescribed format (data handling).
Introduction: This use case allows the admin to view all the user’s within the database
Actors:
Administrator
Precondition: The administrator must be logged onto the system before the use case begins.
Postcondition: If the use case is successful, details of all the patients are
successfully viewed by the administrator.
Event Flow:
Basic Flow
The administrator logs into the system and views the records of all the patients.
Special Requirements:
None
Introduction: This use case allows the doctor and the administrator to view
all the appointments for a specific doctor.
Actors:
Administrator
Doctor
Precondition: The doctor and admin must be logged onto the system before the use case begins.
Event Flow:
Basic Flow
The administrator/doctor enters the app and view their appointments.
Special Requirements:
None
Introduction: This use case allows the user to the doctor to file medical reports.
Actors:
Doctor
Precondition: The doctor must be logged onto the system before the use case begins.
Event Flow:
Basic Flow
The administrator/data entry operator enters the required details of patient’s report which is to be
maintained.
Special Requirements:
None
Introduction: This use case allows the doctor to update/delete patient records
Actors:
Doctor
Precondition: The doctor must have their login id and password with them.
Postcondition: If the use case is successful, the patient record is deleted.
Event Flow:
Basic Flow
1. The doctor enters his/her login id and password.
2. The doctor’s login id and password are matched with the system’s database.
3. The doctor’s credentials match and he is granted access of the system.
4. Now as the doctor clicks the delete button, the patient’s record is deleted
Alternative Flow 1: Unauthorized doctor
If the system does not validate the doctor’s login id or password (due to user not being in the system
or user entering wrong credentials), then an error message is flagged and the use case returns to the
beginning of the basic flow.
Alternative Flow 2: User exits
This allows the doctor to exit at any time during the use case. The use case ends.
Special Requirements:
None