An algorithm for identification and classification of individuals with type 1 and type 2 diabetes mellitus in a large primary care database
Open accessThe DOI matches its Crossref record; 4 of the 4 references it cites were found in a registry or an index.
Abstract
BACKGROUND: Research into diabetes mellitus (DM) often requires a reproducible method for identifying and distinguishing individuals with type 1 DM (T1DM) and type 2 DM (T2DM). OBJECTIVES: To develop a method to identify individuals with T1DM and T2DM using UK primary care electronic health records. METHODS: Using data from The Health Improvement Network primary care database, we developed a two-step algorithm. The first algorithm step identified individuals with potential T1DM or T2DM based on diagnostic records, treatment, and clinical test results. We excluded individuals with records for rarer DM subtypes only. For individuals to be considered diabetic, they needed to have at least two records indicative of DM; one of which was required to be a diagnostic record. We then classified individuals with T1DM and T2DM using the second algorithm step. A combination of diagnostic codes, medication prescribed, age at diagnosis, and whether the case was incident or prevalent were used in this process. We internally validated this classification algorithm through comparison against an independent clinical examination of The Health Improvement Network electronic health records for a random sample of 500 DM individuals. RESULTS: Out of 9,161,866 individuals aged 0-99 years from 2000 to 2014, we classified 37,693 individuals with T1DM and 418,433 with T2DM, while 1,792 individuals remained unclassified. A small proportion were classified with some uncertainty (1,155 [3.1%] of all individuals with T1DM and 6,139 [1.5%] with T2DM) due to unclear health records. During validation, manual assignment of DM type based on clinical assessment of the entire electronic record and algorithmic assignment led to equivalent classification in all instances. CONCLUSION: The majority of individuals with T1DM and T2DM can be readily identified from UK primary care electronic health records. Our approach can be adapted for use in other health care settings.
Overview
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Integrity signals
Registry
Cites
Statistics
Verification
Claims the paper makes
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Self-check
Percentages, sums and reported differences re-computed from the paper’s own numbers.
The self-check needs the paper’s full text.
Citations
Cites
Diagnosis and classification of diabetes mellitus
American Diabetes Association (2014) · Diabetes Care · doi:10.2337/dc14-s081 · Cited by 5,974
Maguire, A., Blak, B. T., & Thompson, M. (2009) · Pharmacoepidemiology and Drug Safety · doi:10.1002/pds.1688 · Cited by 301 · cited 1×
“Study population All data included in this study were from practices that met quality assurance criteria in THIN, as determined by the acceptable mortality reporting and computer usage standards.(13,14) We included all individuals aged 0–99 years who were registered with a general practice contributing data between 20…”
Sharma, M., Nazareth, I., & Petersen, I. (2016) · BMJ Open · doi:10.1136/bmjopen-2015-010210 · Cited by 291 · cited 1×
“The values of this algorithm has also been demonstrated in published studies where incidence, prevalence, and prescribing patterns for T2DM were shown to compare favorably with data collected by other UK and international bodies.(5,18) Though this algorithm is mostly suited for use in the UK general practice databases…”
Self-citationIdentifying periods of acceptable computer usage in primary care research databases
Horsfall, L., Walters, K., & Petersen, I. (2013) · Pharmacoepidemiology and Drug Safety · doi:10.1002/pds.3368 · Cited by 148
Self-citation
Cited by
Carey, I. M., Critchley, J. A., DeWilde, S., Harris, T., Hosking, F. J., & Cook, D. G. (2018) · Diabetes Care · doi:10.2337/dc17-2131 · Cited by 604
Weisman, A., Tu, K., Young, J., Kumar, M., Austin, P. C., Jaakkimainen, L., Lipscombe, L., Aronson, R., & Booth, G. L. (2020) · BMJ Open Diabetes Research & Care · doi:10.1136/bmjdrc-2020-001224 · Cited by 62
Sajjadi, S. F., Sacre, J. W., Chen, L., Wild, S. H., Shaw, J. E., & Magliano, D. J. (2023) · Diabetes Research and Clinical Practice · doi:10.1016/j.diabres.2023.110859 · Cited by 13
Shao, H., Thorpe, L. E., Islam, S., Bian, J., Guo, Y., Li, P., Bost, S., Dabelea, D., Conway, R., Crume, T., et al. (2025) · Diabetes Care · doi:10.2337/dc24-1972 · Cited by 8
Metadata
- Authors
- Sharma, M., Petersen, I., Nazareth, I., & Coton, S. J.
- Venue
- Clinical Epidemiology
- Publisher
- Informa UK Limited
- Published
- 2016-10
- Volume
- Volume 8
- Pages
- 373-380
- ISSN
- 1179-1349 (ISSN-L)
- OpenAlex
- W2530598027
- Cited by
- 49
- References
- 4
- FWCI
- 9.22
- Type
- journal article
- Language
- en
- Open access
- gold
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review
How to cite
Cite CoChat for the checks on this page, and the paper for its own findings.
- This page
- CoChat. (2026). Citation check: An algorithm for identification and classification of individuals with type 1 and type 2 diabetes mellitus in a large primary care database. https://app.cochat.ai/papers/10.2147/clep.s113415
- The paper
- Sharma, M., Petersen, I., Nazareth, I., & Coton, S. J. (2016). An algorithm for identification and classification of individuals with type 1 and type 2 diabetes mellitus in a large primary care database. Clinical Epidemiology. https://doi.org/10.2147/clep.s113415
Data sources
Bibliographic data: Semantic Scholar, OpenAlex, Crossref.
Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).
Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.