The impact of electronic health records (EHR) data continuity on prediction model fairness and racial-ethnic disparities

Yu Huang, Jingchuan Guo, Zhaoyi Chen, Jie Xu, William T. Donahoo, Olveen Carasquillo, Hrushyang Adloori, Jiang Bian, Elizabeth ShenkmanarXiv 2023 · DOI

TL;DR

This study reveals that the continuity of electronic health record (EHR) data significantly impacts the fairness and accuracy of predictive models, particularly for racial and ethnic minorities. Models trained on high-continuity data perform poorly on low-continuity data, highlighting a critical need to account for data completeness when developing and deploying AI in healthcare to avoid exacerbating health disparities.

What Problem Does This Paper Address?

The increasing reliance on Electronic Health Records (EHRs) for clinical research and AI development is hampered by a critical issue: data continuity. EHR systems often don't capture a patient's complete medical history, especially if they receive care from multiple, disconnected healthcare systems. This "data discontinuity" can lead to significant information bias, making it difficult to accurately identify patient conditions, predict outcomes, and develop fair algorithms. This paper specifically investigates how this data discontinuity affects the performance and fairness of predictive models, with a focus on how these issues disproportionately impact racial and ethnic minority groups. The authors aim to quantify the bias introduced by data discontinuity and different methods of identifying patient conditions (case-finding algorithms) and to understand their implications for health equity.

Methods

The researchers employed a multi-faceted approach to tackle the problem of EHR data continuity and its impact on predictive modeling and fairness.

  • Data Continuity Measurement: They utilized a validated metric called the Mean Proportions of Encounters Captured (MPEC) to quantify EHR data continuity for each patient. This metric compares the number of outpatient and inpatient encounters recorded in EHRs against those found in linked claims data. Patients were then categorized into "high continuity" (HC) and "low continuity" (LC) groups based on their MPEC scores.
  • Case-Finding Algorithms: To define Type 2 Diabetes (T2D) cases, the study compared three different algorithms:
  • HSR Definition: A standard health service research definition based on outpatient visits and inpatient stays with a T2D diagnosis code.
  • CP1 (Prescriptions): A computable phenotype requiring an outpatient/inpatient visit with a T2D code and an antidiabetic medication prescription.
  • CP2 (Labs): Another computable phenotype requiring an outpatient/inpatient visit with a T2D code and a relevant lab value (HbA1c).
  • Predictive Modeling: They developed and evaluated random forest models to predict T2D risk. These models were trained and tested under various scenarios: using only HC data, only LC data, or all available data. They also stratified analyses by insurance type (Medicaid vs. Medicare).
  • Fairness Assessment: Four machine learning fairness metrics were applied to assess racial and ethnic bias. The primary focus was on the false negative rate (FNR), which indicates the proportion of high-risk T2D patients misclassified as low-risk, as T2D is a serious health outcome.

Datasets

The study leveraged data from the OneFlorida+ Clinical Research Network (CRN). This network comprises a large repository of linked real-world data (RWD), including:

  • Electronic Health Records (EHRs): Detailed patient demographics and clinical information (encounters, diagnoses, procedures, vitals, medications, labs).
  • Medicaid and Medicare Claims Data: Provides a more comprehensive view of patient encounters, especially for those with lower EHR data continuity.

This dataset is a HIPAA limited data set, containing dates and zip codes of patient residences.

Key Insights and Ideas

  • Data Continuity is Not Uniform: The study highlights that a significant portion of patients (only a quarter) had at least one year of EHR records prior to their first T2D diagnosis, underscoring the pervasive issue of data discontinuity.
  • "Complete" Data Creates Selection Bias: Models trained exclusively on high-continuity data perform poorly when applied to low-continuity data. This suggests that focusing only on "complete" data can lead to models that are not generalizable and may introduce selection bias, particularly excluding minority populations who may have lower continuity.
  • Case-Finding Matters for Fairness: Different methods of identifying T2D cases (HSR vs. CP1 vs. CP2) lead to varying population characteristics and data continuity levels, which in turn influence model performance and fairness. The CP2 (Lab) definition, for instance, showed higher data continuity.
  • Racial/Ethnic Disparities are Amplified: The study found that predictive models consistently exhibited higher false positive rates (misclassifying non-T2D patients as T2D) for non-Hispanic Black (NHB) and Hispanic populations compared to non-Hispanic White (NHW) individuals. This bias was exacerbated when race/ethnicity was removed from the model, suggesting that factors associated with race/ethnicity are important predictors, but their exclusion can lead to unfair outcomes.
  • Insurance Type Influences Continuity: Medicaid beneficiaries showed a significantly higher proportion of high data continuity compared to Medicare beneficiaries, likely due to data sharing agreements that link Medicaid claims to EHR data.

Key Results

  • Model Performance Degradation: Models trained on high-continuity data showed a substantial drop in performance when tested on low-continuity data. For example, AUROC values dropped significantly, indicating reduced predictive utility.
  • FPR Differences: False Positive Rates (FPR) were consistently higher for NHB and Hispanic groups across most models. The HSR definition showed the largest FPR for all race/ethnicity groups, while CP1 models had higher FPR than CP2 models for minority groups.
  • Race/Ethnicity as a Predictor: Removing race/ethnicity from the model significantly decreased its performance (AUC dropped from 0.838 to 0.698 for the overall overlapped population), indicating its predictive power and the potential for bias when ignored.
  • Data Continuity and Fairness Correlation: Models trained on high continuity data generally had smaller errors (lower FPR) compared to models trained on low continuity or overall data, suggesting that higher data continuity can lead to fairer outcomes.

Limitations and Future Work

  • Data Completeness Definition: The study acknowledges that the definition of "complete" data is relative and that the OneFlorida+ Data Trust may not fully capture all clinical visits, especially for T2D patients. The median MPEC of 34.4% highlights this limitation.
  • Generalizability: While the study used a large dataset, the findings are specific to the OneFlorida+ network and may not be directly generalizable to all EHR systems or healthcare settings.
  • Causality: The study identifies associations between data continuity, model fairness, and racial/ethnic disparities. Further research is needed to establish causal relationships and explore mitigation strategies.
  • Future Directions: The authors suggest that careful evaluation of data completeness is crucial for ensuring the validity of real-world evidence generated from EHR data. Future work should focus on developing methods to mitigate bias introduced by data discontinuity and to improve algorithmic fairness across diverse patient populations. This could involve exploring advanced imputation techniques or developing models that are inherently robust to varying levels of data continuity.

Summary updated

BibTeX
@misc{huang2023impact,
  author = {Yu Huang and Jingchuan Guo and Zhaoyi Chen and Jie Xu and William T. Donahoo and Olveen Carasquillo and Hrushyang Adloori and Jiang Bian and Elizabeth Shenkman},
  title = {{The impact of electronic health records (EHR) data continuity on prediction model fairness and racial-ethnic disparities}},
  year = {2023},
  eprint = {2309.01935},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2309.01935},
}
Figure