Class Model - SENG-350-2024-fall/Team-11 GitHub Wiki

Error

This class diagram outlines a healthcare system for patient triage, prescription management, and role-based interaction. The SymptomEvaluator class assesses symptoms, making recommendations based on severity, with specialized evaluations handled by SpecificSymptomEvaluator. For prescriptions, SubmitPrescriptionCommand executes prescription submissions, managed by SubmitPrescriptionInvoker. The NewPatient class, following the Observer pattern, registers patients and notifies observers like IncomingPatientObserver. Database access is managed via DatabaseAdapter, connecting to an AWSDatabase. The Role superclass provides login/logout functionality, extended by specific roles: Patient (manages triage and care options), EmergencyDepartment (oversees patient flow), PrimaryCareClinic (handles referrals and patient records), Nurse (aids in triage), Chemist (dispenses prescriptions), and Admin (manages accounts and configurations). These components work together to support secure, efficient healthcare workflows.