GPCopilot.ai
A multi-agent AI system that automates end-to-end clinical document coding for NHS GP practices — from document upload to GP record update.
Everything You Need for Clinical Coding
Six specialised AI agents working in concert, each equipped with NHS API tools to handle their part of the pipeline.
Document Extraction
Upload PDFs, scanned images, or clinical letters. Our AI extraction agent parses document content, identifies clinical findings, patient demographics, report dates, and authoring organisations.
Patient Identification
Extracted patient details are matched against the NHS Personal Demographics Service (PDS) using FHIR R4 APIs. Smart matching uses NHS number, name, DOB, and postcode for high-confidence identification.
SNOMED-CT Clinical Coding
Clinical findings are mapped to SNOMED-CT codes via the NHS Terminology Server. Each code carries a confidence score (high/medium/low) with alternative suggestions and Read v2/CTV3 cross-maps.
Human-in-the-Loop Validation
A built-in validation gate where clinicians review coded findings before filing. High-confidence codes can be auto-approved; lower confidence codes are flagged for manual review. Full override capability.
GP Record Update
Approved coded documents are pushed to the GP clinical system via GP Connect Send Document and MESH messaging. Full audit trail with message tracking and delivery confirmation.
Real-time Workflow Tracking
Monitor every document through the pipeline in real-time via WebSocket events. Progress percentage, current step, timestamps, and error states — all visible in the clinician dashboard.
The Coding Pipeline
A sequential, orchestrated workflow with human-in-the-loop validation. Every step is tracked, auditable, and reversible.
Document uploaded via UI, email, or MESH
AI agent parses structured clinical data
Patient matched via NHS PDS FHIR lookup
Findings mapped to SNOMED-CT with confidence scores
Clinician reviews and approves coded findings
Coded document filed to GP system via GP Connect
Built with Leading Technology
A modern, production-grade stack designed for NHS compliance, scalability, and reliability.
Python 3.13
Language
FastAPI
Web Framework
Microsoft Agent Framework
AI Agents
Azure OpenAI (GPT-4o)
LLM Provider
HL7 FHIR R4
Interoperability
A2A + MCP Protocols
Agent Communication
Native NHS API Integration
Direct integration with four core NHS services through standard FHIR APIs and messaging protocols.
Personal Demographics Service (PDS)
FHIR R4Patient search and demographics retrieval for identity matching.
NHS Terminology Server
FHIR R4SNOMED-CT code search, lookup, validation, translation, and value set expansion.
GP Connect
FHIR STU3Send coded documents and access structured patient records from GP clinical systems.
MESH Messaging
NHS MESH APISecure message exchange for sending coded documents between NHS organisations.
See GPCopilot in Action
Schedule a demo to see how GPCopilot can automate your practice's clinical document coding workflow.