Skip to content

Workflows

Overview

Providers primarily interact with the platform through scheduling, appointments, and consultations.

The provider workflow begins with onboarding and continues through appointment delivery.


Provider Onboarding

sequenceDiagram

    participant Admin

    participant DoctorService

    participant IdentityService

    participant Keycloak

    Admin->>DoctorService: Create Provider

    DoctorService->>IdentityService: Provision Identity

    IdentityService->>Keycloak: Create Account

    Keycloak-->>IdentityService: User Created

    IdentityService-->>DoctorService: Identity Provisioned

    DoctorService-->>Admin: Provider Created
Hold "Alt" / "Option" to enable pan & zoom

After onboarding, the provider gains access to the platform.


Availability Management

Providers maintain their schedules.

sequenceDiagram

    participant Provider

    participant ScheduleService

    Provider->>ScheduleService: Create Availability

    ScheduleService->>ScheduleService: Calculate Effective Availability

    ScheduleService-->>Provider: Availability Updated
Hold "Alt" / "Option" to enable pan & zoom

Leave Management

sequenceDiagram

    participant Provider

    participant ScheduleService

    Provider->>ScheduleService: Submit Leave Request

    ScheduleService->>ScheduleService: Recalculate Availability

    ScheduleService-->>Provider: Leave Approved
Hold "Alt" / "Option" to enable pan & zoom

Approved leave automatically affects future appointment availability.


Consultation Workflow

sequenceDiagram

    participant Provider

    participant AppointmentService

    participant VideoService

    participant Jitsi

    Provider->>AppointmentService: View Upcoming Appointment

    Provider->>VideoService: Join Consultation

    VideoService->>Jitsi: Validate Access

    Jitsi-->>Provider: Join Meeting

    Provider->>Provider: Conduct Consultation
Hold "Alt" / "Option" to enable pan & zoom

Daily Workflow

flowchart TB

    LOGIN["Login"]

    APPTS["Review Appointments"]

    CONSULT["Conduct Consultations"]

    UPDATE["Update Availability"]

    LOGOUT["Logout"]

    LOGIN --> APPTS

    APPTS --> CONSULT

    CONSULT --> UPDATE

    UPDATE --> LOGOUT
Hold "Alt" / "Option" to enable pan & zoom

Typical Responsibilities

A provider typically:

  1. Maintains availability
  2. Reviews appointments
  3. Manages leave requests
  4. Conducts consultations
  5. Completes patient interactions