An example to illustrate sending a priority reason for an urgent ServiceRequest, using plain text

Table View

ServiceRequest.id[0]UKCore-ServiceRequest-Extension-PriorityReasonString-Example
ServiceRequest.status[0]active
ServiceRequest.intent[0]order
ServiceRequest.priority[0]urgent
ServiceRequest.priority[0].extension[0].url[0]https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-PriorityReason
ServiceRequest.priority[0].extension[0].value[0].text[0]Original assessment was delayed due to COVID-19 pandemic
ServiceRequest.subject[0].reference[0]Patient/UKCore-Patient-RichardSmith-Example
ServiceRequest.requester[0].reference[0]Practitioner/UKCore-Practitioner-DoctorPaulRastall-Example

Tree View

ServiceRequest

XML View

<ServiceRequest xmlns="http://hl7.org/fhir">
    <id value="UKCore-ServiceRequest-Extension-PriorityReasonString-Example" />
    <status value="active" />
    <intent value="order" />
    <priority value="urgent">
        <!--  ***************extension start***************  -->
        <extension url="https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-PriorityReason">
            <valueCodeableConcept>
                <text value="Original assessment was delayed due to COVID-19 pandemic" />
            </valueCodeableConcept>
        </extension>
        <!--  **************extension end ******************  -->
    </priority>
    <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-PriorityReasonString-Example",
    "priority": "urgent",
    "_priority": {
        "extension":  [
            {
                "url": "https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-PriorityReason",
                "valueCodeableConcept": {
                    "text": "Original assessment was delayed due to COVID-19 pandemic"
                }
            }
        ]
    },
    "status": "active",
    "intent": "order",
    "subject": {
        "reference": "Patient/UKCore-Patient-RichardSmith-Example"
    },
    "requester": {
        "reference": "Practitioner/UKCore-Practitioner-DoctorPaulRastall-Example"
    }
}

back to top