Evaluating Large Language Models for Automatic Detection of In-Hospital Cardiac Arrest: Multi-Site Analysis of Clinical Notes
Preprint
Abstract
In-hospital cardiac arrest (IHCA) affects over 200,000 patients annually in the United States, yet its detection through manual chart review remains resource-intensive and often delayed. We evaluated the performance of four open-source large language models (LLMs) and GPT-4o in identifying IHCA cases from 2,674 clinical notes across five hospitals. While GPT-4o achieved the highest performance (F1-score: 0.90, recall: 0.97), several open-source models demonstrated comparable capabilities, suggesting their viability for clinical applications. Our systematic analysis of model outputs revealed that performance was strongly influenced by site-specific documentation practices, with inter-site agreement rates varying by over 20%. Through detailed error analysis, we identified key challenges including medical terminology hallucinations and structural inconsistencies in model reasoning. These findings establish a framework for implementing LLM-based IHCA detection systems while highlighting critical considerations for their clinical deployment.Keywords
This publication has 16 references indexed in Scilit:
- Enhancing early detection of cognitive decline in the elderly: a comparative study utilizing large language models in clinical notesEBioMedicine, 2024
- Extraction of sleep information from clinical notes of Alzheimer’s disease patients using natural language processingJournal of the American Medical Informatics Association, 2024
- Large language models in medicineNature Medicine, 2023
- Large language models encode clinical knowledgeNature, 2023
- BioGPT: generative pre-trained transformer for biomedical text generation and miningBriefings in Bioinformatics, 2022
- Digital oximetry biomarkers for assessing respiratory function: standards of measurement, physiological interpretation, and clinical usenpj Digital Medicine, 2021
- Age-dependent trends in survival after adult in-hospital cardiac arrestResuscitation, 2020
- Protected Health Information filter (Philter): accurately and securely de-identifying free-text clinical notesnpj Digital Medicine, 2020
- NON-ALCOHOLIC FATTY LIVER DISEASE IS NOT ASSOCIATED WITH CHANGES IN ECHOCARDIOGRAPHY MEASUREMENTSJACC, 2019
- Administrative Codes for Capturing In-Hospital Cardiac ArrestJAMA Cardiology, 2017