← All work
Healthcare Analytics2025 / 14

Readmission Analytics

A SQL-to-R-to-Power BI clinical analytics pipeline that connects 100,000 encounters to readmission drivers, subgroup patterns, and action-ready reporting.

SQLRPower BIClinical Analytics
Source & deliverables
100K+encounters
11%readmission rate
2.7%subgroup gap
3report pages
01 / Context

The question
behind the work.

Thirty-day readmissions combine clinical complexity, utilization, and equity concerns. The raw encounter data is too messy for reliable modeling or BI without a disciplined data layer.

My role

I built the normalized MySQL schema, staging and mapping workflow, analysis view, R modeling pipeline, subgroup analysis, dashboard exports, and three-page Power BI report.

02 / Implementation

What I built.

The project starts with normalized tables and analysis views, then moves through regression and equity analysis into a three-page decision report for clinical operations.

  • Loaded and normalized roughly 100,000 encounters from the Diabetes 130-US Hospitals dataset.
  • Mapped diagnoses, medications, labs, demographics, and readmission outcomes into an analysis-ready view.
  • Built a binary 30-day readmission outcome and logistic model in R.
  • Published overview, equity, and clinical-driver pages with consistent measures and subgroup comparisons.
03 / In detail

Build the data layer before the dashboard

I started with the Diabetes 130-US Hospitals dataset and built a normalized MySQL schema for roughly 100,000 encounters. Staging tables, mapping logic, and an analysis view made diagnoses, medications, labs, demographics, and readmission outcomes usable across R and Power BI.

That separation matters because cleaning logic should not disappear into a dashboard. The same analysis-ready view can be inspected, modeled, exported, and reused without rebuilding the transformation work.

Model the clinical and equity picture together

I defined a binary 30-day readmission outcome and modeled the relationship between readmission, clinical complexity, utilization, and encounter characteristics in R. The cohort showed an overall readmission rate near 11 percent.

More diagnoses, more medications, and longer stays were the clearest observed risk signals. I also carried subgroup comparisons into the analysis, including an approximately 2.7-point gap between the lowest and highest observed racial subgroups.

Turn the analysis into an operating view

The final Power BI package has overview, equity, and clinical-driver pages with consistent measures and filters. It lets a reader move from population-level outcomes to subgroup patterns and the encounter characteristics associated with risk.

The result is a complete SQL-to-R-to-BI workflow: disciplined data design, reproducible modeling, and a reporting layer that keeps the operational question visible.

04 / Engineering judgment

The decisions
that shaped it.

  1. Separated staging, normalized entities, and the analysis view so cleaning logic is reusable outside Power BI.
  2. Reported subgroup gaps with context instead of using equity visuals as causal claims.
  3. Combined model results with operationally legible thresholds such as diagnoses, medication count, and length of stay.

Evaluation & results

The cohort showed an overall readmission rate near 11%, a roughly 2.7-point gap between the lowest and highest racial subgroups, and higher observed risk among encounters with more diagnoses, more medications, and longer stays.

05 / Working outputs

See it for yourself.

Select an image to view it at full size.

06 / Artifacts

Take a closer look.

01SQL pipeline02Research report
Next projectHospital Price Variation