Development and Validation of a Novel Algorithm for Classifying Diabetes Type in Adolescents and Young Adults Using Electronic Health Record Data

OBJECTIVE Accurate classification of diabetes type in early-onset populations is essential for epidemiologic and health services research but remains challenging when using electronic health record (EHR) data alone. Our objective was to develop and validate a diabetes typing algorithm distinguishing type 1 from type 2 diabetes in adolescents and young adults (AYAs). RESEARCH DESIGN AND METHODS We developed and validated an EHR-based algorithm to identify and classify diabetes type among individuals aged 10–30 years enrolled in the Kaiser Permanente Northern California network (2007–2024). Identification of AYAs with diabetes incorporated diagnosis codes, laboratory results, and medications. Diabetes type was classified using a hierarchical algorithm that leveraged pancreatic autoantibody results and longitudinal diagnostic patterns. Algorithm performance was assessed via blinded medical record review in a random subset of 100 AYAs with diabetes, representing 0.14% of the 71,385 AYAs with algorithm-identified diabetes. RESULTS Among 71,385 AYAs with diabetes, the disease was classified as type 1 diabetes in 16.6%, as type 2 diabetes in 75.2%, as other diabetes in 3.0%, and as indeterminate in 5.2%. When validated against blinded medical record review in a subset of patients, sensitivity and specificity were 100% and 98%, respectively, for type 1 diabetes and 98% and 95%, respectively, for type 2 diabetes. Inclusion of pancreatic autoantibody data prevented potential misclassification of type 1 diabetes in 609 patients, representing ∼6% of those with algorithm-classified type 1 diabetes. CONCLUSIONS This validated diabetes typing algorithm supports scalable early-onset diabetes research using EHR data.

Authors

Institutions

Publication Details

Journal
Diabetes Obesity and Cardiometabolic CARE
Published
2026-09-10
DOI
https://doi.org/10.2337/doc26-0088
Primary Topic
Diabetes and associated disorders
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Development and Validation of a Novel Algorithm for Classifying Diabetes Type in Adolescents and Young Adults Using Electronic Health Record Data

Shylaja Srinivasan, Ai Kubo, Julia Acker, Jennifer Y. Liu et al.
Diabetes Obesity and Cardiometabolic CARE
Diabetes and associated disorders
article

Development and Validation of a Novel Algorithm for Classifying Diabetes Type in Adolescents and Young Adults Using Electronic Health Record Data

Shylaja Srinivasan, Ai Kubo, Julia Acker, Jennifer Y. Liu, Alka M. Kanaya, Cindy J. Huang, Saher Daredia, Sonya Negriff, JULIANNA DEARDORFF, Andrew J. Karter, Siyan Chen
article en

Abstract

OBJECTIVE Accurate classification of diabetes type in early-onset populations is essential for epidemiologic and health services research but remains challenging when using electronic health record (EHR) data alone. Our objective was to develop and validate a diabetes typing algorithm distinguishing type 1 from type 2 diabetes in adolescents and young adults (AYAs). RESEARCH DESIGN AND METHODS We developed and validated an EHR-based algorithm to identify and classify diabetes type among individuals aged 10–30 years enrolled in the Kaiser Permanente Northern California network (2007–2024). Identification of AYAs with diabetes incorporated diagnosis codes, laboratory results, and medications. Diabetes type was classified using a hierarchical algorithm that leveraged pancreatic autoantibody results and longitudinal diagnostic patterns. Algorithm performance was assessed via blinded medical record review in a random subset of 100 AYAs with diabetes, representing 0.14% of the 71,385 AYAs with algorithm-identified diabetes. RESULTS Among 71,385 AYAs with diabetes, the disease was classified as type 1 diabetes in 16.6%, as type 2 diabetes in 75.2%, as other diabetes in 3.0%, and as indeterminate in 5.2%. When validated against blinded medical record review in a subset of patients, sensitivity and specificity were 100% and 98%, respectively, for type 1 diabetes and 98% and 95%, respectively, for type 2 diabetes. Inclusion of pancreatic autoantibody data prevented potential misclassification of type 1 diabetes in 609 patients, representing ∼6% of those with algorithm-classified type 1 diabetes. CONCLUSIONS This validated diabetes typing algorithm supports scalable early-onset diabetes research using EHR data.

Diabetes Obesity and Cardiometabolic CARE
San Francisco General Hospital (US), Kaiser Permanente (US), University of California, San Francisco (US), Berkeley Public Health Division (US), University of San Francisco (US), University of California, Berkeley (US)
Good health and well-being
Openalex Percentile: Top 11%
Diabetes and associated disorders
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.