Back to Search Start Over

Predicting type 1 diabetes in children using electronic health records in primary care in the UK: development and validation of a machine-learning algorithm.

Authors :
Daniel R
Jones H
Gregory JW
Shetty A
Francis N
Paranjothy S
Townson J
Source :
The Lancet. Digital health [Lancet Digit Health] 2024 Jun; Vol. 6 (6), pp. e386-e395.
Publication Year :
2024

Abstract

Background: Children presenting to primary care with suspected type 1 diabetes should be referred immediately to secondary care to avoid life-threatening diabetic ketoacidosis. However, early recognition of children with type 1 diabetes is challenging. Children might not present with classic symptoms, or symptoms might be attributed to more common conditions. A quarter of children present with diabetic ketoacidosis, a proportion unchanged over 25 years. Our aim was to investigate whether a machine-learning algorithm could lead to earlier detection of type 1 diabetes in primary care.<br />Methods: We developed the predictive algorithm using Welsh primary care electronic health records (EHRs) linked to the Brecon Dataset, a register of children newly diagnosed with type 1 diabetes. Children were included from their first primary care record within the study period of Jan 1, 2000, to Dec 31, 2016, until either type 1 diabetes diagnosis, they turned 15 years of age, or study end. We developed an ensemble learner (SuperLearner) using 26 potential predictors. Validation of the algorithm was done in English EHRs from the Clinical Practice Research Datalink (primary care) and Hospital Episode Statistics, focusing on the ability of the algorithm to identify children who went on to develop type 1 diabetes and the time by which diagnosis could be anticipated.<br />Findings: The development dataset comprised 34 754 400 primary care contacts, relating to 952 402 children, and the validation dataset comprised 43 089 103 primary care contacts, relating to 1 493 328 children. Of these, 1829 (0·19%) children younger than 15 years in the development dataset, and 1516 (0·10%) in the validation dataset had a reliable date of type 1 diabetes diagnosis. If set to give an alert in 10% of contacts, an estimated 71·6% (95% CI 68·8-74·4) of the children with type 1 diabetes would receive an alert by the algorithm in the 90 days before diagnosis, with diagnosis anticipated, on average, by an estimated 9·34 days (95% CI 7·77-10·9).<br />Interpretation: If implemented into primary care settings, this predictive algorithm could substantially reduce the proportion of patients with new-onset type 1 diabetes presenting in diabetic ketoacidosis. Acceptability of alert thresholds should be explored in primary care.<br />Funding: Diabetes UK.<br />Competing Interests: Declaration of interests We declare no competing interests.<br /> (Copyright © 2024 The Author(s). Published by Elsevier Ltd. This is an Open Access article under the CC BY-NC 4.0 license. Published by Elsevier Ltd.. All rights reserved.)

Details

Language :
English
ISSN :
2589-7500
Volume :
6
Issue :
6
Database :
MEDLINE
Journal :
The Lancet. Digital health
Publication Type :
Academic Journal
Accession number :
38789139
Full Text :
https://doi.org/10.1016/S2589-7500(24)00050-5