Evidence map›Paper›PMID 41632159›Full record

ArticleJAMA network open2025

Diagnostic Codes in AI Prediction Models and Label Leakage of Same-Admission Clinical Outcomes.

Bashar Ramadan, Ming-Chieh Liu, Michael C Burkhart, William F Parker, Brett K Beaulieu-Jones

Abstract read
In one paragraph

Article in JAMA network open, 2025. The graph could read no effect estimate from its abstract, so it casts no vote on the map. Cited by 9 papers.

0numbers the graph read from it
0cells of the map it votes in
9citing papers in PubMed
–field-weighted citation impact
1 · What the graph read from it

What it found

Each row is one number read from the abstract, on the scale the paper reported it, with its interval. Left of the dashed line favours the treatment, right favours the comparator. Under each row is the sentence it came from. New to these charts? A ten-minute tutorial.

The abstract states no effect estimate the extractor could read, or names no intervention and outcome on the map, so this paper lights no cell and moves no belief. It is still indexed, cited and linked below.

2 · The registry

The trial behind it

Trials whose registry record cites this paper, or whose number appears in the abstract. A trial that started after this paper was published is citing it as background, not reporting it.

Neither the registry nor the abstract names a trial number. If this is a trial report, that itself is worth knowing.

3 · Its place in the literature

Who cites it

9 citing papers in PubMed.

  1. Article
  2. Review
  3. Article
  4. Article
  5. Article
  6. Article
  7. Article
  8. Article
  9. Article
4 · The record

Corrections and comments

PubMed lists nothing against this paper. Absence here is not a guarantee, only a check that was made.

5 · Who and what money

Authors and funding

5 authors.

Bashar RamadanCenter for Computational Medicine and Clinical Artificial Intelligence, Department of Medicine, University of Chicago, Chicago, Illinois.
Ming-Chieh LiuCenter for Computational Medicine and Clinical Artificial Intelligence, Department of Medicine, University of Chicago, Chicago, Illinois.
Michael C BurkhartCenter for Computational Medicine and Clinical Artificial Intelligence, Department of Medicine, University of Chicago, Chicago, Illinois.
William F ParkerCenter for Computational Medicine and Clinical Artificial Intelligence, Department of Medicine, University of Chicago, Chicago, Illinois.
Brett K Beaulieu-JonesCenter for Computational Medicine and Clinical Artificial Intelligence, Department of Medicine, University of Chicago, Chicago, Illinois.

Funding

Improving the efficiency and equity of critical care allocation during a crisis with place-based disadvantage indicesR01LM014263 · NLM · UNIVERSITY OF CHICAGO · PI William F Parker · 2023 to 2026
$2.0M
NLM NIH HHS R01 LM014263
6 · The paper itself

Abstract

Importance: Artificial intelligence models that predict same-admission outcomes for hospitalized patients, such as inpatient mortality, often rely on International Classification of Diseases (ICD) diagnostic codes, even when these codes are not finalized until after discharge. Objective: To investigate the extent to which the inclusion of ICD codes as features in predictive models are associated with inflated performance metrics via label leakage (eg, including the code for cardiac arrest into an inpatient mortality prediction model) and assess the prevalence and implications of this practice in existing literature. Design, Setting, and Participants: This prognostic study examined publicly available, deidentified inpatient electronic health record data from the Medical Information Mart for Intensive Care IV (MIMIC-IV) database. Patients admitted to an intensive care unit or emergency department at Beth Israel Deaconess Medical Center between January 1, 2008, and December 31, 2019, were included. These data were analyzed between December 18, 2024, and January 14, 2025. A targeted literature review of same-admission prediction models using MIMIC with ICD codes as features was performed between November 20 and 27, 2024. Main Outcome and Measures: Using a standard training-validation-test split procedure, prediction models were developed for inpatient mortality (logistic regression, random forest, and XGBoost) using only ICD codes as features. Performance in the test set was analyzed using areas under the receiver operating curve and variable importance. Frequencies of studies using same-admission prediction models using MIMIC with ICD codes were calculated from the targeted literature review. Results: The study cohort consisted of 180 640 patients (mean [SD] age at admission, 58.7 [19.2] years; 53.0% female), of whom 8573 (4.7%) died during the admission. The models using ICD codes predicted in-hospital mortality with high performance in the test dataset, with areas under the receiver operating curve of 0.976 (95% CI, 0.973-0.980) (logistic regression), 0.971 (95% CI, 0.967-0.974) (random forest), and 0.973 (95% CI, 0.968-0.977) (XGBoost). The most important ICD codes were subdural hemorrhage (OR, 389.99; 95% CI, 28.79-5283.59), cardiac arrest (OR, 219.58; 95% CI, 159.61-302.08), brain death (OR, 112.78; 95% CI, 13.42-947.70), and encounter for palliative care (OR, 98.04; 95% CI, 83.16-115.58). The literature review found that 37 of 92 studies (40.2%) using MIMIC to predict same-admission outcomes included ICD codes as features, even though both MIMIC publications and documentation clearly state that ICD codes are derived after discharge. Conclusions and Relevance: This prognostic study of the MIMIC-IV database suggests that using ICD codes as features in same-admission prediction models may be a severe methodological flaw associated with inflated performance metrics, rendering models incapable of clinically useful predictions. The literature review found that the practice is common. Addressing this challenge is essential for advancing trustworthy artificial intelligence in health care.

Indexed as

Artificial IntelligenceHospital MortalityInternational Classification of DiseasesAgedClassification AlgorithmsElectronic Health RecordsFemaleHospitalizationHumansIntensive Care UnitsMaleMiddle AgedPrediction AlgorithmsPredictive Learning ModelsPrognosis

Identifiers

PMID41632159
PMCPMC12743287

What Socratic holds

Textmetadata
LicenceCC BY
Read underepoch 390

Registered trials

None linked

Read under generation 80e0d062 · epoch 390. Bibliography from PubMed, PubMed Central and OpenAlex; grants from NIH RePORTER; trial links from ClinicalTrials.gov; estimates, votes and beliefs from the Socratic graph.