{
  "resourceType": "StructureDefinition",
  "id": "54be8d7d-d66d-4dc5-8f13-f611e2672c5a",
  "meta": {
    "lastUpdated": "2017-12-01T12:49:32.453+00:00"
  },
  "extension": [
    {
      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
      "valueCode": "dev"
    }
  ],
  "url": "http://devices.fhir.org/StructureDefinition/ChannelDeviceComponent",
  "name": "ChannelDeviceComponent",
  "title": "Channel DeviceComponent Profile",
  "status": "draft",
  "date": "2017-06-13T12:52:14.5783112+00:00",
  "description": "StructureDefinition for a Channel DeviceComponent resource",
  "fhirVersion": "3.0.0",
  "kind": "resource",
  "abstract": false,
  "type": "DeviceComponent",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/DeviceComponent",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "DeviceComponent.extension",
        "path": "DeviceComponent.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "DeviceComponent.extension:instance",
        "path": "DeviceComponent.extension",
        "sliceName": "instance",
        "short": "Instance number",
        "definition": "If multiple instances of the same Channel type exist, the devicecomponent-instance extension allows to define a sequence.",
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": "http://devices.fhir.org/StructureDefinition/devicecomponent-instance"
          }
        ]
      },
      {
        "id": "DeviceComponent.extension:color",
        "path": "DeviceComponent.extension",
        "sliceName": "color",
        "short": "Color for representation",
        "definition": "To assign a common color representation for all metrics in a Channel, the devicecomponent-color extension can be used. It gets a code from the DeviceMetricColor value set.",
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": "http://devices.fhir.org/StructureDefinition/devicecomponent-color"
          }
        ]
      },
      {
        "id": "DeviceComponent.type",
        "path": "DeviceComponent.type",
        "short": "Channel type",
        "definition": "DeviceComponent.type shall have a coding from the ISO/IEEE 11073 MDC device nomenclature. The Rosetta Terminology Mapping Management System (RTMMS) lists available codes. DeviceComponent.type.coding allows additional coding from other code systems."
      },
      {
        "id": "DeviceComponent.type.coding",
        "path": "DeviceComponent.type.coding",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "system"
            }
          ],
          "rules": "open"
        },
        "min": 1
      },
      {
        "id": "DeviceComponent.type.coding:11073MDC",
        "path": "DeviceComponent.type.coding",
        "sliceName": "11073MDC",
        "short": "11073 MDC code",
        "definition": "Code defined by the ISO/IEEE 11073-10101 Nomenclature",
        "min": 1,
        "max": "1"
      },
      {
        "id": "DeviceComponent.type.coding:11073MDC.system",
        "path": "DeviceComponent.type.coding.system",
        "min": 1,
        "fixedUri": "urn:iso:std:iso:11073:10101"
      },
      {
        "id": "DeviceComponent.type.coding:11073MDC.code",
        "path": "DeviceComponent.type.coding.code",
        "min": 1
      },
      {
        "id": "DeviceComponent.source",
        "path": "DeviceComponent.source",
        "definition": "DeviceComponent.source shall be present and refer to a Device resource according to the PoC Device profile.",
        "min": 1,
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://devices.fhir.org/StructureDefinition/PoCDevice"
          }
        ]
      },
      {
        "id": "DeviceComponent.parent",
        "path": "DeviceComponent.parent",
        "definition": "DeviceComponent.parent is a reference to the next upper level DeviceComponent resource. For Channel DeviceComponent, it shall be present and refer to a VMD DeviceComponent.",
        "min": 1,
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://devices.fhir.org/StructureDefinition/VmdDeviceComponent"
          }
        ]
      }
    ]
  }
}