Action record / #46
Double booking · appointment 7841164
Held Thu 08:40 with clinician 335 and offered it (booking to move).
- When
- Wednesday 11 November 15:00:00
- Call
- send booking offer ·
POST /Communication (booking offer, patient 107577, appointment 7841164) - 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 21 this hour).
- Signed off by
- nobody needed: tier 0
- Undo
undo_send_booking_offerrestores the before-snapshot below
Evidence the detector returned
{
"appointment_id": 7841164,
"appointment_ids": [
7841164,
7782030
],
"bookings_affected": 2,
"clash": "clinician",
"clinic": "Ivystone Clinic",
"clinic_id": 21,
"clinician_id": 335,
"end_at": "2026-11-16 10:40:00",
"feed": "clinic day",
"free_clinician_id": null,
"free_room_id": 318,
"free_room_kind": "consulting room",
"other_appointment_id": 7782030,
"patient_id": 107577,
"patients_affected": 2,
"room_id": 326,
"stake_note": "two patients booked into one slot",
"start_at": "2026-11-16 10:20:00",
"started_at": "2026-11-11T14:55:31"
}
Arguments
{
"appointment_id": 7841164,
"patient_id": 107577
}Before and after
{
"after": {
"messages": [
{
"appointment_id": 7841164,
"id": 900000031,
"kind": "booking_offer",
"patient_id": 107577
}
],
"offers": [
{
"appointment_id": 7841164,
"clinic_id": 21,
"clinician_id": 335,
"created_at": "2026-11-11T15:00:00",
"created_by": "Rounds",
"id": 20,
"kind": "booking",
"patient_id": 107577,
"slot_start": "2026-11-12T08:40:00",
"status": "offered"
}
]
},
"before": {}
}