Skip to content

Latest commit

ย 

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date
ย 
ย 

Repository files navigation

๐Ÿš€ Provider & Member Engagement Analytics โ€” Executive Demo โœจ๐Ÿฅ

๐Ÿ”ฅ Stars in Reach? Blast off with QMTRY.ai's no-PHI demo that turns Synthea data into actionable gold! Spot Stars gaps, prioritize outreach like a pro, and impress auditors with exportable queues, provider scorecards, and PDC magic. Execs: In 60 seconds, see revenue lifts, provider MVPs, and adherence wins. Make healthcare heroes out of ops teams! ๐Ÿ’ช๐Ÿ“ˆ

Powered by Synthea (100% synthetic, zero PHI drama) โ€ข Crafted by QMTRY.ai for payers and providers chasing CMS Stars glory.

๐ŸŽฏ What to See at a Glance (Exec Cheat Sheet) ๐Ÿ‘€

Buckle up for insights that pop! Here's the dazzle:

  • Stars Snapshot โญ: CBP, HBD control, SUPD, and PDC trends across statins/RASA/diabetes. Clean rollups, sparkly chartsโ€”spot lifts in seconds!
  • Prioritized Outreach ๐Ÿ“‹: Member queues with "why this?" reason codes (e.g., "SUPD slip-up" or "PDC dip"). Export CSV for CRM and watch gaps close like magic.
  • Provider Scorecards ๐Ÿ†: Rank by engagement, quality velocity, and panel adherence. Peer benchmarks to fuel those "crushing it!" convos.
  • PBM Adherence Story ๐Ÿ’Š: PDC distributions by classโ€”hunt the low-hanging fruit in the tail for massive ROI.
  • Evidence Bundle ๐Ÿ”’: Audit-proof zip with data quality checks, lineage, metrics dictionary, logs, and hashes. Skeptics? Hand this over and watch jaws drop!

๐Ÿ—บ๏ธ The Flow (How Value Gets Made โ€“ Visual Vibes!) ๐Ÿ”„

Picture this: Raw data zips through a pipeline faster than a caffeinated analyst. Here's the Mermaid magic to impress tech-savvy execs:

flowchart LR
  A["Synthea CSVs\n(patients, meds, encounters, obs)"] --> B[("DuckDB\nStaging")]
  B -->|validate| C["Great Expectations\n(data quality)"]
  B --> D["dbt\n(modeling & marts)"]
  D --> E["Python/pandas\n(measures & features)"]
  E --> F[["Artifacts\nCSV/Parquet"]]
  F --> G["Streamlit App\n(Exec & Ops Views)"]
  F --> H["Evidence Bundle\n(audit pack)"]
Loading

Boomโ€”seamless, scalable, and seriously fun! ๐Ÿš€

๐Ÿ“ˆ Indices & Measures โ€” Transparent, Defensible, and Dazzling! ๐ŸŒŸ

No hiding the math; flaunt it! Check this pie chart for the Member Engagement Index (MEI)โ€”weights that make sense and drive decisions:

pie title Member Engagement Index (MEI) Weights โ€“ The Secret Sauce!
  "Medication Adherence (PDC)" : 40
  "Preventive Compliance (SUPD, HBD, CBP, Screenings)" : 25
  "Outreach Responsiveness" : 20
  "Continuity of Care (PCP Stability & Cadence)" : 15
Loading

Core Measures (Demo Edition โ€“ Exec-Approved Simplicity):

  • CBP Control ๐Ÿฉธ: Last SBP < 140 and DBP < 90 (HTN cohort). Hypertension? Handled!
  • HBD Control ๐Ÿฌ: Last A1c < 9 (DM cohort). Diabetes drama? Diminished!
  • SUPD ๐Ÿ’Š: Statin use in DM cohort. Prevention party starts here!
  • PDC ๐Ÿ“…: Adherent days รท window (first fill to year-end), overlap-capped at 0.80 threshold. Adherence? Amped up!

Every formula, weight, and derivation? Zipped in the Evidence Bundle for auditors' delight. No smoke, just mirrors... of transparency! ๐Ÿ˜Ž

And for trends? Imagine this bar chart showing PDC lift over time (sample data vibesโ€”run the demo for real sparks!):

%%{init: {'theme':'dark', 'themeVariables': { 'barFill': '#ff7f0e', 'secondBarFill': '#2ca02c' }}}%%
xychart-beta
    title "PDC Adherence Trends - Watch the Wins Stack!"
    x-axis ["Statins", "RASA", "Diabetes Meds"]
    y-axis "Percentage" 0 --> 100
    bar "Baseline" [75, 82, 68]
    bar "Post-Outreach Lift" [85, 90, 78]
