NHS FHIR R4 Integration Guide UK (2025)

πŸ₯ NHS FHIR R4πŸ‡¬πŸ‡§ UK CoreπŸ“‹ DTAC Domain 4πŸ”’ UK GDPR Article 9πŸ†“ Free Consultation
June 202512 min readClickMasters HealthTech Team

Direct Answer

NHS FHIR R4 (Fast Healthcare Interoperability Resources, Release 4) is the UK national standard for NHS digital health interoperability. UK Core FHIR R4 (published by NHS England) defines UK-specific FHIR profiles. DTAC Domain 4 (Interoperability) requires NHS applications to comply with UK Core FHIR R4. ClickMasters builds FHIR R4 integrations for NHS HealthTech applications.

NHS FHIR R4 APIs β€” UK Overview

This guide covers the main NHS FHIR R4 APIs available for HealthTech developers in the UK. Always check NHS Digital (now NHS England Digital) documentation for current API versions and onboarding requirements.

APIPurposeAccess LevelOnboarding
NHS Login (OIDC)Patient identity and authenticationP5 (basic) / P9 (high assurance)NHS Login onboarding (Developer portal)
Personal Demographics Service (PDS)Patient demographic lookup by NHS NumberHSCN + Smartcard or NHS LoginNHS Digital API catalogue
GP Connect - FoundationsPatient lookup + appointment managementHSCN + Spine SmartcardNHS England GP Connect onboarding
GP Connect - Access RecordRead patient GP clinical record (FHIR R4)HSCN + clinical system SmartcardNHS England GP Connect + clinical system IG
GP Connect - Send DocumentSend structured documents to GP systemsHSCN + SmartcardNHS England GP Connect onboarding
NHS e-Referral Service (eRS)Electronic referrals between care settingsHSCN + SmartcardNHS England eRS onboarding
Electronic Prescription Service (EPS)Electronic prescribing and dispensingHSCN + Smartcard (prescribers)NHS BSA EPS onboarding
NHS App / NHS Login APIPatient-facing national health app integrationOAuth 2.0 + NHS LoginNHS England App integration programme

UK Core FHIR R4 β€” Key Resource Profiles

FHIR ResourceUK Core ProfileKey UK-Specific Requirements
PatientUKCore-PatientNHS Number (official identifier), UK address format (UPRN/postcode), NHS Data Dictionary ethnic categories
PractitionerUKCore-PractitionerGMC/NMC/GPhC registration number, SDS user ID for NHS authentication
Observation (vital signs)UKCore-ObservationSNOMED CT UK Drug Extension codes for vital sign types, UCum units
MedicationRequestUKCore-MedicationRequestdm+d (NHS Dictionary of Medicines and Devices) codes mandatory, EPS token for electronic prescribing
ServiceRequest (Referral)UKCore-ServiceRequestNHS e-RS priority codes (Routine/Urgent/Two Week Wait), SNOMED CT UK for specialty
DiagnosticReportUKCore-DiagnosticReportSNOMED CT UK for report type, LOINC codes for lab tests where applicable

DTAC Domain 4 β€” Interoperability Requirements

UK Core FHIR R4 compliance: all APIs using FHIR must use UK Core profiles (not vanilla FHIR R4 profiles).

SNOMED CT UK: clinical coding must use SNOMED CT UK Edition (not SNOMED CT International alone).

NHS Number: patient identity must use NHS Number as the primary identifier.

HL7 messaging: if using HL7 v2 (legacy), must use NHS-approved message types and segments.

FHIR Capability Statement: servers must publish a /metadata endpoint with capability declaration.

OpenAPI 3.0: non-FHIR APIs must have OpenAPI 3.0 documentation.

DTAC Domain 4 assesses whether the digital health solution uses open standards for data exchange. Key evidence requirements:

UK GDPR Article 9 and FHIR R4

Lawful basis: public task (Article 9(2)(h)) for NHS commissioned services; explicit consent for non-NHS patient-facing applications.

Data minimisation: FHIR API calls should request only the FHIR resources and fields genuinely needed β€” not full patient records when a single observation is required.

Access audit: every FHIR API call must be logged with the clinical user identity, patient NHS Number, and timestamp.

NHS Number is special category data: treat as equivalent to health data for security purposes.

All NHS FHIR R4 data is special category health data under UK GDPR Article 9. Key architecture implications:

Frequently Asked Questions

Common questions about nhs fhir r4 integration guide uk (2025).

Each NHS API has its own onboarding process via the NHS England API catalogue (api.service.nhs.uk). Most clinical APIs (GP Connect, PDS, eRS) require: HSCN network connectivity, Smartcard authentication for clinical staff, NHS Digital Information Governance (IG) Toolkit compliance (DSP Toolkit), and a connection agreement with NHS England. Patient-facing APIs (NHS Login) use standard OAuth 2.0 onboarding via the NHS Login developer portal.

NHS FHIR R4 means FHIR R4 with UK Core profiles applied. UK Core profiles add UK-specific constraints: mandatory NHS Number, UK address formats, SNOMED CT UK Edition for clinical coding, dm+d for medicines, and UK-specific extensions (ethnicity codes, religious affiliation). Vanilla FHIR R4 (international) does not satisfy DTAC Domain 4 for NHS applications.

About the Author

ClickMasters HealthTech Team NHS FHIR R4 and UK Core integration specialists ClickMasters has built NHS FHIR R4 integrations for HealthTech applications across GP Connect, PDS, NHS Login, and NHS e-RS.

Free NHS FHIR R4 Architecture Consultation...

Free NHS FHIR R4 Architecture Consultation ClickMasters will design your NHS FHIR integration architecture. Free 45-minute call. β†’ clickmasterssoftwaredevelopmentcompany.co.uk/contact/

Book a Free Consultation