An example to illustrate sending a reference to an additional contact with a service request

Table View

ServiceRequest.id[0]UKCore-ServiceRequest-Extension-AdditionalContact-Example
ServiceRequest.extension[0].url[0]https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-AdditionalContact
ServiceRequest.extension[0].value[0].reference[0]Practitioner/UKCore-Practitioner-ConsultantSandraGose-Example
ServiceRequest.status[0]active
ServiceRequest.intent[0]order
ServiceRequest.subject[0].reference[0]Patient/UKCore-Patient-RichardSmith-Example
ServiceRequest.requester[0].reference[0]Practitioner/UKCore-Practitioner-DoctorPaulRastall-Example

XML View

<ServiceRequest xmlns="http://hl7.org/fhir">
    <id value="UKCore-ServiceRequest-Extension-AdditionalContact-Example" />
    <!--  ***************extension start***************  -->
    <extension url="https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-AdditionalContact">
        <valueReference>
            <reference value="Practitioner/UKCore-Practitioner-ConsultantSandraGose-Example" />
        </valueReference>
    </extension>
    <!--  **************extension end ******************  -->
    <status value="active" />
    <intent value="order" />
    <subject>
        <reference value="Patient/UKCore-Patient-RichardSmith-Example" />
    </subject>
    <requester>
        <reference value="Practitioner/UKCore-Practitioner-DoctorPaulRastall-Example" />
    </requester>
</ServiceRequest>

JSON View

{
    "resourceType": "ServiceRequest",
    "id": "UKCore-ServiceRequest-Extension-AdditionalContact-Example",
    "extension":  [
        {
            "url": "https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-AdditionalContact",
            "valueReference": {
                "reference": "Practitioner/UKCore-Practitioner-ConsultantSandraGose-Example"
            }
        }
    ],
    "status": "active",
    "intent": "order",
    "subject": {
        "reference": "Patient/UKCore-Patient-RichardSmith-Example"
    },
    "requester": {
        "reference": "Practitioner/UKCore-Practitioner-DoctorPaulRastall-Example"
    }
}

back to top