Healthcare and the NHS · Playbook 15

I've worked in this sector

Waiting-list validation

A waiting list that matches reality: data errors found every night, patients asked whether they still need care, and a person confirming every change. Clinical validation stays with clinicians.

  • Predictive ML
  • Document AI
  • Agents with tools
  • Human in the loop
  • RTT rules
  • NHS validation guidance
  • UK GDPR
  • National data opt-out
  • DCB0129 / DCB0160
  • DSPT

At a glance

The problem
The waiting list drifts from reality: duplicates, clocks left running, and patients who no longer need care
Typical volume
Around 70,000 open RTT pathways in a large acute trust, with thousands due for validation each month
Who's involved
The access and RTT team, validators, clinicians, the patient communications team, clinical safety, IG and the Caldicott Guardian, the PAS or EPR team
Pilot
8–10 weeks in two specialties, after a 3–4 week discovery
Platforms
AWS, Azure, or a sovereign or on-prem stack

An illustrative scenario. The numbers are typical examples, not a client case study. The cloud services and UK rules were checked on 9 November 2026.

The business problem

An acute trust's referral-to-treatment (RTT) waiting list is a live list of open pathways, often tens of thousands of them, held in the PAS or EPR. Over time it drifts from reality. There are duplicate pathways from re-referrals, clocks left running after the first treatment, planned and follow-up patients sitting on RTT pathways, patients treated by another provider or privately, patients who have moved away or died, and patients whose symptoms have gone and who no longer want treatment.

Validation keeps the list true. NHS England's guidance describes three stages: technical validation to find data errors, administrative validation that contacts the patient or carer, and clinical validation where a clinician reviews the record. Contact can be by text, e-form or online conversation, with a letter or phone call where the patient needs one. 2025/26 planning guidance asked trusts to validate RTT patients after 12 weeks on the list and every 12 weeks after that. Done by hand, this means validators working through PTL extracts line by line, chasing replies and passing cases to clinicians, with the evidence often kept in spreadsheets.

The stakes have risen. NHS England's planning framework asks for 70% of patients to be treated within 18 weeks by March 2027 and 92% by March 2029. A clean list helps patients and planning, but only if every removal is right, and can be shown to be right.

What AI changes

  • Every night, the whole list is checked for technical errors: duplicates, clocks still open after a recorded treatment, planned and follow-up patients on RTT pathways, deceased patients, and pathways that break the trust's access policy. Each finding comes with the rule it relies on and the evidence.
  • Validators get a worklist of proposed corrections, grouped by rule and explained, to confirm or reject. Nothing changes in the PAS until a person confirms it.
  • Patients due for validation are asked whether they still need care: through the NHS App or by text where they have a digital route, and by letter or phone where they don't or would prefer it, in wording the trust has approved.
  • Replies are read and sorted: still needs care, no longer needs it, treated elsewhere, wants to talk to someone, or getting worse. 'Getting worse' goes to a clinician the same day.
  • Nobody is removed for not replying. Patients who don't reply are followed up by another route.
  • Clinical validation stays with clinicians. The AI prepares a short pack, with the pathway history, last contact and the patient's reply, and the clinician decides.

How success is measured

Agree these, and measure the baseline, before anything is built. Example targets are typical, not promises.

Validated in the last 12 weeks

Share of pathways open more than 12 weeks that have been validated in the past 12 weeks.

ExampleAbove 90%

Removal accuracy

Removals later reversed, or patients re-referred for the same condition within six months, found by audit.

ExampleFalling, reviewed monthly

Validator time per finding

Time to confirm or reject a proposed correction, compared with checking by hand.

ExampleDown by half

Response by patient group

Response and removal rates by age, deprivation, language and digital access. A low response must never mean fewer patients treated.

ExampleNo group worse off

Escalations acted on

Replies saying symptoms are worse, reviewed by a clinician within the agreed time.

ExampleEvery one, within one working day

Repeat data errors

New duplicates and clock errors found each week, by cause. Should fall as the causes are fixed.

ExampleFalling month on month

UK regulation and controls

