Skip to content

Appointment Confirmation

Overview

Appointment confirmation finalizes a booking and reserves the provider's availability.

Confirmation ensures that the selected slot cannot be booked by another patient.


Confirmation Workflow

sequenceDiagram
  participant AppointmentService
  participant ScheduleService
  participant Kafka
  AppointmentService->>ScheduleService: Reserve Slot
  ScheduleService-->>AppointmentService: Slot Blocked
  AppointmentService->>Kafka: appointment.confirmed
Hold "Alt" / "Option" to enable pan & zoom

Blocking Availability

flowchart LR
  SLOT["Available Slot"]
  CONFIRM["Confirm Appointment"]
  BLOCK["Blocked Slot"]
  SLOT --> CONFIRM
  CONFIRM --> BLOCK
Hold "Alt" / "Option" to enable pan & zoom

Downstream Consumers

flowchart LR
  EVENT["appointment.confirmed"]
  KAFKA["Kafka"]
  VIDEO["Video Session Service"]
  COMM["Communication Engine"]
  SCHEDULE["Schedule Service"]
  EVENT --> KAFKA
  KAFKA --> VIDEO
  KAFKA --> COMM
  KAFKA --> SCHEDULE
Hold "Alt" / "Option" to enable pan & zoom

Consumers may:

  • Create video sessions
  • Send notifications
  • Block provider availability