<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="379f6bfb-d3eb-4643-92e7-6f53a7fd6662" />
  <meta>
    <lastUpdated value="2018-02-05T15:18:52.419+01:00" />
  </meta>
  <url value="http://devices.fhir.org/StructureDefinition/PoCDevice" />
  <name value="PoCDevice" />
  <title value="PoC Device Profile" />
  <status value="draft" />
  <date value="2017-10-07T11:21:46.044+02:00" />
  <description value="StructureDefinition for a Point-of-Care Device resource" />
  <fhirVersion value="3.0.1" />
  <kind value="resource" />
  <abstract value="false" />
  <type value="Device" />
  <baseDefinition value="http://hl7.org/fhir/StructureDefinition/Device" />
  <derivation value="constraint" />
  <differential>
    <element id="Device.identifier">
      <path value="Device.identifier" />
      <slicing>
        <discriminator>
          <type value="exists" />
          <path value="system" />
        </discriminator>
        <discriminator>
          <type value="value" />
          <path value="system" />
        </discriminator>
        <discriminator>
          <type value="exists" />
          <path value="type" />
        </discriminator>
        <discriminator>
          <type value="value" />
          <path value="type.coding.system" />
        </discriminator>
        <discriminator>
          <type value="value" />
          <path value="type.coding.code" />
        </discriminator>
        <rules value="open" />
      </slicing>
    </element>
    <element id="Device.identifier:SerialNumber">
      <path value="Device.identifier" />
      <sliceName value="SerialNumber" />
      <short value="Serial number" />
      <definition value="If the device has a serial number, it should be encoded in Device.identifier as defined in the profile." />
      <max value="1" />
    </element>
    <element id="Device.identifier:SerialNumber.type">
      <path value="Device.identifier.type" />
      <min value="1" />
    </element>
    <element id="Device.identifier:SerialNumber.type.coding">
      <path value="Device.identifier.type.coding" />
      <min value="1" />
    </element>
    <element id="Device.identifier:SerialNumber.type.coding.system">
      <path value="Device.identifier.type.coding.system" />
      <min value="1" />
      <fixedUri value="http://hl7.org/fhir/identifier-type" />
    </element>
    <element id="Device.identifier:SerialNumber.type.coding.code">
      <path value="Device.identifier.type.coding.code" />
      <min value="1" />
      <fixedCode value="SNO" />
    </element>
    <element id="Device.identifier:SerialNumber.system">
      <path value="Device.identifier.system" />
      <max value="0" />
    </element>
    <element id="Device.identifier:SerialNumber.value">
      <path value="Device.identifier.value" />
      <min value="1" />
    </element>
    <element id="Device.identifier:EUI-64">
      <path value="Device.identifier" />
      <sliceName value="EUI-64" />
      <short value="IEEE 64-bit Extended Unique Identifier (EUI-64)" />
      <definition value="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 value="1" />
    </element>
    <element id="Device.identifier:EUI-64.type">
      <path value="Device.identifier.type" />
      <max value="0" />
    </element>
    <element id="Device.identifier:EUI-64.system">
      <path value="Device.identifier.system" />
      <min value="1" />
      <fixedUri value="urn:oid:1.2.840.10004.1.1.1.0.0.1.0.0.1.2680" />
    </element>
    <element id="Device.identifier:EUI-64.value">
      <path value="Device.identifier.value" />
      <min value="1" />
    </element>
    <element id="Device.type">
      <path value="Device.type" />
      <short value="Medical Device System (MDS) type" />
      <definition value="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 value="1" />
    </element>
    <element id="Device.type.coding">
      <path value="Device.type.coding" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="system" />
        </discriminator>
        <rules value="open" />
      </slicing>
      <min value="1" />
    </element>
    <element id="Device.type.coding:11073MDC">
      <path value="Device.type.coding" />
      <sliceName value="11073MDC" />
      <short value="11073 MDC code" />
      <definition value="Code defined by the ISO/IEEE 11073-10101 Nomenclature" />
      <min value="1" />
      <max value="1" />
    </element>
    <element id="Device.type.coding:11073MDC.system">
      <path value="Device.type.coding.system" />
      <min value="1" />
      <fixedUri value="urn:iso:std:iso:11073:10101" />
    </element>
    <element id="Device.type.coding:11073MDC.code">
      <path value="Device.type.coding.code" />
      <min value="1" />
    </element>
  </differential>
</StructureDefinition>