Milestone 2: Sequence Diagrams - SENG-350-2024-fall/Team-13 GitHub Wiki

Account Registration (Patient)

This diagram explains the interactions the patient must perform to register for an account using our system. First, the patient must click register and then input their information, which the database checks. If the username is not already taken, the user account information gets stored and the user can sign in. If not, the user is prompted to create a different username.

Screenshot 2024-10-16 153732

Login (Patient)

The patient logs in by inputting their credentials. If the credentials are valid, the patient is redirected to the homepage. If they are not valid, the user is given an error message. Once the patient wants to leave, they can log out.

Screenshot 2024-10-16 153807

Update Health Profile (Patient)

The patient navigates to the health profile section and submits updated information. The system forwards the update to the database, where it is saved. A confirmation is sent back to the patient to indicate the successful update.

Screenshot 2024-10-16 153821

View Hospital Information (Patient)

The patient requests to view hospital information. The system retrieves the relevant data from the database and displays it to the patient.

Screenshot 2024-10-16 153830

View Triage Request (Patient)

The patient views their triage request status. The system retrieves the request status from the database and shows it to the patient.

Screenshot 2024-10-16 153907

Prescription Request (Patient, Pharmacist)

The patient sends a prescription request, which is forwarded by the system to the pharmacist. The pharmacist reviews the request and either processes it or sends a response. The system updates the patient on the status of the request.

image

Access Patient Profile (Doctor/Nurse)

A doctor or nurse requests access to a patient's profile. The system retrieves the relevant information from the database and displays it to the doctor or nurse.

image

Update Triage Status (Nurse)

The nurse updates the patient's triage status. The updated information is sent to the system, which stores it in the database and confirms the update with the nurse.

image

Consultation (Doctor)

The doctor initiates a consultation with the patient. During this interaction, the doctor may update the patient's medical information, which the system saves in the database and confirms to the doctor.

image

Prescription Approval (Doctor)

The doctor reviews a prescription request and either approves or denies it. The system updates the prescription status in the database and informs the pharmacist or patient of the decision.

image

Schedule Appointment (Patient/Receptionist)

The patient or receptionist schedules an appointment. The system checks availability, stores the appointment details in the database, and confirms the appointment with the patient.

image