API Hub

Explore and Make use of Nationally Defined Messaging APIs

This is a HL7 FHIR server, and as you appear to be accessing this page from a web browser you are seeing a HTML version of the requested resource(s). You can also access this URL from a FHIR client as a ReSTful API call. For more details please see the HL7 FHIR specification.
<!-- RARecord-Consent-1 example using a Legal Proxy --><Consent xmlns="http://hl7.org/fhir">
    <id value="f1dc0ac6-45ff-4d2b-bf91-793971e3e286"/>
    <meta>
        <versionId value="2c8cab29-db54-4ae7-8135-5de94807f2d9"/>
        <lastUpdated value="2016-03-01T10:04:33+00:00"/>
        <profile value="https://fhir.nhs.uk/STU3/StructureDefinition/RARecord-Consent-1"/>
    </meta>
    <contained>
            <Provenance>
                <id value="e0531fd1-212d-4a97-a7a9-d17cec9a6af2"/>
                <meta>
                    <profile value="https://fhir.nhs.uk/STU3/StructureDefinition/RARecord-Provenance-1"/>
                </meta>
                <target>
                    <reference value="Consent/f1dc0ac6-45ff-4d2b-bf91-793971e3e286"/>
                </target>
                <recorded value="2016-03-01T10:05:33+00:00"/>
                <agent>
                    <role>
                        <coding>
                            <system value="https://fhir.nhs.uk/STU3/CodeSystem/CareConnect-SDSJobRoleName-1"/>
                            <code value="R0260"/>
                            <display value="General Medical Practitioner"/>
                        </coding>
                    </role>
                    <whoReference>
                        <reference value="https://sds.spineservices.nhs.uk/STU3/Practitioner/2ee4tr6a9"/>
                        <display value="Dr.D"/>
                    </whoReference>
                    <onBehalfOfReference>
                        <reference value="https://directory.spineservices.nhs.uk/STU3/Organization/a3e5i7"/>
                        <display value="Some GP Clinic"/>
                    </onBehalfOfReference>
                </agent>
            </Provenance>
        </contained>
    <extension url="https://fhir.nhs.uk/STU3/StructureDefinition/Extension-RARecord-ProxyRole-1">
        <valueCodeableConcept>
            <coding>
                <system value="https://fhir.nhs.uk/STU3/CodeSystem/CodeSystem-RARecord-ProxyRole-1"/>
                <code value="lpa"/>
                <display value="Lasting power of attorney personal welfare"/>
            </coding>
        </valueCodeableConcept>
    </extension>
    <extension url="https://fhir.nhs.uk/STU3/StructureDefinition/Extension-RARecord-Provenance-1">
        <extension url="created">
            <valueReference>
                <reference value="#e0531fd1-212d-4a97-a7a9-d17cec9a6af2"/>
            </valueReference>
        </extension>
    </extension>
    <status value="active"/>
    <category>
        <coding>
            <system value="https://fhir.nhs.uk/STU3/CodeSystem/CodeSystem-RARecord-FlagCategory-1"/>
            <code value="reasonable adjustments flag"/>
            <display value="Reasonable Adjustments Flag"/>
        </coding>
    </category>
    <patient>
        <reference value="demographics.spineservices.nhs.uk/STU3/Patient/999999998"/>
    </patient>
    <!-- these are directly lifted from National Data Opt Out. Will need either a general set or specific values for Reasonable Adjustments -->
    <policy>
        <authority value="https://www.gov.uk/"/>
        <uri value="https://www.gov.uk/government/uploads/system/uploads/attachment_data/file/535024/data-security-review.pdf"/>
    </policy>
    <purpose>
        <system value="https://snomed.info/sct"/>
        <code value="370856009"/>
        <display value="Limiting access to confidential patient information"/>
    </purpose>
</Consent>