Action record / #192
Double booking · appointment 7841173
Held Mon 15:10 with clinician 462 and offered it (booking to move).
- When
- Monday 16 November 12:09:30
- Call
- send booking offer ·
POST /Communication (booking offer, patient 170193, appointment 7841173) - Tier and status
- tier 0 auto done
- Definition
- double booking v1
- Decided by
- rules: No free room or colleague at that time: offer the later-booked patient a new slot.
- Controller
- Allowed: send_booking_offer is tier 0 (just do it); within budget (0 of 10 actions at clinic 30 this hour).
- Signed off by
- nobody needed: tier 0
- Undo
undo_send_booking_offerrestores the before-snapshot below
Evidence the detector returned
{
"appointment_id": 7841173,
"appointment_ids": [
7841173,
7806886
],
"bookings_affected": 2,
"clash": "clinician",
"clinic": "Orrinford Health Centre",
"clinic_id": 30,
"clinician_id": 462,
"end_at": "2026-11-23 11:00:00",
"feed": "clinic day",
"free_clinician_id": null,
"free_room_id": 436,
"free_room_kind": "consulting room",
"other_appointment_id": 7806886,
"patient_id": 170193,
"patients_affected": 2,
"room_id": 441,
"stake_note": "two patients booked into one slot",
"start_at": "2026-11-23 10:40:00",
"started_at": "2026-11-16T12:09:10"
}
Arguments
{
"appointment_id": 7841173,
"patient_id": 170193
}Before and after
{
"after": {
"messages": [
{
"appointment_id": 7841173,
"id": 900000134,
"kind": "booking_offer",
"patient_id": 170193
}
],
"offers": [
{
"appointment_id": 7841173,
"clinic_id": 30,
"clinician_id": 462,
"created_at": "2026-11-16T12:09:30",
"created_by": "Rounds",
"id": 68,
"kind": "booking",
"patient_id": 170193,
"slot_start": "2026-11-16T15:10:00",
"status": "offered"
}
]
},
"before": {}
}