Discrete Event Simulation to model elective surgery pathways

Discrete Event Simulation (DES)
Streamlit
Elective Surgery
Waiting Times
Surgical
Hospitals
NHS
Author
Affiliation

Dominic Allen

Guy’s and St Thomas’ NHS Foundation Trust

The aim of the project was to create a Discrete Event Simulation in SimPy to model elective surgery pathways, which could be used to model changes to a pathway and their impact on waiting times. This was accomplished and realised as an interactive webapp using Streamlit.

The project is FOSS and is available for anyone to use in the future to model their own surgical pathways or other waiting lists. Future HSMA participants, and anyone else who is interested, will be able to modify this model into a format useful to their organisation.

This will provide possible opportunities for the optimisation of surgical pathways, and also provide a ready-made format for future HSMA participants to create interactive SimPy-based webapps without having to “reinvent the wheel.”