HSMA Projects With Code

Here you can find details of a range of current and previously-completed HSMA projects that have their code made available in a Github repository.

Click on the preview for each project to read the full details. For many completed projects, you can watch a short talk from the HSMAs who undertook the project on their plans, successes and challenges.

Completed Projects with Code

Meeting the demand of 111 for primary care services
Meeting the demand of 111 for primary care services
Complete

The project modelled NHS 111 calls triaged to primary care. Simulations showed timely primary care contact could reduce 999 calls and ED attendances but would require nearly doubling primary care services.

• Yorkshire Ambulance Service NHS Trust
• NHS Devon ICB
• University of Plymouth
The role of Patient Initiated Follow-up (PIFU) and ‘Digital Outpatients’ in Supporting the Elective Recovery - Can We Better Size Potential for Clearing the Backlog?
The role of Patient Initiated Follow-up (PIFU) and ‘Digital Outpatients’ in Supporting the Elective Recovery - Can We Better Size Potential for Clearing the Backlog?
Complete

The project aimed to explore the role of Patient Initiated Follow-up (PIFU) in addressing backlogs by mapping rheumatology outpatient pathways using discrete event simulation. The team modelled resource use and redeployment, focusing on PIFU's impact on referral-to-treatment waiting lists.

• NHS England
Reducing Travel Times to Treatment for Cardiac Patients in the South East of England
Reducing Travel Times to Treatment for Cardiac Patients in the South East of England
Complete

The project analysed travel times to understand the impact of flow of activity into London on patient travel. It identified a gap in cardiac surgery access for Kent & Medway patients, suggesting new sites could help. A Streamlit app visualised these impacts.

• NHS England Specialised Commissioning – South East Region
• NHS England
• The Strategy Unit
Developing a Service Planning Decision Support Tool to Tackle Inequalities and Minimise Carbon Output
Developing a Service Planning Decision Support Tool to Tackle Inequalities and Minimise Carbon Output
Complete

The project explored the feasibility of considering inequalities and carbon emissions in new clinic locations. Achievements include automating a Health Equity Assessment, running logistic regression models to predict appointment no-shows, and estimating patient travel carbon emissions.

• Derbyshire Community Health Services NHS Foundation Trust
• Torbay Council
• West Sussex County Council
Using Discrete Event Simulation to model the bottlenecks in the Acute Medical Unit pathway
Using Discrete Event Simulation to model the bottlenecks in the Acute Medical Unit pathway
Complete

In this project, a computer simulation of the acute medical pathway in a Devon trust was created, along with an interactive tool allowing parameters such as the staffing levels to be changed. This allowed staff to explore the optimum levels of resourcing, enabling risk-free testing of staffing and resource changes before committing to these changes in the real-world.

• Royal Devon University Healthcare NHS Foundation Trust
Discrete Event Simulation to model elective surgery pathways
Discrete Event Simulation to model elective surgery pathways
Complete

The project created a Discrete Event Simulation to model elective surgery pathways. This tool optimises surgical pathways and provides a ready-made format for creating interactive webapps, benefiting future HSMA participants and other interested users.

• Guy’s and St Thomas’ NHS Foundation Trust
Network Analysis of diagnostic procedures in A&E setting
Network Analysis of diagnostic procedures in A&E setting
Complete

The project aimed to analyse the relationship between different diagnostic procedures in A&E using NHS ECDS data. A web tool was developed to provide insights into diagnostic procedure usage across the country. The tool will allow users to explore graphic visualisations and accompanying analytics.

• NHS England
Creating a tool to automatically generate health equity audits for Community Diagnostic Centres
Creating a tool to automatically generate health equity audits for Community Diagnostic Centres
Complete

The project aimed to create a tool to perform a health equity audit for Community Diagnostic Centres (CDCs) in England. The tool will identify healthcare inequalities, suggests data improvements, and supports local CDCs in understanding their impact. Developed using Python and Streamlit, it allows for easier comparison and sharing of learning across regions, with potential applications beyond CDCs.

• UCL Partners Health Innovation
• Reading Borough Council
Investigating factors impacting NHS workforce retention
Investigating factors impacting NHS workforce retention
Complete

This project aimed to work out which factors are the biggest drivers of staff turnover using regression modelling on staff workforce figures as well as other local factors such as employment. This was turned into a dashboard for internal use.

• NHS England
• Yorkshire Ambulance Service NHS Trust
No matching items

In Progress Projects with Code

Discrete Event Simulation modelling of Non-elective flow
Discrete Event Simulation modelling of Non-elective flow
Active

Poor patient flow in Emergency Departments leads to long admission waits and poorer patient outcomes. Strategies include increasing beds and reducing discharge delays. This project uses Discrete Event Simulation to explore bed numbers, length of stay, and Same Day Emergency Care impacts on ED waits, aiming to optimise patient flow.

• Countess of Chester Hospital NHS Foundation Trust
Discrete Event Simulation modelling of childrens ADHD diagnosis and treatment
Discrete Event Simulation modelling of childrens ADHD diagnosis and treatment
Active

The project uses Discrete Event Simulation to model the children's ADHD diagnostic and treatment pathway, aiming to reduce waiting times and lists. It proposes a new pathway with preliminary diagnostic testing to ensure accurate ADHD assessments. The model will evaluate the impact of these changes and may extend to include 1:1 and group session appointments.