Cross-sector rules are on the UK regulation map.

  • NHS EnglandRTT rules suite and recording and reporting guidance

    Clocks start, stop and are removed only for the reasons in the national rules and the trust's access policy. The rules and policy are held as versioned knowledge, and every proposed correction names the rule it relies on. Monthly returns no longer allow clock pauses, so the AI never proposes one. Every removal keeps an evidence trail for audit: the finding or the patient's reply, the clinician's decision where needed, and who confirmed it.

  • NHS EnglandWaiting list validation guidance

    The design follows the three stages: technical, administrative and clinical. Patient contact uses text, e-form or the NHS App, with letters and calls where needed. The date of last validation is recorded in the PAS, so it flows into the waiting list minimum data set.

  • ICOUK GDPR and automated decisions

    Taking someone off a waiting list is a significant decision based on health data, which is special category data. Under the amended UK GDPR, solely automated significant decisions are still strictly limited where special category data is involved. Here a person confirms every removal, and every discharge letter tells the patient and their GP how to get back on the list if they need to.

  • NHS England and the National Data GuardianThe national data opt-out and the Caldicott principles

    Contacting a patient about their own place on the list is part of their care, so the national data opt-out doesn't apply to that. Using the list for anything beyond care, such as training or evaluating models for other purposes, needs its own legal basis and may need opt-outs applied. Get the Caldicott Guardian's view, and a DPIA, in discovery.

  • NHS EnglandDCB0129, DCB0160 and the DSPT

    Removing a patient who still needs care is a clinical hazard. The trust deploys the tool under DCB0160, and under DCB0129 too if it builds it, with a clinical safety officer and a hazard log. The standards are under review. The system is covered in the trust's 2026-27 DSPT submission.

The solution

Showing AWSAzuresovereign / on-prem services. Switch with the toggle; every diagram and table on this page follows it.

Waiting-list validation: reference architecture
  1. 01Channels

    • Patient: NHS App or text
    • Patient: letter or phone
    • GP practice
  2. 02Intake

    • AWS GlueAzure Data FactoryApache Airflow, or your existing ETLNightly waiting list feed
    • API GatewayAPI ManagementKong, or your existing API gatewayPatient replies
    • Amazon S3Blob StorageCeph, or IONOS S3 Object StorageEvidence store
  3. 03Intelligence

    • SageMaker AIAzure Machine LearningMLflow and Kubeflow on KubernetesRules and duplicate matching
    • Bedrock Knowledge BasesFoundry IQ (Azure AI Search)OpenSearch, or PostgreSQL with pgvectorRTT rules and access policy
    • Agent
      Bedrock AgentCoreFoundry Agent ServiceLangGraph on Kubernetes, with open-weight models via vLLMValidation agent
    • Agent
      Bedrock AgentCoreFoundry Agent ServiceLangGraph on Kubernetes, with open-weight models via vLLMReply reader
  4. 04Orchestration

    • Step FunctionsLogic Apps / Durable FunctionsTemporalValidation campaigns
    • EventBridge + SQSEvent Grid + Service BusApache Kafka or RabbitMQEvents and queues
  5. 05Systems of record

    • PAS / EPR waiting list
    • Patient messaging route
    • Personal Demographics Service
  6. 06People

    • Person
      Validator: confirms every change
    • Person
      Clinician: clinical validation
    • Person
      RTT data quality lead
  • Cloud or platform service (AWSAzuresovereign / on-prem)
  • AI agent
  • A person decides
  • Your existing systems
  • Outside your organisation

Components, side by side

