RoundsCorrowmere Clinics · Estmark synthetic data · seed 23

Post discharge followup overdue · discharge 714

Held Thu 08:30 with clinician 336 and offered it (discharge follow-up).

When
Wednesday 11 November 14:00:00
Call
send booking offer · POST /Communication (booking offer, patient 64914, discharge 714)
Tier and status
tier 0 auto done
Definition
post discharge followup overdue v1
Decided by
rules: Discharged with a follow-up due within 7 days and nothing booked.
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": "Ivystone Clinic",
  "clinic_id": 21,
  "days_since_notice": 3.0,
  "discharge_id": 714,
  "discharged_at": "2026-11-08 08:51:01",
  "feed": "admin",
  "follow_up_due_by": "2026-11-15 08:51:01",
  "follow_up_within_days": 7,
  "notified_at": "2026-11-08 13:10:49",
  "patient_id": 64914,
  "patients_affected": 1,
  "specialty": "Neurology",
  "specialty_id": 7,
  "stake_note": "patient discharged with no follow-up booked",
  "started_at": "2026-11-11T13:10:49",
  "unit": "Pellbrook Community Hospital"
}

Arguments

{
  "discharge_id": 714,
  "patient_id": 64914
}

Before and after

{
  "after": {
    "messages": [
      {
        "appointment_id": null,
        "id": 900000029,
        "kind": "booking_offer",
        "patient_id": 64914
      }
    ],
    "offers": [
      {
        "clinic_id": 21,
        "clinician_id": 336,
        "created_at": "2026-11-11T14:00:00",
        "created_by": "Rounds",
        "discharge_id": 714,
        "id": 18,
        "kind": "booking",
        "patient_id": 64914,
        "slot_start": "2026-11-12T08:30:00",
        "status": "offered"
      }
    ]
  },
  "before": {}
}