This project is a comprehensive Hospital Management System built using C++, applying core Object-Oriented Programming (OOP) and Data Structures & Algorithms (DSA) concepts. It simulates a multi-functional hospital environment with features for patient management, staff and doctors, real-time alerting, inventory, appointments, billing, and disease detection.
- Add, delete, update patient records
- Room allocation and availability checking
- Search patients by ID or CNIC
- View patient billing details
- Regular and emergency appointments
- Priority handling for emergency cases
- Queue management using linked lists
- Add/update doctor profiles
- Manage staff using circular linked list
- File I/O for persistent data storage
- Add, update, delete inventory items
- Search and display inventory
- Track low-stock items and generate expiry reports
- AVL Tree for self-balanced efficient lookups
- Add/view patient financial records
- Uses Binary Search Tree for fast patient search
- Categories: Room, Medication, Surgery, Doctor, Lab
- Add, pop, and view latest alerts
- Stack ensures LIFO behavior
- Enter symptoms to detect possible diseases
- Uses a hash map to match symptoms to conditions
- High-level and local users
- ID creation, password masking, and reset
- Role-based feature access
- Language: C++
- Paradigm: Object-Oriented Programming (OOP)
- DSA: Linked List, Stack, Queue, Hash Map, BST, AVL Tree
- File Handling: Patient, staff, inventory, alerts data
- Platform: Console (Windows OS)
| File/Folder | Description |
|---|---|
main.cpp |
Core logic and main application flow |
header.h |
Disease detection module |
*.txt |
File I/O data (patients, staff, etc.) |
Take a look at the visuals of the Hospital Management System in action. Each screen represents a key feature of the system.
The system greets users with a clean and animated loading screen to enhance the user experience before login.
Users can choose between High-Level (admin) and Local-Level (staff) roles using an intuitive arrow-key menu system.
The Local User login screen features secure password input with character masking and loading animation for authentication.
This is the main menu for Local Users where they can manage patients, generate financial reports, use the disease detector, send alerts, and much more.
Users can input symptoms, and the system intelligently suggests potential diseases using a hash map-based detection algorithm.
The management panel allows high-level users to access doctor and staff profile management, view bills, and manage inventory.
Quickly search for any medical item using its ID. Efficient AVL Tree structure ensures fast retrieval even in large inventories.
Add, update, delete, or analyze inventory. Track low-stock items, generate expiry reports, and find the most expensive item using AVL Trees.