How zeeelord/hospital_management-system_- works
This is a small, command-line hospital-management program, but the supplied implementation is an unfinished template with many TODOs. Its intended workflow initializes an administrator, doctors and patients, prompts for administrator login, then offers doctor management, patient discharge and viewing, doctor assignment, and administrator-detail updates. The implemented assignment path displays patients and symptoms, validates selected IDs, and uses the doctor list; patient/doctor linking is still a TODO. Doctor management and discharge capabilities are represented by Admin methods but are not wired from the menu. There is no persistent store or external service.
Main entry points: Main.py Menu and setup · Admin.py Doctor assignment · Doctor.py Doctor record · Patient.py Patient record
Components 10
Command-line app
- Menu and setup
Main.py
Administration
- Login
Admin.py - Doctor management
Admin.py - Patient operations
Admin.py - Doctor assignment
Admin.py - Admin details
Admin.py - List and ID helpers
Admin.py
Hospital records
- Doctor record
Doctor.py - Patient record
Patient.py
Other components
- Administrator
Connections 11
- Administrator → Menu and setup: uses
Main.py - Menu and setup → Login: prompts login
Main.py - Menu and setup → Doctor assignment: dispatches assignment
Main.py - Menu and setup → Admin details: dispatches update
Main.py - Menu and setup → Doctor record: initializes
Main.py - Menu and setup → Patient record: initializes
Main.py - Doctor assignment → Patient record: prints symptoms
Admin.py - Doctor assignment → List and ID helpers: validates IDs
Admin.py - Doctor management → Doctor record: reads doctor fields
Admin.py - Doctor management → List and ID helpers: lists and checks
Admin.py - Patient operations → List and ID helpers: lists patients
Admin.py