{
  "schema": "causal-showcase-manifest/1",
  "slug": "hospital-flow",
  "version": "1.0",
  "title": "Hospital Flow and Personalized Discharge",
  "question": "Who should receive limited discharge support slots to reduce readmissions without overloading beds?",
  "lastValidated": "2026-08-02",
  "evidence": "Reviewed",
  "scenario": {
    "objective": "Minimize readmissions with occupancy under 92%.",
    "runs": 1000,
    "params": [
      {
        "key": "slots",
        "label": "Support slots per week",
        "min": 0,
        "max": 80,
        "step": 10,
        "default": 40,
        "unit": "slots"
      },
      {
        "key": "effectShare",
        "label": "Allocation by effect (vs risk)",
        "min": 0,
        "max": 100,
        "step": 25,
        "default": 100,
        "unit": "%"
      },
      {
        "key": "arrivals",
        "label": "ED arrival surge",
        "min": 0,
        "max": 30,
        "step": 5,
        "default": 0,
        "unit": "%"
      }
    ],
    "alternatives": [
      {
        "name": "No support",
        "description": "Usual discharge.",
        "params": {
          "slots": 0,
          "effectShare": 100,
          "arrivals": 0
        }
      },
      {
        "name": "Risk-based",
        "description": "Slots to highest predicted risk.",
        "params": {
          "slots": 40,
          "effectShare": 0,
          "arrivals": 0
        }
      },
      {
        "name": "Effect-based",
        "description": "Slots to highest estimated benefit.",
        "params": {
          "slots": 40,
          "effectShare": 100,
          "arrivals": 0
        }
      }
    ],
    "metrics": [
      {
        "key": "readmit",
        "label": "30-day readmission",
        "unit": "%",
        "base": 13.1,
        "sd": 0.5,
        "higherIsBetter": false,
        "sensitivity": {
          "slots": -0.06,
          "effectShare": -0.018,
          "arrivals": 0.03
        }
      },
      {
        "key": "wait",
        "label": "ED waiting time",
        "unit": "min",
        "base": 182,
        "sd": 14,
        "higherIsBetter": false,
        "sensitivity": {
          "slots": -0.5,
          "effectShare": -0.1,
          "arrivals": 4.2
        }
      },
      {
        "key": "occupancy",
        "label": "Bed occupancy",
        "unit": "%",
        "base": 88,
        "sd": 1.5,
        "higherIsBetter": false,
        "sensitivity": {
          "slots": -0.04,
          "effectShare": -0.01,
          "arrivals": 0.38
        },
        "constraint": {
          "max": 92,
          "label": "Limit 92%"
        }
      }
    ]
  },
  "technical": {
    "dag": [
      [
        "Clinical severity",
        "Support"
      ],
      [
        "Clinical severity",
        "Readmission"
      ],
      [
        "Support",
        "Readmission"
      ],
      [
        "Readmission",
        "ED arrivals"
      ],
      [
        "ED arrivals",
        "Bed occupancy"
      ]
    ],
    "estimand": "CATE(x) = E[R(1) − R(0) | profile = x], R = 30-day readmission",
    "assumptions": [
      "Synthetic randomized arm available for validation",
      "No interference between patients beyond shared beds",
      "Subgroup effects reviewed by humans before use"
    ],
    "equations": [
      "Occupancy = occupied beds / staffed beds",
      "λ_ED(t) = λ₀(t)·(1 + surge) + readmissions(t)"
    ],
    "engines": {
      "Causal": "causal-core 3.4.1",
      "Twins": "twin-runtime 2.8.0",
      "DES": "des-kernel 5.1.2",
      "Monte Carlo": "mc-sampler 4.0.0",
      "Optimization": "policy-opt 2.2.5"
    },
    "seed": 20260802,
    "validation": [
      {
        "name": "Calibration slope",
        "value": "0.97"
      },
      {
        "name": "Occupancy error",
        "value": "2.6 pts"
      }
    ]
  },
  "provenance": {
    "authors": [
      "Platform Education Team"
    ],
    "reviewers": [
      "Health Analytics Review Board",
      "Privacy Office"
    ],
    "rights": "CC BY-NC 4.0. Synthetic data only.",
    "sourceData": "Synthetic patient cohort of 18,000 admissions (seed 20260802).",
    "changelog": [
      {
        "version": "1.0",
        "date": "2026-08-02",
        "note": "Initial publication after privacy review."
      }
    ]
  },
  "exportedAt": "2026-11-18T23:10:19.796Z"
}