RoundsCorrowmere Clinics · Estmark synthetic data · seed 23

Post discharge followup overdue · discharge 703

Held Wed 08:00 with clinician 267 and offered it (discharge follow-up).

When
Tuesday 10 November 15:00:00
Call
send booking offer · POST /Communication (booking offer, patient 13951, discharge 703)
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 (1 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": "Greystead Clinic",
  "clinic_id": 17,
  "days_since_notice": 3.0,
  "discharge_id": 703,
  "discharged_at": "2026-11-07 12:54:30",
  "feed": "admin",
  "follow_up_due_by": "2026-11-21 12:54:30",
  "follow_up_within_days": 14,
  "notified_at": "2026-11-07 14:25:01",
  "patient_id": 13951,
  "patients_affected": 1,
  "specialty": "Orthopaedics",
  "specialty_id": 4,
  "stake_note": "patient discharged with no follow-up booked",
  "started_at": "2026-11-10T14:25:01",
  "unit": "Lindenholt General Hospital day unit"
}

Arguments

{
  "discharge_id": 703,
  "patient_id": 13951
}

Before and after

{
  "after": {
    "messages": [
      {
        "appointment_id": null,
        "id": 900000009,
        "kind": "booking_offer",
        "patient_id": 13951
      }
    ],
    "offers": [
      {
        "clinic_id": 17,
        "clinician_id": 267,
        "created_at": "2026-11-10T15:00:00",
        "created_by": "Rounds",
        "discharge_id": 703,
        "id": 7,
        "kind": "booking",
        "patient_id": 13951,
        "slot_start": "2026-11-11T08:00:00",
        "status": "offered"
      }
    ]
  },
  "before": {}
}