Development and Validation of a Machine Learning Model to Predict Near-Term Risk of Iatrogenic Hypoglycemia in Hospitalized Patients
- PMID: 33416883
- PMCID: PMC7794667
- DOI: 10.1001/jamanetworkopen.2020.30913
Development and Validation of a Machine Learning Model to Predict Near-Term Risk of Iatrogenic Hypoglycemia in Hospitalized Patients
Abstract
Importance: Accurate clinical decision support tools are needed to identify patients at risk for iatrogenic hypoglycemia, a potentially serious adverse event, throughout hospitalization.
Objective: To predict the risk of iatrogenic hypoglycemia within 24 hours after each blood glucose (BG) measurement during hospitalization using a machine learning model.
Design, setting, and participants: This retrospective cohort study, conducted at 5 hospitals within the Johns Hopkins Health System, included 54 978 admissions of 35 147 inpatients who had at least 4 BG measurements and received at least 1 U of insulin during hospitalization between December 1, 2014, and July 31, 2018. Data from the largest hospital were split into a 70% training set and 30% test set. A stochastic gradient boosting machine learning model was developed using the training set and validated on internal and external validation.
Exposures: A total of 43 clinical predictors of iatrogenic hypoglycemia were extracted from the electronic medical record, including demographic characteristics, diagnoses, procedures, laboratory data, medications, orders, anthropomorphometric data, and vital signs.
Main outcomes and measures: Iatrogenic hypoglycemia was defined as a BG measurement less than or equal to 70 mg/dL occurring within the pharmacologic duration of action of administered insulin, sulfonylurea, or meglitinide.
Results: This cohort study included 54 978 admissions (35 147 inpatients; median [interquartile range] age, 66.0 [56.0-75.0] years; 27 781 [50.5%] male; 30 429 [55.3%] White) from 5 hospitals. Of 1 612 425 index BG measurements, 50 354 (3.1%) were followed by iatrogenic hypoglycemia in the subsequent 24 hours. On internal validation, the model achieved a C statistic of 0.90 (95% CI, 0.89-0.90), a positive predictive value of 0.09 (95% CI, 0.08-0.09), a positive likelihood ratio of 4.67 (95% CI, 4.59-4.74), a negative predictive value of 1.00 (95% CI, 1.00-1.00), and a negative likelihood ratio of 0.22 (95% CI, 0.21-0.23). On external validation, the model achieved C statistics ranging from 0.86 to 0.88, positive predictive values ranging from 0.12 to 0.13, negative predictive values of 0.99, positive likelihood ratios ranging from 3.09 to 3.89, and negative likelihood ratios ranging from 0.23 to 0.25. Basal insulin dose, coefficient of variation of BG, and previous hypoglycemic episodes were the strongest predictors.
Conclusions and relevance: These findings suggest that iatrogenic hypoglycemia can be predicted in a short-term prediction horizon after each BG measurement during hospitalization. Further studies are needed to translate this model into a real-time informatics alert and evaluate its effectiveness in reducing the incidence of inpatient iatrogenic hypoglycemia.
Conflict of interest statement
Figures



Similar articles
-
Predicting the Risk of Inpatient Hypoglycemia With Machine Learning Using Electronic Health Records.Diabetes Care. 2020 Jul;43(7):1504-1511. doi: 10.2337/dc19-1743. Epub 2020 Apr 29. Diabetes Care. 2020. PMID: 32350021
-
A novel electronic health record-based, machine-learning model to predict severe hypoglycemia leading to hospitalizations in older adults with diabetes: A territory-wide cohort and modeling study.PLoS Med. 2024 Apr 12;21(4):e1004369. doi: 10.1371/journal.pmed.1004369. eCollection 2024 Apr. PLoS Med. 2024. PMID: 38607977 Free PMC article.
-
Development and validation of a machine learning model for classification of next glucose measurement in hospitalized patients.EClinicalMedicine. 2022 Feb 4;44:101290. doi: 10.1016/j.eclinm.2022.101290. eCollection 2022 Feb. EClinicalMedicine. 2022. PMID: 35169690 Free PMC article.
-
A Systematic Review Supporting the Endocrine Society Guidelines: Management of Diabetes and High Risk of Hypoglycemia.J Clin Endocrinol Metab. 2023 Feb 15;108(3):592-603. doi: 10.1210/clinem/dgac601. J Clin Endocrinol Metab. 2023. PMID: 36477885
-
Data-driven modeling and prediction of blood glucose dynamics: Machine learning applications in type 1 diabetes.Artif Intell Med. 2019 Jul;98:109-134. doi: 10.1016/j.artmed.2019.07.007. Epub 2019 Jul 26. Artif Intell Med. 2019. PMID: 31383477 Review.
Cited by
-
Stakeholder Perspectives on an Inpatient Hypoglycemia Informatics Alert: Mixed Methods Study.JMIR Hum Factors. 2021 Nov 26;8(4):e31214. doi: 10.2196/31214. JMIR Hum Factors. 2021. PMID: 34842544 Free PMC article.
-
Recent applications of machine learning and deep learning models in the prediction, diagnosis, and management of diabetes: a comprehensive review.Diabetol Metab Syndr. 2022 Dec 27;14(1):196. doi: 10.1186/s13098-022-00969-9. Diabetol Metab Syndr. 2022. PMID: 36572938 Free PMC article. Review.
-
American Association of Clinical Endocrinology Clinical Practice Guideline: Developing a Diabetes Mellitus Comprehensive Care Plan-2022 Update.Endocr Pract. 2022 Oct;28(10):923-1049. doi: 10.1016/j.eprac.2022.08.002. Epub 2022 Aug 11. Endocr Pract. 2022. PMID: 35963508 Free PMC article.
-
Development and Validation of a Nocturnal Hypoglycaemia Risk Model for Patients With Type 2 Diabetes Mellitus.Nurs Open. 2024 Oct;11(10):e70055. doi: 10.1002/nop2.70055. Nurs Open. 2024. PMID: 39363560 Free PMC article.
-
Investigation of potential descriptors of chemical compounds on prevention of nephrotoxicity via QSAR approach.Comput Struct Biotechnol J. 2022 Apr 15;20:1876-1884. doi: 10.1016/j.csbj.2022.04.013. eCollection 2022. Comput Struct Biotechnol J. 2022. PMID: 35521549 Free PMC article.
References
Publication types
MeSH terms
Substances
Grants and funding
LinkOut - more resources
Full Text Sources
Other Literature Sources
Medical