An algorithm for identification and classification of individuals with type 1 and type 2 diabetes mellitus in a large primary care database

Manuj Sharma,1 Irene Petersen,1,2 Irwin Nazareth,1 Sonia J Coton,1 1Department of Primary Care and Population Health, University College London, London, UK; 2Department of Clinical Epidemiology, Aarhus University, Aarhus, Denmark Background: Research into diabetes mellitus (DM) often requires a repr...

Full description

Bibliographic Details
Main Authors: Sharma M, Petersen I, Nazareth I, Coton SJ
Format: Article
Language:English
Published: Dove Medical Press 2016-10-01
Series:Clinical Epidemiology
Subjects:
Online Access:https://www.dovepress.com/an-algorithm-for-identification-and-classification-of-individuals-with-peer-reviewed-article-CLEP
id doaj-ac727105a5124c68a23cd327faa15149
record_format Article
spelling doaj-ac727105a5124c68a23cd327faa151492020-11-24T22:03:53ZengDove Medical PressClinical Epidemiology1179-13492016-10-01Volume 837338029382An algorithm for identification and classification of individuals with type 1 and type 2 diabetes mellitus in a large primary care databaseSharma MPetersen INazareth ICoton SJManuj Sharma,1 Irene Petersen,1,2 Irwin Nazareth,1 Sonia J Coton,1 1Department of Primary Care and Population Health, University College London, London, UK; 2Department of Clinical Epidemiology, Aarhus University, Aarhus, Denmark 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. Keywords: diabetes and endocrinology, epidemiology, public health, databases, algorithm  https://www.dovepress.com/an-algorithm-for-identification-and-classification-of-individuals-with-peer-reviewed-article-CLEPDiabetes & EndocrinologyEpidemiologyPublic healthDatabasesAlgorithm
collection DOAJ
language English
format Article
sources DOAJ
author Sharma M
Petersen I
Nazareth I
Coton SJ
spellingShingle Sharma M
Petersen I
Nazareth I
Coton SJ
An algorithm for identification and classification of individuals with type 1 and type 2 diabetes mellitus in a large primary care database
Clinical Epidemiology
Diabetes & Endocrinology
Epidemiology
Public health
Databases
Algorithm
author_facet Sharma M
Petersen I
Nazareth I
Coton SJ
author_sort Sharma M
title An algorithm for identification and classification of individuals with type 1 and type 2 diabetes mellitus in a large primary care database
title_short An algorithm for identification and classification of individuals with type 1 and type 2 diabetes mellitus in a large primary care database
title_full An algorithm for identification and classification of individuals with type 1 and type 2 diabetes mellitus in a large primary care database
title_fullStr An algorithm for identification and classification of individuals with type 1 and type 2 diabetes mellitus in a large primary care database
title_full_unstemmed An algorithm for identification and classification of individuals with type 1 and type 2 diabetes mellitus in a large primary care database
title_sort algorithm for identification and classification of individuals with type 1 and type 2 diabetes mellitus in a large primary care database
publisher Dove Medical Press
series Clinical Epidemiology
issn 1179-1349
publishDate 2016-10-01
description Manuj Sharma,1 Irene Petersen,1,2 Irwin Nazareth,1 Sonia J Coton,1 1Department of Primary Care and Population Health, University College London, London, UK; 2Department of Clinical Epidemiology, Aarhus University, Aarhus, Denmark 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. Keywords: diabetes and endocrinology, epidemiology, public health, databases, algorithm  
topic Diabetes & Endocrinology
Epidemiology
Public health
Databases
Algorithm
url https://www.dovepress.com/an-algorithm-for-identification-and-classification-of-individuals-with-peer-reviewed-article-CLEP
work_keys_str_mv AT sharmam analgorithmforidentificationandclassificationofindividualswithtype1andtype2diabetesmellitusinalargeprimarycaredatabase
AT peterseni analgorithmforidentificationandclassificationofindividualswithtype1andtype2diabetesmellitusinalargeprimarycaredatabase
AT nazarethi analgorithmforidentificationandclassificationofindividualswithtype1andtype2diabetesmellitusinalargeprimarycaredatabase
AT cotonsj analgorithmforidentificationandclassificationofindividualswithtype1andtype2diabetesmellitusinalargeprimarycaredatabase
AT sharmam algorithmforidentificationandclassificationofindividualswithtype1andtype2diabetesmellitusinalargeprimarycaredatabase
AT peterseni algorithmforidentificationandclassificationofindividualswithtype1andtype2diabetesmellitusinalargeprimarycaredatabase
AT nazarethi algorithmforidentificationandclassificationofindividualswithtype1andtype2diabetesmellitusinalargeprimarycaredatabase
AT cotonsj algorithmforidentificationandclassificationofindividualswithtype1andtype2diabetesmellitusinalargeprimarycaredatabase
_version_ 1725831699162464256