Connecting Providers to Patient Data
Connecting Providers to Patient Data: Population Health Tools and Techniques
Introduction to Ambulatory Care and Population Health
Ambulatory providers are healthcare providers that patients visit, receive care, and leave — they are not inpatient or emergency department settings. These include primary care and specialist care for annual physicals, chronic disease management, and routine maintenance. The focus is on the "other side of the coin": what happens when patients go home from the hospital.
Population health refers to the holistic picture of a patient's medical status, integrating data from multiple sources to understand and manage the health of a defined group of patients. There is no off-the-shelf tool for this; needs are highly regional and practice-specific.
Population health services company: An organization that helps providers succeed in value-based payment models by connecting them to their patient data from EHR, claims, HIE, and other sources.
Healthcare Payment Models
Fee-for-Service
Traditional model: patient receives a service, a charge is generated, insurance pays.
Providers are paid for each service rendered (visit, test, procedure).
Value-Based Payment
A transition in the US healthcare system focusing on codifying and documenting conditions and empowering providers to treat patients holistically.
Payment is tied to outcomes and quality of care rather than volume of services.
Requires a fundamental shift in how medical offices operate — from "do something, get paid" to managing patient health over time.
Key Data Sources in Population Health
Electronic Health Record (EHR)
Complex relational databases containing complete patient medical history.
Acts as a "filing cabinet" for all healthcare data, but is not designed for a 30,000-foot view — it is "driving down the road" rather than "flying over the landscape."
Information is stored per patient; viewing population-level patterns is difficult.
Practice Management System
Handles billing, scheduling, and upcoming appointments.
Connected to the EHR but is a separate system.
Health Information Exchange (HIE)
In New York, the example is HealtheConnections.
Sends HL7 messages (XML-based messages about patient events) to providers.
Patients must consent to have their information shared via the HIE.
Claims Data
Insurance claims provide a broader picture of care received from other providers.
Requires legal agreements and careful privacy handling.
Technology Stack at Acuity Health
Languages: Python, R, JavaScript (and RStudio Connect for R applications).
Database: Microsoft SQL Server for the backend data warehouse.
Infrastructure: Docker containers on a report server for generating and emailing large Excel files.
Platform: Health Catalyst for backend services — extracting data from EHRs, loading into a layered data warehouse.
Philosophy: Use the best tool for the job, not lock into a single language. Empowering the team to choose appropriate tools for each situation.
Population Health Tools: Connecting Providers to Data
All tools are developed collaboratively with providers who identify needs — they are not created in isolation. The goal is to "cut the Gordian knot" of siloed data sources.
Hospital Activity Monitor (HAM)
Purpose: Daily email (Excel file) listing patients admitted or discharged from the hospital in the last 24 hours.
Content:
Patient name, date of birth (for identification).
Admission/discharge facility (e.g., Albany Med, St. Peter's).
Admit reason (primary diagnosis).
Discharge date (if applicable).
Number of recent inpatient and ED visits — context for severity.
Use: Care managers and nurses can rapidly prioritize follow-up for transitions of care. A patient with 7 recent inpatient visits is different from someone with an overnight stay.
Chronic Conditions Report (CCR)
Purpose: Bi-weekly Excel file providing a 30,000-foot view of a practice's entire patient panel.
Content:
Number of patients with specific chronic conditions (diabetes, etc.).
Last lab values (e.g., A1c for diabetes).
Provider risk assessment: patients classified into risk levels 1–4 (level 4 = referred for care management).
Care management status and HIE consent status.
Benefit: Democratizes data — providers can generate their own lists of target patients without needing to ask the data team. For example, "All my diabetic patients with A1c > 9" can be extracted directly from the Excel file.
Pre-Visit Planning Document
Purpose: A document prepared before a patient visit to help the provider prepare — a chart review summary.
Content:
Gaps in care (e.g., cervical cancer screening, HEDIS measures).
Inpatient and ED history.
Lab values, medications, orders to consider.
Data integration: Combines EHR data, HIE event data, and claims data into a single snapshot.
Use: Provider reviews before walking into the exam room, knows what to address. For deeper detail, they still have the EHR.
Appointment Trends Application (Shiny)
Purpose: Track appointment volumes over time, initially developed during the COVID-19 pandemic.
Data source: Practice management system (appointments), not EHR.
Built quickly: Initial version created in one weekend as a Flex dashboard, later converted to a Shiny app.
Visualization: Shows trends — e.g., the "crater" in March 2020 when in-person visits dropped, and how remote visits (telehealth) filled the gap.
Use: Helps providers understand whether they are making up revenue losses with remote visits; now a standing application for ongoing volume monitoring.
Q&A: Important Concepts and Techniques
Data Wrangling and Large Datasets
EHR data extraction: Not done with R packages directly; uses Health Catalyst's tools to export from EHR into the data warehouse (ELT — extract, load, then transform).
Handling large datasets (>100 GB):
For summarization/aggregation: Use a database server (SQL Server) to compute counts and summaries, then pull only the aggregated results into R for graphing.
For machine learning: Use virtual machines with arbitrary RAM, budget permitting.
R's memory limitation can be overcome by offloading computation to a database.
Patient Identity Resolution
Challenge: A patient may have multiple IDs across different payers, providers, and EHRs over time.
Solution: Master Data Management (MDM) tool called MultiView.
Matches on first name, last name, date of birth, gender, and other criteria.
Also tracks patients moving between practices (e.g., from pediatrician to family medicine).
Important: Privacy laws govern when and how data from different sources can be combined — every cross-dataset process requires legal and privacy review.
Remote Patient Monitoring and IoT
Not yet implemented, but being explored for:
Wearables: heart rate, blood pressure (e.g., Apple Watch).
Continuous Glucose Monitors (CGM): for diabetes management, allowing integration of real-time glucose data into the EHR.
Goal: provide providers with a holistic view without needing to log into separate systems.
Feature Engineering for Diabetes
Examples of features derived from ICD-10 codes (e.g., diabetes diagnosis in last 3 years):
Readmission risk models: chronic disease flags, A1c values.
Disease progression modeling: from pre-diabetes to diabetes, then to complications (e.g., chronic kidney disease).
Predicting which pre-diabetic patients are most at risk of becoming diabetic in 3–5 years.
Important: Domain experts (providers) are involved in model development to increase trust and ensure clinical relevance.
Measuring Success of Tools
Process measures: How many users access a Shiny app? This is easier to track than email reports (which cannot detect if an Excel file is opened).
Outcome measures: Possible when providers collaborate on a specific intervention (e.g., tracking A1c improvements after a diabetes program). But providers can also use the democratized data (CCR) without notifying the data team, making outcome measurement harder.
Feedback: Direct from provider touchpoints via a practice intelligence team.
Adopting R in SAS/SPSS-Dominated Environments
Need a champion in a leadership role who is open to new technologies.
Create a community of practice (e.g., EDCoM — Epidemiology and Biostatistics Community of Practice at NYSDOH).
Offer workshops to upskill colleagues.
Work with IT to install R on workstations.
Start conversations about the benefits of open-source tools and reproducibility.
Key takeaway: Successful population health tools are built collaboratively with providers, respect privacy laws, and integrate diverse data sources to provide actionable insights at both the individual and population level.

Ask anything
We've read this whole study set, so questions about it get the best answers.