Evidence map›Paper›PMID 41332819›Full record

ArticlemedRxiv : the preprint server for health sciences2025

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

Bo Wang, Dia Kabir, Cheryl R Clark, Karmel W Choi, Jordan W Smoller

Abstract readPreprint
In one paragraph

Article in medRxiv : the preprint server for health sciences, 2025. The graph could read no effect estimate from its abstract, so it casts no vote on the map. Not yet cited in PubMed.

0numbers the graph read from it
0cells of the map it votes in
0citing papers in PubMed
–field-weighted citation impact
1 · What the graph read from it

What it found

Each row is one number read from the abstract, on the scale the paper reported it, with its interval. Left of the dashed line favours the treatment, right favours the comparator. Under each row is the sentence it came from. New to these charts? A ten-minute tutorial.

The abstract states no effect estimate the extractor could read, or names no intervention and outcome on the map, so this paper lights no cell and moves no belief. It is still indexed, cited and linked below.

2 · The registry

The trial behind it

Trials whose registry record cites this paper, or whose number appears in the abstract. A trial that started after this paper was published is citing it as background, not reporting it.

Neither the registry nor the abstract names a trial number. If this is a trial report, that itself is worth knowing.

3 · Its place in the literature

Who cites it

0 citing papers in PubMed.

No citing paper in PubMed yet.

4 · The record

Corrections and comments

5 · Who and what money

Authors and funding

5 authors.

Bo WangCenter for Precision Psychiatry, Massachusetts General Hospital, Boston, MA, United States.ORCID 0000-0002-3412-3768
Dia KabirCenter for Precision Psychiatry, Massachusetts General Hospital, Boston, MA, United States.
Cheryl R ClarkDepartment of Medicine, Brigham and Women's Hospital, Boston, MA, United States.
Karmel W ChoiCenter for Precision Psychiatry, Massachusetts General Hospital, Boston, MA, United States.ORCID 0000-0002-3914-2431
Jordan W SmollerCenter for Precision Psychiatry, Massachusetts General Hospital, Boston, MA, United States.

Funding

Project-001P50MH129699 · NIMH · MASSACHUSETTS GENERAL HOSPITAL · PI Andrea S Foulkes · 2023 to 2026
$16.6M
PsycheMERGE: Leveraging electronic health records and genomics for mental health researchR01MH118233 · NIMH · MASSACHUSETTS GENERAL HOSPITAL · PI DAVIS, LEA K, SMOLLER, JORDAN W · 2019 to 2022
$3.1M
2/7 PsycheMERGE: Advancing Precision PsychiatryR01MH137218 · NIMH · MASSACHUSETTS GENERAL HOSPITAL · PI JORDAN W SMOLLER · 2024 to 2026
$2.4M
Integrating Health Records, Genomic, and Social Data to Stratify Adolescent Depression RiskK08MH127413 · NIMH · MASSACHUSETTS GENERAL HOSPITAL · PI CHOI, KARMEL · 2021 to 2025
$987k
NIMH NIH HHS K08 MH127413NIMH NIH HHS P50 MH129699NIMH NIH HHS R01 MH118233NIMH NIH HHS R01 MH137218
6 · The paper itself

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. We also implemented ensemble models combining RBS and LLM outputs via late fusion. Results: The RBS achieved the highest precision for SDoH domain categories (0.97) but substantially lower recall (0.62). GPT-based models outperformed RBS in overall F1 scores, with GPT-5 and GPT-5-mini (few-shot) achieving the best domain-level F1 of 0.88 and o4-mini achieving the highest subcategory F1 of 0.79. The RBS-GPT ensemble improved domain-level performance to 0.89 F1 with balanced precision (0.90) and recall (0.89). Model performance was consistent across demographic groups. Conclusion: State-of-the-art GPT models with advanced reasoning capabilities, including the recently released "mini" models (e.g., o4-mini and GPT-5-mini), demonstrated robust performance for SDoH extraction without fine-tuning and outperformed rule-based NLP. Integrating rule-based and LLM approaches further enhanced performance. Our results provide a scalable, cost-efficient framework for accurate identification of SDoH from clinical text, supporting downstream population health research and clinical informatics applications.

Identifiers

PMID41332819
PMCPMC12668089

What OpenQuestion holds

Textmetadata
LicenceCC BY-NC-ND
Read underepoch 390

Registered trials

None linked

Read under generation 80e0d062 · epoch 390. Bibliography from PubMed, PubMed Central and OpenAlex; grants from NIH RePORTER; trial links from ClinicalTrials.gov; estimates, votes and beliefs from the OpenQuestion graph.