SequenceDiagrams - SENG-350-2024-fall/Team-8 GitHub Wiki
Sequence Diagrams
Feel free to right click the diagrams and open the image in a new tab for better visibility!
Patient Booking Triage
Nurse Triage
This sequence diagram shows the nurse's triage process, starting with the nurse getting the next triage request from a queue. The nurse adds their own notes to the request before choosing another course of action. If the symptoms are serious, the nurse can send an emergency response team to the patient. If the symptoms are less serious, but still require attention, the nurse can book an ER appointment for the patient. If the symptoms are minor, the nurse can conclude the triage, where their notes will be sent to the patient as a recommendation of further actions (e.g. see a pharmacist).
Log in
This is the sequence diagram for the user entering their credentials to log in from the log in page. The user enters their credentials and they are compared to what is available in the database. If there is a match, the user is "logged in" and sent to the homepage. Otherwise, the user is told there wasn't a match.
Create Account
This is the sequence diagram for the user creating a new account. A user enters credentials and the credentials are checked by the database to see if a similar account exists. If there is no similar account, the account is created and the user is redirected to the login page.
Support Ticket
This sequence diagram depicts the sequence of interactions involved in support tickets, from initiation by the user to management by the admin. The admin always starts by viewing a support ticket and can then optionally add more details or mark the ticket as closed. The support system acts as an intermediary between the user, admin, and database by encapsulating the interactions and managing the flow of information among them.
EMT Response
This is the sequence diagram for the EMT's response to the nurse sending a request in the triage diagram. For clarity, the EMT actor in this scenario could represent a team of EMTs or a team leader. Upon rejecting the request, the request is sent to the next closest EMT team determined by the location of the request and the location of the nearest available EMT.