{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2025,10,10]],"date-time":"2025-10-10T01:15:20Z","timestamp":1760058920510,"version":"build-2065373602"},"reference-count":54,"publisher":"MDPI AG","issue":"5","license":[{"start":{"date-parts":[[2025,5,5]],"date-time":"2025-05-05T00:00:00Z","timestamp":1746403200000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0\/"}],"funder":[{"DOI":"10.13039\/501100004351","name":"College of Medicine and Health Sciences, Sultan Qaboos University, Muscat, Oman","doi-asserted-by":"publisher","award":["RF\/MED\/MEDE\/24\/02"],"award-info":[{"award-number":["RF\/MED\/MEDE\/24\/02"]}],"id":[{"id":"10.13039\/501100004351","id-type":"DOI","asserted-by":"publisher"}]}],"content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["Computers"],"abstract":"<jats:p>Background\/Objectives: Hospital readmissions within 30 days are a major challenge in general internal medicine (GIM), impacting patient outcomes and healthcare costs. This study aimed to develop and evaluate machine learning (ML) models for predicting 30-day readmissions in patients admitted under a GIM unit and to identify key predictors to guide targeted interventions. Methods: A prospective study was conducted on 443 patients admitted to the Unit of General Internal Medicine at Sultan Qaboos University Hospital between May and September 2023. Sixty-two variables were collected, including demographics, comorbidities, laboratory markers, vital signs, and medication data. Data preprocessing included handling missing values, standardizing continuous variables, and applying one-hot encoding to categorical variables. Four ML models\u2014logistic regression, random forest, gradient boosting, and support vector machine (SVM)\u2014were trained and evaluated. An ensemble model combining soft voting and weighted voting was developed to enhance performance, particularly recall. Results: The overall 30-day readmission rate was 14.2%. Among all models, logistic regression had the highest clinical relevance due to its balanced recall (70.6%) and area under the curve (AUC = 0.735). While random forest and SVM models showed higher precision, they had lower recall compared to logistic regression. The ensemble model improved recall to 70.6% through adjusted thresholds and model weighting, though precision declined. The most significant predictors of readmission included length of hospital stay, weight, age, number of medications, and abnormalities in liver enzymes. Conclusions: ML models, particularly ensemble approaches, can effectively predict 30-day readmissions in GIM patients. Tailored interventions using key predictors may help reduce readmission rates, although model calibration is essential to optimize performance trade-offs.<\/jats:p>","DOI":"10.3390\/computers14050177","type":"journal-article","created":{"date-parts":[[2025,5,5]],"date-time":"2025-05-05T03:05:15Z","timestamp":1746414315000},"page":"177","update-policy":"https:\/\/doi.org\/10.3390\/mdpi_crossmark_policy","source":"Crossref","is-referenced-by-count":0,"title":["Development and Evaluation of a Machine Learning Model for Predicting 30-Day Readmission in General Internal Medicine"],"prefix":"10.3390","volume":"14","author":[{"ORCID":"https:\/\/orcid.org\/0000-0003-2077-7186","authenticated-orcid":false,"given":"Abdullah M.","family":"Al Alawi","sequence":"first","affiliation":[{"name":"Department of Medicine, Sultan Qaboos University Hospital, P.O. Box 141, Muscat 123, Oman"},{"name":"Internal Medicine Residency Program, Oman Medical Speciality Board, Muscat 132, Oman"}]},{"given":"Mariya","family":"Al Abdali","sequence":"additional","affiliation":[{"name":"Internal Medicine Residency Program, Oman Medical Speciality Board, Muscat 132, Oman"}]},{"given":"Al Zahraa Ahmed","family":"Al Mezeini","sequence":"additional","affiliation":[{"name":"Internal Medicine Residency Program, Oman Medical Speciality Board, Muscat 132, Oman"}]},{"ORCID":"https:\/\/orcid.org\/0009-0002-1928-2661","authenticated-orcid":false,"given":"Thuraiya","family":"Al Rawahia","sequence":"additional","affiliation":[{"name":"Royal College of Surgeons in Ireland, Muharraq 228, Bahrain"}]},{"given":"Eid","family":"Al Amri","sequence":"additional","affiliation":[{"name":"College of Medicine and Health Sciences, Sultan Qaboos University, Muscat 123, Oman"}]},{"given":"Maisam","family":"Al Salmani","sequence":"additional","affiliation":[{"name":"College of Medicine and Health Sciences, Sultan Qaboos University, Muscat 123, Oman"}]},{"given":"Zubaida","family":"Al-Falahi","sequence":"additional","affiliation":[{"name":"Department of Medicine, Sultan Qaboos University Hospital, P.O. Box 141, Muscat 123, Oman"}]},{"ORCID":"https:\/\/orcid.org\/0000-0003-4290-1272","authenticated-orcid":false,"given":"Adhari","family":"Al Zaabi","sequence":"additional","affiliation":[{"name":"Human & Clinical Anatomy, College of Medicine and Health Sciences, Sultan Qaboos University, Muscat 123, Oman"}]},{"given":"Amira","family":"Al Aamri","sequence":"additional","affiliation":[{"name":"College of Economics and Political Science, Sultan Qaboos University, Muscat 123, Oman"}]},{"given":"Hatem","family":"Al Farhan","sequence":"additional","affiliation":[{"name":"Department of Medicine, Sultan Qaboos University Hospital, P.O. Box 141, Muscat 123, Oman"},{"name":"Internal Medicine Residency Program, Oman Medical Speciality Board, Muscat 132, Oman"}]},{"ORCID":"https:\/\/orcid.org\/0000-0001-5309-7780","authenticated-orcid":false,"given":"Juhaina Salim","family":"Al Maqbali","sequence":"additional","affiliation":[{"name":"Department of Pharmacology and Clinical Pharmacy, College of Medicine and Health Sciences, Sultan Qaboos University, Muscat 123, Oman"},{"name":"Department of Pharmacy, Sultan Qaboos University Hospital, University Medical City, Muscat 123, Oman"}]}],"member":"1968","published-online":{"date-parts":[[2025,5,5]]},"reference":[{"key":"ref_1","doi-asserted-by":"crossref","first-page":"479","DOI":"10.1111\/j.1525-1497.2004.45006.x","article-title":"Hospital care of general medicine patients: The importance of evidence","volume":"19","author":"Meltzer","year":"2004","journal-title":"J. Gen. Intern. Med."},{"key":"ref_2","doi-asserted-by":"crossref","unstructured":"Sun, C.H., Chou, Y.Y., Lee, Y.S., Weng, S.C., Lin, C.F., Kuo, F.H., Hsu, P.S., and Lin, S.Y. (2022). Prediction of 30-Day Readmission in Hospitalized Older Adults Using Comprehensive Geriatric Assessment and LACE Index and HOSPITAL Score. Int. J. Environ. Res. Public. Health, 20.","DOI":"10.3390\/ijerph20010348"},{"key":"ref_3","doi-asserted-by":"crossref","first-page":"e423","DOI":"10.5001\/omj.2022.91","article-title":"Incidence and Risk Factors for 28 Days Hospital Readmission: A Retrospective Study from Oman","volume":"37","author":"Yusuf","year":"2022","journal-title":"Oman Med. J."},{"key":"ref_4","doi-asserted-by":"crossref","first-page":"370","DOI":"10.1002\/hpm.2648","article-title":"Predictors of hospital readmissions in internal medicine patients: Application of Andersen\u2019s Model","volume":"34","author":"Kaya","year":"2019","journal-title":"Int. J. Health Plann. Manag."},{"key":"ref_5","doi-asserted-by":"crossref","first-page":"269","DOI":"10.1007\/s11606-012-2235-x","article-title":"Impact of social factors on risk of readmission or mortality in pneumonia and heart failure: Systematic review","volume":"28","author":"Arnold","year":"2013","journal-title":"J. Gen. Intern. Med."},{"key":"ref_6","doi-asserted-by":"crossref","first-page":"823","DOI":"10.1016\/j.amjmed.2016.03.007","article-title":"The Economic Burden of Hyponatremia: Systematic Review and Meta-Analysis","volume":"129","author":"Corona","year":"2016","journal-title":"Am. J. Med."},{"key":"ref_7","first-page":"e253","article-title":"Association between length of stay and readmission for COPD","volume":"23","author":"Rinne","year":"2017","journal-title":"Am. J. Manag. Care"},{"key":"ref_8","doi-asserted-by":"crossref","unstructured":"Fry, B.A., Singh Rajput, K., and Selvaraj, N. (2021, January 1\u20135). Patient Ambulations Predict Hospital Readmission. Proceedings of the 2021 43rd Annual International Conference of the IEEE Engineering in Medicine & Biology Society (EMBC), Guadalajara, Mexico.","DOI":"10.1109\/EMBC46164.2021.9629647"},{"key":"ref_9","doi-asserted-by":"crossref","first-page":"500","DOI":"10.1590\/0034-7167.2016690312i","article-title":"Association between self-care and hospital readmissions of patients with heart failure","volume":"69","author":"Linn","year":"2016","journal-title":"Rev. Bras. Enferm."},{"key":"ref_10","doi-asserted-by":"crossref","first-page":"101","DOI":"10.1519\/JPT.0000000000000243","article-title":"Frailty and Function in Heart Failure: Predictors of 30-Day Hospital Readmission?","volume":"44","author":"Keeney","year":"2021","journal-title":"J. Geriatr. Phys. Ther."},{"key":"ref_11","doi-asserted-by":"crossref","first-page":"108465","DOI":"10.1016\/j.jsat.2021.108465","article-title":"Association between discharges against medical advice and readmission in patients treated for drug injection-related skin and soft tissue infections","volume":"126","author":"Hazen","year":"2021","journal-title":"J. Subst. Abuse Treat."},{"key":"ref_12","doi-asserted-by":"crossref","first-page":"211","DOI":"10.1007\/s11606-009-1196-1","article-title":"Hospital readmission in general medicine patients: A prediction model","volume":"25","author":"Hasan","year":"2010","journal-title":"J. Gen. Intern. Med."},{"key":"ref_13","doi-asserted-by":"crossref","first-page":"56","DOI":"10.1071\/AH14025","article-title":"Identifying risk factors and patterns for unplanned readmission to a general medical service","volume":"39","author":"Li","year":"2015","journal-title":"Aust. Health Rev."},{"key":"ref_14","doi-asserted-by":"crossref","first-page":"469580211060779","DOI":"10.1177\/00469580211060779","article-title":"Laboratory and Pharmaceutical Data Associated With Hospital Readmission in Persons With Diabetic Foot Ulcers","volume":"58","author":"Myers","year":"2021","journal-title":"Inquiry"},{"key":"ref_15","doi-asserted-by":"crossref","first-page":"776","DOI":"10.1016\/j.ejim.2015.09.020","article-title":"Characteristics and temporal pattern of the readmissions of patients with multiple hospital admissions in the medical departments of a general hospital","volume":"26","year":"2015","journal-title":"Eur. J. Intern. Med."},{"key":"ref_16","first-page":"686","article-title":"Single Admission C-reactive protein Levels as a Sole Predictor of Patient Flow and Clinical Course in a General Internal Medicine Department","volume":"21","author":"Goltzman","year":"2019","journal-title":"Isr. Med. Assoc. J."},{"key":"ref_17","doi-asserted-by":"crossref","first-page":"632","DOI":"10.1001\/jamainternmed.2013.3023","article-title":"Potentially avoidable 30-day hospital readmissions in medical patients: Derivation and validation of a prediction model","volume":"173","author":"Aujesky","year":"2013","journal-title":"JAMA Intern. Med."},{"key":"ref_18","doi-asserted-by":"crossref","first-page":"342","DOI":"10.1213\/ANE.0000000000003671","article-title":"Discharge Hemoglobin Level and 30-Day Readmission Rates After Coronary Artery Bypass Surgery","volume":"128","author":"Cho","year":"2019","journal-title":"Anesth. Analg."},{"key":"ref_19","doi-asserted-by":"crossref","first-page":"166","DOI":"10.1136\/bmjebm-2019-111271","article-title":"HOSPITAL Score, LACE Index and LACE+ Index as predictors of 30-day readmission in patients with heart failure","volume":"25","author":"Ibrahim","year":"2020","journal-title":"BMJ Evid. Based Med."},{"key":"ref_20","doi-asserted-by":"crossref","first-page":"903","DOI":"10.1002\/ehf2.12587","article-title":"Hypochloraemia and 30 day readmission rate in patients with acute decompensated heart failure","volume":"7","author":"Marchenko","year":"2020","journal-title":"ESC Heart Fail."},{"key":"ref_21","doi-asserted-by":"crossref","first-page":"413","DOI":"10.1016\/j.eprac.2021.01.008","article-title":"The Association of Diabetes and Hyperglycemia on Inpatient Readmissions","volume":"27","author":"Eiland","year":"2021","journal-title":"Endocr. Pract."},{"key":"ref_22","doi-asserted-by":"crossref","first-page":"3679","DOI":"10.1210\/jc.2018-02575","article-title":"Association of Glucose Concentrations at Hospital Discharge With Readmissions and Mortality: A Nationwide Cohort Study","volume":"104","author":"Spanakis","year":"2019","journal-title":"J. Clin. Endocrinol. Metab."},{"key":"ref_23","doi-asserted-by":"crossref","first-page":"12","DOI":"10.1161\/CIRCHEARTFAILURE.113.000429","article-title":"Association of heart rate at hospital discharge with mortality and hospitalizations in patients with heart failure","volume":"7","author":"Habal","year":"2014","journal-title":"Circ. Heart Fail."},{"key":"ref_24","doi-asserted-by":"crossref","first-page":"625","DOI":"10.1016\/j.ijcard.2016.12.041","article-title":"Combining heart rate and systolic blood pressure to improve risk stratification in older patients with heart failure: Findings from the RICA Registry","volume":"230","author":"Manzano","year":"2017","journal-title":"Int. J. Cardiol."},{"key":"ref_25","first-page":"4557","article-title":"Hospital readmissions to internal medicine departments: A higher risk for females?","volume":"20","author":"Boari","year":"2016","journal-title":"Eur. Rev. Med. Pharmacol. Sci."},{"key":"ref_26","doi-asserted-by":"crossref","first-page":"484","DOI":"10.1001\/jamainternmed.2015.7863","article-title":"Preventability and Causes of Readmissions in a National Cohort of General Medicine Patients","volume":"176","author":"Auerbach","year":"2016","journal-title":"JAMA Intern. Med."},{"key":"ref_27","doi-asserted-by":"crossref","first-page":"00325-2019","DOI":"10.1183\/23120541.00325-2019","article-title":"Predicting and preventing hospital readmission for exacerbations of COPD","volume":"6","author":"Kong","year":"2020","journal-title":"ERJ Open Res."},{"key":"ref_28","doi-asserted-by":"crossref","first-page":"m958","DOI":"10.1136\/bmj.m958","article-title":"Use of electronic medical records in development and validation of risk prediction models of hospital readmission: Systematic review","volume":"369","author":"Mahmoudi","year":"2020","journal-title":"BMJ"},{"key":"ref_29","doi-asserted-by":"crossref","first-page":"1688","DOI":"10.1001\/jama.2011.1515","article-title":"Risk prediction models for hospital readmission: A systematic review","volume":"306","author":"Kansagara","year":"2011","journal-title":"JAMA"},{"key":"ref_30","doi-asserted-by":"crossref","first-page":"1076","DOI":"10.1016\/j.amjcard.2018.01.027","article-title":"Discharge Processes and 30-Day Readmission Rates of Patients Hospitalized for Heart Failure on General Medicine and Cardiology Services","volume":"121","author":"Salata","year":"2018","journal-title":"Am. J. Cardiol."},{"key":"ref_31","doi-asserted-by":"crossref","first-page":"784","DOI":"10.1093\/ageing\/afs073","article-title":"Predicting readmissions: Poor performance of the LACE index in an older UK population","volume":"41","author":"Cotter","year":"2012","journal-title":"Age Ageing"},{"key":"ref_32","doi-asserted-by":"crossref","first-page":"1041","DOI":"10.1007\/s40520-020-01609-w","article-title":"LACE index predicts age-specific unplanned readmissions and mortality after hospital discharge","volume":"33","author":"Heppleston","year":"2021","journal-title":"Aging Clin. Exp. Res."},{"key":"ref_33","doi-asserted-by":"crossref","unstructured":"Wang, H., Robinson, R.D., Johnson, C., Zenarosa, N.R., Jayswal, R.D., Keithley, J., and Delaney, K.A. (2014). Using the LACE index to predict hospital readmissions in congestive heart failure patients. BMC Cardiovasc. Disord., 14.","DOI":"10.1186\/1471-2261-14-97"},{"key":"ref_34","doi-asserted-by":"crossref","unstructured":"Jamei, M., Nisnevich, A., Wetchler, E., Sudat, S., and Liu, E. (2017). Predicting all-cause risk of 30-day hospital readmission using artificial neural networks. PLoS ONE, 12.","DOI":"10.1371\/journal.pone.0181173"},{"key":"ref_35","first-page":"174","article-title":"Inappropriate Hospital Stay of Patients Admitted Under Care of General Medicine Units: A retrospective study","volume":"1","year":"2022","journal-title":"Sultan Qaboos Univ. Med. J."},{"key":"ref_36","doi-asserted-by":"crossref","first-page":"54","DOI":"10.1002\/jhm.805","article-title":"Redefining readmission risk factors for general medicine patients","volume":"6","author":"Allaudeen","year":"2011","journal-title":"J. Hosp. Med."},{"key":"ref_37","doi-asserted-by":"crossref","unstructured":"Al-Maqbali, J.S., Taqi, A., Al-Ajmi, S., Al-Hamadani, B., Al-Hamadani, F., Bahram, F., Al-Balushi, K., Gamal, S., Al-Lawati, E., and Al Siyabi, B. (2022). The Impacts of Clinical Pharmacists\u2019 Interventions on Clinical Significance and Cost Avoidance in a Tertiary Care University Hospital in Oman: A Retrospective Analysis. Pharmacy, 10.","DOI":"10.3390\/pharmacy10050127"},{"key":"ref_38","doi-asserted-by":"crossref","first-page":"817","DOI":"10.1016\/j.hlc.2020.11.011","article-title":"Biomedical, Socioeconomic and Demographic Predictors of Heart Failure Readmissions: A Systematic Review","volume":"30","author":"Choi","year":"2021","journal-title":"Heart Lung Circ."},{"key":"ref_39","doi-asserted-by":"crossref","unstructured":"Huang, X., Liu, J., Zhang, L., Wang, B., Bai, X., Hu, S., Miao, F., Tian, A., Yang, T., and Li, Y. (2022). Systolic Blood Pressure and 1-Year Clinical Outcomes in Patients Hospitalized for Heart Failure. Front. Cardiovasc. Med., 9.","DOI":"10.3389\/fcvm.2022.877293"},{"key":"ref_40","doi-asserted-by":"crossref","first-page":"1575","DOI":"10.1038\/ajg.2017.253","article-title":"Predictors of Early Readmission in Patients With Cirrhosis After the Resolution of Bacterial Infections","volume":"112","author":"Piano","year":"2017","journal-title":"Am. J. Gastroenterol."},{"key":"ref_41","doi-asserted-by":"crossref","first-page":"331","DOI":"10.1016\/S1388-9842(02)00021-1","article-title":"C-reactive protein as a predictor of improvement and readmission in heart failure","volume":"4","year":"2002","journal-title":"Eur. J. Heart Fail."},{"key":"ref_42","doi-asserted-by":"crossref","first-page":"e1181","DOI":"10.7717\/peerj.1181","article-title":"Low serum albumin and total lymphocyte count as predictors of 30 day hospital readmission in patients 65 years of age or older","volume":"3","author":"Robinson","year":"2015","journal-title":"PeerJ"},{"key":"ref_43","doi-asserted-by":"crossref","first-page":"125","DOI":"10.1001\/archinte.1992.00400130135017","article-title":"Serum albumin level on admission as a predictor of death, length of stay, and readmission","volume":"152","author":"Herrmann","year":"1992","journal-title":"Arch. Intern. Med."},{"key":"ref_44","doi-asserted-by":"crossref","first-page":"202","DOI":"10.1097\/PTS.0000000000000138","article-title":"Magnitude of Anemia at Discharge Increases 30-Day Hospital Readmissions","volume":"13","author":"Koch","year":"2017","journal-title":"J. Patient Saf."},{"key":"ref_45","doi-asserted-by":"crossref","first-page":"4566936","DOI":"10.1155\/2022\/4566936","article-title":"Effect of Anemia on Readmission and Death in Octogenarian Patients with Lower Respiratory Tract Infections: A Retrospective Cohort Study","volume":"2022","author":"He","year":"2022","journal-title":"Int. J. Clin. Pract."},{"key":"ref_46","doi-asserted-by":"crossref","unstructured":"Irina, G., Refaela, C., Adi, B., Avia, D., Liron, H., Chen, A., and Gad, S. (2018). Low Blood ALT Activity and High FRAIL Questionnaire Scores Correlate with Increased Mortality and with Each Other. A Prospective Study in the Internal Medicine Department. J. Clin. Med., 7.","DOI":"10.3390\/jcm7110386"},{"key":"ref_47","doi-asserted-by":"crossref","first-page":"868","DOI":"10.1093\/jamia\/ocaa299","article-title":"A comparison of general and disease-specific machine learning models for the prediction of unplanned hospital readmissions","volume":"28","author":"Sutter","year":"2021","journal-title":"J. Am. Med. Inform. Assoc."},{"key":"ref_48","doi-asserted-by":"crossref","first-page":"51","DOI":"10.1038\/s41746-020-0249-z","article-title":"Personalized predictions of patient outcomes during and after hospitalization using artificial intelligence","volume":"3","author":"Hilton","year":"2020","journal-title":"NPJ Digit. Med."},{"key":"ref_49","doi-asserted-by":"crossref","unstructured":"Mahajan, P., Uddin, S., Hajati, F., and Moni, M.A. (2023). Ensemble Learning for Disease Prediction: A Review. Healthcare, 11.","DOI":"10.3390\/healthcare11121808"},{"key":"ref_50","first-page":"521","article-title":"Improving machine learning with ensemble learning on observational healthcare data","volume":"2023","author":"Naderalvojoud","year":"2023","journal-title":"AMIA Annu. Symp. Proc."},{"key":"ref_51","doi-asserted-by":"crossref","first-page":"2758","DOI":"10.1109\/JBHI.2022.3144870","article-title":"Blood Glucose Level Prediction: Advanced Deep-Ensemble Learning Approach","volume":"26","author":"Nemat","year":"2022","journal-title":"IEEE J. Biomed. Health Inform."},{"key":"ref_52","doi-asserted-by":"crossref","unstructured":"Ambalavanan, A.K., and Devarakonda, M. (2020). Using the contextual language model BERT for multi-criteria classification of scientific articles. J. Biomed. Inform., 112.","DOI":"10.1016\/j.jbi.2020.103578"},{"key":"ref_53","doi-asserted-by":"crossref","first-page":"231","DOI":"10.1007\/s10994-006-8958-3","article-title":"Gleaner: Creating ensembles of first-order clauses to improve recall-precision curves","volume":"64","author":"Goadrich","year":"2006","journal-title":"Mach. Learn."},{"key":"ref_54","doi-asserted-by":"crossref","first-page":"49","DOI":"10.1016\/j.cmpb.2018.06.006","article-title":"Predictive models for hospital readmission risk: A systematic review of methods","volume":"164","author":"Artetxe","year":"2018","journal-title":"Comput. Methods Programs Biomed."}],"container-title":["Computers"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/www.mdpi.com\/2073-431X\/14\/5\/177\/pdf","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,10,9]],"date-time":"2025-10-09T17:27:08Z","timestamp":1760030828000},"score":1,"resource":{"primary":{"URL":"https:\/\/www.mdpi.com\/2073-431X\/14\/5\/177"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2025,5,5]]},"references-count":54,"journal-issue":{"issue":"5","published-online":{"date-parts":[[2025,5]]}},"alternative-id":["computers14050177"],"URL":"https:\/\/doi.org\/10.3390\/computers14050177","relation":{},"ISSN":["2073-431X"],"issn-type":[{"type":"electronic","value":"2073-431X"}],"subject":[],"published":{"date-parts":[[2025,5,5]]}}}