» Articles » PMID: 32093635

Development and Validation of Algorithms to Classify Type 1 and 2 Diabetes According to Age at Diagnosis Using Electronic Health Records

Overview
Publisher Biomed Central
Date 2020 Feb 26
PMID 32093635
Citations 4
Authors
Affiliations
Soon will be listed here.
Abstract

Background: Validated algorithms to classify type 1 and 2 diabetes (T1D, T2D) are mostly limited to white pediatric populations. We conducted a large study in Hong Kong among children and adults with diabetes to develop and validate algorithms using electronic health records (EHRs) to classify diabetes type against clinical assessment as the reference standard, and to evaluate performance by age at diagnosis.

Methods: We included all people with diabetes (age at diagnosis 1.5-100 years during 2002-15) in the Hong Kong Diabetes Register and randomized them to derivation and validation cohorts. We developed candidate algorithms to identify diabetes types using encounter codes, prescriptions, and combinations of these criteria ("combination algorithms"). We identified 3 algorithms with the highest sensitivity, positive predictive value (PPV), and kappa coefficient, and evaluated performance by age at diagnosis in the validation cohort.

Results: There were 10,196 (T1D n = 60, T2D n = 10,136) and 5101 (T1D n = 43, T2D n = 5058) people in the derivation and validation cohorts (mean age at diagnosis 22.7, 55.9 years; 53.3, 43.9% female; for T1D and T2D respectively). Algorithms using codes or prescriptions classified T1D well for age at diagnosis < 20 years, but sensitivity and PPV dropped for older ages at diagnosis. Combination algorithms maximized sensitivity or PPV, but not both. The "high sensitivity for type 1" algorithm (ratio of type 1 to type 2 codes ≥ 4, or at least 1 insulin prescription within 90 days) had a sensitivity of 95.3% (95% confidence interval 84.2-99.4%; PPV 12.8%, 9.3-16.9%), while the "high PPV for type 1" algorithm (ratio of type 1 to type 2 codes ≥ 4, and multiple daily injections with no other glucose-lowering medication prescription) had a PPV of 100.0% (79.4-100.0%; sensitivity 37.2%, 23.0-53.3%), and the "optimized" algorithm (ratio of type 1 to type 2 codes ≥ 4, and at least 1 insulin prescription within 90 days) had a sensitivity of 65.1% (49.1-79.0%) and PPV of 75.7% (58.8-88.2%) across all ages. Accuracy of T2D classification was high for all algorithms.

Conclusions: Our validated set of algorithms accurately classifies T1D and T2D using EHRs for Hong Kong residents enrolled in a diabetes register. The choice of algorithm should be tailored to the unique requirements of each study question.

Citing Articles

Intensive Care Unit Admission, Mechanical Ventilation, and Mortality Among Patients With Type 1 Diabetes Hospitalized for COVID-19 in the U.S.

Barrett C, Park J, Kompaniyets L, Baggs J, Cheng Y, Zhang P Diabetes Care. 2021; 44(8):1788-1796.

PMID: 34158365 PMC: 9109617. DOI: 10.2337/dc21-0604.


Electronic Medical Record-Based Case Phenotyping for the Charlson Conditions: Scoping Review.

Lee S, Doktorchik C, Martin E, DSouza A, Eastwood C, Shaheen A JMIR Med Inform. 2021; 9(2):e23934.

PMID: 33522976 PMC: 7884219. DOI: 10.2196/23934.


Age at diagnosis, glycemic trajectories, and responses to oral glucose-lowering drugs in type 2 diabetes in Hong Kong: A population-based observational study.

Ke C, Stukel T, Shah B, Lau E, Ma R, So W PLoS Med. 2020; 17(9):e1003316.

PMID: 32946450 PMC: 7500681. DOI: 10.1371/journal.pmed.1003316.


Trends in diabetes-related complications in Hong Kong, 2001-2016: a retrospective cohort study.

Wu H, Lau E, Yang A, Ma R, Kong A, Chow E Cardiovasc Diabetol. 2020; 19(1):60.

PMID: 32398003 PMC: 7218631. DOI: 10.1186/s12933-020-01039-y.

References
1.
Lawrence J, Black M, Zhang J, Slezak J, Takhar H, Koebnick C . Validation of pediatric diabetes case identification approaches for diagnosed cases by using information in the electronic health records of a large integrated managed health care organization. Am J Epidemiol. 2013; 179(1):27-38. DOI: 10.1093/aje/kwt230. View

2.
Chan J, So W, Ma R, Tong P, Wong R, Yang X . The Complexity of Vascular and Non-Vascular Complications of Diabetes: The Hong Kong Diabetes Registry. Curr Cardiovasc Risk Rep. 2011; 5(3):230-239. PMC: 3085116. DOI: 10.1007/s12170-011-0172-6. View

3.
Zhong V, Obeid J, Craig J, Pfaff E, Thomas J, Jaacks L . An efficient approach for surveillance of childhood diabetes by type derived from electronic health record data: the SEARCH for Diabetes in Youth Study. J Am Med Inform Assoc. 2016; 23(6):1060-1067. PMC: 5070516. DOI: 10.1093/jamia/ocv207. View

4.
Klompas M, Eggleston E, McVetta J, Lazarus R, Li L, Platt R . Automated detection and classification of type 1 versus type 2 diabetes using electronic health record data. Diabetes Care. 2012; 36(4):914-21. PMC: 3609529. DOI: 10.2337/dc12-0964. View

5.
Guttmann A, Nakhla M, Henderson M, To T, Daneman D, Cauch-Dudek K . Validation of a health administrative data algorithm for assessing the epidemiology of diabetes in Canadian children. Pediatr Diabetes. 2009; 11(2):122-8. DOI: 10.1111/j.1399-5448.2009.00539.x. View