{
  "resourceType": "StructureDefinition",
  "id": "379f6bfb-d3eb-4643-92e7-6f53a7fd6662",
  "meta": {
    "lastUpdated": "2018-02-05T14:18:52.419+00:00"
  },
  "url": "http://devices.fhir.org/StructureDefinition/PoCDevice",
  "name": "PoCDevice",
  "title": "PoC Device Profile",
  "status": "draft",
  "date": "2017-10-07T09:21:46.044+00:00",
  "description": "StructureDefinition for a Point-of-Care Device resource",
  "fhirVersion": "3.0.1",
  "kind": "resource",
  "abstract": false,
  "type": "Device",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Device",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Device.identifier",
        "path": "Device.identifier",
        "slicing": {
          "discriminator": [
            {
              "type": "exists",
              "path": "system"
            },
            {
              "type": "value",
              "path": "system"
            },
            {
              "type": "exists",
              "path": "type"
            },
            {
              "type": "value",
              "path": "type.coding.system"
            },
            {
              "type": "value",
              "path": "type.coding.code"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "Device.identifier:SerialNumber",
        "path": "Device.identifier",
        "sliceName": "SerialNumber",
        "short": "Serial number",
        "definition": "If the device has a serial number, it should be encoded in Device.identifier as defined in the profile.",
        "max": "1"
      },
      {
        "id": "Device.identifier:SerialNumber.type",
        "path": "Device.identifier.type",
        "min": 1
      },
      {
        "id": "Device.identifier:SerialNumber.type.coding",
        "path": "Device.identifier.type.coding",
        "min": 1
      },
      {
        "id": "Device.identifier:SerialNumber.type.coding.system",
        "path": "Device.identifier.type.coding.system",
        "min": 1,
        "fixedUri": "http://hl7.org/fhir/identifier-type"
      },
      {
        "id": "Device.identifier:SerialNumber.type.coding.code",
        "path": "Device.identifier.type.coding.code",
        "min": 1,
        "fixedCode": "SNO"
      },
      {
        "id": "Device.identifier:SerialNumber.system",
        "path": "Device.identifier.system",
        "max": "0"
      },
      {
        "id": "Device.identifier:SerialNumber.value",
        "path": "Device.identifier.value",
        "min": 1
      },
      {
        "id": "Device.identifier:EUI-64",
        "path": "Device.identifier",
        "sliceName": "EUI-64",
        "short": "IEEE 64-bit Extended Unique Identifier (EUI-64)",
        "definition": "If the device has an EUI-64, it should be encoded in Device.identifier as defined in the profile. Either base-16 or hex representation (octets separated by hyphens) shall be used. See IEEE Guidelines for Use of EUI, OUI, and CID for details.",
        "max": "1"
      },
      {
        "id": "Device.identifier:EUI-64.type",
        "path": "Device.identifier.type",
        "max": "0"
      },
      {
        "id": "Device.identifier:EUI-64.system",
        "path": "Device.identifier.system",
        "min": 1,
        "fixedUri": "urn:oid:1.2.840.10004.1.1.1.0.0.1.0.0.1.2680"
      },
      {
        "id": "Device.identifier:EUI-64.value",
        "path": "Device.identifier.value",
        "min": 1
      },
      {
        "id": "Device.type",
        "path": "Device.type",
        "short": "Medical Device System (MDS) type",
        "definition": "Device.type shall be present and have a coding from the ISO/IEEE 11073 MDC device nomenclature. The Rosetta Terminology Mapping Management System (RTMMS) lists available codes. Device.type.coding allows additional coding from other code systems.",
        "min": 1
      },
      {
        "id": "Device.type.coding",
        "path": "Device.type.coding",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "system"
            }
          ],
          "rules": "open"
        },
        "min": 1
      },
      {
        "id": "Device.type.coding:11073MDC",
        "path": "Device.type.coding",
        "sliceName": "11073MDC",
        "short": "11073 MDC code",
        "definition": "Code defined by the ISO/IEEE 11073-10101 Nomenclature",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Device.type.coding:11073MDC.system",
        "path": "Device.type.coding.system",
        "min": 1,
        "fixedUri": "urn:iso:std:iso:11073:10101"
      },
      {
        "id": "Device.type.coding:11073MDC.code",
        "path": "Device.type.coding.code",
        "min": 1
      }
    ]
  }
}