Skip to content

Workflows

Overview

Patients interact with the platform through appointment booking and healthcare consultations.

The patient journey begins with registration and continues through ongoing healthcare interactions.


Patient Registration

Patients are typically registered by a Tenant Administrator.

sequenceDiagram

    participant Admin

    participant PatientService

    participant IdentityService

    participant Keycloak

    Admin->>PatientService: Register Patient

    PatientService->>IdentityService: Provision Identity

    IdentityService->>Keycloak: Create Account

    Keycloak-->>IdentityService: User Created

    IdentityService-->>PatientService: Identity Provisioned

    PatientService-->>Admin: Patient Registered
Hold "Alt" / "Option" to enable pan & zoom

Appointment Booking

Patients may schedule appointments with available providers.

sequenceDiagram

    participant Patient

    participant AppointmentService

    participant ScheduleService

    Patient->>AppointmentService: Request Appointment

    AppointmentService->>ScheduleService: Validate Slot

    ScheduleService-->>AppointmentService: Slot Available

    AppointmentService->>AppointmentService: Create Appointment

    AppointmentService-->>Patient: Appointment Confirmed
Hold "Alt" / "Option" to enable pan & zoom

Appointment Management

Patients may manage upcoming appointments.

flowchart LR

    BOOK["Book Appointment"]

    VIEW["View Appointment"]

    RESCHEDULE["Reschedule"]

    CANCEL["Cancel"]

    BOOK --> VIEW

    VIEW --> RESCHEDULE

    VIEW --> CANCEL
Hold "Alt" / "Option" to enable pan & zoom

Video Consultation

Patients join consultations through appointment-linked video sessions.

sequenceDiagram

    participant Patient

    participant VideoService

    participant Jitsi

    Patient->>VideoService: Join Consultation

    VideoService->>Jitsi: Validate Access

    Jitsi-->>Patient: Join Meeting

    Patient->>Patient: Participate in Consultation
Hold "Alt" / "Option" to enable pan & zoom

Patient Journey

flowchart TB

    REGISTER["Registration"]

    BOOK["Book Appointment"]

    CONFIRM["Appointment Confirmed"]

    CONSULT["Video Consultation"]

    COMPLETE["Consultation Completed"]

    REGISTER --> BOOK

    BOOK --> CONFIRM

    CONFIRM --> CONSULT

    CONSULT --> COMPLETE
Hold "Alt" / "Option" to enable pan & zoom

Typical Responsibilities

A patient typically:

  1. Maintains profile information
  2. Books appointments
  3. Reviews upcoming appointments
  4. Participates in consultations
  5. Manages healthcare interactions