FinchContext
Run with

Build NHS EPS Prescription Message (HL7/FHIR)

Skill: Assemble a prescription into an EPS message for the NHS Spine

Region: United Kingdom Category: Health care Does: Takes a prescriber's medication order and assembles the Electronic Prescription Service (EPS) prescription message for submission to the NHS Spine, coding medicines against the dm+d dictionary and carrying prescriber, patient and dispenser routing. Spec: NHS England EPS — HL7 V3 / FHIR R4 prescription messages, dm+d coding, SCCI0052 (Information Standard for EPS)

Sends a prescription electronically from a prescribing system to a nominated dispenser via the Spine. EPS is moving from HL7 V3 to the FHIR-based Electronic Prescription Service API. Element names follow the EPS message / FHIR resources, not a verbatim schema.


When this applies


Structure (prescription → EPS message)

MessageHeader: messageId, sender (prescribing system, ODS code), Spine endpoint
Patient: NHS Number (10-digit), name, DOB
PractitionerRole: prescriber (GMC/professional code), organisation (ODS), prescribing site
MedicationRequest (per line item):
  - medication coded to dm+d (VMP/AMP SNOMED code)
  - dosageInstruction, quantity + unit, course/duration
  - prescriptionType (acute / repeat / eRD), repeats authorised/issued
  - nominated dispenser (ODS code) or token
Provenance / digital signature (Smartcard / advanced electronic signature)

Data rules


Worked example (outline)

Acute prescription, prescriber GMC 1234567 at GP practice ODS A12345
  Patient NHS 943 476 5919, Amoxicillin 500mg capsules (dm+d AMP code), qty 21
  Dosage: 1 capsule three times a day for 7 days
  Nominated dispenser ODS FA123 (community pharmacy)
  Signed via Smartcard -> sent to Spine EPS endpoint

Submitted to the NHS Spine via the EPS (FHIR) API; the dispenser downloads it at the nominated pharmacy.


Validation checklist


Last updated: 2026-06-04 — confirm the current schema/version, identifiers, coding and standards against current authority (nhs.uk / NHS Digital EPS API) guidance before use.