LLM and CQL computable phenotypes for myocarditis adverse event feature and outcome determinations using patient FHIR data: a feasibility study.
Fraser W Gaspar, Seth B Roberts, Francis X Campion, Lynda Hoeksema, Jessica Kasirsky, Raymond Duncan, Matthew Sonesen, Renier Estiandan,
Center for Transforming Health, MITRE Corp., McLean, VA, United States. · Departments of Enterprise Information Services and Pediatrics, Cedars-Sinai Health System, Los Angeles, CA, United States.
Key points
From the paper's conclusion- In this small feasibility study, structured and unstructured FHIR data provided the computable phenotypes using an LLM with sufficient clinical information for myocarditis feature identification and outcome determination.
Abstract
BACKGROUND: Post-market surveillance for adverse events of special interest is often constrained by key diagnostic elements being captured primarily in unstructured clinical notes and reports. This feasibility study evaluated large language model (LLM) and clinical quality language (CQL) methodologies to perform phenotype feature extraction and outcome determination on Fast Healthcare Interoperability Resources (FHIR) data. METHODS: Two health systems identified patients with an mRNA COVID-19 vaccination and an inpatient myocarditis diagnosis within 42 days. Patient FHIR data was retrieved via a Health Information Exchange and converted into narrative text ("textified"). Llama3.3 70B Instruct answered yes/no Brighton Collaborative-based myocarditis feature questions; answers were written back as FHIR Observation resources to enhance each patient bundle. Three methods were compared: simple CQL (structured data only), LLM (textified FHIR data), and enhanced CQL (CQL on enhanced bundles). Three clinicians provided gold-standard determinations. An optimization set (n = 10) supported pipeline refinement; performance was evaluated in a test set (n = 25). RESULTS: In the test set, simple CQL performed poorly for identifying cardiac and non-specific symptoms [Matthews Correlation Coefficient (MCC): 0.08; F1: 0.02] but excellently for cardiac biomarkers (MCC:0.83; F1: 0.88). The LLM achieved excellent performance identifying symptoms and imaging features (e.g., echocardiogram abnormalities MCC: 0.86) but weaker performance for biomarkers (MCC: 0.54). Enhanced CQL had excellent feature identification performance across most domains. Both LLM and enhanced CQL correctly determined the myocarditis outcome for 23 of 25 patients. CONCLUSIONS: In this small feasibility study, structured and unstructured FHIR data provided the computable phenotypes using an LLM with sufficient clinical information for myocarditis feature identification and outcome determination.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- FHIRTrustBench: An Open Benchmark for Evaluating FHIR-Integrated Clinical AImedRxiv · 2026
- Manual versus natural language processing versus large language model screening for preoperative identification of cardiovascular diseases: a prospective cohort studyEuropean Heart Journal · 2026
- Context-Dependent FHIR Serialisation Strategies for Clinical LLM Deployment: A Multi-Layer Benchmark on UK Core DatamedRxiv · 2026
- Bio-Inspired Artificial Intelligence Multimorbidity Score for Human-Machine Clinical Risk Stratification.Cyborg and bionic systems (Washington, D.C.) · 2026
- Clinical Code Mapping with LLM Tool Use: A Pilot for Automated Data Extraction of Medication and Diagnosis Information from Unstructured Clinical Notes.Studies in health technology and informatics · 2026
- Large Language Models for Information Extraction from Neurosurgical Clinical Notes: A Benchmark Against Human AuditorsMachine Learning and Knowledge Extraction · 2026