RoundsCorrowmere Clinics · Estmark synthetic data · seed 23

Referral not booked · referral 46859

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

When
Tuesday 10 November 17:00:00
Call
send booking offer · POST /Communication (booking offer, patient 104636, referral 46859)
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 (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": "Craymoor Health Centre",
  "clinic_id": 11,
  "days_waiting": 10.0,
  "feed": "admin",
  "invite_sent_at": null,
  "invite_unanswered": false,
  "patient_id": 104636,
  "patients_affected": 1,
  "priority": "routine",
  "referral_id": 46859,
  "referred_by": "Dr F. Brammore",
  "rule_days": 10,
  "sent_at": "2026-10-31 16:07:01",
  "specialty": "Dermatology",
  "specialty_id": 3,
  "stake_note": "referral waiting 10.0 days",
  "started_at": "2026-11-10T16:07:01"
}

Arguments

{
  "patient_id": 104636,
  "referral_id": 46859
}

Before and after

{
  "after": {
    "messages": [
      {
        "appointment_id": null,
        "id": 900000011,
        "kind": "booking_offer",
        "patient_id": 104636
      }
    ],
    "offers": [
      {
        "clinic_id": 11,
        "clinician_id": 191,
        "created_at": "2026-11-10T17:00:00",
        "created_by": "Rounds",
        "id": 8,
        "kind": "booking",
        "patient_id": 104636,
        "referral_id": 46859,
        "slot_start": "2026-11-11T08:00:00",
        "status": "offered"
      }
    ]
  },
  "before": {}
}