NHS Digital FHIR Implementation Guide (Retired - 2.1.50)

This guidance is under active development by NHS Digital and content may be added or updated on a regular basis.

MessageHeader

{
    "resourceType": "MessageHeader",
    "id": "3599c0e9-9292-413e-9270-9a1ef1ead99c",
    "eventCoding": {
        "system": "https://fhir.nhs.uk/CodeSystem/message-event",
        "code": "prescription-order",
        "display": "Prescription Order"
    },
    "destination":  [
        {
            "endpoint": "https://sandbox.api.service.nhs.uk/electronic-prescriptions/$post-message",
            "receiver": {
                "identifier": {
                    "system": "https://fhir.nhs.uk/Id/ods-organization-code",
                    "value": "VNE51"
                },
                "display": "The Simple Pharmacy"
            }
        }
    ],
    "sender": {
        "identifier": {
            "system": "https://fhir.nhs.uk/Id/ods-organization-code",
            "value": "RBA"
        },
        "display": "TAUNTON AND SOMERSET NHS FOUNDATION TRUST"
    },
    "source": {
        "endpoint": "https://directory.spineservices.nhs.uk/STU3/Organization/RBA"
    },
    "focus":  [
        {
            "reference": "urn:uuid:78d3c2eb-009e-4ec8-a358-b042954aa9b2"
        },
        {
            "reference": "urn:uuid:a54219b8-f741-4c47-b662-e4f8dfa49ab6"
        }
    ]
}
<MessageHeader xmlns="http://hl7.org/fhir">
    <id value="3599c0e9-9292-413e-9270-9a1ef1ead99c" />
    <eventCoding>
        <system value="https://fhir.nhs.uk/CodeSystem/message-event" />
        <code value="prescription-order" />
        <display value="Prescription Order" />
    </eventCoding>
    <destination>
        <endpoint value="https://sandbox.api.service.nhs.uk/electronic-prescriptions/$post-message" />
        <receiver>
            <identifier>
                <system value="https://fhir.nhs.uk/Id/ods-organization-code" />
                <value value="VNE51" />
            </identifier>
            <display value="The Simple Pharmacy" />
        </receiver>
    </destination>
    <sender>
        <identifier>
            <system value="https://fhir.nhs.uk/Id/ods-organization-code" />
            <value value="RBA" />
        </identifier>
        <display value="TAUNTON AND SOMERSET NHS FOUNDATION TRUST" />
    </sender>
    <source>
        <endpoint value="https://directory.spineservices.nhs.uk/STU3/Organization/RBA" />
    </source>
    <focus>
        <reference value="urn:uuid:78d3c2eb-009e-4ec8-a358-b042954aa9b2" />
    </focus>
    <focus>
        <reference value="urn:uuid:a54219b8-f741-4c47-b662-e4f8dfa49ab6" />
    </focus>
</MessageHeader>
MessageHeader
back to top