{
  "resourceType": "StructureDefinition",
  "id": "abc393cc-ec09-473a-af96-74c1226cd508",
  "meta": {
    "lastUpdated": "2017-12-01T09:24:19.241+00:00"
  },
  "url": "http://devices.fhir.org/StructureDefinition/NumericDeviceMetric",
  "name": "NumericDeviceMetric",
  "title": "Numeric DeviceMetric Profile",
  "status": "draft",
  "date": "2017-10-25T09:15:58.793+00:00",
  "description": "StructureDefinition for a Numeric DeviceMetric resource",
  "fhirVersion": "3.0.1",
  "kind": "resource",
  "abstract": false,
  "type": "DeviceMetric",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/DeviceMetric",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "DeviceMetric.type",
        "path": "DeviceMetric.type",
        "short": "Numeric type",
        "definition": "DeviceMetric.type shall have a coding from the ISO/IEEE 11073 MDC metrics nomenclature. The Rosetta Terminology Mapping Management System (RTMMS) lists available codes. DeviceMetric.type.coding allows additional coding from other code systems."
      },
      {
        "id": "DeviceMetric.type.coding",
        "path": "DeviceMetric.type.coding",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "system"
            }
          ],
          "rules": "open"
        },
        "min": 1
      },
      {
        "id": "DeviceMetric.type.coding:11073MDC",
        "path": "DeviceMetric.type.coding",
        "sliceName": "11073MDC",
        "short": "11073 MDC code",
        "definition": "Code defined by the ISO/IEEE 11073-10101 Nomenclature",
        "min": 1,
        "max": "1"
      },
      {
        "id": "DeviceMetric.type.coding:11073MDC.system",
        "path": "DeviceMetric.type.coding.system",
        "min": 1,
        "fixedUri": "urn:iso:std:iso:11073:10101"
      },
      {
        "id": "DeviceMetric.type.coding:11073MDC.code",
        "path": "DeviceMetric.type.coding.code",
        "min": 1
      },
      {
        "id": "DeviceMetric.unit",
        "path": "DeviceMetric.unit",
        "short": "Unit of measure",
        "definition": "DeviceMetric.unit is optional. If present, it shall have a coding from the ISO/IEEE 11073 MDC units of measurement. DeviceMetric.unit.coding allows additional coding from other code systems."
      },
      {
        "id": "DeviceMetric.unit.coding",
        "path": "DeviceMetric.unit.coding",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "system"
            }
          ],
          "rules": "open"
        },
        "min": 1
      },
      {
        "id": "DeviceMetric.unit.coding:11073MDC",
        "path": "DeviceMetric.unit.coding",
        "sliceName": "11073MDC",
        "short": "11073 MDC code",
        "definition": "Code defined by the ISO/IEEE 11073-10101 Nomenclature",
        "min": 1,
        "max": "1"
      },
      {
        "id": "DeviceMetric.unit.coding:11073MDC.system",
        "path": "DeviceMetric.unit.coding.system",
        "min": 1,
        "fixedUri": "urn:iso:std:iso:11073:10101"
      },
      {
        "id": "DeviceMetric.unit.coding:11073MDC.code",
        "path": "DeviceMetric.unit.coding.code",
        "min": 1
      },
      {
        "id": "DeviceMetric.source",
        "path": "DeviceMetric.source",
        "definition": "DeviceMetric.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": "DeviceMetric.parent",
        "path": "DeviceMetric.parent",
        "definition": "DeviceMetric.parent shall be present and refer to the Channel DeviceComponent resource where this metric belongs to.",
        "min": 1,
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://devices.fhir.org/StructureDefinition/ChannelDeviceComponent"
          }
        ]
      }
    ]
  }
}