How predictive demand forecasting can help improve care for older patients

Dr Elizabeth Williams, Principal Analyst at Cardiff and Vale University Health Board and winner of the Operational Research Society’s 2023 Doctoral Award, explains how predictive and prescriptive analytics could help the NHS better anticipate the needs of frail and elderly patients. Her research highlights opportunities to improve patient flow, support discharge planning and make better use of beds and staff across the health and care system.
In July 2025, 1,275 adults in NHS hospital beds across Wales were clinically ready to leave hospital but remained there because their transfer to the next stage of care had been delayed. At the same time, the number of people aged 75 and over continues to rise, placing increasing pressure on hospitals, community services and social care.
For the NHS, the challenge is not simply accommodating more patients but understanding how they move through health and care services. Older people often require longer hospital stays, more specialist care and additional support after discharge.
Delays at any stage of the pathway can impact the wider system, contributing to pressures around the availability of beds, workforce challenges and poorer patient experiences. Understanding and anticipating these pressures is becoming increasingly important.
This was the focus of my doctoral research at Cardiff University. Conducted over three years, including during the Covid-19 pandemic, the research analysed more than 165,000 NHS patient records to explore how hospitals could better forecast length of stay and allocate beds and staff more effectively.
Looking at older patients differently
One key finding was that older people are often hidden within broad planning categories. In NHS terms, everyone over 16 is classified as an adult, yet the needs of someone in their 80s or 90s can be very different from those of a younger adult.
Frailty, multiple health conditions, social care needs and recovery times can all influence how long a patient remains in hospital and what support they need afterwards. Planning services around broad averages can mask these differences.
As demand grows, health systems need better ways to anticipate where pressures are likely to emerge and how resources will be used. Operational research (OR) – a branch of applied mathematics using data and mathematical modelling to move beyond averages and make more informed decision – offers one way to address this challenge.
Supporting decisions, not just predictions
The first stage of the project focused on predicting likely lengths of hospital stay. Using classification and regression trees (CART), the research examined factors including age, speciality, hospital location, demographic characteristics and community-related information.
Rather than relying on average lengths of stay, the models identified patterns that could help forecast how long individual patients might remain in hospital. This captures the variation that averages can conceal and gives teams a firmer evidential basis for preparation and decision-making. The aim was to create models that healthcare professionals can understand and use, rather than highly complex tools confined to specialist analytical teams. Predicting demand, however, is only part of the challenge. Healthcare leaders must also decide how resources should be deployed in response. The second stage therefore focused on optimisation modelling.
These models explored how beds and staffing could be allocated based on predicted demand. They considered not only how many beds might be needed, but where they should be located and whether sufficient nursing capacity would be available to support patients safely.
Additional beds provide little benefit without enough staff to care for patients, so better visibility of future demand can help organisations plan staffing earlier, make better use of permanent employees and reduce reliance on costly agency and bank staff.
When the predictive and optimisation models were combined, the research indicated potential savings of around 2 per cent compared with approaches based largely on averages. While that may sound modest, across high-demand services caring for older people it could deliver significant benefits in capacity planning, patient flow and operational efficiency.
The importance of discharge planning
One of the most significant findings related to discharge planning. Many older people remain in hospital despite no longer requiring acute treatment because appropriate support is not yet available elsewhere. This may involve waiting for community care, home adaptations, equipment, or care home placements.
These delays affect individual patients but also capacity across the wider system. If likely long-stay patients can be identified earlier, discharge planning can begin sooner. Community services, social care providers and families can be engaged earlier, creating more opportunities to coordinate support and avoid unnecessary delays.
From an integrated care perspective, this may be where data-driven planning has the greatest value. Better forecasting allows organisations to look beyond hospital walls and consider the wider pathway patients will follow.
Supporting the future of integrated care
A key focus throughout the project was ensuring the models could be used in real NHS settings, which meant overcoming some challenges. For instance, there were issues around data quality, inconsistencies, errors and the practical realities of working with large healthcare datasets, which meant significant work was needed to clean the data and decide what could realistically be used. Another practical issue was usability. While the models were developed using Python, versions were also created in Excel so they could be used by operational teams involved in day-to-day planning.
What is most exciting, however, is the potential beyond this specific project. The methodology is not limited to older people’s services and could be adapted across a wide range of healthcare settings. As demand grows and patients’ needs become more complex, better forecasting could help the NHS anticipate pressures earlier, coordinate care more effectively and make better use of limited resources
Ultimately, the value of this work extends far beyond algorithms or efficiency savings. It is about seeing patients clearly in a within a system built around averages, and using that clarity to reduce avoidable delays, coordinate care earlier, and get people the right support at the right time.










