Case study · MarLuc synopsis
Gloucestershire Hospitals long-stay risk prediction
EImplemented 2021–2023 · Health and life sciences · United Kingdom · 3 min read · Version 1.0
Gloucestershire Hospitals and Polygeist built a machine learning model, funded by the NHS AI Lab Skunkworks, that scores each new patient's risk of staying more than 21 days. By NHS England's account it detected two-thirds of long stayers on historical data. The trust planned to test it with clinicians in its electronic patient record; no results of that use have been published.
At a glance
No measurable effect: no results reported.
- AI used
- Machine learning risk prediction (generative adversarial network with a risk model)
- Implemented
- 2021–2023
- Grade
- Band E · No measurable effect · Claimed only
- Headline result, as reported
- Model detected two-thirds of long stayers on historical data, by NHS England's account; no results from clinical use published
1The case
The facts, as reported by the sources below. Where a source is silent, the field says “Not reported”.
Organisation
Gloucestershire Hospitals NHS Foundation Trust. NHS acute hospital trust in Gloucestershire, England. Staff numbers: Not reported in the sources used.
Canvas block: 4. Operations and process. Also 6. Data and technology
Business challenge
The challengeMore than 30% of bed days in the trust's acute hospitals were used by patients staying over 21 days, by the trust's account. Long stayers had an 11% mortality rate in hospital, against 5% for all admissions, and 23% became unwell after being declared medically fit for discharge, against 1% overall.
How it was addressedThe trust's business intelligence team proposed the idea and was picked as an AI Skunkworks pilot in April 2021. After a data protection impact assessment, Polygeist built a deep-convolutional generative adversarial network (DC-GAN) that estimates length of stay, fed into a risk model scoring each patient from 1 to 5. The trust said it would take the model's outputs, refreshed every 15 minutes, into its electronic patient record to test and evaluate with clinicians. The code was released as open source. [1][2][3][4][5]
Who implemented it
- PolygeistSoftware vendorSoftware company that built the model and system
- In-houseIn-houseGloucestershire Hospitals business intelligence team: proposed the project and supplied and joined the data
Funded and supported by the NHS AI Lab Skunkworks, with Polygeist engaged through the Home Office's Accelerated Capability Environment.
Technology (SEAM pillar E)
- T1
- T2
- T3
- T4
- T5
- T6
- T7
- T8
- T9
- Deployment
- Not reported
- Vendors and products
- Polygeist, Long-stay risk model (open source)
- Where it was built in
- Model outputs refreshed every 15 minutes, planned to be shown in the trust's electronic patient record; Polygeist says they were visible there within 12 weeks. [1][3][4]
Technology types follow the SEAM taxonomy, the same list the SEAM Check uses.
What changed
What it cost
Not reported
What it saved
Governance and control
Data was used after a data protection impact assessment and agreement, per NHS England. The trust's deputy CIO said senior clinical involvement was part of its pitch and advised having a clinical sponsor. No monitoring, validation in live use or clinical safety assessment is reported.
- Accountable owner: Claimed
- Safe use: Claimed
- Human in the loop: Claimed
- Monitoring and assurance: Not reported
- Vendor AI: Not reported
- Agent controls: Not reported
- Standards and regulation: Not reported
Controls on each card:EvidencedOutside scrutinyClaimedMissingNot reported
| SEAM point | Evidence | What was done and how it was applied |
|---|---|---|
| S2 · Accountable owner | ◐ Claimed | The trust's business intelligence team led the idea with support from its chief information officer and senior clinical leaders. [2][5] |
| A1 · Safe use | ◐ Claimed | Data was used after a data protection impact assessment and a data protection agreement, per NHS England. [1] |
| A2 · Human in the loop | ◐ Claimed | The score is meant to help staff decide on earlier interventions; the trust's deputy CIO stressed a clinical sponsor. No decision rule is described. [1][3] |
| A3 · Monitoring and assurance | ○ Not reported | Not reported beyond the planned evaluation with clinicians. |
| A4 · Vendor AI | ○ Not reported | Not reported. |
| A5 · Agent controls | ○ Not reported | Not reported. |
| A6 · Standards and regulation | ○ Not reported | Not reported. |
● Evidenced: shown by an independent source. ◐ Claimed: the organisation's own account. ✕ Missing: an independent source shows the control was absent. ○ Not reported: the sources are silent.
What worked, what did not, what is unproven
Worked
- The model detected two-thirds of long stayers at or soon after arrival on historical data, by NHS England's account.
- Performance held within 1% on unseen data across the 2020 COVID waves, by NHS England's account.
- Polygeist says the system was integrated with the trust's IT within 12 weeks and showed results in the electronic patient record, per HTN.
Did not
- No published results show the score changed care or length of stay.
Unproven
- Whether clinicians used the score and whether it reduced long stays, deterioration or mortality.
- Whether the model was adopted into wider hospital use, which NHS England said the Skunkworks team would support.
Timeline
- Apr 2021Long-stay risk project picked as an AI Skunkworks pilot[2]
- Nov 2021Trade press reports the trust's business intelligence team applied for a proof of concept[5]
- May 2023Trust and Polygeist describe the project at HTN; Polygeist says it was integrated with the electronic patient record[3]
- Oct 2023Trade press reports integration with the record system through APIs[4]
2Grade and SEAM assessment
MarLuc's opinion, made on the evidence above. How we grade cases
Level of change and impact
- ATransformational
- BOperating model redesign
- CProcess change
- DTask support
- ENo measurable effectGraded · Claimed only
- FFailure
- Claimed
- Not applicable
- Grade
- E · No measurable effect
- Proof
- Claimed only
- Level of change
- Not graded
No level assessed: band E, a tested model with no reported results from use.
A predictive model tested on historical data, which Polygeist says was integrated with the trust's electronic patient record within the project. No source reports clinical use, changes to care, or results, so the effect is not reported.
Controls against the SEAM minimum
Controls not reported, so this cannot be checked. For T8 Predictive / ML models, the SEAM minimum is monitoring; the sources do not report any controls.
No monitoring, clinical safety review or human decision rule for the score is reported.
The SEAM view and lessons learnt
The trust picked a problem with a clear cost and clear harm, owned the data, and got a model into its patient record quickly. The evidence stops there: the promised test with clinicians has no published outcome. For a larger organisation, the transferable point is to plan the clinical evaluation, and what staff will do differently for a high-risk patient, at the same time as the model.
- Define the action staff take on a high score before building it.
- Plan and publish a clinical evaluation alongside model accuracy.
- Name a clinical sponsor from the start.
Evidence
Score 2 of 4. Self-reported: model test results from NHS England's write-up of work it funded, and statements by the trust and Polygeist at a trade event. Not independently checked.
Evaluation method. Model tested on unseen historical data. No live trial, comparison group or published clinical evaluation.
Sources disagree. NHS England says data from more than 1 million admissions was used; HLTH, summarising Digital Health, says the model was trained on 460,000 anonymised records. NHS England says the trust would 'soon begin' testing outputs in the electronic patient record; Polygeist told HTN the system was already integrated within 12 weeks.
Status. Unclear. No source found reports clinical evaluation results or routine use after 2023.
3Original sources
This synopsis draws on 5 sources, summarised by MarLuc. Read them in full before relying on any figure. If you think we have a fact or a grade wrong, challenge it and we will check and reply.
- [1]NHS England AI Knowledge Repository: Using machine learning to identify patients at risk of long term hospital stays (opens in a new tab)digital.nhs.uk
- [2]NHS England Data Science: Long Stayer Risk Stratification (opens in a new tab)nhsengland.github.io
- [3]HTN: NHS blueprinting team, Gloucestershire Hospitals and Polygeist on using AI to tackle length of stay (May 2023) (opens in a new tab)htn.co.uk
- [4]HLTH: ACE and NHS AI Lab develop AI tool to improve hospital outcomes (October 2023, summarising Digital Health) (opens in a new tab)hlth.com
- [5]Hospital Times: NHS AI Lab Skunkworks, the cautious early adopters (November 2021) (opens in a new tab)hospitaltimes.co.uk
Version 1.0 · Published 16 Nov 2026 · Updated 16 Nov 2026 · Facts checked against sources 16 Nov 2026
Version history
- v1.016 Nov 2026First published
Related case studies
Found this useful? Share it with your network.
Know an AI deployment we should grade? Submit a case study
Where does your organisation sit?
The free SEAM Check takes ten minutes and shows where AI value is leaking. The free SEAM Report then gives your leadership team the full picture.