Identifying social determinants of health from clinical narratives: A study of performance, documentation ratio, and potential bias
Open accessAbstract
Objective To develop a natural language processing (NLP) package to extract social determinants of health (SDoH) from clinical narratives, examine the bias among race and gender groups, test the generalizability of extracting SDoH for different disease groups, and examine population-level extraction ratio. Methods We developed SDoH corpora using clinical notes identified at the University of Florida (UF) Health. We systematically compared 7 transformer-based large language models (LLMs) and developed an open-source package - SODA (i.e., SOcial DeterminAnts) to facilitate SDoH extraction from clinical narratives. We examined the performance and potential bias of SODA for different race and gender groups, tested the generalizability of SODA using two disease domains including cancer and opioid use, and explored strategies for improvement. We applied SODA to extract 19 categories of SDoH from the breast (n = 7,971), lung (n = 11,804), and colorectal cancer (n = 6,240) cohorts to assess patient-level extraction ratio and examine the differences among race and gender groups. Results We developed an SDoH corpus using 629 clinical notes of cancer patients with annotations of 13,193 SDoH concepts/attributes from 19 categories of SDoH, and another cross-disease validation corpus using 200 notes from opioid use patients with 4,342 SDoH concepts/attributes. We compared 7 transformer models and the GatorTron model achieved the best mean average strict/lenient F1 scores of 0.9122 and 0.9367 for SDoH concept extraction and 0.9584 and 0.9593 for linking attributes to SDoH concepts. There is a small performance gap (∼4%) between Males and Females, but a large performance gap (>16 %) among race groups. The performance dropped when we applied the cancer SDoH model to the opioid cohort; fine-tuning using a smaller opioid SDoH corpus improved the performance. The extraction ratio varied in the three cancer cohorts, in which 10 SDoH could be extracted from over 70 % of cancer patients, but 9 SDoH could be extracted from less than 70 % of cancer patients. Individuals from the White and Black groups have a higher extraction ratio than other minority race groups. Conclusions Our SODA package achieved good performance in extracting 19 categories of SDoH from clinical narratives. The SODA package with pre-trained transformer models is available at https://github.com/uf-hobi-informatics-lab/SODA_Docker.
The claims and statistics of this paper haven’t been checked yet.
Run the check — free, no account needed. It reads the open-access text and checks the sources it cites.
Integrity signals
Registry
Cites
Statistics
Claims the paper makes
The claims and statistics of this paper haven’t been checked yet.
Run the check — free, no account needed. It reads the open-access text and checks the sources it cites.
Claims other papers make about this one
Each is checked against this paper’s own text: does it say what the citing paper says it does?
Many studies, even recent ones, have focused on a limited set of SDoH factors (up to 8 factors).
“Firstly, many studies, even the recent ones19–25 have focused on a limited set of SDoH factors (up to 8 factors).”
From Social determinants of health extraction from clinical notes across institutions using large language models (2025) · cites this paper as [23]
The Introduction (p. 6) describes several earlier studies examining a single SDoH category or five or six categories, supporting the point that some studies had a limited scope. But it also describes recent studies examining 12 and 13 categories, so it does not support an eight-factor ceiling for recent studies generally. (LLM, conf=0.86)
Experimental — accuracy not yet measured
Self-check
Percentages, sums and reported differences re-computed from the paper’s own numbers.
The self-check needs the paper’s full text.
Cites
Yang, X., Bian, J., Fang, R., Bjarnadottir, R. I., Hogan, W. R., & Wu, Y. (2020) · Journal of the American Medical Informatics Association · doi:10.1093/jamia/ocz144 · Cited by 74 · see citing works
Self-citationYu, Z., Yang, X., Dang, C., Wu, S., Adekkanattu, P., Pathak, J., George, T. J., Hogan, W. R., Guo, Y., Bian, J., et al. (2021) · arXiv · doi:10.48550/arxiv.2108.04949 · Cited by 38 · see citing works
Self-citation
Flagged first, then by citations
Research works printed but not linked: 40
- 1 Akushevich I, Kravchenko J, Akushevich L, et al. Cancer Risk and Behavioral Factors, Comorbidities, and Functional Status in the US Elderly Population. ISRN Oncol 2011; 2011 .https://www.ncbi.nlm.nih.gov/pmc/articles/PMC3197174/ (accessed 3 Feb 2019).
- 2 Hiatt RA, Breen N. The social determinants of cancer: a challenge for transdisciplinary science. Am J Prev Med 2008; 35 :S141-150.
- 3 Matthews AK, Breen E, Kittiteerasack P. Social Determinants of LGBT Cancer Health Inequities. Semin Oncol Nurs 2018; 34 :12-20.
- 4 Gerend MA, Pai M. Social determinants of Black-White disparities in breast cancer mortality: a review. Cancer Epidemiol Biomarkers Prev 2008; 17 :2913-23.
- 5 Albright DL, Johnson K, Laha-Walsh K, et al. Social Determinants of Opioid Use among Patients in Rural Primary Care Settings. Soc Work Public Health 2021; 36 :723-31.
- 6 Rangachari P, Govindarajan A, Mehta R, et al. The relationship between Social Determinants of Health (SDoH) and death from cardiovascular disease or opioid use in counties across the United States (2009-2018). BMC Public Health 2022; 22 :236.
- 7 Cantu R, Fields-Johnson D, Savannah S. Applying a Social Determinants of Health Approach to the Opioid Epidemic. Health Promotion Practice 2023; 24 :16-9.
- 8 Singh GK, Daus GP, Allender M, et al. Social Determinants of Health in the United States: Addressing Major Health Inequality Trends for the Nation, 1935-2016. Int J MCH AIDS 2017; 6 :139-64.
- 12 Guo Y, Chen Z, Xu K, et al. International Classification of Diseases, Tenth Revision, Clinical Modification social determinants of health codes are poorly used in electronic health records. Medicine (Baltimore) 2020; 99 :e23818.
- 13 Patra BG, Sharma MM, Vekaria V, et al. Extracting social determinants of health from electronic health records using natural language processing: a systematic review. J Am Med Inform Assoc 2021; 28 :2716-27.
- 14 Sterling MR, Ringel JB, Pinheiro LC, et al. Social Determinants of Health and 90-Day Mortality After Hospitalization for Heart Failure in the REGARDS Study. J Am Heart Assoc 2020; 9 :e014836.
- 15 Eppes C, Salahuddin M, Ramsey PS, et al. Social Determinants of Health and Severe Maternal Morbidity During Delivery Hospitalizations in Texas [36L]. Obstetrics & Gynecology 2020; 135 :133S.
- 16 Stemerman R, Arguello J, Brice J, et al. Identification of social determinants of health using multi-label classification of electronic health record clinical notes. JAMIA Open Published Online First: 9 February 2021.https://doi.org/10.1093/jamiaopen/ooaa069 (accessed 7 Mar 2021). · DOI
- 18 Galea S, Tracy M, Hoggatt KJ, et al. Estimated Deaths Attributable to Social Factors in the United States. Am J Public Health 2011; 101 :1456-65.
- 20 Chen X, Jacques-Tiura AJ. Smoking Initiation Associated With Specific Periods in the Life Course From Birth to Young Adulthood: Data From the National Longitudinal Survey of Youth 1997. Am J Public Health 2014; 104 :e119-26.
- 21 Gundlapalli AV, Carter ME, Palmer M, et al. Using Natural Language Processing on the Free Text of Clinical Documents to Screen for Evidence of Homelessness Among US Veterans. AMIA Annu Symp Proc 2013; 2013 :537-46.
- 23 Dillahunt-Aspillaga C, Finch D, Massengale J, et al. Using Information from the Electronic Health Record to Improve Measurement of Unemployment in Service Members and Veterans with mTBI and Post-Deployment Stress. PLOS ONE 2014; 9 :e115873.
- 24 Carson NJ, Mullin B, Sanchez MJ, et al. Identification of suicidal behavior among psychiatrically hospitalized adolescents using natural language processing and machine learning of electronic health records. PLOS ONE 2019; 14 :e0211116.
- 25 Bucher BT, Shi J, Pettit RJ, et al. Determination of Marital Status of Patients from Structured and Unstructured Electronic Healthcare Data. AMIA Annu Symp Proc 2020; 2019 :267-74.
- 26 Wang Y, Chen ES, Pakhomov S, et al. Automated Extraction of Substance Use Information from Clinical Texts. AMIA Annu Symp Proc 2015; 2015 :2121-30.
- 27 Rajendran S, Topaloglu U. Extracting Smoking Status from Electronic Health Records Using NLP and Deep Learning. AMIA Jt Summits Transl Sci Proc 2020; 2020 :507-16.
- 28 Yetisgen M, Vanderwende L. Automatic Identification of Substance Abuse from Social History in Clinical Text. In: ten Teije A, Popow C, Holmes JH, et al. , eds. Artificial Intelligence in Medicine . Cham: : Springer International Publishing 2017. 171-81.
- 29 Lybarger K, Ostendorf M, Yetisgen M. Annotating social determinants of health using active learning, and characterizing determinants using neural event extraction. Journal of Biomedical Informatics 2021; 113 :103631.
- 30 Feller DJ, Bear Don't Walk Iv OJ, Zucker J, et al. Detecting Social and Behavioral Determinants of Health with Structured and Free-Text Clinical Data. Appl Clin Inform 2020; 11 :172-81.
- 31 Gehrmann S, Dernoncourt F, Li Y, et al. Comparing deep learning and concept extraction based methods for patient phenotyping from clinical narratives. PLOS ONE 2018; 13 :e0192360.
- 32 Han S, Zhang RF, Shi L, et al. Classifying social determinants of health from unstructured electronic health records using deep learning-based natural language processing. J Biomed Inform 2022; 127 :103984.
- 33 Feller DJ, Zucker J, Don't Walk OB, et al. Towards the Inference of Social and Behavioral Determinants of Sexual Health: Development of a Gold-Standard Corpus with SemiSupervised Learning. AMIA Annu Symp Proc 2018; 2018 :422-9.
- 35 Yu Z, Yang X, Guo Y, et al. Assessing the Documentation of Social Determinants of Health for Lung Cancer Patients in Clinical Narratives. Front Public Health 2022; 10 :778463.
- 37 LeCun Y, Bengio Y, Hinton G. Deep learning. Nature 2015; 521 :436-44.
- 38 Lybarger K, Yetisgen M, Uzuner Ö. The 2022 n2c2/UW shared task on extracting social determinants of health. Journal of the American Medical Informatics Association 2023;:ocad012.
- 39 Liu Y, Ott M, Goyal N, et al. RoBERTa: A Robustly Optimized BERT Pretraining Approach. arXiv:190711692 [cs] Published Online First: 26 July 2019.http://arxiv.org/abs/1907.11692 (accessed 5 Mar 2021).
- 40 Lample G, Ballesteros M, Subramanian S, et al. Neural Architectures for Named Entity Recognition. In: Proceedings of the 2016 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies . San Diego, California: : Association for Computational Linguistics 2016. 26070.https://www.aclweb.org/anthology/N16-1030 (accessed 24 Sep 2020).
- 41 Devlin J, Chang M-W, Lee K, et al. Bert: Pre-training of deep bidirectional transformers for language understanding. arXiv preprint arXiv:181004805 2018.
- 42 Liu Y, Ott M, Goyal N, et al. RoBERTa: A Robustly Optimized BERT Pretraining Approach. ArXiv 2019; abs/1907.11692 . · arXiv
- 43 He P, Liu X, Gao J, et al. DeBERTa: Decoding-enhanced BERT with Disentangled Attention. 2021.http://arxiv.org/abs/2006.03654 (accessed 7 Feb 2023).
- 44 Beltagy I, Peters ME, Cohan A. Longformer: The Long-Document Transformer. 2020.http://arxiv.org/abs/2004.05150 (accessed 8 May 2023).
- 45 Yang X, Chen A, PourNejatian N, et al. A large language model for electronic health records. npj Digit Med 2022; 5 :1-9.
- 46 Yang X, Bian J, Hogan WR, et al. Clinical concept extraction using transformers. Journal of the American Medical Informatics Association 2020; 27 :1935-42.
- 49 Henry S, Buchan K, Filannino M, et al. 2018 n2c2 shared task on adverse drug events and medication extraction in electronic health records. J Am Med Inform Assoc 2020; 27 :3-12.
- 50 Alpert J, Kim H (Julia), McDonnell C, et al. Barriers and Facilitators of Obtaining Social Determinants of Health of Patients With Cancer Through the Electronic Health Record Using Natural Language Processing Technology: Qualitative Feasibility Study With Stakeholder Interviews. JMIR Form Res 2022; 6 :e43059.
Cited by
Sorted by citations
Artificial Intelligence Advancements in Oncology: A Review of Current Trends and Future Directions
Huhulea, E. N., Huang, L., Eng, S., Sumawi, B., Huang, A., Aifuwa, E., Hirani, R., Tiwari, R. K., & Etienne, M. (2025) · Biomedicines · doi:10.3390/biomedicines13040951 · Cited by 74 · see citing works
Keloth, V. K., Selek, S., Chen, Q., Gilman, C., Fu, S., Dang, Y., Chen, X., Hu, X., Zhou, Y., He, H., et al. (2025) · npj Digital Medicine · doi:10.1038/s41746-025-01645-8 · Cited by 24 · see citing works
“Some prior studies have explored the use of deep neural network architectures such as CNN 29 , LSTM 30 , and BERT 21,23,31 to automatically classify SDoH categories 32 , or named entity recognition (NER) based approaches, utilizing tools like cTAKES 33 , CNN, andBERT-basedmodels 34…”
A Fair Individualized Polysocial Risk Score for Identifying Increased Social Risk in Type 2 Diabetes
Huang, Y., Guo, J., Donahoo, W. T., Lee, Y. A., Fan, Z., Lu, Y., Chen, W.-H., Tang, H., Bilello, L., Saguil, A. A., et al. (2024) · Nature Communications · doi:10.1038/s41467-024-52960-9 · Cited by 14 · see citing works
Self-citation
- Authors
- Yu, Z., Peng, C., Yang, X., Dang, C., Adekkanattu, P., Gopal Patra, B., Peng, Y., Pathak, J., Wilson, D. L., Chang, C.-Y., Lo-Ciganic, W.-H., George, T. J., Hogan, W. R., Guo, Y., Bian, J., & Wu, Y.
- Affiliations
- University of Florida (US)
- Weill Cornell Medicine (US)
- Corresponding author
- Wu, Yonghui
- ORCID
- Venue
- Journal of Biomedical Informatics
- Publisher
- Elsevier BV
- Published
- 2024-05
- Volume
- 153
- Pages
- 104642
- ISSN
- 1532-0464 (ISSN-L)
- PMC
- PMC11141428
- OpenAlex
- W4394794357
- Cited by
- 37
- References
- 2
- Citations by year
- 2026: 10 · 2025: 21 · 2024: 4 · 2023: 2
- FWCI
- 4.76
- Type
- journal article
- Language
- en
- Open access
- bronze
- doi.org
- Licence
- www.elsevier.com/tdm/userlicense/1.0/ (tdm)
- www.elsevier.com/legal/tdmrep-license (tdm)
- www.elsevier.com/open-access/userlicense/1.0/ (vor, 365 d)
- doi.org/10.15223/policy-017 (stm-asf)
- doi.org/10.15223/policy-037 (stm-asf)
- doi.org/10.15223/policy-012 (stm-asf)
- doi.org/10.15223/policy-029 (stm-asf)
- doi.org/10.15223/policy-004 (stm-asf)
- Locations
- Journal of Biomedical Informatics (publishedVersion)
- PubMed (publishedVersion)
- PubMed Central (acceptedVersion)
- arXiv (Cornell University) (submittedVersion)
- arXiv (Cornell University)
- Funders
- National Institute on Aging (R01AG080991, R21AG068717, 1R56AG069880, 1R01AG080624-01)
- National Heart Lung and Blood Institute (1R01HL169277)
- National Institute of Mental Health (1R01MH121907, 5R21MH129682-02)
- Centers for Disease Control and Prevention (1U18DP006512)
- Nvidia
- National Institute of Allergy and Infectious Diseases (R01AI172875)
- National Cancer Institute (3R01CA246418-02S1, 1R21CA245858-01A1, R21CA253394-01A1)
- Cancer Center, University of Florida Health
- NVIDIA AI Technology Center, University of Florida
- National Institute on Drug Abuse (1R01DA050676)
- PCORI (ME-2018C3-14754)
- National Library of Medicine (4R00LM013001)
- Florida Department of Health (23A09)
- National Science Foundation (2145640)
- Topics
- Life Sciences › Biochemistry, Genetics and Molecular Biology › Molecular Biology › Biomedical Text Mining and Ontologies
- Physical Sciences › Computer Science › Artificial Intelligence › Machine Learning in Healthcare
- Physical Sciences › Computer Science › Artificial Intelligence › Topic Modeling
- Keywords
- social determinants of health, natural language processing, large language models, extraction ratio, racial bias, gender bias, cancer patients, opioid use, breast cancer, lung cancer, colorectal cancer, clinical notes, fine-tuning, open source software, health equity, health disparities
- MeSH terms
- Documentation, Female, Humans, Male, Natural Language Processing, Bias, Narration, Data Mining, Electronic Health Records, Social Determinants of Health
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review