RoundsCorrowmere Clinics · Estmark synthetic data · seed 23

Post discharge followup overdue · discharge 722

Held Fri 13:30 with clinician 550 and offered it (discharge follow-up).

When
Thursday 12 November 13:00:00
Call
send booking offer · POST /Communication (booking offer, patient 111412, discharge 722)
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": "Brindle Quay Health Centre",
  "clinic_id": 39,
  "days_since_notice": 3.0,
  "discharge_id": 722,
  "discharged_at": "2026-11-09 08:09:08",
  "feed": "admin",
  "follow_up_due_by": "2026-11-16 08:09:08",
  "follow_up_within_days": 7,
  "notified_at": "2026-11-09 12:20:48",
  "patient_id": 111412,
  "patients_affected": 1,
  "specialty": "General practice",
  "specialty_id": 1,
  "stake_note": "patient discharged with no follow-up booked",
  "started_at": "2026-11-12T12:20:48",
  "unit": "Thornhithe General Hospital surgical ward"
}

Arguments

{
  "discharge_id": 722,
  "patient_id": 111412
}

Before and after

{
  "after": {
    "messages": [
      {
        "appointment_id": null,
        "id": 900000041,
        "kind": "booking_offer",
        "patient_id": 111412
      }
    ],
    "offers": [
      {
        "clinic_id": 39,
        "clinician_id": 550,
        "created_at": "2026-11-12T13:00:00",
        "created_by": "Rounds",
        "discharge_id": 722,
        "id": 28,
        "kind": "booking",
        "patient_id": 111412,
        "slot_start": "2026-11-13T13:30:00",
        "status": "offered"
      }
    ]
  },
  "before": {}
}