Evidence Hub

Abstract 4147664: Retrieval-Augmented Generation for Extracting CHADS-VASc and HAS-BLED Risk Factors from Unstructured Clinical Notes in Patients with Atrial Fibrillation

Philip Adejumo, P. Thangaraj, S. Vasisht Shankar, R. Khera

Circulation, 2024

416 participants

Abstract

Background:

Assessment of stroke and bleeding risk in patients with atrial fibrillation (AF) is crucial for guiding anticoagulation therapy. CHADS-VASc and HAS-BLED are widely used scores for defining these risks, but current assessments rely on manual calculation by clinicians or approximations from structured EHR data elements. Unstructured clinical notes contain rich information that could enhance risk assessment. We developed and validated a Retrieval-Augmented Generation (RAG) approach to extract CHADS-VASc and HAS-BLED risk factors from unstructured notes in patients with AF.

Methods:

We employed a RAG architecture paired with the large language model, Llama3, to extract features relevant to CHADS-VASc and HAS-BLED scores from unstructured notes. The model was deployed on a random set of 1,00 clinical notes (416 AF patients) from Yale New Haven Hospital. To establish a gold standard, 2 clinicians manually reviewed and labeled CHADS-VASc and HAS-BLED risk factors in a random subset of 200 notes. The CHADS-VASc and HAS-BLED scores were calculated for each patient using structured data alone and by incorporating risk factors identified with RAG. We assessed performance across risk factors using macro-averaged area under the receiver operating characteristic (AUROC).

Results:

The RAG model demonstrated robust performance in extracting risk factors from clinical notes. In the 1000 clinical notes, RAG identified several risk factors more frequently than structured elements,…

Read the paper

Related studies

Go deeper in Evidence Hub

Evidence Hub adds a study data sheet (design, sample size, evidence level, key numbers), an AI summary and a chat grounded in the paper's text.

Open this study Sign up free