Color Extension

Canonical URL

http://devices.fhir.org/StructureDefinition/devicecomponent-color

Extension Definition

id0..1string
extensionI0..*Extension
url1..1uriFixed Value
valueCode0..1codeBinding

Example (XML view)

Example of an ECG Channel DeviceComponent

<DeviceComponent xmlns="http://hl7.org/fhir">
    <id value="429" />
    <meta>
        <profile value="http://devices.fhir.org/StructureDefinition/ChannelDeviceComponent" />
    </meta>
    <extension url="http://devices.fhir.org/StructureDefinition/devicecomponent-color">
        <valueCode value="green" />
    </extension>
    <identifier>
        <use value="temp" />
        <system value="urn:ietf:rfc:3986" />
        <value value="urn:uuid:e1afdca2-ed9e-4cea-b713-66eece999009" />
    </identifier>
    <type>
        <coding>
            <system value="urn:iso:std:iso:11073:10101" />
            <code value="69799" />
            <display value="MDC_DEV_ECG_CHAN" />
        </coding>
    </type>
    <source>
        <reference value="Device/72" />
    </source>
    <parent>
        <reference value="DeviceComponent/428" />
    </parent>
    <operationalStatus>
        <coding>
            <system value="http://hl7.org/fhir/operational-status" />
            <code value="on" />
            <display value="On" />
        </coding>
    </operationalStatus>
</DeviceComponent>

Example (JSON view)

Example of an ECG Channel DeviceComponent

{
    "resourceType": "DeviceComponent",
    "id": "429",
    "meta": {
        "profile":  [
            "http://devices.fhir.org/StructureDefinition/ChannelDeviceComponent"
        ]
    },
    "extension":  [
        {
            "url": "http://devices.fhir.org/StructureDefinition/devicecomponent-color",
            "valueCode": "green"
        }
    ],
    "identifier": {
        "use": "temp",
        "system": "urn:ietf:rfc:3986",
        "value": "urn:uuid:e1afdca2-ed9e-4cea-b713-66eece999009"
    },
    "type": {
        "coding":  [
            {
                "system": "urn:iso:std:iso:11073:10101",
                "code": "69799",
                "display": "MDC_DEV_ECG_CHAN"
            }
        ]
    },
    "source": {
        "reference": "Device/72"
    },
    "parent": {
        "reference": "DeviceComponent/428"
    },
    "operationalStatus":  [
        {
            "coding":  [
                {
                    "system": "http://hl7.org/fhir/operational-status",
                    "code": "on",
                    "display": "On"
                }
            ]
        }
    ]
}