Waiting-list validation: components on AWS, Azure and a sovereign or on-prem stack
LayerAWSAzureSovereign / on-prem
Waiting list feedA nightly copy of open pathways and recent activity from the PAS. The AI works on the copy and never edits the PAS directly.AWS Glue, Amazon RDS for PostgreSQLAzure Data Factory, Azure Database for PostgreSQLApache Airflow or your existing ETL; PostgreSQL
Rules and matchingMost checks are plain, tested rules. Machine learning is used for fuzzy matching of duplicate pathways and for ranking findings, never for deciding who needs care.Amazon SageMaker AIAzure Machine LearningMLflow and Kubeflow on Kubernetes
Reading repliesFree-text replies are sorted into a small, fixed set of outcomes. Anything unclear goes to a person.Amazon Bedrock; Amazon Textract for scanned paper repliesMicrosoft Foundry; Azure Content Understanding for scanned paper repliesOpen-weight models served with vLLM on your own GPUs; Docling plus an open-weight vision model for scans
RTT rules and access policy (retrieval)The national rules suite, the recording and reporting guidance and the trust's access policy, versioned. Every finding cites the rule.Bedrock Knowledge BasesFoundry IQ, built on Azure AI SearchOpenSearch, or PostgreSQL with pgvector
Agent runtimeThe original Bedrock Agents closed to new customers on 30 July 2026; new builds use AgentCore.Amazon Bedrock AgentCoreFoundry Agent ServiceAn open-source agent framework (e.g. LangGraph) on Kubernetes
WorkflowRuns each campaign: who is due, which channel, reminders, follow-up by another route, and escalation.AWS Step FunctionsLogic Apps or Durable FunctionsTemporal, or n8n
Middleware and eventsAmazon EventBridge, SQSEvent Grid, Service BusApache Kafka or RabbitMQ
Patient messagingNHS App message first where the patient uses the App, then text, then letter. Wording approved by the trust, with easy-read and translated versions.NHS Notify, or the trust's existing patient messaging routeNHS Notify, or the trust's existing patient messaging routeNHS Notify, or the trust's existing patient messaging route
Link to the PAS / EPRConfirmed changes are made by the validator in the PAS, or through an interface your EPR supplier supports, under the validator's own identity.Your existing integration engineYour existing integration engineYour existing integration engine
Human reviewValidators and clinicians review where they already work, not in a new screen.In the validation team's existing PTL tool or EPR worklistIn the validation team's existing PTL tool or EPR worklistIn the validation team's existing PTL tool or EPR worklist
GuardrailsMessages to patients use approved templates only. The AI never writes free text to a patient.Bedrock GuardrailsFoundry guardrails (Azure AI Content Safety)Open-source guardrails (e.g. NeMo Guardrails, Llama Guard)
Identity, keys, data protectionThe agents have read access to the copy of the list, and no write access to the PAS.IAM Identity Center, KMS, MacieEntra ID, Key Vault, PurviewKeycloak or your existing Active Directory; OpenBao or HashiCorp Vault; an HSM
Monitoring and auditLog every finding, every message sent, every reply, and who confirmed each change, with the rule version.CloudWatch, CloudTrailAzure Monitor, Log AnalyticsPrometheus, Grafana, OpenTelemetry
UK data residencyThis is NHS patient data. The trust's IG policy may require UK residency, so an EU-hosted option such as IONOS AI Model Hub (Germany) may not fit.eu-west-2 (London)UK South / UK WestYour own UK data centre, or a UK or EU provider

On a phone, the table shows the platform you pick. Sovereign / on-prem means open, portable components you can run in your own data centre or with a UK or European provider; IONOS is shown as one example, and others exist. What sovereign cloud means →

Hybrid and on-prem

Many organisations keep core systems and sensitive data on their own servers. This is how the same design works across both.

Stays on-prem

The PAS or EPR stays the waiting list of record, and every change is made there by a person. The integration engine and the trust's reporting stay where they are.

Uses cloud AI

The nightly checks, duplicate matching, reply reading and the agents run in a UK cloud region, or on the trust's own servers for the sovereign option. Only the fields needed for validation are copied, and the copy is refreshed, not kept.

How they connect

A nightly feed and the trust's integration engine, over HSCN or a private link such as AWS Direct Connect or Azure ExpressRoute. Findings come back to the validators' worklist as events.

If the link drops

Nothing on the waiting list changes, because only people change it. Validators carry on by hand as they did before, campaigns pause, and the nightly checks catch up when the link returns.

The agents

What each agent may do through its tools, what it may not, and where a person signs off. The limits are enforced by the platform, not the prompt.

Validation agent

May do

  • Run the nightly checks on the copy of the waiting list
  • Check deaths and address changes against the Personal Demographics Service
  • Look up the RTT rule or access policy that applies
  • Propose a correction, with the rule and evidence
  • Select patients due for validation and start their contact campaign

May not do

  • Change, close or remove a pathway in the PAS
  • Start, stop or pause an RTT clock
  • Decide that a patient no longer needs care
  • Leave a patient out of contact because of a prediction

Where a person signs offA validator confirms every correction, and a clinician makes every clinical validation decision. The agent has no write access to the PAS, enforced by the platform's identity and policy controls, not by instructions in a prompt.

Reply reader

May do

  • Read replies from the NHS App, text, e-form and scanned letters
  • Sort each reply into a fixed set of outcomes
  • Send 'getting worse' replies to the clinical queue straight away
  • Prepare a short pack for the validator or clinician

May not do

  • Remove a patient, even when they ask to be removed
  • Treat no reply as 'no longer needed'
  • Give clinical advice or reply to the patient in its own words
  • Change a patient's contact details

Where a person signs offA person confirms every removal, including those the patient asked for, and the patient and GP get a letter saying how to come back onto the list.

Middleware and integration

The PAS or EPR stays the waiting list of record. The AI reads a nightly copy and proposes changes; people make them. If the trust already uses the NHS Federated Data Platform's RTT and patient-led validation products, use those for the list and the campaigns, and add only what they don't already do.

