Clinical Quality Analytics · Longitudinal EHR · Power BI (.pbip)

Turning 15,975 longitudinal EHR encounters into clinical biomarker control.

An end-to-end clinical intelligence project built over a 1,171-patient Massachusetts Synthea cohort—featuring a conformed Star Schema, deterministic TOPN tie-breaking DAX, dynamic Field Parameters, and a native Dynamic DAX SVG Human Anatomy Map.

Power BI (.pbip)TMDLDAX Power Query (M)Star SchemaField Parameters Dynamic DAX SVGMITRE Synthea™ EHRGit
Hypertension Control Rate
0%
113 of 302 controlled (<130/80 mmHg)
Obesity Prevalence
0%
218 of 1,134 patients (BMI ≥ 30.0)
Polypharmacy Burden
0%
97 patients on 5+ active meds
90+ Day Systolic BP Drift
+0 mmHg
n = 410 paired · 4.98 yr median gap
The Clinical Analytics Problem

Three longitudinal questions raw EHR tables couldn't answer

With 1,171 patients, 15,975 vital records (including 1,056 undated QALY rows), and 5,038 medication therapies, naive aggregations broke down across same-day visits and multi-year follow-ups.

01 · LATEST CONTROL

Who is actually controlled on their latest visit?

Undated records and same-day encounter ties skewed cohort baselines. Deterministic TOPN tie-breaking isolates each patient's true latest dated systolic, diastolic, and BMI reading.

02 · LONGITUDINAL DRIFT

Do biomarkers stabilize 90+ days post-therapy?

Comparing pre-therapy averages against readings ≥90 days after initiation reveals near-flat BP drift (+1.01 mmHg over 4.98 yrs) versus gradual BMI (+1.36 kg/m²) and creatinine (+0.14 mg/dL) drift.

03 · PATIENT TRIAGE

How do clinicians triage polypharmacy seniors fast?

By pairing a Risk Stratification Matrix with a pure-DAX SVG Human Anatomy Map, care teams immediately spot multi-organ alerts (Heart, Lungs, Kidneys, Metabolic) alongside active refill history.

Dashboard Page 1 · Population Control

Only 37.42% of hypertensive patients meet the <130/80 mmHg target

Across 302 flagged hypertensive patients with complete blood pressure pairs, 189 (62.58%) remain uncontrolled—while polypharmacy burden concentrates sharply in older adults with 46.6% mortality.

Systolic BP by Age Cohort & Polypharmacy Tier

Mean dated readings (mmHg) vs. <130 mmHg clinical target
Middle-Aged Polypharmacy Risk (127.5 mmHg) and Senior Polypharmacy (125.4 mmHg) sit closest to the 130 mmHg threshold.

Hypertension Control Breakdown (n = 302)

Latest dated systolic <130 and diastolic <80 mmHg
189 of 302 hypertensive patients (62.58%) exceed systolic ≥130, diastolic ≥80, or both on their latest visit.

HTN Control vs. Obesity Prevalence by Age Cohort

Latest dated patient-level clinical rates (%)
Seniors show the lowest HTN control (29.17%), while Middle-Aged adults peak in obesity prevalence (29.08%).

Cohort Mortality Rate by Age & Medication Burden

Share of cohort with recorded death date (14.60% overall)
Mortality jumps to 46.67% (Middle-Aged) and 46.58% (Senior) in the 5+ medication Polypharmacy Risk tier.
Dashboard Page 2 · Biomarker Trajectories & Follow-Up

Visit 1–15 trends and 90+ day post-therapy drift

Paired within-patient follow-up evaluates readings before first qualifying therapy against all readings from day 90 onward—observing multi-year trajectories without an untreated control arm.

Systolic BP Trajectory Across Visits 1–15

Mean reading by sequential visit number & polypharmacy tier
90+ Day Paired Follow-UpMean ShiftPaired nMedian Gap
Systolic BP Change+1.01 mmHg4104.98 yrs
BMI Change+1.36 kg/m²3275.08 yrs
Creatinine Change+0.14 mg/dL47—

90+ Day Systolic BP Shift & Coverage by Drug Class

Post-therapy change (mmHg) across qualifying therapeutic classes
Statins (-1.16 mmHg, n=69) and Respiratory Inhalers (-0.24 mmHg, n=20) show slight mean reductions, while Antihypertensives (+6.67 mmHg, n=71) reflect higher baseline risk and multi-year progression.
Dashboard Page 3 · Risk Matrix & Patient Anatomy Map

From population stratification down to organ-level triage

