RoundsCorrowmere Clinics · Estmark synthetic data · seed 23

Referral not booked · referral 52306

Held Tue 08:00 with clinician 297 and offered it (referral).

When
Monday 16 November 12:00:00
Call
send booking offer · POST /Communication (booking offer, patient 97591, referral 52306)
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 (1 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": "Millhaven Rise Clinic",
  "clinic_id": 19,
  "days_waiting": 2.0,
  "feed": "admin",
  "invite_sent_at": null,
  "invite_unanswered": false,
  "patient_id": 97591,
  "patients_affected": 1,
  "priority": "urgent",
  "referral_id": 52306,
  "referred_by": "Dr M. Pellmore",
  "rule_days": 2,
  "sent_at": "2026-11-14 11:05:05",
  "specialty": "Dermatology",
  "specialty_id": 3,
  "stake_note": "referral waiting 2.0 days",
  "started_at": "2026-11-16T11:05:05"
}

Arguments

{
  "patient_id": 97591,
  "referral_id": 52306
}

Before and after

{
  "after": {
    "messages": [
      {
        "appointment_id": null,
        "id": 900000130,
        "kind": "booking_offer",
        "patient_id": 97591
      }
    ],
    "offers": [
      {
        "clinic_id": 19,
        "clinician_id": 297,
        "created_at": "2026-11-16T12:00:00",
        "created_by": "Rounds",
        "id": 65,
        "kind": "booking",
        "patient_id": 97591,
        "referral_id": 52306,
        "slot_start": "2026-11-17T08:00:00",
        "status": "offered"
      }
    ]
  },
  "before": {}
}

What happened next

#WhenProblem foundWhat the operator didTierStatusDecided byNote
196Mon 12:25 referral not booked
referral 52306
send booking offer
undo: POST /Communication (booking offer, patient 97591, referral 52306)
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)]