{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,7,9]],"date-time":"2026-07-09T19:30:27Z","timestamp":1783625427703,"version":"3.55.0"},"reference-count":46,"publisher":"Public Library of Science (PLoS)","issue":"12","license":[{"start":{"date-parts":[[2025,12,26]],"date-time":"2025-12-26T00:00:00Z","timestamp":1766707200000},"content-version":"vor","delay-in-days":0,"URL":"http:\/\/creativecommons.org\/licenses\/by\/4.0\/"}],"funder":[{"DOI":"10.13039\/501100007129","name":"Natural Science Foundation of Shandong Province","doi-asserted-by":"publisher","award":["ZR2022MF272"],"award-info":[{"award-number":["ZR2022MF272"]}],"id":[{"id":"10.13039\/501100007129","id-type":"DOI","asserted-by":"publisher"}]},{"name":"Special Professor Support Program of Shandong Jianzhu University","award":["X22049Z"],"award-info":[{"award-number":["X22049Z"]}]}],"content-domain":{"domain":["www.plosone.org"],"crossmark-restriction":false},"short-container-title":["PLoS One"],"abstract":"<jats:p>The management of blood glucose in hospitalized patients is confined to retrospective interventions, preventing healthcare professionals from predicting patients\u2019 blood glucose levels and potential adverse events in advance. This study employs a deep learning model, specifically a Stacked Attention-Gated Recurrent Unit (SA-GRU) network, to forecast short-term blood glucose (BG) levels and predict adverse events in hospitalized patients, assisting clinicians in making clinical decisions. We collect continuous glucose monitoring(CGM) data from 196 hospitalized patients with type 2 diabetes, and by constructing and training this deep learning model, we predict blood glucose levels and adverse events.The model\u2019s predictions are then compared with the actual CGM data, and different evaluation metrics are used to assess the predictions of blood glucose levels and adverse events. Additionally, experiments were conducted on another publicly available type 2 diabetes dataset. On our collected data, for the 30-minute prediction, the root mean square error (RMSE) and mean absolute relative difference (MARD) of blood glucose are 4.27\u2009\u00b1\u20090.31\u2009mg\/dL and 1.77%\u2009\u00b1\u20090.08%, respectively, with an adverse event classification accuracy of 98.57%\u2009\u00b1\u20090.11%. For the 60-minute prediction, the RMSE and MARD of blood glucose are 10.46\u2009\u00b1\u20090.55\u2009mg\/dL and 4.59%\u2009\u00b1\u20090.22%, respectively, with an adverse event classification accuracy of 95.74%\u2009\u00b1\u20090.33%. Similar positive results were obtained on another publicly available dataset. The proposed model demonstrates accurate predictions for blood glucose values and adverse events in the next 30 and 60 minutes.<\/jats:p>","DOI":"10.1371\/journal.pone.0339360","type":"journal-article","created":{"date-parts":[[2025,12,26]],"date-time":"2025-12-26T18:29:57Z","timestamp":1766773797000},"page":"e0339360","update-policy":"https:\/\/doi.org\/10.1371\/journal.pone.corrections_policy","source":"Crossref","is-referenced-by-count":1,"title":["Intelligent glucose management in hospitalized patients: Short-term glucose and adverse events prediction"],"prefix":"10.1371","volume":"20","author":[{"given":"Jian","family":"Xue","sequence":"first","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Huaimin","family":"Cao","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Lu","family":"Yang","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Jiajia","family":"Liu","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Ying","family":"Zhang","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Chunlei","family":"Zhang","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Ke","family":"Bai","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Peng","family":"Jiang","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0003-1820-3490","authenticated-orcid":true,"given":"Fanchang","family":"Hao","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"LiNa","family":"Xu","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"340","published-online":{"date-parts":[[2025,12,26]]},"reference":[{"key":"pone.0339360.ref001","doi-asserted-by":"crossref","first-page":"109119","DOI":"10.1016\/j.diabres.2021.109119","article-title":"IDF Diabetes Atlas: Global, regional and country-level diabetes prevalence estimates for 2021 and projections for 2045","volume":"183","author":"H Sun","year":"2022","journal-title":"Diabetes Res Clin Pract"},{"key":"pone.0339360.ref002","article-title":"16. Diabetes Care in the Hospital: Standards of Care in Diabetes-2023","volume":"46","author":"NA ElSayed","year":"2023","journal-title":"Diabetes Care"},{"issue":"2","key":"pone.0339360.ref003","doi-asserted-by":"crossref","first-page":"77","DOI":"10.1177\/014860719802200277","article-title":"Early postoperative glucose control predicts nosocomial infection rate in diabetic patients","volume":"22","author":"JJ Pomposelli","year":"1998","journal-title":"JPEN J Parenter Enteral Nutr"},{"issue":"10","key":"pone.0339360.ref004","doi-asserted-by":"crossref","first-page":"2426","DOI":"10.1161\/hs1001.096194","article-title":"Stress hyperglycemia and prognosis of stroke in nondiabetic and diabetic patients: a systematic overview","volume":"32","author":"SE Capes","year":"2001","journal-title":"Stroke"},{"issue":"3","key":"pone.0339360.ref005","first-page":"219","article-title":"Diabetes and coronary artery bypass surgery. An examination of perioperative glycemic control and outcomes","volume":"4","author":"FA McAlister","year":"2003","journal-title":"Clinical Diabetology"},{"key":"pone.0339360.ref006","article-title":"Mortality and causes of death in the WHO Multinational Study of Vascular Disease in Diabetes","author":"NJ Morrish","year":"2001","journal-title":"Diabetologia"},{"issue":"3","key":"pone.0339360.ref007","doi-asserted-by":"crossref","first-page":"174","DOI":"10.1016\/S2213-8587(20)30381-8","article-title":"Management of diabetes and hyperglycaemia in the hospital","volume":"9","author":"FJ Pasquel","year":"2021","journal-title":"Lancet Diabetes Endocrinol"},{"issue":"3","key":"pone.0339360.ref008","doi-asserted-by":"crossref","first-page":"560","DOI":"10.1177\/1932296820918540","article-title":"Inpatient Hypoglycemia: The Challenge Remains","volume":"14","author":"P Cruz","year":"2020","journal-title":"J Diabetes Sci Technol"},{"issue":"1","key":"pone.0339360.ref009","doi-asserted-by":"crossref","first-page":"79","DOI":"10.1016\/j.ecl.2019.11.002","article-title":"Diabetes Technology in the Inpatient Setting for Management of Hyperglycemia","volume":"49","author":"GM Davis","year":"2020","journal-title":"Endocrinol Metab Clin North Am"},{"issue":"8","key":"pone.0339360.ref010","doi-asserted-by":"crossref","first-page":"1579","DOI":"10.2337\/dci18-0002","article-title":"Diabetes Technology Update: Use of Insulin Pumps and Continuous Glucose Monitoring in the Hospital","volume":"41","author":"GE Umpierrez","year":"2018","journal-title":"Diabetes Care"},{"issue":"5","key":"pone.0339360.ref011","doi-asserted-by":"crossref","first-page":"1036","DOI":"10.1177\/1932296817706151","article-title":"Consensus Statement on Inpatient Use of Continuous Glucose Monitoring","volume":"11","author":"A Wallia","year":"2017","journal-title":"J Diabetes Sci Technol"},{"issue":"1","key":"pone.0339360.ref012","doi-asserted-by":"crossref","first-page":"197","DOI":"10.1186\/s13054-017-1784-0","article-title":"Continuous glucose monitoring in the ICU: clinical considerations and consensus","volume":"21","author":"JS Krinsley","year":"2017","journal-title":"Crit Care"},{"key":"pone.0339360.ref013","article-title":"7. Diabetes Technology: Standards of Care in Diabetes-2023","volume":"46","author":"NA ElSayed","year":"2023","journal-title":"Diabetes Care"},{"issue":"1","key":"pone.0339360.ref014","doi-asserted-by":"crossref","first-page":"015001","DOI":"10.1088\/1361-6579\/aaf34d","article-title":"Detecting and interpreting myocardial infarction using fully convolutional neural networks","volume":"40","author":"N Strodthoff","year":"2019","journal-title":"Physiol Meas"},{"issue":"4","key":"pone.0339360.ref015","doi-asserted-by":"crossref","DOI":"10.1088\/1361-6579\/ab840a","article-title":"Feasible assessment of recovery and cardiovascular health: accuracy of nocturnal HR and HRV assessed via ring PPG in comparison to medical grade ECG","volume":"41","author":"H Kinnunen","year":"2020","journal-title":"Physiol Meas"},{"issue":"5","key":"pone.0339360.ref016","doi-asserted-by":"crossref","DOI":"10.1088\/1361-6579\/abf9f3","article-title":"Deep learning-based photoplethysmography classification for peripheral arterial disease detection: a proof-of-concept study","volume":"42","author":"J Allen","year":"2021","journal-title":"Physiol Meas"},{"issue":"3","key":"pone.0339360.ref017","doi-asserted-by":"crossref","DOI":"10.1088\/1361-6579\/acbc06","article-title":"SchizoNET: a robust and accurate Margenau-Hill time-frequency distribution based deep neural network model for schizophrenia detection using EEG signals","volume":"44","author":"SK Khare","year":"2023","journal-title":"Physiol Meas"},{"key":"pone.0339360.ref018","doi-asserted-by":"crossref","first-page":"109","DOI":"10.1016\/j.artmed.2019.07.007","article-title":"Data-driven modeling and prediction of blood glucose dynamics: Machine learning applications in type 1 diabetes","volume":"98","author":"AZ Woldaregay","year":"2019","journal-title":"Artif Intell Med"},{"issue":"3","key":"pone.0339360.ref019","doi-asserted-by":"crossref","first-page":"229","DOI":"10.1089\/pop.2018.0129","article-title":"Transforming Diabetes Care Through Artificial Intelligence: The Future Is Here","volume":"22","author":"I Dankwa-Mullan","year":"2019","journal-title":"Popul Health Manag"},{"issue":"5","key":"pone.0339360.ref020","doi-asserted-by":"crossref","DOI":"10.2196\/10775","article-title":"Artificial Intelligence for Diabetes Management and Decision Support: Literature Review","volume":"20","author":"I Contreras","year":"2018","journal-title":"J Med Internet Res"},{"key":"pone.0339360.ref021","doi-asserted-by":"crossref","first-page":"1066744","DOI":"10.3389\/fcdhc.2022.1066744","article-title":"Hypoglycemia event prediction from CGM using ensemble learning","volume":"3","author":"J Fleischer","year":"2022","journal-title":"Front Clin Diabetes Healthc"},{"issue":"1","key":"pone.0339360.ref022","doi-asserted-by":"crossref","first-page":"35","DOI":"10.1038\/s41597-023-01940-7","article-title":"Chinese diabetes datasets for data-driven machine learning","volume":"10","author":"Q Zhao","year":"2023","journal-title":"Sci Data"},{"key":"pone.0339360.ref023","doi-asserted-by":"crossref","first-page":"116","DOI":"10.1109\/RBME.2020.3007816","article-title":"Machine Learning for Clinical Outcome Prediction","volume":"14","author":"F Shamout","year":"2021","journal-title":"IEEE Rev Biomed Eng"},{"issue":"1","key":"pone.0339360.ref024","doi-asserted-by":"crossref","first-page":"20495","DOI":"10.1038\/s41598-020-77599-6","article-title":"Artificial intelligence algorithm for detecting myocardial infarction using six-lead electrocardiography","volume":"10","author":"Y Cho","year":"2020","journal-title":"Scientific Reports"},{"key":"pone.0339360.ref025","doi-asserted-by":"crossref","first-page":"105524","DOI":"10.1016\/j.asoc.2019.105524","article-title":"Investigating the impact of data normalization on classification performance","volume":"97","author":"D Singh","year":"2020","journal-title":"Applied Soft Computing"},{"key":"pone.0339360.ref026","article-title":"6. Glycemic Goals and Hypoglycemia: Standards of Care in Diabetes-2024","volume":"47","author":"American Diabetes Association Professional Practice Committee","year":"2024","journal-title":"Diabetes Care"},{"issue":"11","key":"pone.0339360.ref027","doi-asserted-by":"crossref","first-page":"2673","DOI":"10.1109\/78.650093","article-title":"Bidirectional recurrent neural networks","volume":"45","author":"M Schuster","year":"1997","journal-title":"IEEE Trans Signal Process"},{"issue":"8","key":"pone.0339360.ref028","doi-asserted-by":"crossref","first-page":"1735","DOI":"10.1162\/neco.1997.9.8.1735","article-title":"Long short-term memory","volume":"9","author":"S Hochreiter","year":"1997","journal-title":"Neural Comput"},{"key":"pone.0339360.ref029","author":"K Cho","year":"2014","journal-title":"Learning phrase representations using RNN encoder-decoder for statistical machine translation"},{"key":"pone.0339360.ref030","article-title":"Squeeze-and-excitation networks","author":"J Hu","year":"2018","journal-title":"Proceedings of the IEEE conference on computer vision and pattern recognition"},{"issue":"12","key":"pone.0339360.ref031","doi-asserted-by":"crossref","first-page":"1631","DOI":"10.2337\/dc17-1600","article-title":"International Consensus on Use of Continuous Glucose Monitoring","volume":"40","author":"T Danne","year":"2017","journal-title":"Diabetes Care"},{"issue":"5","key":"pone.0339360.ref032","doi-asserted-by":"crossref","first-page":"776","DOI":"10.1089\/dia.2005.7.776","article-title":"The original Clarke Error Grid Analysis (EGA)","volume":"7","author":"WL Clarke","year":"2005","journal-title":"Diabetes Technol Ther"},{"key":"pone.0339360.ref033","article-title":"Support vector regression machines","author":"H Drucker","year":"1996","journal-title":"Advances in neural information processing systems"},{"key":"pone.0339360.ref034","article-title":"Xgboost: A scalable tree boosting system","author":"T Chen","year":"2016","journal-title":"Proceedings of the 22nd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining"},{"key":"pone.0339360.ref035","doi-asserted-by":"crossref","first-page":"104552","DOI":"10.1016\/j.bspc.2022.104552","article-title":"Short-term prediction method of blood glucose based on temporal multi-head attention mechanism for diabetic patients","volume":"82","author":"G Yang","year":"2023","journal-title":"Biomedical Signal Processing and Control"},{"issue":"5","key":"pone.0339360.ref036","doi-asserted-by":"crossref","first-page":"3706","DOI":"10.1109\/JIOT.2022.3143375","article-title":"IoMT-Enabled Real-Time Blood Glucose Prediction With Deep Learning and Edge Computing","volume":"10","author":"T Zhu","year":"2023","journal-title":"IEEE Internet Things J"},{"issue":"1","key":"pone.0339360.ref037","doi-asserted-by":"crossref","first-page":"101","DOI":"10.1186\/s12911-021-01462-5","article-title":"Stacked LSTM based deep recurrent neural network with kalman smoothing for blood glucose prediction","volume":"21","author":"MF Rabby","year":"2021","journal-title":"BMC Med Inform Decis Mak"},{"issue":"10","key":"pone.0339360.ref038","doi-asserted-by":"crossref","first-page":"9333","DOI":"10.1007\/s13369-020-05263-2","article-title":"Personalized Advanced Time Blood Glucose Level Prediction","volume":"46","author":"A \u015eahin","year":"2021","journal-title":"Arab J Sci Eng"},{"issue":"21","key":"pone.0339360.ref039","doi-asserted-by":"crossref","first-page":"7090","DOI":"10.3390\/s21217090","article-title":"Ensemble Models of Cutting-Edge Deep Neural Networks for Blood Glucose Prediction in Patients with Diabetes","volume":"21","author":"F Tena","year":"2021","journal-title":"Sensors (Basel)"},{"issue":"1","key":"pone.0339360.ref040","doi-asserted-by":"crossref","first-page":"436","DOI":"10.1109\/JBHI.2021.3100558","article-title":"A Multitask Learning Approach to Personalized Blood Glucose Prediction","volume":"26","author":"J Daniels","year":"2022","journal-title":"IEEE J Biomed Health Inform"},{"issue":"22","key":"pone.0339360.ref041","doi-asserted-by":"crossref","first-page":"6460","DOI":"10.3390\/s20226460","article-title":"Developing an Individual Glucose Prediction Model Using Recurrent Neural Network","volume":"20","author":"D-Y Kim","year":"2020","journal-title":"Sensors (Basel)"},{"issue":"14","key":"pone.0339360.ref042","doi-asserted-by":"crossref","first-page":"3896","DOI":"10.3390\/s20143896","article-title":"Deep Physiological Model for Blood Glucose Prediction in T1DM Patients","volume":"20","author":"M Munoz-Organero","year":"2020","journal-title":"Sensors (Basel)"},{"issue":"2","key":"pone.0339360.ref043","doi-asserted-by":"crossref","first-page":"603","DOI":"10.1109\/JBHI.2019.2908488","article-title":"Convolutional Recurrent Neural Networks for Glucose Prediction","volume":"24","author":"K Li","year":"2020","journal-title":"IEEE J Biomed Health Inform"},{"issue":"16","key":"pone.0339360.ref044","doi-asserted-by":"crossref","first-page":"5273","DOI":"10.3390\/s21165273","article-title":"Using Absorption Models for Insulin and Carbohydrates and Deep Leaning to Improve Glucose Level Predictions","volume":"21","author":"L Mart\u00ednez-Delgado","year":"2021","journal-title":"Sensors (Basel)"},{"issue":"9","key":"pone.0339360.ref045","doi-asserted-by":"crossref","first-page":"142","DOI":"10.1007\/s10916-017-0788-2","article-title":"Data Based Prediction of Blood Glucose Concentrations Using Evolutionary Methods","volume":"41","author":"JI Hidalgo","year":"2017","journal-title":"J Med Syst"},{"issue":"6","key":"pone.0339360.ref046","doi-asserted-by":"crossref","first-page":"1383","DOI":"10.1177\/193229681200600618","article-title":"Minimizing the impact of time lag variability on accuracy evaluation of continuous glucose monitoring systems","volume":"6","author":"C Scuffi","year":"2012","journal-title":"J Diabetes Sci Technol"}],"container-title":["PLOS One"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/dx.plos.org\/10.1371\/journal.pone.0339360","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,12,26]],"date-time":"2025-12-26T18:30:05Z","timestamp":1766773805000},"score":1,"resource":{"primary":{"URL":"https:\/\/dx.plos.org\/10.1371\/journal.pone.0339360"}},"subtitle":[],"editor":[{"given":"Yusuf Oloruntoyin","family":"Ayipo","sequence":"first","affiliation":[],"role":[{"vocabulary":"crossref","role":"editor"}]}],"short-title":[],"issued":{"date-parts":[[2025,12,26]]},"references-count":46,"journal-issue":{"issue":"12","published-online":{"date-parts":[[2025,12,26]]}},"URL":"https:\/\/doi.org\/10.1371\/journal.pone.0339360","relation":{},"ISSN":["1932-6203"],"issn-type":[{"value":"1932-6203","type":"electronic"}],"subject":[],"published":{"date-parts":[[2025,12,26]]}}}