Clinicians drill directly from any Age × Polypharmacy Risk tier into an individual patient's longitudinal BP timeline, 13+ medication history, and real-time DAX SVG system map.

Population Risk Stratification Matrix

1,171 cohort patients · Age Cohort × Medication Burden Tier
No Active Meds
Standard Regimen
Polypharmacy (5+)
Senior
(65+)
45
Low Burden
4.4% mortality
170
21.8% HTN Ctrl
20.0% mortality
73
39.0% HTN Ctrl
46.6% mortality
Middle-Aged
(45–64)
90
34.4% Obesity
3.3% mortality
232
46.7% HTN Ctrl
19.4% mortality
15
22.2% HTN Ctrl
46.7% mortality
Young Adult
(18–44)
186
11.8% Obesity
3.8% mortality
201
37.9% HTN Ctrl
8.0% mortality
9
20.0% HTN Ctrl
11.1% mortality
Pediatric
(<18)
96
0.0% Obesity
5.2% mortality
54
2.3% Obesity
31.5% mortality
0
No Cases
0.0% of cohort
88 of 97 Polypharmacy Risk patients (90.7%) are Middle-Aged or Senior adults carrying ~47% cohort mortality.

Native Dynamic DAX SVG Human Anatomy Map

Drilled Case: Senior Polypharmacy Patient (5cb510f1...fad1 · Age 74 · 13 Meds)
Controlled Watch Alert
Cardiovascular (BP)136 / 84 mmHg · Alert
Metabolic (BMI)30.1 kg/m² · Alert
Respiratory (Inhaler)Active Salmeterol · Watch
Renal (Creatinine)0.90 mg/dL · Controlled
Built with dataCategory: ImageUrl inside a standard Power BI table—zero custom visual marketplace dependencies.
The Deliverable

A 3-page Power BI (.pbip) clinical analytics suite

1600×900 executive canvas with custom ClinicalExecutiveTheme, dynamic Field Parameters, cross-page Drill-Through, and conformed Star Schema.

How It Was Built

From raw Synthea EHR tables to a portable .pbip suite

1

Ingest

4 Synthea CSV tables embedded & toggleable via CSVFolder parameter.

2

Model

4-table Star Schema with 4 active single-direction 1→* relationships.

3

Engineer DAX

TOPN tie-breaking latest vitals & paired 90+ day pre/post deltas.

4

Parameterize

Biomarker Selector switches axes, targets, & subtitles across 5 vitals.

5

Visualize SVG

Inline DAX SVG anatomy map & 3-page PBIR report definitions.

Star Schema & TMDL

  • Dim_Patients (1,171)
  • Dim_Date (39,364)
  • Fact_Vitals (15,975)
  • Fact_Medications (5,038)

Advanced DAX

  • TOPN tie-breaking
  • REMOVEFILTERS paired eval
  • Field Parameter switches
  • Dynamic ImageUrl SVG

Portability

  • PBIP + PBIR source format
  • Compressed inline CSVs
  • CSVFolder M parameter
  • Zero custom visuals

Validation

  • Byte-for-byte CSV check
  • Offline TMDL syntax check
  • DAX Query View script
  • 1,056 undated rows kept
Clinical Quality Recommendations

Five targeted interventions tied to cohort numbers

1

Hypertension Titration Outreach for Uncontrolled Cohort

Prioritize the 189 hypertensive patients above 130/80 mmHg—starting with Seniors (29.17% control) and Polypharmacy Risk tiers.

189 Patients62.58% uncontrolled
2

Geriatric Polypharmacy Medication Reconciliation

Target the 88 Middle-Aged and Senior patients on 5+ active drugs via pharmacist deprescribing and adherence reviews.

46.6% Mort.88 adult polypharmacy pts
3

Longitudinal Cardiometabolic Weight Management

Pair pharmacotherapy initiation with structured lifestyle coaching to counter the +1.36 kg/m² 5-year BMI drift and 29.08% Middle-Aged obesity.

+1.36 kg/m²327 paired follow-ups
4

Proactive Renal Function Monitoring Post-Therapy

Schedule routine eGFR and serum creatinine labs for patients initiating chronic therapies showing +0.14 mg/dL drift.

+0.14 mg/dL47 renal watch pairs
5

EHR Visit-Date Capture Governance for QALY Scoring

Enforce encounter date stamps on quality-of-life surveys so all 1,056 undated vitals/QALY records integrate into dated time-series trends.

1,056 RowsMissing visit_date fixed

Explore the Power BI (.pbip) Suite

Clone the repository, open Healthcare_Clinical_Model.pbip in Power BI Desktop, and click Refresh—embedded CSVs work immediately out of the box.