RoundsCorrowmere Clinics · Estmark synthetic data · seed 23

Double booking · appointment 7841165

clinician 241 is no longer free at Fri 14:30 (appointment 7777425).

When
Wednesday 11 November 16:50:00
Call
reassign slot · PATCH /Appointment/7841165 clinician=241
Tier and status
tier 1 failed
Definition
double booking v1
Decided by
rules: Clinician double-booked; colleague 241 has a free slot at that time.
Controller
Allowed: reassign_slot is tier 1 (do it and tell); within budget (0 of 10 actions at clinic 16 this hour).
Signed off by
nobody needed: tier 1
Undo
nothing to undo

Evidence the detector returned

{
  "appointment_id": 7841165,
  "appointment_ids": [
    7841165,
    7777426
  ],
  "bookings_affected": 2,
  "clash": "clinician",
  "clinic": "Thornhithe Clinic",
  "clinic_id": 16,
  "clinician_id": 243,
  "end_at": "2026-11-13 14:45:00",
  "feed": "clinic day",
  "free_clinician_id": 241,
  "free_room_id": 233,
  "free_room_kind": "consulting room",
  "other_appointment_id": 7777426,
  "patient_id": 125631,
  "patients_affected": 2,
  "room_id": 235,
  "stake_note": "two patients booked into one slot",
  "start_at": "2026-11-13 14:30:00",
  "started_at": "2026-11-11T16:45:10"
}

Arguments

{
  "appointment_id": 7841165,
  "clinician_id": 241
}

Before and after

{
  "after": {
    "appointment_id": 7841165,
    "patient_id": 125631
  },
  "before": {}
}