Predicting Thirty-Day Hospital Readmission in Patients with Diabetes Using Machine Learning and Electronic Health Record Data

dc.contributor.authorAnthony, N. N.
dc.date.accessioned2026-11-19T05:13:37Z
dc.date.issued2026
dc.description.abstractHospital readmission within thirty days of discharge is a key indicator of care quality and a major source of avoidable cost, and patients with diabetes are readmitted more often than the general inpatient population owing to complex glycaemic management, comorbidities and demanding medication regimens. This study develops and compares machine learning models to predict, at discharge, thirty-day readmission risk in patients with diabetes from electronic health record data, to identify its strongest predictors, and to explore whether such an accessible, open source approach might be feasible in low and middle income or data limited settings. The publicly available Diabetes 130US Hospitals dataset, comprising 101,766 inpatient encounters from 71,518 patients across 50 variables, was used. Encounters ending in death or hospice discharge were excluded, and only each patient's first encounter was retained to avoid dependence between records. After removing variables with extensive missing data, grouping diagnosis codes into clinical categories and encoding categorical variables, 69,987 encounters and 96 features remained. Readmission was modelled as a binary outcome, and the data were split 80:20 with stratification. Logistic Regression, Random Forest and Extreme Gradient Boosting were trained with class imbalance weighting and evaluated by accuracy, precision, recall, F1 score, and area under the ROC curve (AUC). The ensemble models outperformed the logistic regression baseline, with Extreme Gradient Boosting achieving the highest discrimination (AUC 0.646); recall and AUC were prioritized over accuracy given the class imbalance. By permutation importance on this model, discharge disposition, prior inpatient visits, primary diagnosis, length of stay, number of medications and age were the most influential predictors. The model relied on routinely collected administrative variables rather than costly laboratory tests, which were substantially incomplete and not among the leading predictors. This suggests potential feasibility for lower resource settings; however, as the data originate from US hospitals, this remains a hypothesis requiring local retraining and external validation.
dc.identifier.citationAnthony, N. N. (2026). Predicting Thirty-Day Hospital Readmission in Patients with Diabetes Using Machine Learning and Electronic Health Record Data. Proceedings of the University of Colombo International Conference (UCIC) 2026, University of Colombo, Sri Lanka, p.6. https://doi.org/10.66281/70130/9339
dc.identifier.isbn978-624-5518-87-6
dc.identifier.urihttps://archive.cmb.ac.lk/handle/70130/9339
dc.identifier.urihttps://doi.org/10.66281/70130/9339
dc.language.isoen
dc.publisherUniversity of Colombo
dc.subjectDiabetes
dc.subjectHospital readmission
dc.subjectMachine learning
dc.subjectElectronic health records
dc.subjectPredictive modeling
dc.titlePredicting Thirty-Day Hospital Readmission in Patients with Diabetes Using Machine Learning and Electronic Health Record Data
dc.typeArticle

Files

Original bundle

Now showing 1 - 1 of 1
Loading...
Thumbnail Image
Name:
6.pdf
Size:
162.27 KB
Format:
Adobe Portable Document Format

License bundle

Now showing 1 - 1 of 1
Loading...
Thumbnail Image
Name:
license.txt
Size:
1.71 KB
Format:
Item-specific license agreed upon to submission
Description: