Oose 2 Final
Oose 2 Final
Requirements:
1. Patient Management:
o Add new patients to the system with details such as name, age, gender, contact information,
and medical history.
o Add new doctors with details like name, specialization, experience, and contact information.
o Update doctor details.
o View a list of all doctors.
o Search for a doctor by name or specialization.
o Delete a doctor record from the system.
3. Appointment Scheduling:
o Schedule appointments for patients with doctors, specifying the date, time, and reason for the
visit.
o Generate bills for patients based on services rendered, including consultation fees, medical
tests, and treatments.
6. User Authentication:
o Implement basic user authentication to ensure that only authorized personnel can access
certain features of the system.
o User roles such as Admin, Doctor, and Receptionist should have different access levels.
7. Data Persistence:
o Store data (patients, doctors, appointments, billing) in files or a database so that it is preserved
between sessions.
o Ensure that the system gracefully handles errors, such as invalid input or failed database
connections.
9. User Interface:
o Create a simple command-line interface (CLI) for interacting with the system.
o Ensure that the system is user-friendly and provides clear instructions.
Other Features :
● Integration with external systems for lab results or pharmacy management.
Deliverables:
● Source code of the C++ program.
Name of the persons along with Dr. Ruchika Malhotra (Head of Department, SE, DTU)
designations
Nitin bansal(23/SE/107)
Mandeep(23/SE/93)
Version 1.0
Consolidated list of initial requirements:
1. The system shall manage patient demographics (name, address, DOB, etc.).
2. The system shall track patient medical history (allergies, past illnesses, etc.).
3. The system shall manage patient appointments and scheduling.
4. The system shall generate unique patient identifiers.
5. The system shall allow patients to book appointments online or via phone.
6. The system shall send appointment reminders to patients.
7. The system shall allow staff to manage doctor schedules and availability.
8. The system shall manage doctor profiles (specialization, qualifications, etc.).
9. The system shall manage staff roles and permissions.
10. The system shall store patient medical records securely and confidentially.
11. The system shall allow authorized personnel to access and update medical records.
12. The system shall support electronic signatures for medical documents.
13. The system shall generate invoices for services rendered.
14. The system shall process payments (cash, card, insurance).
15. The system shall generate financial reports.
16. The system shall track medical supplies and equipment inventory.
17. The system shall generate alerts for low stock levels.
18. The system shall manage purchase orders and vendor information.
19. The system shall generate reports on patient demographics, treatments, and outcomes.
20. The system shall provide analytics on hospital performance metrics.
21. The system shall ensure data security and patient privacy.
22. The system shall implement role-based access control.
23. The system shall comply with relevant healthcare regulations (e.g., HIPAA).
24. The system shall integrate with laboratory information systems (LIS).
25. The system shall integrate with radiology information systems (RIS).
26. The system shall have a user-friendly interface.
27. The system shall be accessible on different devices (desktops, tablets).
28. The system shall allow administrators to manage users, permissions, and system settings.
29. The system shall provide audit trails for system activity.
Experiment - 3
Objective:
To create a detailed Use Case Diagram on the Hospital Management System.
Experiment – 4
Objective:
To create detailed Use Case Descriptions on the Hospital Management System.
Theory:
Actors in a Use Case Description represent external entities interacting with the system. Each
actor performs specific actions, known as use cases, based on their role within the system. In
a Hospital Management System, the main actors—Patient, Doctor, and Admin—each have
different functionalities they interact with. The use case descriptions for actors provide a
breakdown of the processes they engage with and help clarify their roles.
Procedure:
1. Identification of Actors:
○ Patient: Requests services like scheduling appointments, paying bills, and
viewing records.
○ Doctor: Manages patient medical records, issues prescriptions, and handles
schedules.
○ Admin: Manages hospital staff, generates reports, and overseas operations.
2. List of Use Cases for Each Actor:
○ For Patient: Request Appointment, View/Pay Bill, View Medical Records.
○ For Doctor: Access Patient Medical Records, Issue Prescription, Manage
Schedule.
○ For Admin: Manage Hospital Staff, Generate Reports, Manage Schedules.
3. Writing Actor-Centric Use Case Descriptions:
○ For each actor, define the use cases they interact with, focusing on the steps
they follow and the system's responses.
Actor: Patient
Use Case 1: Request Appointment
● Preconditions:
○ The patient must be registered in the system.
○ The system must have available appointment slots.
● Postconditions:
○ The appointment is scheduled, and the patient receives a confirmation.
● Main Flow:
● Preconditions:
○ The patient must have an outstanding bill in the system.
○ The patient must be logged in.
● Postconditions:
○ The bill is paid, and the patient receives a receipt.
● Main Flow:
● Preconditions:
○ The patient must be registered in the system.
○ The patient must have medical records stored in the system.
● Postconditions:
○ The patient successfully views their medical records.
● Main Flow:
Actor: Doctor
Use Case 1: Access Patient Medical Records
● Preconditions:
○ The doctor must be logged into the system and have access to patient data.
● Postconditions:
○ The doctor successfully views or updates the patient's records.
● Main Flow:
● Preconditions:
○ The doctor must have access to the patient's medical history.
○ The doctor must be authorized to issue prescriptions.
● Postconditions:
○ The prescription is sent to the pharmacy and logged in the patient’s records.
● Main Flow:
3. The system sends the prescription to the pharmacy and provides confirmation.
● Preconditions:
○ The doctor must be logged into the system.
● Postconditions:
○ The schedule is updated, reflecting new appointments.
● Main Flow:
Actor: Admin
Use Case 1: Manage Hospital Staff
● Preconditions:
○ The admin must have access to staff management tools.
● Postconditions:
○ The staff details are updated in the system.
● Main Flow:
1. The admin logs into the system and accesses the "Staff Management" section.
● Preconditions:
○ The admin must be logged into the system and have access to report
generation.
● Postconditions:
○ The requested report is generated and available for review.
● Main Flow:
2. The system prompts the admin to select the report type (e.g., financial, staff).
3. The system generates the report and makes it available for download or printing.
● Preconditions:
○ The admin must have the necessary privileges to manage schedules.
● Postconditions:
○ Hospital staff schedules are updated.
● Main Flow:
Conclusion:
The Use Case Descriptions for actors in the Hospital Management System provide clear
insights into how Patients, Doctors, and Admins interact with the system. Each actor
performs specific actions that contribute to the system’s functionality, including appointment
scheduling, medical record access, and administrative management. Understanding these
interactions helps define system requirements and user behaviour.
SOFTWARE REQUIREMENT
SPECIFICATION
Version 1.0
Nitin bansal(23/SE/107)
Mandeep(23/SE/93)
BTech
In
Software Engineering
4th Semester
Software Requirements Specification (SRS)
1. Introduction
1.1 Purpose
The purpose of this SRS document is to define the requirements for the development of a Hospital
Management System (HMS). This system is intended to manage hospital operations including
patient registration, doctor scheduling, appointment management, billing, medical records, and
reporting.
1.2 Scope
The HMS will streamline and automate core hospital functions, including:
• Appointment scheduling
The system will support interfaces for Admin, Doctor, Receptionist, and Patient roles. The initial
version will be CLI-based, with a possibility of future GUI upgrades.
• ID – Identifier
1.4 References
1.5 Overview
This document is organized into functional and non-functional requirements, system descriptions,
constraints, and detailed specifications based on the IEEE 830 standard.
2. Overall Description
HMS is a standalone system intended to replace manual hospital operations with automated
software functions.
• Minimal (CLI-based)
2.1.7 Operations
2.4 Constraints
3. Specific Requirements
3.2 Functions
• Patient Management
• Doctor Management
• Appointment Scheduling
• Billing System
• Reporting
• Authentication
3.6.1 Reliability
3.6.2 Availability
3.6.3 Security
• Password-protected roles
3.6.4 Maintainability
• Admin Mode
• Doctor Mode
• Receptionist Mode
• Patient Mode
3.7.3 Objects
• Patient
• Doctor
• Appointment
• Bill
• Report
3.7.4 Feature
• Report generation
3.7.5 Stimulus
3.7.6 Response
• Appropriate success/failure messages and action results
1. Login
2. Role-based Dashboard
4. Reports
• Future version may include barcode scanning, lab integration, and automated report
generation
4. Supporting Information
• Setup guide
Objective:
To create a detailed Class Diagram on the Hospital Management System.
Experiment - 7
Objective:
To create a detailed Sequence Diagram on the Hospital Management System.
1. System Login
3. Doctor Management