An example to illustrate the source of service request extension associated with a service request

Table View

ServiceRequest.id[0]UKCore-ServiceRequest-Extension-SourceOfServiceRequest-Example
ServiceRequest.extension[0].url[0]https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-SourceOfServiceRequest
ServiceRequest.extension[0].value[0].coding[0].system[0]http://snomed.info/sct
ServiceRequest.extension[0].value[0].coding[0].code[0]108161000000109
ServiceRequest.extension[0].value[0].coding[0].display[0]Referred by general practitioner
ServiceRequest.status[0]active
ServiceRequest.intent[0]order
ServiceRequest.subject[0].reference[0]Patient/UKCore-Patient-RichardSmith-Example

XML View

<ServiceRequest xmlns="http://hl7.org/fhir">
    <id value="UKCore-ServiceRequest-Extension-SourceOfServiceRequest-Example" />
    <!--  ***************extension start***************  -->
    <extension url="https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-SourceOfServiceRequest">
        <valueCodeableConcept>
            <coding>
                <system value="http://snomed.info/sct" />
                <code value="108161000000109" />
                <display value="Referred by general practitioner" />
            </coding>
        </valueCodeableConcept>
    </extension>
    <!--  **************extension end ******************  -->
    <status value="active" />
    <intent value="order" />
    <subject>
        <reference value="Patient/UKCore-Patient-RichardSmith-Example" />
    </subject>
</ServiceRequest>

JSON View

{
    "resourceType": "ServiceRequest",
    "id": "UKCore-ServiceRequest-Extension-SourceOfServiceRequest-Example",
    "extension":  [
        {
            "url": "https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-SourceOfServiceRequest",
            "valueCodeableConcept": {
                "coding":  [
                    {
                        "system": "http://snomed.info/sct",
                        "code": "108161000000109",
                        "display": "Referred by general practitioner"
                    }
                ]
            }
        }
    ],
    "status": "active",
    "intent": "order",
    "subject": {
        "reference": "Patient/UKCore-Patient-RichardSmith-Example"
    }
}

back to top