Sequence Models - SENG-350-2024-fall/Team-11 GitHub Wiki
Create a minimum of five extensive and detailed sequence diagrams to illustrate the interactions within the system.
Each diagram should represent a specific user action or process. These diagrams should depict the sequence of events, interactions between objects, and flow of information at each stage, ensuring a comprehensive understanding of how the system operates during these critical functions.
Please add a textual explanation (not just the diagrams).
Login Function
The login feature’s sequence diagram illustrates the interaction between the Patient, the Mister Ed System, and the Database. The login process involves the following steps:
- The Patient accesses the website and clicks the “Log In” button.
- The Patient enters their email and password.
- The Patient clicks the “Log In” button to submit their credentials.
- The system verifies the credentials with the Database.
- If the credentials are correct, the system grants the Patient access to their account.
- If the credentials are incorrect, the system displays an error message.
Triage Function
The triage system sequence diagram shows the interactions between the Patient, the Mister Ed System, the Triage system, and the Database. This diagram assumes the patient is logged in when accessing the Mister Ed System. The triage process involves the following steps:
- The patient accesses the website and clicks the "Enter symptoms" button
- The system displays the symptom entering interface
- The patient enters their symptoms and clicks "Submit"
- The Ed system submits patient's symptoms to the Triage system
- The triage system retrieves triage criteria (algorithms, etc) from the Database
- The triage system processes the symptoms and sends results to the Ed system
- The Mister Ed system displays the triage results
- The patient selects from one or more care options
- The Mister Ed system displays the facility and/or contact information for the chosen care option
Update patient data Function
The update-patient data sequence diagram shows interactions between the Mister ED system, patient records and database. The update-patient data process involves the following steps:
- The nurse accesses the Mister ED website and clicks "Login."
- The system verifies the login credentials (authentication).
- After successful verification, the nurse enters the patient’s name.
- The system queries the database to check if the patient is already registered.
- If the patient exists, the system retrieves the patient’s record.
- The nurse is able to view the patient’s report.
- The nurse clicks "Update" to make changes to the report.
- The nurse enters the new information and clicks "Save."
- The system stores the new changes in the database.
- Confirmation of successful data storage is sent back to the system.
- The system displays the updated patient record.
Update Patient Priority Function
The Manage Patient Flow process in the "Mister Ed" system enables authorized ED workers to efficiently manage patient information and prioritize care based on urgency.
- Login: Authorized users log into the Mister Ed website.
- Patient List: Users view the patient queue, displaying priority levels based on urgency.
- Patient Details: Users select a patient to view detailed information (symptoms, medical history, priority).
- Edit Queue: Users can update the urgency level by clicking "Edit Priority" or cancel edits to return to the details view.
- Wait Time Update: The system recalculates estimated wait times for patients after queue updates.
- End Process: The process ends when users finish managing patients or exit the system.