Related Experiment Video
Updated: Feb 16, 2026

Implementation of a Real-Time Psychosis Risk Detection and Alerting System Based on Electronic Health Records using CogStack
Published on: May 15, 2020
Validation of an algorithm for identifying type 1 diabetes in adults based on electronic health record data
Emily B Schroeder1,2,3, William T Donahoo2,3, Glenn K Goodrich1
1Institute for Health Research, Kaiser Permanente Colorado, Denver, CO, USA.
Purpose:
Algorithms using information from electronic health records to identify adults with type 1 diabetes have not been well studied. Such algorithms would have applications in pharmacoepidemiology, drug safety research, clinical trials, surveillance, and quality improvement. Our main objectives were to determine the positive predictive value for identifying type 1 diabetes in adults using a published algorithm (developed by Klompas et al) and to compare it to a simple requirement that the majority of diabetes diagnosis codes be type 1.
Methods:
We applied the Klompas algorithm and the diagnosis code criterion to a cohort of 66 690 adult Kaiser Permanente Colorado members with diabetes. We reviewed 220 charts of those identified as having type 1 diabetes and calculated positive predictive values.
Results:
The Klompas algorithm identified 3286 (4.9% of 66 690) adults with diabetes as having type 1 diabetes. Based on chart reviews, the overall positive predictive value was 94.5%. The requirement that the majority of diabetes diagnosis codes be type 1 identified 3000 (4.5%) as having type 1 diabetes and had a positive predictive value of 96.4%. However, the algorithm criterion involving dispensing of urine acetone test strips performed poorly, with a positive predictive value of 20.0%.
Conclusions:
Data from electronic health records can be used to accurately identify adults with type 1 diabetes. When identifying adults with type 1 diabetes, we recommend either a modified version of the Klompas algorithm without the urine acetone test strips criterion or the requirement that the majority of diabetes diagnosis codes be type 1 codes.
Related Concept Videos
Data Reporting and Recording
Data Validation
Key parameters for method validation include:
Data Validation
Nursing assessment guides are generally based on holistic models rather than medical...
Purpose of Health Records I
Here's a breakdown of how health records serve these purposes:
Purpose of Health Records II
Data: Types and Distribution
Distributions in...

