GP Connect (Patient Facing) Prescriptions - FHIR API

This guidance is under active development by NHS Digital and content may be added or updated on a regular basis.
Note: This is a deprecated version (draft) of the specification - please see the latest for the latest version.

Profiles

UKCore-MedicationRequest

UKCore-Task

UKCore-MedicationStatement

UKCore-OperationOutcome

Command 'tree' could not render: File was not found for 'https://fhir.hl7.org.uk/StructureDefinition/UKCore-OperationOutcome'
Command 'dict' could not render: File was not found for 'https://fhir.hl7.org.uk/StructureDefinition/UKCore-OperationOutcome'

Example

{
    "resourceType": "OperationOutcome",
    "id": "UKCore-OperationOutcome-DateError-Example",
    "meta": {
        "profile": [
            "https://fhir.hl7.org.uk/StructureDefinition/UKCore-OperationOutcome"
    ]},
    "issue":  [
        {
            "severity": "fatal",
            "code": "structure",
            "details": {
                "coding":  [
                    {
                        "system": "http://terminology.hl7.org/CodeSystem/operation-outcome",
                        "code": "MSG_DATE_FORMAT",
                        "display": "The Date value %s is not in the correct format (Xml Date Format required)"
                    }
                ]
            },
            "diagnostics": "Interop.FHIRProcessors.Patient.processbirthDate line 2450",
            "expression":  [
                "Patient.birthDate"
            ]
        }
    ]
}

UKCore-PractitionerRole

Command 'tree' could not render: File was not found for 'https://fhir.hl7.org.uk/StructureDefinition/UKCore-PractitionerRole'
Command 'dict' could not render: File was not found for 'https://fhir.hl7.org.uk/StructureDefinition/UKCore-PractitionerRole'
Command 'json' could not render: File was not found for

Definition

A specific set of Roles/Locations/specialties/services that a practitioner may perform at an organization for a period of time.

Minimum Viable Content

A minimum viable content that all provider and consumer systems should support is the following elements.

Element Required?
id
meta.profile
identifier
active
period
practitioner
organization
code
specialty
location
healthcareService
telecom
availableTime
notAvailable
availabilityExceptions
endpoint

id

DataType Optionality Cardinality
identifier required 1:1

The logical identifier of the MedicationStatement resource.

Example

 "id":"c5bb3d99-f7b5-4582-bbff-6425bdcde0b0" 

practitioner

DataType Optionality Cardinality
identifier required 1:1

The practitioner to which the role relates as a reference to UKCore-Practitioner.

Example

"practitioner" : {
   "display" : "Dr Jane Smith",
   "identifier" : {
     "system" : "https://fhir.hl7.org.uk/Id/gmc-number",
     "value" : "C9876543"
    }
}

organization

DataType Optionality Cardinality
identifier required 1:1

The organization to which the role relates as a reference to UKCore-Organization.

Example

"organization" : {
    "identifier" : {
      "system" : "https://fhir.nhs.uk/Id/ods-organization-code",
      "value" : "L8048"
    }
}

back to top