An example to illustrate an observation triggered by another observation

Table View

The resource cannot be rendered.

XML View

<Observation xmlns="http://hl7.org/fhir">
    <id value="UKCore-Extension-TriggeredBy-Example" />
    <extension url="http://hl7.org/fhir/5.0/StructureDefinition/extension-Observation.triggeredBy">
        <extension url="observation">
            <valueReference>
                <reference value="Observation/UKCore-Observation-DrugUse-Example" />
            </valueReference>
        </extension>
        <extension url="type">
            <valueCode value="reflex" />
        </extension>
        <extension url="reason">
            <valueString value="Patient admitted to recreational drug use." />
        </extension>
    </extension>
    <identifier>
        <system value="https://tools.ietf.org/html/rfc4122" />
        <value value="293a6418-9dcf-4d42-b97a-b119afd200ba" />
    </identifier>
    <status value="final" />
    <category>
        <coding>
            <system value="http://terminology.hl7.org/CodeSystem/observation-category" />
            <code value="laboratory" />
            <display value="Laboratory" />
        </coding>
    </category>
    <code>
        <coding>
            <system value="http://snomed.info/sct" />
            <code value="1014801000000101" />
            <display value="Urine tricyclic drug screen" />
        </coding>
    </code>
    <subject>
        <reference value="Patient/UKCore-Patient-RichardSmith-Example" />
    </subject>
    <performer>
        <reference value="Organization/UKCore-Organization-LeedsTeachingHospital-Example" />
    </performer>
    <specimen>
        <reference value="Specimen/UKCore-Specimen-UrineSpecimen-Example" />
    </specimen>
</Observation>

JSON View

{
    "resourceType": "Observation",
    "id": "UKCore-Extension-TriggeredBy-Example",
    "extension":  [
        {
            "url": "http://hl7.org/fhir/5.0/StructureDefinition/extension-Observation.triggeredBy",
            "extension":  [
                {
                    "url": "observation",
                    "valueReference": {
                        "reference": "Observation/UKCore-Observation-DrugUse-Example"
                    }
                },
                {
                    "url": "type",
                    "valueCode": "reflex"
                },
                {
                    "url": "reason",
                    "valueString": "Patient admitted to recreational drug use."
                }
            ]
        }
    ],
    "identifier":  [
        {
            "system": "https://tools.ietf.org/html/rfc4122",
            "value": "293a6418-9dcf-4d42-b97a-b119afd200ba"
        }
    ],
    "status": "final",
    "category":  [
        {
            "coding":  [
                {
                    "system": "http://terminology.hl7.org/CodeSystem/observation-category",
                    "code": "laboratory",
                    "display": "Laboratory"
                }
            ]
        }
    ],
    "code": {
        "coding":  [
            {
                "system": "http://snomed.info/sct",
                "code": "1014801000000101",
                "display": "Urine tricyclic drug screen"
            }
        ]
    },
    "subject": {
        "reference": "Patient/UKCore-Patient-RichardSmith-Example"
    },
    "performer":  [
        {
            "reference": "Organization/UKCore-Organization-LeedsTeachingHospital-Example"
        }
    ],
    "specimen": {
        "reference": "Specimen/UKCore-Specimen-UrineSpecimen-Example"
    }
}