RoundsCorrowmere Clinics · Estmark synthetic data · seed 23

Post discharge followup overdue · discharge 735

Held Mon 09:00 with clinician 595 and offered it (discharge follow-up).

When
Friday 13 November 13:00:00
Call
send booking offer · POST /Communication (booking offer, patient 19960, discharge 735)
Tier and status
tier 0 auto done
Definition
post discharge followup overdue v1
Decided by
rules: Discharged with a follow-up due within 14 days and nothing booked.
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": "Dunholme Cross Clinic",
  "clinic_id": 40,
  "days_since_notice": 3.0,
  "discharge_id": 735,
  "discharged_at": "2026-11-10 08:01:08",
  "feed": "admin",
  "follow_up_due_by": "2026-11-24 08:01:08",
  "follow_up_within_days": 14,
  "notified_at": "2026-11-10 12:59:24",
  "patient_id": 19960,
  "patients_affected": 1,
  "specialty": "Ear, nose and throat",
  "specialty_id": 9,
  "stake_note": "patient discharged with no follow-up booked",
  "started_at": "2026-11-13T12:59:24",
  "unit": "Fallowmere General Hospital ward 4"
}

Arguments

{
  "discharge_id": 735,
  "patient_id": 19960
}

Before and after

{
  "after": {
    "messages": [
      {
        "appointment_id": null,
        "id": 900000064,
        "kind": "booking_offer",
        "patient_id": 19960
      }
    ],
    "offers": [
      {
        "clinic_id": 40,
        "clinician_id": 595,
        "created_at": "2026-11-13T13:00:00",
        "created_by": "Rounds",
        "discharge_id": 735,
        "id": 32,
        "kind": "booking",
        "patient_id": 19960,
        "slot_start": "2026-11-16T09:00:00",
        "status": "offered"
      }
    ]
  },
  "before": {}
}