Per Wändell, Marcelina Wierzbicka, Karolina Sigurdsson, Anna Olofsson, Caroline Wachtler, Torgny Wessman, Olle Melander, Ulf Ekelund, Anders Björkelund, Axel C Carlsson, Toralph Ruge
{"title":"急诊住院糖尿病或高血糖患者短期死亡率的机器学习预测模型的开发和评估","authors":"Per Wändell, Marcelina Wierzbicka, Karolina Sigurdsson, Anna Olofsson, Caroline Wachtler, Torgny Wessman, Olle Melander, Ulf Ekelund, Anders Björkelund, Axel C Carlsson, Toralph Ruge","doi":"10.1186/s12933-025-02954-8","DOIUrl":null,"url":null,"abstract":"<p><strong>Background: </strong>Patients with diabetes admitted to emergency care face a higher risk of complications, including prolonged hospital stays, admissions to the intensive care unit and mortality.</p><p><strong>Aim: </strong>To develop a machine learning (ML) model to predict 30-day mortality in patients with diabetes admitted to the emergency department (ED).</p><p><strong>Design and setting: </strong>A cohort study utilizing data from all nine ED's in Region Skåne 2017 to 2018. Totally 74,611 patient visits, representing 34,280 unique patients aged > 18 years with diabetes or hyperglycemia (glucose were > 11 mmol/L). The analysis focused on four groups, men and women aged 40-69 and ≥ 70 years.</p><p><strong>Methods: </strong>Stochastic gradient boosting was employed to develop a model predicting 30-day mortality. Variable importance was assessed using normalized relative influence (NRI) scores. Variables in certain hospitals were used to train the models, and the models were tested in other hospitals.</p><p><strong>Results: </strong>Key predictors included laboratory values (pH, base excess, pCO<sub>2</sub>, standard bicarbonate, oxygen saturation, lactate, CRP, and leukocytes), as well as age, triage category, and time to doctor consultation. The sensitivity of the models ranged from 86-97%, the specificity from 86-94%, and accuracy between 86% and 94%. The area under the curve (AUC) ranged from 0.84 to 0.93 and Cohen's kappa ranged from 0.34 to 0.45. Positive predictive values accurately identified mortality in 23% to 37% of cases across the four groups.</p><p><strong>Conclusions: </strong>A machine learning model based on routinely collected data in the ED accurately predicted 30-day mortality with high specificity and sensitivity. This approach shows promise in identifying high-risk patients requiring close monitoring and timely interventions.</p>","PeriodicalId":9374,"journal":{"name":"Cardiovascular Diabetology","volume":"24 1","pages":"383"},"PeriodicalIF":10.6000,"publicationDate":"2025-10-03","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"https://www.ncbi.nlm.nih.gov/pmc/articles/PMC12492943/pdf/","citationCount":"0","resultStr":"{\"title\":\"Development and evaluation of a machine learning prediction model for short-term mortality in patients with diabetes or hyperglycemia at emergency department admission.\",\"authors\":\"Per Wändell, Marcelina Wierzbicka, Karolina Sigurdsson, Anna Olofsson, Caroline Wachtler, Torgny Wessman, Olle Melander, Ulf Ekelund, Anders Björkelund, Axel C Carlsson, Toralph Ruge\",\"doi\":\"10.1186/s12933-025-02954-8\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"<p><strong>Background: </strong>Patients with diabetes admitted to emergency care face a higher risk of complications, including prolonged hospital stays, admissions to the intensive care unit and mortality.</p><p><strong>Aim: </strong>To develop a machine learning (ML) model to predict 30-day mortality in patients with diabetes admitted to the emergency department (ED).</p><p><strong>Design and setting: </strong>A cohort study utilizing data from all nine ED's in Region Skåne 2017 to 2018. Totally 74,611 patient visits, representing 34,280 unique patients aged > 18 years with diabetes or hyperglycemia (glucose were > 11 mmol/L). The analysis focused on four groups, men and women aged 40-69 and ≥ 70 years.</p><p><strong>Methods: </strong>Stochastic gradient boosting was employed to develop a model predicting 30-day mortality. Variable importance was assessed using normalized relative influence (NRI) scores. Variables in certain hospitals were used to train the models, and the models were tested in other hospitals.</p><p><strong>Results: </strong>Key predictors included laboratory values (pH, base excess, pCO<sub>2</sub>, standard bicarbonate, oxygen saturation, lactate, CRP, and leukocytes), as well as age, triage category, and time to doctor consultation. The sensitivity of the models ranged from 86-97%, the specificity from 86-94%, and accuracy between 86% and 94%. The area under the curve (AUC) ranged from 0.84 to 0.93 and Cohen's kappa ranged from 0.34 to 0.45. Positive predictive values accurately identified mortality in 23% to 37% of cases across the four groups.</p><p><strong>Conclusions: </strong>A machine learning model based on routinely collected data in the ED accurately predicted 30-day mortality with high specificity and sensitivity. This approach shows promise in identifying high-risk patients requiring close monitoring and timely interventions.</p>\",\"PeriodicalId\":9374,\"journal\":{\"name\":\"Cardiovascular Diabetology\",\"volume\":\"24 1\",\"pages\":\"383\"},\"PeriodicalIF\":10.6000,\"publicationDate\":\"2025-10-03\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"https://www.ncbi.nlm.nih.gov/pmc/articles/PMC12492943/pdf/\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"Cardiovascular Diabetology\",\"FirstCategoryId\":\"3\",\"ListUrlMain\":\"https://doi.org/10.1186/s12933-025-02954-8\",\"RegionNum\":1,\"RegionCategory\":\"医学\",\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"Q1\",\"JCRName\":\"CARDIAC & CARDIOVASCULAR SYSTEMS\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"Cardiovascular Diabetology","FirstCategoryId":"3","ListUrlMain":"https://doi.org/10.1186/s12933-025-02954-8","RegionNum":1,"RegionCategory":"医学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"CARDIAC & CARDIOVASCULAR SYSTEMS","Score":null,"Total":0}
Development and evaluation of a machine learning prediction model for short-term mortality in patients with diabetes or hyperglycemia at emergency department admission.
Background: Patients with diabetes admitted to emergency care face a higher risk of complications, including prolonged hospital stays, admissions to the intensive care unit and mortality.
Aim: To develop a machine learning (ML) model to predict 30-day mortality in patients with diabetes admitted to the emergency department (ED).
Design and setting: A cohort study utilizing data from all nine ED's in Region Skåne 2017 to 2018. Totally 74,611 patient visits, representing 34,280 unique patients aged > 18 years with diabetes or hyperglycemia (glucose were > 11 mmol/L). The analysis focused on four groups, men and women aged 40-69 and ≥ 70 years.
Methods: Stochastic gradient boosting was employed to develop a model predicting 30-day mortality. Variable importance was assessed using normalized relative influence (NRI) scores. Variables in certain hospitals were used to train the models, and the models were tested in other hospitals.
Results: Key predictors included laboratory values (pH, base excess, pCO2, standard bicarbonate, oxygen saturation, lactate, CRP, and leukocytes), as well as age, triage category, and time to doctor consultation. The sensitivity of the models ranged from 86-97%, the specificity from 86-94%, and accuracy between 86% and 94%. The area under the curve (AUC) ranged from 0.84 to 0.93 and Cohen's kappa ranged from 0.34 to 0.45. Positive predictive values accurately identified mortality in 23% to 37% of cases across the four groups.
Conclusions: A machine learning model based on routinely collected data in the ED accurately predicted 30-day mortality with high specificity and sensitivity. This approach shows promise in identifying high-risk patients requiring close monitoring and timely interventions.
期刊介绍:
Cardiovascular Diabetology is a journal that welcomes manuscripts exploring various aspects of the relationship between diabetes, cardiovascular health, and the metabolic syndrome. We invite submissions related to clinical studies, genetic investigations, experimental research, pharmacological studies, epidemiological analyses, and molecular biology research in this field.