Action record / #95
Double booking · appointment 7841169
Held Sat 08:30 with clinician 188 and offered it (booking to move).
- When
- Friday 13 November 15:15:00
- Call
- send booking offer ·
POST /Communication (booking offer, patient 17075, appointment 7841169) - Tier and status
- tier 0 auto done
- Definition
- double booking v1
- Decided by
- rules: The move failed (room 175 is no longer free at Thu 09:00 (appointment 7797454).); 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 11 this hour).
- Signed off by
- nobody needed: tier 0
- Undo
undo_send_booking_offerrestores the before-snapshot below
Evidence the detector returned
{
"appointment_id": 7841169,
"appointment_ids": [
7841169,
7797316
],
"bookings_affected": 2,
"clash": "room",
"clinic": "Craymoor Health Centre",
"clinic_id": 11,
"clinician_id": 188,
"end_at": "2026-11-19 09:20:00",
"feed": "clinic day",
"free_clinician_id": 189,
"free_room_id": 175,
"free_room_kind": "consulting room",
"other_appointment_id": 7797316,
"patient_id": 17075,
"patients_affected": 2,
"room_id": 176,
"stake_note": "two patients booked into one slot",
"start_at": "2026-11-19 09:00:00",
"started_at": "2026-11-13T15:10:25"
}
Arguments
{
"appointment_id": 7841169,
"patient_id": 17075
}Before and after
{
"after": {
"messages": [
{
"appointment_id": 7841169,
"id": 900000068,
"kind": "booking_offer",
"patient_id": 17075
}
],
"offers": [
{
"appointment_id": 7841169,
"clinic_id": 11,
"clinician_id": 188,
"created_at": "2026-11-13T15:15:00",
"created_by": "Rounds",
"id": 34,
"kind": "booking",
"patient_id": 17075,
"slot_start": "2026-11-14T08:30:00",
"status": "offered"
}
]
},
"before": {}
}