Patient contact goes through one messaging route with fallback, NHS App first, then text, then letter. Moving to the NHS App inbox for hospital letters, as it rolls out, is then a configuration change rather than a rebuild.

Events decouple the AI from the PAS. Each finding and each reply is a message on a queue with its own ID, so a retry never sends a patient two letters or creates two tasks. If the AI is paused, validation carries on by hand, exactly as before.

Process and people

  • A named RTT data quality lead owns the rules, with change control. A rule is tested on last month's list before it goes live.
  • Validators confirm changes one at a time or in small batches grouped by rule, with a sample of each batch re-checked.
  • A clinical route for 'getting worse' replies, owned by each specialty, tested before the first campaign.
  • A Caldicott-approved set of message templates, with easy-read and translated versions, and a phone route for anyone who asks.
  • A monthly root-cause report to the teams whose processes create the errors: booking, coding and PAS configuration.
  • Validators trained before go-live, including when to override the AI and how to record why.

Delivery plan

  1. 3–4 weeks

    Discovery

    Map today's validation process, measure the baseline, agree the rules with the access team, confirm the messaging route, and get the Caldicott Guardian's view.

  2. Gate · must be true to passBaseline agreed, rules signed off, DPIA and hazard log started, message templates approved.

  3. 8–10 weeks

    Pilot

    Technical validation in shadow mode on two specialties, compared with validators' own findings, then one patient contact campaign.

  4. Gate · must be true to passFinding accuracy within agreed limits, no wrongful removals in the audit, response rates checked by patient group, clinical safety case signed off.

  5. 4–6 weeks

    Production

    Nightly checks and campaigns go live in the pilot specialties, with monitoring, support and a rollback plan.

  6. Gate · must be true to passMonitoring, support model, rollback plan and validator training in place.

  7. Ongoing

    Scale

    Add specialties in waves, then non-RTT follow-up lists and diagnostic waiting lists.

  8. Gate · must be true to passEach new list passes the same pilot gate.

Roles and RACI

Who is responsible, accountable, consulted and informed, by activity
ActivityChief operating officerProduct ownerSolutions architectI can fill thisTechnical PMI can fill thisEngineersI can fill thisClinical safety officerIG & CaldicottSecurityI can fill this
Business case and benefitsAccountableResponsibleConsultedConsultedInformedConsultedInformedInformed
Target architecture and integrationInformedConsultedAccountable and ResponsibleConsultedConsultedConsultedConsultedConsulted
Validation rules and access policyAccountableResponsibleConsultedInformedConsultedConsultedInformedInformed
Clinical safety case and hazard logAccountableConsultedConsultedInformedConsultedResponsibleInformedInformed
DPIA, Caldicott review and DSPTConsultedConsultedConsultedInformedInformedConsultedAccountable and ResponsibleConsulted
Build and integrationInformedConsultedAccountableResponsibleResponsibleConsultedInformedConsulted
Go-live decisionAccountableResponsibleConsultedResponsibleInformedConsultedConsultedConsulted
Run, monitor and improveAccountableResponsibleConsultedConsultedResponsibleConsultedConsultedConsulted

Business case and benefits

Chief operating officer
A · Accountable
Product owner
R · Responsible
Solutions architect
C · Consulted
Technical PM
C · Consulted
Engineers
I · Informed
Clinical safety officer
C · Consulted
IG & Caldicott
I · Informed
Security
I · Informed

Target architecture and integration

Chief operating officer
I · Informed
Product owner
C · Consulted
Solutions architect
A/R · Accountable and Responsible
Technical PM
C · Consulted
Engineers
C · Consulted
Clinical safety officer
C · Consulted
IG & Caldicott
C · Consulted
Security
C · Consulted

Validation rules and access policy

Chief operating officer
A · Accountable
Product owner
R · Responsible
Solutions architect
C · Consulted
Technical PM
I · Informed
Engineers
C · Consulted
Clinical safety officer
C · Consulted
IG & Caldicott
I · Informed
Security
I · Informed

Clinical safety case and hazard log

Chief operating officer
A · Accountable
Product owner
C · Consulted
Solutions architect
C · Consulted
Technical PM
I · Informed
Engineers
C · Consulted
Clinical safety officer
R · Responsible
IG & Caldicott
I · Informed
Security
I · Informed

DPIA, Caldicott review and DSPT

