Skip to main page content
U.S. flag

An official website of the United States government

Dot gov

The .gov means it’s official.
Federal government websites often end in .gov or .mil. Before sharing sensitive information, make sure you’re on a federal government site.

Https

The site is secure.
The https:// ensures that you are connecting to the official website and that any information you provide is encrypted and transmitted securely.

Access keys NCBI Homepage MyNCBI Homepage Main Content Main Navigation
. 2025 Apr;27(4):271-282.
doi: 10.1089/dia.2024.0484. Epub 2025 Jan 6.

Predicting and Ranking Diabetic Ketoacidosis Risk Among Youth with Type 1 Diabetes with a Clinic-to-Clinic Transferrable Machine Learning Model

Affiliations

Predicting and Ranking Diabetic Ketoacidosis Risk Among Youth with Type 1 Diabetes with a Clinic-to-Clinic Transferrable Machine Learning Model

Craig Vandervelden et al. Diabetes Technol Ther. 2025 Apr.

Abstract

Aim: To use electronic health record (EHR) data to develop a scalable and transferrable model to predict 6-month risk for diabetic ketoacidosis (DKA)-related hospitalization or emergency care in youth with type 1 diabetes (T1D). Method: To achieve a sharable predictive model, we engineered features using EHR data mapped to the T1D Exchange Quality Improvement Collaborative's (T1DX-QI) data schema used by 60+ U.S. diabetes centers and chose a compact set of 15 features (e.g., demographics, factors related to diabetes management, etc.) to yield "explainable AI" predictions for DKA risk on a 6-month horizon. We used an ensemble of gradient-boosted, tree-based models trained on data collected from September 1, 2017 to November 1, 2022 (3097 unique patients; 24,638 clinical encounters) from a tertiary care pediatric diabetes clinic network in the Midwest USA. Results: We rank-ordered the top 10, 25, 50, and 100 highest-risk youth in an out-of-sample testing set, which yielded an average precision of 0.96, 0.81, 0.75, and 0.70, respectively. The lift of the model (relative to random selection) for the top 100 individuals is 19. The model identified average time between DKA episodes, time since the last DKA episode, and T1D duration as the top three features for predicting DKA risk. Conclusions: Our DKA risk model effectively predicts youths' relative risk of experiencing hospitalization for DKA and is readily deployable to other diabetes centers that map diabetes data to the T1DX-QI schema. This model may facilitate the development of targeted interventions for youths at the highest risk for DKA. Future work will add novel features such as device data, social determinants of health, and diabetes self-management behaviors.

Keywords: artificial intelligence; diabetic ketoacidosis; machine learning; population health; type 1 diabetes.

PubMed Disclaimer

References

    1. Karges B, Rosenbauer J, Holterhus P-M, et al. DPV Initiative . Hospital admission for diabetic ketoacidosis or severe hypoglycemia in 31,330 young patients with type 1 diabetes. Eur J Endocrinol 2015;173(3):341–350. - PubMed
    1. Benoit SR, Zhang Y, Geiss LS, et al. Trends in diabetic ketoacidosis hospitalizations and in-hospital mortality—United States, 2000-2014. MMWR Morb Mortal Wkly Rep 2018;67(12):362–365. - PMC - PubMed
    1. O’Reilly JE, Blackbourn LAK, Caparrotta TM, et al. Scottish Diabetes Research Network Epidemiology Group . Time trends in deaths before age 50 years in people with type 1 diabetes: A nationwide analysis from Scotland 2004-2017. Diabetologia 2020;63(8):1626–1636. - PMC - PubMed
    1. Umpierrez GE, Kitabchi AE. Diabetic ketoacidosis: Risk factors and management strategies. Treat Endocrinol 2003;2(2):95–108. - PubMed
    1. Garrett CJ, Choudhary P, Amiel SA, et al. Recurrent diabetic ketoacidosis and a brief history of brittle diabetes research: Contemporary and past evidence in diabetic ketoacidosis research including mortality, mental health and prevention. Diabet Med 2019;36(11):1329–1335. - PubMed

LinkOut - more resources