Action record / #52
Double booking · appointment 7841165
Held Thu 08:00 with clinician 241 and offered it (booking to move).
- When
- Wednesday 11 November 16:50:00
- Call
- send booking offer ·
POST /Communication (booking offer, patient 125631, appointment 7841165) - Tier and status
- tier 0 auto done
- Definition
- double booking v1
- Decided by
- rules: The move failed (clinician 241 is no longer free at Fri 14:30 (appointment 7777425).); offer the patient a new slot instead.
- Controller
- Allowed: send_booking_offer is tier 0 (just do it); within budget (0 of 10 actions at clinic 16 this hour).
- Signed off by
- nobody needed: tier 0
- Undo
undo_send_booking_offerrestores the before-snapshot below
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,
"patient_id": 125631
}Before and after
{
"after": {
"messages": [
{
"appointment_id": 7841165,
"id": 900000033,
"kind": "booking_offer",
"patient_id": 125631
}
],
"offers": [
{
"appointment_id": 7841165,
"clinic_id": 16,
"clinician_id": 241,
"created_at": "2026-11-11T16:50:00",
"created_by": "Rounds",
"id": 22,
"kind": "booking",
"patient_id": 125631,
"slot_start": "2026-11-12T08:00:00",
"status": "offered"
}
]
},
"before": {}
}