Abstract 4366555: Artificial Intelligence to Extract Structured Details from Unstructured Medical Records in a Global Heart Failure Trial
Abstract
Background: Global clinical trials collect extensive unstructured medical records that richly describe participants’ clinical presentation, but their narrative format precludes quantitative analysis. Converting these records into structured data could reveal new insights into events like heart failure hospitalization (HFH) but is prohibitively labor intensive. Varied documentation styles, translated text, and scanned or handwritten documents challenge data extraction in clinical trials. Research Question: Can a carefully prompted large language model (LLM) accurately extract structured data on the clinical presentation of HFHs from unstructured adjudication dossiers in a global trial? Methods: We extracted structured data for 51 variables—symptoms, signs, laboratory values, imaging findings, and treatments—from unstructured medical record dossiers in the DELIVER trial utilizing a prompting workflow for the OpenAI o1-mini LLM. We validated LLM-extracted data with physician chart review in a random sample of 125 dossiers and calculated the accuracy, positive predictive value (PPV), and negative predictive value (NPV). A second physician reviewed 25 dossiers to assess inter-reviewer reproducibility. The validated model was applied to extract presenting features in all 1,111 HFHs in the trial. Results: LLM-extracted data achieved high overall accuracy of 0.96 (95% CI: 0.96–0.97), PPV of 0.94 (95% CI: 0.93–0.95), and NPV of 0.97 (95% CI: 0.97–0.98) on physician validation. Accuracy exceeded 0.90 for all variables except numeric BNP and Troponin I, where errors mainly reflected confusion between biomarker subtypes (BNP vs NT-proBNP or troponin I vs T). The reproducibility of human review was 98%. In the full trial, dyspnea (92%), peripheral edema (68%), pulmonary crackles (51%), congestion on chest imaging (59%) and natriuretic peptide elevation (65%) were reported frequently. Mean peri-admission ejection fraction was 46% ± 12% (n=481 with available data), vs a baseline mean of 53% ± 9%. Intravenous diuretics were used in 85% of hospitalizations, and oral diuretic doses were increased in 45%. Conclusion: A prompt-engineered LLM accurately extracted structured data, including signs and symptoms, laboratory and imaging data from adjudication dossiers at scale in a global clinical trial to generate a structured useable database. LLM-based data extraction could be extended to unlock quantitative insights from a wide range of narrative trial records.
Article Details
Authors (14)
Samarra Badrouchi
Brigham and Women's Hospital, Boston, Massachusetts, United States
Pablo-Miki Marti Castellote
Brigham and Women's Hospital, Boston, Massachusetts, United States
Alberto Foa'
Sant'Orsola University Hospital, Bologna, Italy
Brian Claggett
Cardiovascular Division, Brigham and Women’s Hospital, Harvard Medical School, Boston
Dongchu Xu
Harvard Medical School, Cambridge, Massachusetts, United States
Akshay Desai
Cardiovascular Division, Brigham And Women's Hospital, Harvard Medical School, Boston, Massachusetts, United States
Jennifer Ho
Harvard Medical School, Newton, Massachusetts, United States
Patrick Ellinor
The Broad Institute, Cambridge, Massachusetts, United States
Pardeep Jhund
British Heart Foundation Cardiovascular Research Centre, School of Cardiovascular and Metabolic Health, University of Glasgow, Glasgow, United Kingdom
Martina McGrath
Brigham and Women's Hospital, Boston, Massachusetts, United States
Finnian Mc Causland
Brigham and Women's Hospital, Boston, Massachusetts, United States
John McMurray
British Heart Foundation Cardiovascular Research Centre, School of Cardiovascular and Metabolic Health, University of Glasgow, Glasgow, United Kingdom
Scott Solomon
Brigham and Women's Hospital, Boston, Massachusetts, United States
Jonathan Cunningham
Brigham and Womens Hospital, Chestnut Hill, Massachusetts, United States