RoundsCorrowmere Clinics · Estmark synthetic data · seed 23

Post discharge followup overdue · discharge 738

Held Mon 08:45 with clinician 229 and offered it (discharge follow-up).

When
Friday 13 November 16:00:00
Call
send booking offer · POST /Communication (booking offer, patient 38680, discharge 738)
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": "Lindenholt Clinic",
  "clinic_id": 15,
  "days_since_notice": 3.0,
  "discharge_id": 738,
  "discharged_at": "2026-11-10 14:05:29",
  "feed": "admin",
  "follow_up_due_by": "2026-11-24 14:05:29",
  "follow_up_within_days": 14,
  "notified_at": "2026-11-10 15:51:43",
  "patient_id": 38680,
  "patients_affected": 1,
  "specialty": "General practice",
  "specialty_id": 1,
  "stake_note": "patient discharged with no follow-up booked",
  "started_at": "2026-11-13T15:51:43",
  "unit": "Sedgecombe General Hospital ward 4"
}

Arguments

{
  "discharge_id": 738,
  "patient_id": 38680
}

Before and after

{
  "after": {
    "messages": [
      {
        "appointment_id": null,
        "id": 900000071,
        "kind": "booking_offer",
        "patient_id": 38680
      }
    ],
    "offers": [
      {
        "clinic_id": 15,
        "clinician_id": 229,
        "created_at": "2026-11-13T16:00:00",
        "created_by": "Rounds",
        "discharge_id": 738,
        "id": 35,
        "kind": "booking",
        "patient_id": 38680,
        "slot_start": "2026-11-16T08:45:00",
        "status": "offered"
      }
    ]
  },
  "before": {}
}