Electronic Health Record Coding of Self-Reported Diagnoses in the All of Us Research Program
- 1Vanderbilt University Medical Center
Abstract
ImportanceConditions that are hard to diagnose, several more common in women, may be missing from electronic health records (EHRs), hiding patients from research cohorts and case finding.
ObjectiveTo measure how often the EHR contains a diagnosis code for chronic conditions that participants report, and to compare this with national survey benchmarks.
Design, Setting, and ParticipantsThis cross-sectional study used the All of Us Research Program Registered Tier Dataset v9. Participants were adults with EHR visits in both 12-month periods from July 2021 to June 2023 who completed a health history survey. We analyzed the data in October 2026.
ExposuresSelf-reported clinician diagnosis of 10 conditions with ongoing visits or treatment, as well as sex at birth, race and ethnicity, age, and years of EHR records.
Main Outcomes and MeasuresShare of participants reporting current care who had a qualifying diagnosis code, alone and relative to hypertension and type 2 diabetes, and the ratio of age-standardized coded shares to national survey prevalence.
ResultsOf 161,480 respondents, 114,610 (73,870 female [64.5%], median [IQR] age 63 [50-72] years) had at least 5 years of EHR records before the survey. Among those reporting current care, 84.6% (95% CI, 84.2%-85.0%) with hypertension and 87.0% (95% CI, 86.5%-87.6%) with type 2 diabetes had a code, compared with 41.3% (95% CI, 38.9%-43.8%) for endometriosis, 39.4% (95% CI, 34.3%-44.8%) for Lyme disease, and 24.4% (95% CI, 23.2%-25.6%) for chronic fatigue. Counting ICD-9-CM and other mapped codes, 55.3%, 51.5%, and 28.3%, respectively, had any qualifying record. Women had lower coded shares than men for hypertension, type 2 diabetes, obesity, depression, and anxiety (crude ratios 0.93-0.96, within-health-system ratios 0.98-1.02) and higher shares for migraine and fibromyalgia (within health systems, 1.11 [95% CI, 1.07-1.15] and 1.41 [95% CI, 1.29-1.57]). Age-standardized coded shares among active patients were 1.1 to 2.4 times national prevalence of the same self-reported diagnoses.
Conclusions and RelevanceIn this cross-sectional study, fewer than half of participants reporting ongoing care for chronic fatigue, Lyme disease, or endometriosis had a qualifying ICD-10-CM code. Linking each participants report to their own record measured this gap directly.
Key PointsO_ST_ABSQuestionC_ST_ABSAmong adults who report a clinician-diagnosed chronic condition, how often does their electronic health record contain a corresponding diagnosis code?
FindingsIn this cross-sectional study of 114,610 All of Us participants with at least 5 years of preceding electronic health records, 83% to 90% of those reporting ongoing care for hypertension or type 2 diabetes had a corresponding code, compared with 41% for endometriosis, 39% for Lyme disease, and 24% for chronic fatigue.
MeaningThese findings suggest that cohorts defined by diagnosis codes may omit many patients who report care for chronic fatigue, Lyme disease, or endometriosis.
Related
- Self-reported diagnoses as training labels for finding uncoded chronic fatigue, fibromyalgia, and endometriosis in the All of Us Research Program
- Characterizing the association of neighborhood built-environment and type 2 diabetes-related clinical health outcomes: insights from the All of Us Research Program
- Diagnostic reversion in dementia care: A real‐world analysis of mild cognitive impairment diagnoses after dementia in a large electronic medical record system
- Trends in reported HIV diagnoses, exposure patterns, and AIDS-related mortality in the Eastern Mediterranean Region, 2014–2023
- Multi-omics in the All Of Us Research Program expands mapping genetic mechanisms in health and disease
BibTeX
@misc{asiaee2026electronic,
title = {{Electronic Health Record Coding of Self-Reported Diagnoses in the All of Us Research Program}},
author = {A. Asiaee and K. Aryan},
howpublished = {medRxiv},
year = {2026},
month = oct,
doi = {10.64898/2026.10.18.26365863},
url = {https://www.medrxiv.org/content/10.64898/2026.10.18.26365863v1},
note = {CC BY-NC-ND},
}
RIS
TY - UNPB
TI - Electronic Health Record Coding of Self-Reported Diagnoses in the All of Us Research Program
AU - A. Asiaee
AU - K. Aryan
PY - 2026
DA - 2026/10/18
PB - medRxiv
DO - 10.64898/2026.10.18.26365863
UR - https://www.medrxiv.org/content/10.64898/2026.10.18.26365863v1
AB - ImportanceConditions that are hard to diagnose, several more common in women, may be missing from electronic health records (EHRs), hiding patients from research cohorts and case finding. ObjectiveTo measure how often the EHR contains a diagnosis code for chronic conditions that participants report, and to compare this with national survey benchmarks. Design, Setting, and ParticipantsThis cross-sectional study used the All of Us Research Program Registered Tier Dataset v9. Participants were adults with EHR visits in both 12-month periods from July 2021 to June 2023 who completed a health history survey. We analyzed the data in October 2026. ExposuresSelf-reported clinician diagnosis of 10 conditions with ongoing visits or treatment, as well as sex at birth, race and ethnicity, age, and years of EHR records. Main Outcomes and MeasuresShare of participants reporting current care who had a qualifying diagnosis code, alone and relative to hypertension and type 2 diabetes, and the ratio of age-standardized coded shares to national survey prevalence. ResultsOf 161,480 respondents, 114,610 (73,870 female [64.5%], median [IQR] age 63 [50-72] years) had at least 5 years of EHR records before the survey. Among those reporting current care, 84.6% (95% CI, 84.2%-85.0%) with hypertension and 87.0% (95% CI, 86.5%-87.6%) with type 2 diabetes had a code, compared with 41.3% (95% CI, 38.9%-43.8%) for endometriosis, 39.4% (95% CI, 34.3%-44.8%) for Lyme disease, and 24.4% (95% CI, 23.2%-25.6%) for chronic fatigue. Counting ICD-9-CM and other mapped codes, 55.3%, 51.5%, and 28.3%, respectively, had any qualifying record. Women had lower coded shares than men for hypertension, type 2 diabetes, obesity, depression, and anxiety (crude ratios 0.93-0.96, within-health-system ratios 0.98-1.02) and higher shares for migraine and fibromyalgia (within health systems, 1.11 [95% CI, 1.07-1.15] and 1.41 [95% CI, 1.29-1.57]). Age-standardized coded shares among active patients were 1.1 to 2.4 times national prevalence of the same self-reported diagnoses. Conclusions and RelevanceIn this cross-sectional study, fewer than half of participants reporting ongoing care for chronic fatigue, Lyme disease, or endometriosis had a qualifying ICD-10-CM code. Linking each participants report to their own record measured this gap directly. Key PointsO_ST_ABSQuestionC_ST_ABSAmong adults who report a clinician-diagnosed chronic condition, how often does their electronic health record contain a corresponding diagnosis code? FindingsIn this cross-sectional study of 114,610 All of Us participants with at least 5 years of preceding electronic health records, 83% to 90% of those reporting ongoing care for hypertension or type 2 diabetes had a corresponding code, compared with 41% for endometriosis, 39% for Lyme disease, and 24% for chronic fatigue. MeaningThese findings suggest that cohorts defined by diagnosis codes may omit many patients who report care for chronic fatigue, Lyme disease, or endometriosis.
ER -