Social Determinants of Health Prediction for ICD-9 Code with Reasoning Models
Sharim Khan, Paul Landes, Adam Cross, Jimeng Sun
TL;DR
This study investigates admission-level, multi-label prediction of eight ICD-9 V-codes for social determinants of health from unstructured clinical notes in MIMIC-III using reasoning language models. It compares frontier, open-source, and traditional LLMs under a few-shot prompting regime, including a novel amended-vs-non-amended evaluation to capture coding gaps between documentation and physician coding. GPT-5-mini achieves the best results on amended codes (72.2% exact, 89.1% micro-F1), with open-source models performing competitively and traditional models lagging, highlighting the value of reasoning capabilities for long, complex clinical notes. The work underscores a potential to bridge documentation and coding gaps to improve care and population health, while noting limitations in generalizability and annotation scope.
Abstract
Social Determinants of Health correlate with patient outcomes but are rarely captured in structured data. Recent attention has been given to automatically extracting these markers from clinical text to supplement diagnostic systems with knowledge of patients' social circumstances. Large language models demonstrate strong performance in identifying Social Determinants of Health labels from sentences. However, prediction in large admissions or longitudinal notes is challenging given long distance dependencies. In this paper, we explore hospital admission multi-label Social Determinants of Health ICD-9 code classification on the MIMIC-III dataset using reasoning models and traditional large language models. We exploit existing ICD-9 codes for prediction on admissions, which achieved an 89% F1. Our contributions include our findings, missing SDoH codes in 139 admissions, and code to reproduce the results.
