This work aims to improve the accuracy of the waiting times prediction in ED, by incorporating queue variables enabled by process mining that capture the crowding of the activities inside the ED. By undertaking process mining, it is possible to gain insights into the hospital processes extracting the entire patient-flow and the queueing-related information (e.g., [...]