Appointment Cancellation¶
Overview¶
Cancellation terminates an appointment before consultation occurs. Cancelled appointments restore provider availability.
Cancellation Workflow¶
sequenceDiagram
participant Patient
participant AppointmentService
participant ScheduleService
Patient->>AppointmentService: Cancel Appointment
AppointmentService->>AppointmentService: Update Status
AppointmentService->>ScheduleService: Release Slot
ScheduleService-->>AppointmentService: Slot Released
Hold "Alt" / "Option" to enable pan & zoom
Availability Restoration¶
flowchart LR
BLOCKED["Blocked Slot"]
CANCEL["Cancel Appointment"]
AVAILABLE["Available Slot"]
BLOCKED --> CANCEL
CANCEL --> AVAILABLE
Hold "Alt" / "Option" to enable pan & zoom
Published Event¶
appointment.cancelled
Downstream Effects¶
- Video session cancelled
- Notifications sent
- Availability restored