• Run by Surrey and Borders Partnership NHS Foundation Trust.
  • Aiming to accurately forecast length of stay of inpatients at the trust and to predict patient flow.
  • Using machine learning, a digital dashboard will be developed to allow clinicians to see what is happening in real time.

The pressures on demand and capacity in NHS hospitals is well documented. Being able to forecast patient demand patterns and match capacity to that demand could help ease this pressure.

This project from a team at Surrey and Borders Partnership NHS Foundation Trust will use machine learning to develop a digital dashboard to predict patient flow and length of stay (LoS) at the trust.

The project team will use the trust’s historical records to provide accurate predictions of LoS of inpatients. This could improve care by highlighting discharge barriers or identifying complex cases; and improve resource management and planning.

The digital dashboard will provide clinicians, front-line staff and decision makers with the opportunity to see what is happening in real time. Predictive analytic visualisations will provide data on the expected LoS a patient might need, given their presentation and clinical history; where the patient will be discharged to; and the likelihood of them being stepped-up or stepped-down in level of care.

Accurately predicting this should greatly improve the patient experience, and reduce readmission rates and the risk of over-staying. Having a predictable bed flow should reduce costs, increase patient flow, reduce LoS and allow the trust to minimise ‘out of area’ placements (when a person with acute mental health needs who requires inpatient care is admitted to a unit that is not part of the usual local network of services).

The team will embed the dashboard within the service by educating and empowering end-users, with the aim of increasing engagement with the dashboard and analytics in general.


For more information about this project, please contact Mayoor Dhokia, Data Science Lead, Surrey and Borders Partnership NHS Foundation Trust.

About this programme


Advancing Applied Analytics


This programme offers £750,000 of funding to support up to 12 project teams aiming to improve...

You might also like...


Health Services Research UK Conference 2022


The Health Foundation is supporting HSR UK’s 15th annual conference on 5–7 July 2022, contributing...

Journal article

Valuing quality in mental healthcare

Journal article

The value of mental healthcare.

Journal article

Scale-up of ABC care bundle for intracerebral haemorrhage across two hyperacute stroke units in one region in England

Journal article

Improving ABC care bundles folllowing intracebral haemorrohage.  

Kjell-bubble-diagramArtboard 101 copy

Get social

The ‘inverse care law’ describes how – perversely – people who most need health care are least likely to receive it… https://t.co/G5aKeuPkMZ

Follow us on Twitter
Kjell-bubble-diagramArtboard 101

Work with us

We look for talented and passionate individuals as everyone at the Health Foundation has an important role to play.

View current vacancies
Artboard 101 copy 2

The Q community

Q is an initiative connecting people with improvement expertise across the UK.

Find out more