Appointment Rescheduling¶
Overview¶
Rescheduling allows an appointment to be moved to a different available slot.
Rescheduling Workflow¶
sequenceDiagram
participant Patient
participant AppointmentService
participant ScheduleService
Patient->>AppointmentService: Reschedule
AppointmentService->>ScheduleService: Validate New Slot
ScheduleService-->>AppointmentService: Slot Available
AppointmentService->>AppointmentService: Update Appointment
AppointmentService-->>Patient: Rescheduled
Hold "Alt" / "Option" to enable pan & zoom
Slot Transition¶
flowchart LR
OLD["Old Slot"]
RELEASE["Release Slot"]
NEW["New Slot"]
OLD --> RELEASE
RELEASE --> NEW
Hold "Alt" / "Option" to enable pan & zoom
Published Event¶
appointment.rescheduled
Consumers update their records accordingly.