Abstract
Emergency department (ED) overcrowding contributes to delayed patient care and worse clinical outcomes. Traditional triage systems face accuracy and consistency limitations. This study developed and internally validated a machine learning model predicting intensive care unit (ICU) admissions and resource utilization in ED patients. A retrospective analysis of 163,452 ED visits (2018-2022) from Maharaj Nakhon Chiang Mai Hospital evaluated logistic regression, random forest, and XGBoost models against the Canadian Triage and Acuity Scale (CTAS). The XGBoost model achieved superior predictive performance (AUROC 0.917 vs. 0.882, AUPRC 0.629 vs. 0.333). Key predictors included mode of arrival, patient age, and free-text chief complaints analyzed with multilingual sentence embeddings. These results demonstrate that machine learning, incorporating unstructured text data, has the potential to enhance triage accuracy and resource allocation by more effectively identifying critically ill patients compared to traditional triage methods.