Mohd Kamarulariffin Kamarudin1*, Fatin Sabariah Jafar1
1. Biomedical Epidemiology Unit, Special Resource Centre, Institute for Medical Research, National Institutes of Health, 40170 Setia Alam, Selangor, Malaysia
*Corresponding author: Mohd Kamarulariffin Kamarudin.
ABSTRACT
INTRODUCTION: Emergency Department (ED) crowding remains a critical healthcare concern, contributing to increased waiting times, reduced care quality, and staff burnout. Simulation modelling offers a powerful method to evaluate operational strategies, but an accessible and customisable interface is essential to translate its utility into everyday decision-making.
OBJECTIVES: This project aimed to design and develop an interactive RShiny dashboard that integrates a simulation model for ED patient flow to support evidence-informed staffing decisions and operational planning.
MATERIALS & METHODS: A Discrete Event Simulation (DES) model was built using the simmer package in R to simulate ED patient flow based on triage category, service duration, and patient transitions. This model was embedded within a user-friendly RShiny dashboard designed to support operational decision-making. The dashboard features four main components: a Staffing Input Section, which allows users to specify the number of designated staff by triage zone; a Parameter Adjustment Panel, where users can customise arrival rates and other model parameters such as triage proportions, consultation durations, and patient admission rates to wards; a Simulation Settings panel that enables users to define the number of iterations and the length of the simulation run; and an Optimisation Tool that estimates the minimum number of staff required to achieve target performance metrics, such as reduced waiting time or improved staff utilisation.
RESULTS: Business requirements were gathered through engagement with several ED physicians. They emphasised the importance of including visual outputs such as staff utilisation plots and waiting time evolution graphs, which have been incorporated into the dashboard. Additionally, they identified doctors and staff assigned to transfer patients to the ward as critical staffing categories, and highlighted the rate of patient admission to wards as a key model parameter.
CONCLUSION: The developed dashboard bridges simulation science with real-world decision-making in emergency care. Once validated, it has the potential to become a valuable operational planning tool to support ED efficiency and resource optimisation.
KEYWORDS: Emergency Department, Patient Flow, Simulation Modelling, Discrete Event Simulation, R Shiny


