Use Case Details - Md-Ashraful-Alam/CSE327_Section05_Group03_Hospital_Management_System GitHub Wiki
Use Case Details
User portal
Actor: Patient & Doctor
Scenario:
- user must be logged in as a patient or doctor.
- Patients and Doctors can track their meetings, appointments.
Exception:
- Too many requests might slow down our server.
Post-condition:
- Successful: Patient and Doctor can check the features of hospital.
- Unsuccessful: Redirect to the home page.
- Exception: Redirect to the home page.
E-prescription
Primary Actor: Doctor
Secondary Actor: Patient
Scenario:
- Doctors must be logged in.
- Patients must be logged in.
- Doctors can prescribe patients they had an appointment with.
- Patients can check their prescriptions, and request clarifications.
Exception:
- Pdf converter tool might fail to export a prescription as pdf.
- Too many requests at a time might slow down our server.
Post-condition:
- Successful: Doctors can prescribe medicine, and patients can check the prescription. The system will generate a downloadable version of the prescription.
- Unsuccessful: Redirect to the 404 error page.
- Exception: Redirect to the home page.
Video Conference over Google Meet
Primary Actor: Doctor
Secondary Actor: Patient
Scenario:
- Doctors must be logged in.
- Patients must be logged in.
- Doctors can attach a Google Meet link while accepting an appointment.
- Patients can log in to the link and consult with a doctor.
Exception:
- Any problem occurring in Google Meet will hamper the video conference.
Post-condition:
- Successful: Interaction between doctor and patient.
- Unsuccessful: Redirect to the 404 error page.
- Exception: Redirect to the home page.
Online Appointment
Actor: Patient
Scenario:
- Patients must be logged in.
- Patients can request a specific doctor's appointment.
Exception:
- Too much request for a specific doctor might affect the appointment schedule.
Post-Condition:
- Successful: Patients can successfully request appointments.
- Unsuccessful: Request creation will fail and redirect to the 404 error page.
- Exception: Redirect to the home page.
Blood Donation Service
Actor: Patient
Scenario:
-
Any type of patient can see the donor list.
-
Only logged-in patient as a user can request for donation service. Exception:
-
If too many requests are made then there might not be enough donors to donate blood.
Post-Condition:
- Successful: Patients can create or read blogs.
- Unsuccessful: Redirect to the 404 error page.
- Exception: Redirect to the home page.
Organ Donation
Actor: Patient
Scenario:
- Any type of Patient can see the donor list.
- Only logged-in users can request for donation service.
Exception:
- Handling too many users requests at the same time can slow down the server.
Post-Condition:
- Successful: Patient can create or provide service.
- Unsuccessful: Redirect to the 404 error page.
- Exception: Redirect to the home page.
Bed Service
Actor Patient
Scenario:
- Any type of Patient apply for bed according to their needs.
- Only logged-in patient can request for bed.
Exception:
- Handling too many users requests at the same time can slow down the server.
Post-Condition:
- Successful: Patient can view the bed with bed charge.
- Unsuccessful: Redirect to the 404 error page.
- Exception: Redirect to the home page.
Order Medicine
Actor: Patient
Scenario:
- User must be logged in to the system.
- Patient can check available medicine in the store online.
- Patient can order desired medicine.
Exception:
- The desired medicines can be out of stock.
- Too many requests at a time could slow down the server.
Precondition:
- Patient must have a valid prescription prescribed by a doctor.
Post-Condition:
- Successful: Show successful message and send the receipt via email.
- Unsuccessful: Redirect to homepage showing an error message.
- Exception: Redirect to the homepage.
Patient Story Portal
Primary Actor: Patient
Scenario:
- Patient must be logged in in order to post new Stories.
- Patient can post stories about recent situations, breakthroughs in medical fields, etc.
- Any type of user can read the articles.
Exception:
- Too many stories with images can slow down the loading time.
Post-Condition:
- Successful: Users can add story.
- Unsuccessful: Redirect to the 404 error page.
- Exception: Redirect to the home page.