• Lancashire and South Cumbria NHS Foundation Trust
Modelling eye injection pathways
Modelling eye injection pathways
Active

The project aims to develop a flexible simulation model to optimise anti-VEGF treatment strategies in ophthalmology. It will use dual modelling frameworks, a modular design, and an interactive dashboard. The model will analyse clinical effectiveness, costs, and resource requirements, adapting to new treatments. The objective is to provide a tool to improve patient outcomes and optimize resource use and costs.

• Surrey and Sussex Healthcare NHS Trust
Modelling bed occupancy on an Acute Ward
Modelling bed occupancy on an Acute Ward
Active

The project aims to develop a tool for time series forecasting of bed occupancy using historical data, incorporating seasonality and growth. A web-based app will simulate acute bed models, including variables like closed beds and additional capacity. Using machine learning and discrete event simulation, the tool will aid decision-making and provide reliable daily forecasts.

• Royal United Hospitals Bath NHS Foundation Trust
Developing a streamlit app for creating Theographs of patient journeys
Developing a streamlit app for creating Theographs of patient journeys
Active

The project aims to create an open-source application for generating interactive theograph visuals to understand patient/client journeys. It will be a generic tool requiring minimal data fields, usable in various healthcare or social care settings.

• NHS North of England CSU (NECS)
Modelling the benefit of MECC (Making Every Contact Count) Training using agent based simulation
Modelling the benefit of MECC (Making Every Contact Count) Training using agent based simulation
Active

Making Every Contact Count (MECC) is an e-learning program for health and social care staff to promote healthy lifestyles. This project uses Agent Based Simulation to model MECC's impact on behaviors like smoking, drinking, and exercise.

• NHS North of England CSU
• Surrey and Sussex Healthcare NHS Trust
• Somerset NHS Foundation Trust
Proactive Patient Attendance Prediction: Enhancing Healthcare Efficiency through Attendance Forecasting
Proactive Patient Attendance Prediction: Enhancing Healthcare Efficiency through Attendance Forecasting
Active

At Barts Health NHS Trust, 12% of outpatient appointments are missed monthly, wasting over 10,000 hours of clinical resources. Missed appointments can lead to extended waiting lists and patient deterioration. This project aims to develop a machine learning model to forecast non-attendance, a patient contact capture tool, and integrate the model into enterprise reports.

• Barts Health NHS Trust
Using machine learning to identify factors that increase number of appointments per pathway
Using machine learning to identify factors that increase number of appointments per pathway
Active

The new EPP data set offers the most comprehensive view of elective pathway activity. Currently, the reasons for varying appointment numbers are unclear, but one theory is that longer waits lead to sicker patients and more appointments. This project plans to use Machine Learning to investigate this further.

• NHS England
DES Modelling of The Hyperacute / Acute Stroke Pathway - Patient and Economic Outcomes
DES Modelling of The Hyperacute / Acute Stroke Pathway - Patient and Economic Outcomes
Active

Stroke prevalence in the UK is forecasted to increase by 40-60% from 2021 to 2030, straining hospitals and society. This project aims to develop a discrete simulation model to optimise the Hyperacute/Acute stroke pathway, improving patient outcomes, reducing costs, and enhancing economic benefits. It will analyse variables like staffing and operating hours

• Maidstone and Tunbridge Wells NHS Trust
Building a Machine Learning tool to predict Did Not Attend (DNA) events
Building a Machine Learning tool to predict Did Not Attend (DNA) events
Active

This project is developing a machine learning-based tool that looks at the likelihood outpatient Did Not Attend (DNA) incidences across different services/demographics.

• Blackpool Teaching Hospitals NHS Foundation Trust
Optimising Same Day Emergency Care (SDEC) Resourcing
Optimising Same Day Emergency Care (SDEC) Resourcing
Active

This project will model Same Day Emergency Care (SDEC) and Emergency Department (ED) pathways at University Hospitals Bristol and Weston NHS Foundation Trust.

• University Hospitals Bristol and Weston NHS Foundation Trust
Developing a primary care load management tool
Developing a primary care load management tool
Active

A GP practice had peak call wait times of 60 minutes. Adding more staff improved this, but lower utilisation was then seen during quieter periods. This project will model the telephone system and call handlers' workload to optimise resourcing, producing a web app to test different scenarios.

• The Park Medical Practice
Modelling the Talking Therapies clinical pathway using a Discrete Event Simulation
Modelling the Talking Therapies clinical pathway using a Discrete Event Simulation
Active

The NHS Talking Therapies programme, supports NICE guidelines for treating anxiety and depression. The aim is to develop a Discrete Event Simulation to model patient flow through the new clinical pathway. This project will identify potential waiting list build-ups due to increased referrals into Talking Therapies.

• Lancashire & South Cumbria NHS Foundation Trust
eFIT: Extra funding allocation - inequality tool
eFIT: Extra funding allocation - inequality tool
Active

The project addresses the lack of national guidance for allocating extra primary care funding by ICBs. It proposes using an equation based on deprivation scores and local needs. A Streamlit web-app tool will help ICBs allocate funds more equitably, considering various indicators and demographics, ensuring a fair distribution and reducing inequalities.

• NHS England
No matching items