Skip to content

atharvagg13/Hospital-Management-System

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hospital Management System (HMS)

Console-based C++ project

Overview

A menu-driven Hospital Management System built in C++ as part of the Software Development Fundamentals II (SDF-II) course at Jaypee Institute of Information Technology, Noida.

The system manages patients, doctors, appointments, room allocation, and billing from a single console application — demonstrating core OOP principles and STL usage.

Features

Module Functionality
🧑‍⚕️ Patients Register InPatients / OutPatients; search, update, delete
👨‍⚕️ Doctors Add / view / update profiles, specialisation, schedule
📅 Appointments Book, view, update status (Scheduled / Completed / Cancelled)
💳 Billing Auto-generate itemised bills; mark paid; revenue report
🏨 Rooms 20 rooms across 4 types; allocate and discharge
📊 Reports Live stats: patient count, room occupancy, revenue

C++ Concepts Demonstrated

  • OOP: Classes, Inheritance, Polymorphism, Abstract Classes, Encapsulation
  • STL: vector, map, list
  • Templates: Generic search() function
  • Operator Overloading: >, < on Doctor; << as friend in Person
  • Exception Handling: try-catch with runtime_error
  • Dynamic Memory: new / delete for Patient and Doctor objects

Project Structure

src/
└── main.cpp     # All classes and logic in a single-file implementation
docs/
└── HMS_Project_Report_.pdf

How to Compile and Run

# Using g++
g++ -std=c++17 -o hms src/main.cpp
./hms          # Linux / macOS
hms.exe        # Windows

About

Console-based Hospital Management System in C++

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages