Abstract
Heart Failure (HF) affects millions of Americans and leads to high readmission rates, posing significant healthcare challenges. While Social Determinants of Health (SDOH) such as socioeconomic status and housing stability play critical roles in health outcomes, they are often underrepresented in structured EHRs and hidden in unstructured clinical notes. This study leverages advanced large language models (LLMs) to extract SDOHs from clinical text and uses logistic regression to analyze their association with HF readmissions. By identifying key SDOHs (e.g. tobacco usage, limited transportation) linked to readmission risk, this work also offers actionable insights for reducing readmissions and improving patient care.
Introduction
Heart Failure (HF) is a major public health challenge, with nearly 25% of patients facing readmission within 30 days of discharge. While clinical factors are typically well-monitored, Social Determinants of Health (SDOH)—such as housing stability, transportation access, and social support—are critical yet often missing from structured Electronic Health Records (EHRs). These factors are frequently buried in unstructured clinical notes, making them difficult to analyze at scale. This study presents a pipeline using the Llama-3.1-8B large language model (LLM) to extract these "hidden" SDOHs and evaluate their impact on readmission risks.
Methods
The research utilizes a two-stage approach:
- Information Extraction: Llama-3.1-8B was used with zero-shot prompting to extract SDOH attributes (e.g., alcohol use, housing status, transportation barriers) from discharge notes. This method allows for sophisticated extraction without the need for expensive task-specific training.
- Statistical Analysis: Logistic regression was applied to the extracted data to calculate Odds Ratios (OR), identifying which social factors significantly correlate with 30-day readmissions.
Datasets and Validation
The study analyzed 3,604 clinical notes from 2,065 heart failure patients in the MIMIC-III database. The LLM's extraction accuracy was validated against structured EHR data for charted attributes and a human-annotated subset for non-charted social factors.
Results
LLM Extraction Performance
The LLM achieved high accuracy across several key SDOH categories, demonstrating its effectiveness in transforming unstructured narratives into actionable data. For instance, gender was identified with 98.27% accuracy, while housing status and tobacco use reached 87.14% and 79.19% respectively.
Readmission Risk Factors
The logistic regression analysis identified several statistically significant predictors of readmission. Notably, limited transportation doubled the risk (OR 2.07), and Medicare insurance was associated with a 5.23x increase in risk. Conversely, positive social support was found to be a strong protective factor, reducing the likelihood of readmission by approximately 42% (OR 0.58).
Discussion
The findings underscore the utility of LLMs in uncovering critical social context from clinical "dark data." The study also highlighted that documentation gaps, such as "unspecified" ethnicity, are associated with higher readmission risks (OR 1.73), potentially reflecting systemic healthcare disparities. The significant impact of transportation barriers suggests that addressing non-medical needs is essential for improving patient outcomes.
Conclusion
This work demonstrates a scalable method for integrating SDOH into clinical predictive models. While limited by the use of discharge notes alone and data sparsity in some categories, the study paves the way for future research into causal social interventions and the use of broader clinical documentation to improve heart failure care.
Summary updated