Project Overview
An NHS Acute Trust with 620 beds and 72,000 emergency attendances per year wanted a real-time patient flow man...
Technology Stack
Compliance & Standards
The Challenge
An NHS Acute Trust with 620 beds and 72,000 emergency attendances per year wanted a real-time patient flow management platform — replacing whiteboards and Excel-based bed management. NHS DTAC all 5 domains, DCB0129 (patient flow errors directly cause delayed discharge and deterioration), NHS PAS (Patient Administration System) FHIR R4 integration, WCAG 2.1 AA, UK GDPR Article 9, and NHS DSP Toolkit were mandatory. Budget: £85,000.
Our Approach
Bed state
every bed (620) has a current state (occupied/vacant/cleaning/blocked/maintenance).
State changes
- discharge triggers bed cleaning request (housekeeping team mobile app), cleaning complete triggers bed available for allocation, new admission triggers bed allocated.
- Real-time sync: WebSocket connection (Socket.IO) — all 34 ward displays, 8 bed managers, and 4 flow coordinators see bed state changes within 2 seconds.
Prediction
- machine learning discharge prediction (historical PAS data + length of stay model) — predicted discharges for next 4 hours shown per ward.
- NHS PAS Integration —
FHIR R4
NHS Patient Administration System (PAS) integration: FHIR R4 Patient resource (demographics), Encounter resource (admission/discharge/transfer), and Location resource (ward/bay/bed).
PAS systems
- Meditech, System C Careflow, Cerner Millennium, Epic — each has FHIR R4 interface (HL7 FHIR Facade pattern for legacy PAS without native FHIR).
- Real-time ADT (Admission/Discharge/Transfer) events: PAS publishes HL7 v2 ADT messages → flow platform subscribes → FHIR R4 Encounter updated → bed state changed automatically.
Delayed Transfer of Care Tracking
Delayed Transfer of Care (DTOC): patients medically fit for discharge but awaiting social care, package of care, or community bed.
DTOC tracking
each patient flagged with reason code (
Code 1
awaiting assessment,
Code 2
awaiting public funding,
Code 3
awaiting care home placement,
Code 16
patient/family choice).
DTOC dashboard
live DTOC count, reason distribution, average delay duration.
NHS England DTOC reporting
automated daily submission to NHS England DTOC data collection.
ClickMasters
DTOC data pipeline from flow platform to NHS England.
Critical safety hazard
bed incorrectly shown as vacant → two admissions for same bed → patient safety incident.
Mitigation
bed state is event-sourced (every state change has a user, timestamp, and audit trail), concurrent admission prevention (bed reservation lock for 10 minutes after allocation starts), and daily bed state audit (automated reconciliation against PAS ADT data — discrepancies alerted to bed manager).
Second hazard
DTOC patient incorrectly discharged without care package in place.
Mitigation
DTOC flag must be manually cleared with a named social care worker confirmation.
The Results
DTAC approved all 5 domains.
Platform live at 14 weeks, £78,000 — under budget.
Bed turnaround time (discharge to next admission): 4.8 hours → 2.6 hours (46% improvement).
Delayed Transfer of Care: trust average DTOC days reduced from 8.4 to 6.1 days (NHS England target: < 7).
Emergency department 4-hour standard: improved from 68% to 74% (attributed to improved bed availability visibility).
DTOC automated reporting: 100% (previously 2 days manual).
NHS England DTOC benchmark: trust moved from bottom quartile to second quartile nationally.
“Bed turnaround from 4.8 hours to 2.6 hours. Emergency department 4-hour standard from 68% to 74%. DTOC national benchmark from bottom quartile to second quartile. Every one of those metrics is a real patient receiving timely care. DTAC first submission. DTOC automated reporting — the 2 days per month that went on manual collection is now clinical time." — Chief Operating Officer, NHS Acute Trust (name withheld)”
Project Details
Related Case Studies
View AllNHS-Connected Mental Health App — DTAC Approved
NHS-Connected Mental Health App — DTAC Approved. A UK mental health technology company needed to build a patient-facing digital therapy support app connected to NHS syst...
Workforce Management SaaS — UK Healthcare Staffing Agency
A UK healthcare staffing agency placing 2,800 NHS-registered nurses, doctors, and allied health professionals ...
NHS Outpatient Referral System — FHIR R4 Integrated
An NHS Foundation Trust needed to replace a 2007 paper-based outpatient referral system. GPs referred patients...
Ready to Transform Your Business?
Let's discuss how our technical expertise can help you achieve remarkable results.