How luuthanh167/hopital works
Hopital is a small hospital-domain system for registering patients, scheduling doctor appointments, and recording visit outcomes and prescriptions. The available source shows patient and staff models using shared validation; the README documents the broader care workflow, while scheduler, history, appointment, and prescription files have no visible implementation excerpts. Accordingly, the workflow links below reflect README-described capabilities, not verified calls between those subsystems.
Main entry points: Patient.cs Patient registration · ValidationHelper.cs Validation rules · Staff.cs Staff roles · AppointmentScheduler.cs Appointment scheduling
Components 9
Care workflow
- Patient registration
Models/Patient.cs - Appointment scheduling
Services/AppointmentScheduler.cs - Visit outcomes
Services/MedicalHistory.cs
Domain records
- Patient record
Models/Patient.cs - Staff roles
Models/Staff.cs - Appointment
Models/Appointment.cs - Prescription
Models/Prescription.cs
Shared validation
- Validation rules
Utilities/ValidationHelper.cs
Other components
- Hospital user
Connections 6
- Hospital user → Patient registration: registers patients
README.md - Hospital user → Appointment scheduling: schedules appointments
README.md - Hospital user → Visit outcomes: records outcomes
README.md - Hospital user → Prescription: records prescriptions
README.md - Patient registration → Validation rules: validates fields
Models/Patient.cs - Staff roles → Validation rules: validates fields
Models/Staff.cs