Submitted By:: Project Hospital Management System
Submitted By:: Project Hospital Management System
Submitted by:
Zain Javed : 2023-uam-1903
Annas Abbas: 2023-uam-1889
Abdul Wahab: 2023-uam-1908
M. Najam Ul Hassan: 2023-uam-1901
Introduction
Hospital Management System
Hospitals play a vital role in our lives by offering the greatest medical care to those
with a variety of illnesses, whether brought on by stress, emotional trauma, a
change in the weather, or other causes. Hospital staff members who are essential
to the proper operation of the facility must maintain detailed records of their daily
activities and interactions with patients, physicians, nurses, ward boys, and other
staff members.
However, it is exceedingly time-consuming and prone to error to keep track of all
the actions and their records on paper. Not to mention that it takes a lot of time
and is highly inefficient given the ongoing rise in both the population and hospital
visits. Keeping track of all these documents is extremely unpredictable, ineffective,
and prone to mistakes.
Problem Statement for Hospital Management System
The broken and manual processes used by hospital management today create
inefficiencies and make it difficult to provide high-quality patient care. Unorganised
communication lines, outdated technology, and paper-based record-keeping all
lead to mistakes, omissions, and delays in obtaining vital patient data.
Furthermore, the absence of integrated solutions makes it more difficult to analyze
data for resource optimisation and well-informed decision-making.
Main Actor
1. Patient
Stores information about patients such as patient ID, name, contact details, and
address.
2. Doctor
Contains details about doctors including doctor ID, name, specialty, contact
information, and department.
3. Appointment
Represents appointments made by patients with doctors. It includes attributes
like appointment ID, appointment date and time, patient ID, doctor ID, and any
additional notes.
4. Staff
Stores information about hospital staff members such as staff ID, name,
position, and contact details.
5. Department
Contains details about different departments in the hospital. Each department
has a department ID and name.
2. Receptionist
- Schedules the appointment and registers the patient.
- Collects fees and issues receipts.
- Directs the patient to the respective doctor or department.
3. Doctor
- Examines the patient and prescribes tests or medications.
- Refers the patient to the lab or specialist if needed.
- Updates medical records and advises follow-up care.
4. Lab/Diagnostic Center
- Conducts medical tests (e.g., blood tests, X-rays).
- Shares reports with the doctor for diagnosis.
5. Pharmacy
- Dispenses prescribed medicines to the patient.
- Updates inventory and generates bills.
6. Administration
- Ensures system data security and backups.
- Manages billing, insurance claims, and reporting.
- Monitors staff performance and hospital efficiency.
Diagram Representation
Each swim lane represents one of the above roles. The diagram uses arrows to
depict the process flow, showing how tasks move across swim lanes.
For example
- Patient -> Receptionist (to book an appointment).
- Receptionist -> Doctor (to direct the patient).
- Doctor -> Lab/Diagnostic Center -> Doctor (to share test reports).
- Doctor -> Pharmacy (to fill prescriptions).
1. Patient Admission:
Patient arrives at the hospital.
Receptionist greets the patient.
Receptionist collects patient information (name, contact details, reason for
visit, insurance details, etc.).
Receptionist verifies patient's insurance coverage.
Receptionist assigns a unique identifier (ID) to the patient.
2. Medical Assessment:
Nurse or medical assistant escorts the patient to the examination room.
Nurse takes vital signs and records patient history.
Nurse updates patient's medical record in the system.
3. Consultation with Doctor:
Doctor reviews patient's medical history and current condition.
Doctor performs physical examination and orders further tests if necessary.
Doctor discusses diagnosis and treatment plan with the patient.
4. Treatment and Procedures:
Nurse administers medications or treatments as prescribed by the doctor.
Nurse schedules any necessary procedures (e.g., X-rays, scans, surgeries).
5. Patient Discharge:
Doctor determines when the patient is ready for discharge.
Nurse provides discharge instructions and medications.
Receptionist handles billing and insurance claims.
Patient leaves the hospital.
This sequence diagram illustrates the flow of interactions between various
components involved in the patient admission process, including receptionists,
nurses, doctors, and patients. Each step represents a specific action or task
performed as part of the admission process within the Hospital Management
System.
For a Hospital Management System (HMS), the class diagram and its characteristics would
typically include:
1. Classes: Representing entities such as Patient, Doctor, Nurse, Administrator,
Appointment, Medical Record, Department, and Billing.
2. Attributes: Each class would have attributes representing its properties. For example, the
Patient class might have attributes like patient ID, name, and gender, date Of Birth, and
contact Details.
3. Operations (Methods): These would define the behaviors associated with each class. For
instance, the Appointment class might have methods like schedule Appointment (), cancel
Appointment (), and reschedule Appointment ().
4. Associations: Relationships between classes would be depicted to show how they are
connected. For instance, an association between Patient and Doctor classes would show
that a patient can be associated with one or more doctors.
5. Multiplicity: Multiplicity would specify how many instances of one class are associated
with instances of another class. For example, a Doctor can have multiple patients,
indicating a one-to-many relationship.
6. Inheritance (Generalization): If there are common attributes or methods shared between
classes, inheritance can be used to depict this relationship. For example, Doctor and Nurse
classes might inherit from a common super class called Healthcare Professional.
7. Composition and Aggregation: These relationships would show how one class contains or
is composed of another class. For example, a Hospital class may have a composition
relationship with the Department class, indicating that a hospital consists of multiple
departments.
8. Dependency: This would show when one class relies on another class, usually
through method parameters or return types. For example, the Billing class may
have a dependency on the Patient class to retrieve patient information for
billing purposes.
---
---
Workflow
- A patient interacts with the frontend to book an appointment.
- The application layer processes the request and schedules it in the database.
- During a consultation, the doctor accesses patient records via the application
layer.
- If tests are required, the lab module stores and retrieves test reports.
- The billing module generates invoices, which the patient pays using an integrated
payment gateway.