An example to illustrate an observation of the patient drug use

Table View

Observation.id[0]UKCore-Observation-DrugUse-Example
Observation.identifier[0].system[0]https://tools.ietf.org/html/rfc4122
Observation.identifier[0].value[0]2af46949-4938-4c57-bad4-c4363e1965d5
Observation.status[0]final
Observation.category[0].coding[0].system[0]http://terminology.hl7.org/CodeSystem/observation-category
Observation.category[0].coding[0].code[0]social-history
Observation.category[0].coding[0].display[0]Social History
Observation.code[0].coding[0].system[0]http://snomed.info/sct
Observation.code[0].coding[0].code[0]307052004
Observation.code[0].coding[0].display[0]Illicit drug use
Observation.subject[0].reference[0]Patient/UKCore-Patient-RichardSmith-Example
Observation.performer[0].reference[0]Organization/UKCore-Organization-LeedsTeachingHospital-Example

Tree View

Observation

XML View

<Observation xmlns="http://hl7.org/fhir">
    <id value="UKCore-Observation-DrugUse-Example" />
    <identifier>
        <system value="https://tools.ietf.org/html/rfc4122" />
        <value value="2af46949-4938-4c57-bad4-c4363e1965d5" />
    </identifier>
    <status value="final" />
    <category>
        <coding>
            <system value="http://terminology.hl7.org/CodeSystem/observation-category" />
            <code value="social-history" />
            <display value="Social History" />
        </coding>
    </category>
    <code>
        <coding>
            <system value="http://snomed.info/sct" />
            <code value="307052004" />
            <display value="Illicit drug use" />
        </coding>
    </code>
    <subject>
        <reference value="Patient/UKCore-Patient-RichardSmith-Example" />
    </subject>
    <performer>
        <reference value="Organization/UKCore-Organization-LeedsTeachingHospital-Example" />
    </performer>
</Observation>

JSON View

{
    "resourceType": "Observation",
    "id": "UKCore-Observation-DrugUse-Example",
    "identifier":  [
        {
            "system": "https://tools.ietf.org/html/rfc4122",
            "value": "2af46949-4938-4c57-bad4-c4363e1965d5"
        }
    ],
    "status": "final",
    "category":  [
        {
            "coding":  [
                {
                    "system": "http://terminology.hl7.org/CodeSystem/observation-category",
                    "code": "social-history",
                    "display": "Social History"
                }
            ]
        }
    ],
    "code": {
        "coding":  [
            {
                "system": "http://snomed.info/sct",
                "code": "307052004",
                "display": "Illicit drug use"
            }
        ]
    },
    "subject": {
        "reference": "Patient/UKCore-Patient-RichardSmith-Example"
    },
    "performer":  [
        {
            "reference": "Organization/UKCore-Organization-LeedsTeachingHospital-Example"
        }
    ]
}

back to top