HOSPITAL MANAGEMENT SYSTEM
HOSPITAL MANAGEMENT SYSTEM
Abstract:
The Hospital Management System (HMS) is designed to streamline and digitize the administrative
and clinical operations of a hospital. By automating processes like patient registration, appointment
scheduling, medical record management, and billing, this system reduces paperwork, minimizes
errors, and improves patient care efficiency.
Introduction
Problem Statement
Objectives
• Automate tasks like patient registration, doctor appointments, and inventory management.
Scope
The HMS will cater to hospitals of medium to large size. It includes functionalities for administrators,
doctors, and patients.
System Analysis
Current Challenges
Proposed Solution
The HMS integrates a database-driven approach to manage patient records, staff data, inventory. It
reduces administrative overhead while enhancing productivity.
System Design
ER Diagram
The system will involve entities like Patients, Doctors, Appointments, Treatments, and Bills, all
interconnected through relationships (e.g., a doctor treat Patients).
Data Flow Diagram
Illustrate the flow of data among the system's components—for example, how a patient request for
an appointment interacts with the doctor’s schedule.
Features
1. Patient Management
o Add Patient: Enables the input of patient details like ID, name, age, gender, and
illness.
o View Patient Information: Displays patient details in a structured format for quick
access.
o Store Patient Data: Patient information is saved to a file (patients.txt) for future
reference.
2. Doctor Management
o Add Doctor: Facilitates the input of doctor details such as ID, name, age, gender, and
specialization.
o Store Doctor Data: Saves doctor information to a file (doctormanag.txt) for record-
keeping.
3. Appointment Scheduling
o View Appointment Details: Displays appointment information, including IDs and the
scheduled date.
4. Menu-Based Navigation
Services
o Patient, doctor, and appointment details are persistently stored in text files, ensuring
data remains available between sessions.
o Files include:
▪ patients.txt: Stores patient information.
3. Role-Based Functionality
4. System Scalability
o The modular design ensures new features (e.g., billing, inventory management) can
be easily integrated.
TECHNOLOGY STACK-
Frontend
o You’re using C++ to design the main logic and user interface for your desktop
application. The command-line interface provides interactive menus for users.
Backend
o Used for basic operations like string manipulation and input/output handling.
• File Handling: fstream library in C++ to read/write data into text files.
Development Environment
• OS Platform: Windows 11
o Ideal for running and testing the application, as the project seems designed for
desktop-based usage.
• Includes methods:
• Includes methods:
• Includes methods:
Main Function
• Options:
The Hospital Management System provides an efficient solution for streamlining hospital operations
by automating essential tasks like patient registration, doctor management, and appointment
scheduling. By leveraging file-based storage and modular design, it ensures reliable performance and
flexibility for small to medium-sized healthcare facilities.
This system is a step toward transforming traditional healthcare administration into a more
digitalized and patient-centric process. With potential enhancements like database integration and
advanced analytics, it holds great promise for further innovation in the healthcare sector. Overall, the
project effectively demonstrates the role of technology in improving operational efficiency and
service quality in hospitals.
Sample data(output):