An end-to-end clinical, operational, and financial audit of 6,301 acute encounters across 941 Massachusetts patients—combining DuckDB SQL window modeling with a 4-view Tableau executive workbook.
Hospital leadership saw elevated inpatient readmissions, severe uncovered claim exposure, and an alarming 18-day raw length of stay—without knowing which patients, payers, or data defects drove them.
Six oncology-related clinical drivers generate 430 of 439 readmissions (97.9%), with Stage 1 Small Cell Lung Cancer hitting a 96.8% inpatient readmission cycle.
Payers cover just 25.81% of $791,981 in total claims. Medicare ($180.1K) and Self-Pay / Uncompensated Care ($92.6K) alone generate 46.4% of total leakage.
Just 5 unclosed outlier encounters (74 to 20,215 days) inflated raw inpatient LOS by 16.5×; isolating them reveals a healthy 1.09-day clean average (1.00 O/E).
From 2011 to 2020, inpatient readmissions breached the 15.0% benchmark in 7 of 10 years—peaking at 26.8% (2015) and 25.0% (2018)—while urgent care expanded to become the largest acute channel.
Stratifying 1,838 inpatient stays across Clinical Risk Tier × Age Cohort isolates extreme concentration—plus a hidden Moderate-Risk Pediatric signal representing 100% of non-High-Risk readmissions.
Evaluating payer coverage rate alongside inpatient readmission rate exposes HRRP penalty risk on Medicare and uncompensated care gaps on Self-Pay.
| Payer | Enc. | Inpt. | Readm. | Cov. | Leakage |
|---|
Portable analytical views backed by DuckDB SQL ETL and verified against exact computed totals in data/analysis_summary.json.
6,301 acute encounters across 941 Synthea patients.
DuckDB LEAD() tracks 30-day inpatient readmissions.
AVG() OVER() O/E benchmarks + is_los_outlier flags.
fact_encounters_v1 & dim_patients_v1 modeled cleanly.
4-view Tableau .twbx workbook & interactive web report.
Deploy 72-hour post-discharge nurse navigation and shift cyclical SCLC/breast stays to outpatient infusion.
Screen uninsured admissions ($92.6K leakage, 0% coverage) at intake for Medicaid (38.3% coverage).
Pair High-Risk Senior care management with BCBS denial audits to lift coverage above 25.8%.
Review the 10 pediatric readmissions (20.4% rate) to close gaps in the sole non-High-Risk readmission tier.
Flag unclosed encounter timestamps in ETL pipelines to eliminate 74–20,215 day LOS distortions.
The DuckDB SQL pipeline, computed JSON metrics, SVG chart generator, and packaged Tableau workbook are all open on GitHub.