| Intake: e-RS, secure email, scanned postReferrals come from the e-RS FHIR API. Letters arrive in the trust's secure mailbox, through the EPR's document feed, or scanned from post. | API Gateway, AWS Lambda, Amazon S3 | API Management, Logic Apps connectors, Blob Storage | Kong or your existing API gateway; n8n or your integration engine; Ceph or IONOS S3 Object Storage |
|---|
| Reading documentsTest on real scanned letters, poor-quality PDFs and handwritten notes, not clean templates. | Amazon Textract, or Bedrock Data Automation | Azure Content Understanding (includes Document Intelligence) | Open-source parsing (e.g. Docling) plus an open-weight vision model |
|---|
| Summaries and suggestionsBoth clouds offer a choice of models, including Claude. Test every model on your own referrals, one specialty at a time. | Amazon Bedrock | Microsoft Foundry | Open-weight models served with vLLM on your own GPUs, or IONOS AI Model Hub |
|---|
| Referral criteria (retrieval)Each specialty's approved referral and triage criteria, owned by its clinical lead and versioned. Every suggestion cites the criterion it used. | Bedrock Knowledge Bases | Foundry IQ, built on Azure AI Search | OpenSearch, or PostgreSQL with pgvector |
|---|
| Agent runtimeThe original Bedrock Agents closed to new customers on 30 July 2026; new builds use AgentCore. | Amazon Bedrock AgentCore | Foundry Agent Service | An open-source agent framework (e.g. LangGraph) on Kubernetes |
|---|
| Workflow | AWS Step Functions | Logic Apps or Durable Functions | Temporal, or n8n |
|---|
| Middleware and events | Amazon EventBridge, SQS | Event Grid, Service Bus | Apache Kafka or RabbitMQ |
|---|
| Link to e-RSThe AI's own access is application-restricted, which is read-only. Anything that changes a referral is done under the clinician's CIS2 login. API integrations go through NHS England's onboarding process, so start it in discovery. | e-RS FHIR API through API Gateway | e-RS FHIR API through API Management | e-RS FHIR API through Kong or your existing API gateway |
|---|
| Link to the EPR and document managementReuse the integration engine the trust already runs. Agree with your EPR supplier what can be written back, and how, before anything is built. | Your existing integration engine, over HL7 v2 or FHIR | Your existing integration engine, over HL7 v2 or FHIR | Your existing integration engine, over HL7 v2 or FHIR |
|---|
| Human reviewClinicians see the summary and suggestion where they already work, not in a new screen. | In the e-RS worklist and the EPR, where clinicians already triage | In the e-RS worklist and the EPR, where clinicians already triage | In the e-RS worklist and the EPR, where clinicians already triage |
|---|
| GuardrailsGrounding checks flag any statement in a summary that isn't in the source documents. | Bedrock Guardrails | Foundry guardrails (Azure AI Content Safety) | Open-source guardrails (e.g. NeMo Guardrails, Llama Guard) |
|---|
| Identity, keys, data protectionClinicians keep using CIS2 for e-RS. The AI runs under its own service identity, with read-only access. | IAM Identity Center, KMS, Macie | Entra ID, Key Vault, Purview | Keycloak or your existing Active Directory; OpenBao or HashiCorp Vault; an HSM |
|---|
| Monitoring and auditLog every summary, every suggestion, the criteria version used, and the clinician's decision. | CloudWatch, CloudTrail | Azure Monitor, Log Analytics | Prometheus, 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 West | Your own UK data centre, or a UK or EU provider |
|---|