Chief operating officer
C · Consulted
Product owner
C · Consulted
Solutions architect
C · Consulted
Technical PM
I · Informed
Engineers
I · Informed
Clinical safety officer
C · Consulted
IG & Caldicott
A/R · Accountable and Responsible
Security
C · Consulted

Build and integration

Chief operating officer
I · Informed
Product owner
C · Consulted
Solutions architect
A · Accountable
Technical PM
R · Responsible
Engineers
R · Responsible
Clinical safety officer
C · Consulted
IG & Caldicott
I · Informed
Security
C · Consulted

Go-live decision

Chief operating officer
A · Accountable
Product owner
R · Responsible
Solutions architect
C · Consulted
Technical PM
R · Responsible
Engineers
I · Informed
Clinical safety officer
C · Consulted
IG & Caldicott
C · Consulted
Security
C · Consulted

Run, monitor and improve

Chief operating officer
A · Accountable
Product owner
R · Responsible
Solutions architect
C · Consulted
Technical PM
C · Consulted
Engineers
R · Responsible
Clinical safety officer
C · Consulted
IG & Caldicott
C · Consulted
Security
C · Consulted

R ResponsibleA AccountableC ConsultedI Informed· not involved

Where I'd fit

Option A

Lead the architecture

If there's no architect on the programme, I'd own the design end to end: the waiting list feed, the rules and matching, the patient contact flow and the gates, working closely with your access team, your clinical safety officer and your Caldicott Guardian. I'd report to your programme board.

Option B

Support your architect

If your partner, your EPR supplier or your own team already has an architect, I'd take on the data pipeline, the rules engine and the agents under their lead, and give them a second senior opinion on integration with the PAS, the messaging route and the audit trail.

Where this goes wrong

  1. Goes wrong

    No reply is treated as 'no longer needed', and the patients least able to reply drop off the list.

    How the design avoids it

    Nobody is removed for not replying. Follow up by another route, and monitor response and removal rates by patient group.

  2. Goes wrong

    Pathways are removed in bulk because the rule looked obvious.

    How the design avoids it

    A person confirms every change, batches stay small and grouped by rule, and a sample of each batch is re-checked.

  3. Goes wrong

    A reply saying 'it's got worse' waits in the same queue as the rest.

    How the design avoids it

    Worsening symptoms go to a clinician the same day, and that route is tested before the first campaign.

  4. Goes wrong

    The list is cleaned, but the same errors come back every month.

    How the design avoids it

    Report findings by cause, and fix them where they start: booking, coding and PAS configuration.

  5. Goes wrong

    The numbers improve, but nobody can show why each patient left the list.

    How the design avoids it

    An evidence trail for every removal: the rule or the reply, who confirmed it, and the letters sent to the patient and GP.

On the horizon

Changes already announced or under way that affect this design. More in the UK horizon scan.

  1. By March 2027
    NHS England's 2026/27 target: each trust improves 18-week performance by at least 7%, or reaches 65%, whichever is greater, towards 70% nationally.

    Make validation continuous, not a sprint, so the list is accurate every month the target is measured.

  2. By March 2029
    The constitutional standard: at least 92% of patients waiting 18 weeks or less.

    Build the audit trail and the patient-group monitoring now. Scrutiny of how lists are reduced will grow as the target gets closer.

  3. 2026–2027
    The NHS App roadmap includes viewing hospital letters in the NHS App inbox, and NHS England has published best practice guidance for patient messaging.

    Use one messaging route with letter fallback, so the App inbox can be switched on without changing the campaigns.

  4. 2026–2027
    The ICO's code of practice on AI and automated decision-making, required by regulations in force since May 2026.

    Keep the confirmation log, the reasons and the patient letters in a form you could show the ICO.

  5. By 2028/29
    NHS England expects acute trusts to be onboarded to the NHS Federated Data Platform and using its core products for elective recovery.

    Design so findings and replies can feed the trust's FDP products if it uses them, rather than running a second list.

Questions to ask your partner or vendor

Good answers are specific. Vague answers to any of these are worth following up.

Copy them into your next supplier meeting

  1. What happens to a patient who doesn't reply, and where is that written down?
  2. Which changes can the AI make on the PAS, and where is that enforced?
  3. How will we know if one group of patients is being removed more than others?
  4. Which RTT rule does each proposed correction rely on, and who owns the rules?
  5. How does a 'getting worse' reply reach a clinician, and how fast?
  6. How does this work alongside the validation tools we already use, rather than duplicating them?

Planning something like this?

Whether you need someone to lead the design or to support the architect you already have, let's talk it through.

Sam Naseem
Sam NaseemBirmingham, UK · UK & Europe
Available now