How mohammedhuse01-design/hospitalmanagementsystem works
This is a C++ console hospital-management application. A user enters through the main menu, which dispatches to patient, doctor, emergency, or appointment management. Those subsystems maintain records in the project’s custom linked list, array lists, and circular queue; appointments validate and retrieve existing patient and doctor records before associating them. The README documents the management capabilities, while the sampled code shows the main dispatch and appointment-to-record interactions. Emergency queue operations are documented, but their internal call details were not sampled.
Main entry points: HospitalManagementSystem.cpp Main menu · AppointmentArrayList.cpp Appointment array list · PatientLinkedList.cpp Patient linked list · DoctorArrayList.cpp Doctor array list
Components 10
Console workflow
- Main menu
HospitalManagementSystem/HospitalManagementSystem.cpp
People records
- Patient records
HospitalManagementSystem/Patient.cpp - Patient linked list
HospitalManagementSystem/PatientLinkedList.cpp - Doctor records
HospitalManagementSystem/Doctor.cpp - Doctor array list
HospitalManagementSystem/DoctorArrayList.cpp
Appointments
- Appointment record
HospitalManagementSystem/Appointment.cpp - Appointment array list
HospitalManagementSystem/AppointmentArrayList.cpp
Emergency cases
- Emergency record
HospitalManagementSystem/Emergency.cpp - Emergency circular queue
HospitalManagementSystem/EmergencyQueue.cpp
Other components
- Hospital staff
Connections 11
- Hospital staff → Main menu: uses
- Main menu → Patient linked list: opens menu
HospitalManagementSystem/HospitalManagementSystem.cpp - Main menu → Doctor array list: opens menu
HospitalManagementSystem/HospitalManagementSystem.cpp - Main menu → Emergency circular queue: opens menu
HospitalManagementSystem/HospitalManagementSystem.cpp - Main menu → Appointment array list: opens menu
HospitalManagementSystem/HospitalManagementSystem.cpp - Patient linked list → Patient records: stores and displays
HospitalManagementSystem/PatientLinkedList.cpp - Doctor array list → Doctor records: stores and displays
HospitalManagementSystem/DoctorArrayList.cpp - Appointment array list → Patient linked list: validates and retrieves
HospitalManagementSystem/AppointmentArrayList.cpp - Appointment array list → Doctor array list: validates and retrieves
HospitalManagementSystem/AppointmentArrayList.cpp - Appointment array list → Appointment record: creates and displays
HospitalManagementSystem/AppointmentArrayList.cpp - Emergency circular queue → Emergency record: manages cases
HospitalManagementSystem/EmergencyQueue.cpp