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.

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"
            ]
        }
    ]
}

back to top