How aaravsingh23/hospital-management-sysytem works
HMS is a terminal-based hospital operations program. A user selects a menu workflow to manage patients, beds, doctors, bills, appointments, emergency triage, or search and sorting; the program loads binary records at startup and saves changes and data on exit. The runtime is implemented in one C file, so distinct responsibilities share the same path. README capabilities are included, but omitted source excerpts limit certainty about some cross-feature calls.
Main entry points: HMS.c Main and feature menus
Components 12
Terminal interaction
- Program lifecycle
HMS.c - Main and feature menus
HMS.c
Hospital operations
- Bed allocation
HMS.c - Billing
HMS.c - Appointment scheduling
HMS.c - Emergency queue
HMS.c
Records and search
- Patient management
HMS.c - Doctor records
HMS.c - Search and sorting
HMS.c
Persistent data
- In-memory records
HMS.c - Binary data files
HMS.c
Other components
- Hospital staff
Connections 25
- Hospital staff → Main and feature menus: chooses workflow
- Main and feature menus → Patient management: dispatches
- Main and feature menus → Doctor records: dispatches
- Main and feature menus → Bed allocation: dispatches
- Main and feature menus → Billing: dispatches
- Main and feature menus → Appointment scheduling: dispatches
- Main and feature menus → Emergency queue: dispatches
- Main and feature menus → Search and sorting: dispatches
- Program lifecycle → Main and feature menus: runs
- Program lifecycle → Binary data files: loads at startup
- Program lifecycle → Binary data files: saves on exit
- Patient management → In-memory records: updates
- Doctor records → In-memory records: updates
- Bed allocation → In-memory records: updates
- Billing → In-memory records: updates
- Appointment scheduling → In-memory records: updates
- Emergency queue → In-memory records: updates
- Search and sorting → In-memory records: searches and sorts
- Patient management → Binary data files: saves changes
- Doctor records → Binary data files: saves changes
- Bed allocation → Binary data files: saves changes
- Billing → Binary data files: saves changes
- Appointment scheduling → Binary data files: saves changes
- Emergency queue → Binary data files: saves changes
- Search and sorting → Binary data files: persists sorting