• 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...


Who gets in?


In this short analysis our Policy team use data from the annual GP patient survey to explore access...


Recognising excellence in health care data analytics


As the winners of the Florence Nightingale Award for Excellence in Healthcare Data Analytics are...

Press release

The NHS is struggling to tackle a growing backlog of care

Press release

Health Foundation response to NHS England's monthly performance statistics.

Kjell-bubble-diagramArtboard 101 copy

Get social

While policymakers' response to COVID-19 has necessarily been short term, Sir Andrew Dilnot argues the pandemic has… https://t.co/4f7fk3TkJS

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