RoundsCorrowmere Clinics · Estmark synthetic data · seed 23

Referral not booked · referral 50087

Held Wed 08:00 with clinician 471 and offered it (referral).

When
Tuesday 10 November 12:00:00
Call
send booking offer · POST /Communication (booking offer, patient 45261, referral 50087)
Tier and status
tier 0 auto done
Definition
referral not booked v1
Decided by
rules: urgent referral unbooked after 2.0 days and no invite sent: offer the first free slot.
Controller
Allowed: send_booking_offer is tier 0 (just do it); within budget (0 of 60 paperwork actions this minute).
Signed off by
nobody needed: tier 0
Undo
undo_send_booking_offer restores the before-snapshot below

Evidence the detector returned

{
  "bookings_affected": 0,
  "clinic": "Orrinford Health Centre",
  "clinic_id": 30,
  "days_waiting": 2.0,
  "feed": "admin",
  "invite_sent_at": null,
  "invite_unanswered": false,
  "patient_id": 45261,
  "patients_affected": 1,
  "priority": "urgent",
  "referral_id": 50087,
  "referred_by": "Dr O. Iversbrook",
  "rule_days": 2,
  "sent_at": "2026-11-08 11:32:39",
  "specialty": "Gastroenterology",
  "specialty_id": 6,
  "stake_note": "referral waiting 2.0 days",
  "started_at": "2026-11-10T11:32:39"
}

Arguments

{
  "patient_id": 45261,
  "referral_id": 50087
}

Before and after

{
  "after": {
    "messages": [
      {
        "appointment_id": null,
        "id": 900000001,
        "kind": "booking_offer",
        "patient_id": 45261
      }
    ],
    "offers": [
      {
        "clinic_id": 30,
        "clinician_id": 471,
        "created_at": "2026-11-10T12:00:00",
        "created_by": "Rounds",
        "id": 1,
        "kind": "booking",
        "patient_id": 45261,
        "referral_id": 50087,
        "slot_start": "2026-11-11T08:00:00",
        "status": "offered"
      }
    ]
  },
  "before": {}
}

What happened next

#WhenProblem foundWhat the operator didTierStatusDecided byNote
11Tue 12:25 referral not booked
referral 50087
send booking offer
undo: POST /Communication (booking offer, patient 45261, referral 50087)
0rolled back Ines Wendmore (records lead, scripted)an urgent referral is booked by phone, not by an offer; withdrew the offer and called the patient [scripted staff responses (synthetic)]