How olimjoneliboev/hospital-scheduling-system works
This is a console-based hospital scheduling system. The user-facing workflow is driven by HospitalSystem menus, with account registration and login supporting role-based access to hospital operations. The code models users, patients, doctors, and appointments, and uses text files under data/ for persistence. The excerpt shows appointment availability and rescheduling behavior, but does not expose the full menu dispatch or all scheduling operations; the graph therefore keeps those responsibilities within the central system node rather than guessing their call relationships.
Main entry points: hospital.cpp Hospital system · data Text-file data
Components 6
Application
- Program entry
hospital.cpp - Hospital system
hospital.cpp
Hospital domain
- Authentication
hospital.cpp - Hospital records
hospital.cpp
Persistence
- Text-file data
data
Other components
- Console user
Connections 6
- Console user → Hospital system: uses menus
- Program entry → Hospital system: runs
hospital.cpp - Hospital system → Authentication: registers users
hospital.cpp - Authentication → Text-file data: reads users
hospital.cpp - Hospital system → Text-file data: loads records
hospital.cpp - Hospital system → Text-file data: saves appointments
hospital.cpp