Unknown

Dataset Information

Extracting social determinants of health from electronic health records: development and comparison of rule-based and large language models-based methods.


ABSTRACT:

Objectives

Social determinants of health (SDoH) are critical drivers of health outcomes but are often under-documented in structured electronic health record data. This study aimed to develop and evaluate scalable methods for extracting seven SDoH domain categories and 23 subcategories from unstructured clinical notes using both rule-based and large language model (LLM)-based approaches.

Methods

We constructed a gold-standard SDoH corpus comprising clinical text segments from 171 patients in the Mass General Brigham Research Patient Data Registry. A rule-based system (RBS) was developed and its performance compared with seven OpenAI GPT models (GPT-4o, 4.1, 4.1-mini, o4-mini, GPT-5, GPT-5-mini, and o3) under zero-shot and few-shot settings with multiple prompting strategies.

SUBMITTER: Wang B 

PROVIDER: S-EPMC12668089 | biostudies-literature | 2025 Nov

REPOSITORIES: biostudies-literature