RoundsCorrowmere Clinics · Estmark synthetic data · seed 23

Referral not booked · referral 49273

Held Tue 09:30 with clinician 84 and offered it (referral).

When
Monday 16 November 12:00:00
Call
send booking offer · POST /Communication (booking offer, patient 39217, referral 49273)
Tier and status
tier 0 auto done
Definition
referral not booked v1
Decided by
rules: routine referral unbooked after 10.0 days and no invite sent: offer the first free slot.
Controller
Allowed: send_booking_offer is tier 0 (just do it); within budget (2 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": "Easterholme Health Centre",
  "clinic_id": 5,
  "days_waiting": 10.0,
  "feed": "admin",
  "invite_sent_at": null,
  "invite_unanswered": false,
  "patient_id": 39217,
  "patients_affected": 1,
  "priority": "routine",
  "referral_id": 49273,
  "referred_by": "Dr R. Harrshaw",
  "rule_days": 10,
  "sent_at": "2026-11-06 11:57:01",
  "specialty": "Endocrinology",
  "specialty_id": 5,
  "stake_note": "referral waiting 10.0 days",
  "started_at": "2026-11-16T11:57:01"
}

Arguments

{
  "patient_id": 39217,
  "referral_id": 49273
}

Before and after

{
  "after": {
    "messages": [
      {
        "appointment_id": null,
        "id": 900000132,
        "kind": "booking_offer",
        "patient_id": 39217
      }
    ],
    "offers": [
      {
        "clinic_id": 5,
        "clinician_id": 84,
        "created_at": "2026-11-16T12:00:00",
        "created_by": "Rounds",
        "id": 66,
        "kind": "booking",
        "patient_id": 39217,
        "referral_id": 49273,
        "slot_start": "2026-11-17T09:30:00",
        "status": "offered"
      }
    ]
  },
  "before": {}
}