https://github.com/khaledgadelhaq/hospital-management-system-project
https://github.com/khaledgadelhaq/hospital-management-system-project
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/khaledgadelhaq/hospital-management-system-project
- Owner: khaledGadelhaQ
- License: mit
- Created: 2023-09-15T20:17:01.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-10-03T03:24:08.000Z (over 1 year ago)
- Last Synced: 2025-01-15T10:25:34.287Z (5 months ago)
- Language: C++
- Size: 6.84 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Hospital Management System
A simple hospital management system written in C++ to manage patients in different specializations. This program allows you to add new patients, print patient lists, and get the next patient in line for each specialization.
## Table of Contents
- [Features](#features)
- [Demo](#Demo)
- [Prerequisites](#prerequisites)
- [Documentation](#documentation)
- [Contributing](#contributing)
- [License](#license)## Features
- **Modular Design**: The code is organized into classes, making it easy to understand and maintain.
- **Object-Oriented**: Utilizes object-oriented principles for patient management and specialization.
- **User-Friendly Interface**: Offers a menu-driven interface for interacting with the system.
- **Input Validation**: Includes basic input validation to handle invalid user inputs.
- **STL Usage**: Utilizes the Standard Template Library (STL) for data structures like `deque` and `vector`, enhancing code efficiency.
- **Enums**: Uses enums for gender and urgency levels to enhance code readability.## Demo
  
 ## Prerequisites
- C++ compiler (e.g., g++)
- Command-line interface## Documentation
### Patient Class
- **EnterPatientInfo()**: Method to enter patient information, including name, age, gender, and urgency status.
- **GetStatus()**: Method to get the urgency status of the patient.
- **PrintInfo()**: Method to print patient information.
- **GetFullName()**: Method to get the full name of the patient.### Specialization Class
- **AddPatient()**: Method to add a new patient to the specialization.
- **PrintPatients()**: Method to print the list of patients in the specialization.
- **GetPatient()**: Method to get the next patient and remove them from the queue.### HospitalSystem Class
- **RunSystem()**: Method to run the hospital management system.
- **Menu()**: Method to display the menu and get the user's choice.
- **AddPatient()**: Method to add a patient to a specialization.
- **PrintAllPatients()**: Method to print all patients in all specializations.
- **GetNextPatient()**: Method to get the next patient from a specialization.## Contributing
Contributions are welcome! If you have any suggestions, bug reports, or improvements, please create an issue or submit a pull request.
## License
This project is licensed under the [MIT License](LICENSE).