Project 04 · Clinical AI
RAGFHIRClinical NLPGemma 4Azure OpenAINICE Guidelines

NHS Clinical Decision Support RAG Assistant

“Clinical decisions, evidence first”

Answers NICE guideline queries in plain language with exact citations, SNOMED CT codes, and a mandatory human-review flag on every response. Built for NHS clinical settings.

clinical-rag · query

Clinical Query

First-line treatment for type 2 diabetes in adults?

Evidence-Based Response

Metformin is first-line unless contraindicated (eGFR <30). Target HbA1c 48 mmol/mol for monotherapy.

NICE NG28 · Rec. 1.6.1SNOMED CT 44054006
Mandatory Human Review Required
Compliance & StandardsNHS DigitalNICE GuidelinesMHRA GMLPUK GDPR Art.22FHIR R4SNOMED CTAzure OpenAIGemma 4

Use Cases

Evidence-grade clinical scenarios

Built for Causaly

Biomedical evidence assembly

Surface a defensible chain of evidence across millions of biomedical papers, patents, and trial registries — every claim returns with the source paragraph, DOI, and SNOMED-mapped concept so reviewers can verify in one click.

Knowledge graph · DOI
Built for Maven Clinic

Specialty-aware care guidance

OB/GYN, fertility, and paediatric queries return guideline-grounded answers overlaid with provider state, payor, and trimester context — so the same prompt yields a different, locally compliant pathway depending on member geography.

RCOG · ACOG · state
Built for Onsera Health

Chronic-condition pathway lookup

For a patient on a long-term care pathway, the assistant retrieves the relevant NICE step, the next escalation criterion, and the eligible interventions — keeping community clinicians aligned with the latest published pathway.

NICE pathway · escalation
Built for Heim Health

Point-of-care home-visit support

Runs on a clinician's tablet during a home visit. Voice or typed query returns a concise NICE-grounded answer plus a one-tap audit-trail entry — designed for low-bandwidth visits where the clinician can't open a 60-page PDF.

NICE · offline-cache
Built for Gilead Sciences

Trial-protocol & evidence retrieval

Query an internal trial-protocol corpus alongside published oncology and antiviral literature; the response cites the protocol section, the published source, and any superseding amendment so clinical-ops and regulatory teams stay synchronised.

Protocol · amendment trail
Built for Genomics England

Variant-to-evidence retrieval

A genomic variant maps to the relevant ClinVar entry, OMIM phenotype, and any NICE-recognised genomic test pathway — every output flagged with a confidence score and a mandatory clinical-scientist review before release.

ClinVar · OMIM · review

How It Works

From query to verified answer

  1. 01

    Clinician submits query

    Submitted through the secure NHS-authenticated interface. All queries are logged and auditable.

  2. 02

    Semantic vector search

    Embedded and matched against 50,000+ NICE guideline chunks using cosine similarity.

  3. 03

    NICE guideline retrieval

    The top-k most relevant guideline sections are retrieved with full source metadata.

  4. 04

    Gemma 4 generation

    Retrieved context is passed to Gemma 4 on Azure AI with a clinically constrained system prompt.

  5. 05

    Mandatory review flag applied

    A non-bypassable review flag is attached — the system cannot return a response without it.

  6. 06

    Clinician reviews & acts

    The clinician receives the evidence, citations, SNOMED codes, and review flag — and decides.

System Architecture

RAG pipeline at a glance

Query InputClinical question
Vector SearchAzure Cognitive
NICE Retrieval50k+ chunks
LLM GenerationGemma 4 · Azure
Review FlagNon-bypassable
CitationSNOMED + NG ref
ClinicianFinal decision

Vector Store

Azure Cognitive Search · ada-002 embeddings · cosine similarity

Knowledge Base

NICE guidelines · BNF drug data · SNOMED CT ontology

Compliance Layer

UK GDPR Art.22 · MHRA GMLP · NHS DSP Toolkit

Sample Interaction

Evidence-grounded in every response

NHS Clinical RAG · Session #7391Authenticated

Clinical Query

First-line treatment for type 2 diabetes in adults?

Evidence-Based Response

Metformin is first-line unless contraindicated (eGFR <30). Target HbA1c 48 mmol/mol for monotherapy.

Guideline Citation

NICE NG28

Recommendation 1.6.1

SNOMED CT 44054006

Type 2 diabetes mellitus

Confidence

0.94

Mandatory Human Review Required

This AI-generated response must be reviewed by a qualified clinician. UK GDPR Art.22 · MHRA GMLP.