How luuthanh167/hopital-oop- works
HospitalOOP is an educational outpatient clinic management application. Its documented workflow creates a patient and doctor, schedules a future appointment with conflict checks, updates its status, then records and displays the visit outcome in the patient's medical record. Prescription and staff-role modeling are additional capabilities. The sampled services keep in-memory state; no persistent database or external integrations are shown. The README identifies the console entry point, but its source was not sampled, so those workflow links are based on documentation.
Main entry points: Program.cs Console entry · ValidationHelper.cs Validation rules · Appointment.cs Appointment · AppointmentScheduler.cs Appointment scheduler
Components 9
Console workflow
- Console entry
Test/Program.cs
Clinic models
- Patient records
Models/Patient.cs - Staff roles
Models/Staff.cs - Appointment
Models/Appointment.cs - Prescription
Models/Prescription.cs
Clinic services
- Appointment scheduler
Services/AppointmentScheduler.cs - Medical history
Services/MedicalHistory.cs
Validation
- Validation rules
Utilities/ValidationHelper.cs
Other components
- Clinic operator
Connections 14
- Clinic operator → Console entry: uses
README.md - Console entry → Patient records: creates
README.md - Console entry → Staff roles: creates
README.md - Console entry → Appointment: creates
README.md - Console entry → Appointment scheduler: schedules
README.md - Console entry → Medical history: records visit
README.md - Appointment scheduler → Appointment: checks and updates
Services/AppointmentScheduler.cs - Appointment scheduler → Validation rules: validates
Services/AppointmentScheduler.cs - Medical history → Appointment: records outcome
Services/MedicalHistory.cs - Medical history → Patient records: updates record
Services/MedicalHistory.cs - Appointment → Validation rules: validates
Models/Appointment.cs - Patient records → Validation rules: validates
Models/Patient.cs - Staff roles → Validation rules: validates
Models/Staff.cs - Prescription → Validation rules: validates
Models/Prescription.cs