Using Natural Language Processing of Clinical Notes to Supplement Structured Electronic Health Record Data for Phenotyping Smoking and Obesity in a Healthcare System

PURPOSE: Studies based on electronic health records (EHR) often rely on structured data, which may incompletely capture important clinical phenotypes in EHR notes. The purpose of this study was to assess two natural language processing (NLP) tools to extract phenotypes from unstructured EHR notes, and to evaluate the added value of integrating NLP-derived phenotypes with structured EHR data at a health system scale. METHODS: This retrospective study is based on inpatient and outpatient EHR data from the Mass General Brigham healthcare system between January 1, 2019 and December 31, 2020. Two established rule-based NLP tools were applied to extract smoking and obesity information from 19 215 303 clinical notes of 503 025 patients. NLP performance was evaluated through a manual review of stratified samples. Phenotype prevalence was estimated using structured EHR data alone and compared with prevalence estimates obtained by supplementing structured data with NLP-derived features. RESULTS: Both NLP tools exhibited high performance, with both accuracy and the F1 score of 0.99 for smoking, and 0.92 and 0.91 for obesity, respectively. The combination of NLP and structured data identified 220 714 patients (43.88%) with smoking, compared with 170 396 patients (33.87%) identified using structured data alone, representing a 29.5% relative increase. For obesity, NLP identified 121 360 patients (24.13%) from EHR notes, and 169 905 patients (33.78%) were documented in structured data; the inclusion of NLP-derived features contributed an additional 32 823 patients, corresponding to a 19.3% relative increase. CONCLUSION: NLP-derived phenotypes from unstructured EHR notes substantially improve patient identification for both smoking and obesity compared with structured EHR data alone at scale.

Authors

Institutions

Publication Details

Journal
Pharmacoepidemiology and Drug Safety
Published
2026-06-16
DOI
https://doi.org/10.1002/pds.70415
Primary Topic
Machine Learning in Healthcare
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Using Natural Language Processing of Clinical Notes to Supplement Structured Electronic Health Record Data for Phenotyping Smoking and Obesity in a Healthcare System

Rishi Desai, Joyce Lii, Jie Yang, Bowen Gu et al.
Pharmacoepidemiology and Drug Safety
Machine Learning in Healthcare
article

Using Natural Language Processing of Clinical Notes to Supplement Structured Electronic Health Record Data for Phenotyping Smoking and Obesity in a Healthcare System

Rishi Desai, Joyce Lii, Jie Yang, Bowen Gu, David Cronkite, Haritha Pillai, Keith A. Marsolo
article en

Abstract

PURPOSE: Studies based on electronic health records (EHR) often rely on structured data, which may incompletely capture important clinical phenotypes in EHR notes. The purpose of this study was to assess two natural language processing (NLP) tools to extract phenotypes from unstructured EHR notes, and to evaluate the added value of integrating NLP-derived phenotypes with structured EHR data at a health system scale. METHODS: This retrospective study is based on inpatient and outpatient EHR data from the Mass General Brigham healthcare system between January 1, 2019 and December 31, 2020. Two established rule-based NLP tools were applied to extract smoking and obesity information from 19 215 303 clinical notes of 503 025 patients. NLP performance was evaluated through a manual review of stratified samples. Phenotype prevalence was estimated using structured EHR data alone and compared with prevalence estimates obtained by supplementing structured data with NLP-derived features. RESULTS: Both NLP tools exhibited high performance, with both accuracy and the F1 score of 0.99 for smoking, and 0.92 and 0.91 for obesity, respectively. The combination of NLP and structured data identified 220 714 patients (43.88%) with smoking, compared with 170 396 patients (33.87%) identified using structured data alone, representing a 29.5% relative increase. For obesity, NLP identified 121 360 patients (24.13%) from EHR notes, and 169 905 patients (33.78%) were documented in structured data; the inclusion of NLP-derived features contributed an additional 32 823 patients, corresponding to a 19.3% relative increase. CONCLUSION: NLP-derived phenotypes from unstructured EHR notes substantially improve patient identification for both smoking and obesity compared with structured EHR data alone at scale.

Pharmacoepidemiology and Drug SafetyVol. 35(7)
Broad Institute (US), Brigham and Women's Hospital (US), Harvard University (US), Kaiser Permanente Washington Health Research Institute (US), Duke University (US), Harvard University Press (US), Artificial Intelligence in Medicine (Canada) (CA)
Good health and well-being
Openalex Percentile: Top 5%
Machine Learning in Healthcare
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.