Collaboration Model - SENG-350-2024-fall/Team-11 GitHub Wiki
This collaboration diagram illustrates the interactions between key objects within the emergency department (ED) system, highlighting how these components work together to facilitate patient care.
-
Patient logs in to the ED system using the login method to access their account.
-
After logging in, the Patient undergoes virtual triage by invoking UndergoVirtualTriage, where they provide their symptom information.
-
The Patient then views their assessment outcome by calling viewTriageResults.
-
Based on the triage results, the Patient chooses their next steps by selecting options through the chooseOptions method.
-
The ED updates the Patient's status by calling UpdateStatus, reflecting any changes resulting from the chosen options.
-
The ED manages the patient flow using the managePatientFlow method to coordinate the overall processing of patients.
-
After processing, the ED sends notifications to the Patient regarding their status and care options through the sendUpdateNotification method.
-
The ED generates reports summarizing the Patient’s visit and recommendations using the generateReports method.
-
The Patient stores their triage information in the Medical Report by calling StoreRecord.
-
The Medical Report sends the patient's records to the Nurse via the SendRecord method, ensuring the Nurse has necessary information.
-
The Nurse follows up with the Patient by calling followUpWithPatient to discuss their treatment plan.
-
If a prescription is required, the Nurse sends the prescription details to the Chemist using the receivePrescription method.
-
The Chemist dispenses medication to the Patient using the dispenseMedication method, providing the required treatment.
-
The Chemist also offers advice to the Patient regarding medication usage through the offerAdvice method.
-
The Clinic accesses the Patient’s medical history from the Medical Report using the accessPatientHistory method to inform care decisions.
-
The Clinic provides care to the Patient by calling provideCare, ensuring the Patient receives appropriate treatment.
-
Finally, the Clinic updates the Medical Report with new patient information using the UpdatePatientHistory method, maintaining accurate records for future visits.