Loading

Orange bars for baseline, green for growth! Execs will be charting high-fives. ๐Ÿ“Š๐ŸŽ‰

๐Ÿ–ฅ๏ธ What's in the App (Screens That Sizzle!) ๐Ÿ’ป

Dive into a Streamlit wonderlandโ€”dark mode for that late-night strategy sesh:

  • Executive Summary ๐Ÿ“Š: Stars rollups, MEI histograms, and quick trends. "Where's the money?" Answered in pixels!
  • Member 360 & Outreach ๐Ÿ”: Filter, sort by impact, export CSV. Turn "at-risk" into "all-good" with one click.
  • Provider Lens ๐Ÿ…: PES rankings, panel breakdowns, peer benchmarks. Spot stars and coach the rest!
  • Medication Adherence ๐Ÿ“‰: PDC histograms + class/contract drills. Target the tail and tally the triumphs.

Visualize the outreach journey with this fun timelineโ€”execs love a good story:

journey
  title Outreach Journey (Demo) โ€“ From Ping to Zing!
  section Awareness ๐ŸŽค
    Member Notified: 3: Ops Team
    Provider Alerted: 4: Auto-Email
  section Action โšก
    Rx Picked Up: 4: Pharmacy Partner
    Follow-Up Booked: 3: Scheduler Bot
  section Outcome ๐Ÿ†
    Gap Closed: 5: Stars Boost!
Loading

Pro tip: Add confetti animations in Streamlit for extra dazzle. ๐ŸŽŠ

๐Ÿ” Trust, But Verify (The Skeptic Kit โ€“ Audit Armor!) ๐Ÿ›ก๏ธ

All about proof in the pudding:

  • Great Expectations Checks โœ…: Row counts, nulls, ranges, integrityโ€”inputs and outputs locked down.
  • dbt Docs & Tests ๐Ÿ“œ: Lineage that's clickable and credible for governance gurus.
  • Evidence Bundle (Zip) ๐ŸŽ: GE results, metric dictionary, config hash, run logs, artifact checksums. Download and dominate audits!

All powered by Syntheaโ€”PHI-free forever. Compliance officers will sleep like a baby! ๐Ÿ˜ด

โšก Quickstart (1 Minute to Magic โ€“ No Cape Required!) ๐Ÿƒโ€โ™‚๏ธ

Get dazzling in a dash:

python -m venv .venv && source .venv/bin/activate   # Windows? .venv\Scripts\Activate.ps1 โ€“ Easy!
pip install -r requirements.txt

# Optional: Drop Synthea CSVs into data/synthea_drop/ for custom flair
python scripts/run_pipeline.py --config configs/config.demo.json

# Blast off!
streamlit run app/Home.py

Artifacts explode into output_demo/:

  • measure_member_results.csv, measure_contract_rollup.csv โ€“ Data dynamite!
  • outreach_queue.csv, provider_scores.csv, pdc_distributions.csv โ€“ Actionable awesomeness.
  • evidence_bundle.zip โœ… โ€“ Auditor's best friend.

Pro hack: Schedule this on cron for daily dazzle. โฐ

๐Ÿงฐ Tech That Scales (And Sparkles!) ๐Ÿ”ง

Python (pandas for crunch, DuckDB for speed, Plotly for pretty, Streamlit for shine) โ€ข dbt-core for modeling mastery โ€ข Great Expectations for quality quests โ€ข Optional XGBoost for "will-they-engage?" prophecies.

Mix in real data? Scales to Snowflake or BigQuery like a champ!

๐Ÿ›ก๏ธ Security & Compliance (Fort Knox Vibes) ๐Ÿ”’

  • Synthea-Only Demo: No PHIโ€”play safe, stay compliant.
  • Reproducible Runs: Configs, checksums, exportsโ€”trace every twinkle.
  • HIPAA-Ready Patterns: Secrets vaulted, CDRs locked, ACLs airtight. Deploy with confidence!

๐Ÿค License & Attribution (Share the Sparkle!) ๐ŸŒŸ

MIT License ยฉ QMTRY, LLC โ€ข Synthea ยฉ its awesome creators.
Questions? Open an issue or ping QMTRY.ai โ€” hard problems are welcome! ๐Ÿงฉ

Ready to dazzle? Fork, run, and watch clients line up! ๐Ÿš€๐Ÿ’ผ

About

Synthea demo of Stars-ready provider & member engagement analytics with dbt, Great Expectations & Streamlit.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors