Extension-UKCore-CodingSCT-IllicitDrugs-Example

An example to illustrate the use of two extensions, one to represent a SNOMED CT concept with a specific Description ID, the other to represent the associated SNOMED CT Term (text description) — typically to preserve or specify which synonym or preferred term was originally used in a clinical system

Table View

Observation.id[0]Extension-UKCore-CodingSCT-IllicitDrugs-Example
Observation.text[0].status[0]additional
Observation.text[0].div[0]<div xmlns="http://www.w3.org/1999/xhtml">An example to illustrate the use of two extensions, one to represent a SNOMED CT concept with a specific Description ID, the other to represent the associated SNOMED CT Term (text description) — typically to preserve or specify which synonym or preferred term was originally used in a clinical system</div>
Observation.status[0]final
Observation.code[0].coding[0].extension[0].url[0]https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-CodingSCTDescDisplay
Observation.code[0].coding[0].extension[0].value[0]Illicit medication use unknown
Observation.code[0].coding[0].extension[1].url[0]http://hl7.org/fhir/StructureDefinition/coding-sctdescid
Observation.code[0].coding[0].extension[1].value[0]3449865011
Observation.code[0].coding[0].system[0]http://snomed.info/sct
Observation.code[0].coding[0].code[0]702771005
Observation.code[0].coding[0].display[0]Illicit drug use unknown
Observation.code[0].coding[0].userSelected[0]True
Observation.code[0].text[0]Not known whether uses illicit drugs
Observation.subject[0].reference[0]Patient/UKCore-Patient-RichardSmith-Example

Tree View

Observation

XML View

<Observation xmlns="http://hl7.org/fhir">
    <id value="Extension-UKCore-CodingSCT-IllicitDrugs-Example" />
    <text>
        <status value="additional" />
        --- We have skipped the narrative for better readability of the resource ---
    </text>
    <status value="final" />
    <code>
        <coding>
            <extension url="https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-CodingSCTDescDisplay">
                <valueString value="Illicit medication use unknown" />
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/coding-sctdescid">
                <valueId value="3449865011" />
            </extension>
            <system value="http://snomed.info/sct" />
            <code value="702771005" />
            <display value="Illicit drug use unknown" />
            <userSelected value="true" />
        </coding>
        <text value="Not known whether uses illicit drugs" />
        <!--  what the user saw on screen, from a data entry template  -->
    </code>
    <!--  **************Snippet end**************  -->
    <subject>
        <reference value="Patient/UKCore-Patient-RichardSmith-Example" />
    </subject>
</Observation>

JSON View

{
    "resourceType": "Observation",
    "id": "Extension-UKCore-CodingSCT-IllicitDrugs-Example",
    "text": {
        "status": "additional",
        --- We have skipped the narrative for better readability of the resource ---
    },
    "status": "final",
    "code": {
        "coding":  [
            {
                "extension":  [
                    {
                        "url": "https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-CodingSCTDescDisplay",
                        "valueString": "Illicit medication use unknown"
                    },
                    {
                        "url": "http://hl7.org/fhir/StructureDefinition/coding-sctdescid",
                        "valueId": "3449865011"
                    }
                ],
                "system": "http://snomed.info/sct",
                "code": "702771005",
                "display": "Illicit drug use unknown",
                "userSelected": true
            }
        ],
        "text": "Not known whether uses illicit drugs"
    },
    "subject": {
        "reference": "Patient/UKCore-Patient-RichardSmith-Example"
    }
}