<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="KT2Device" />
  <language value="nl-NL" />
  <url value="http://koppeltaal.nl/fhir/StructureDefinition/KT2Device" />
  <version value="0.8.1" />
  <name value="KT2_Device" />
  <status value="draft" />
  <date value="2023-02-07" />
  <publisher value="VZVZ" />
  <contact>
    <name value="VZVZ" />
    <telecom>
      <system value="email" />
      <value value="standaardisatie@vzvz.nl" />
      <use value="work" />
    </telecom>
  </contact>
  <description value="The Device resource represents a software application or system that is used in the provision of healthcare services. Within the Koppeltaal context, this typically includes modules, portals, or eHealth applications that facilitate patient care and data exchange between healthcare systems." />
  <jurisdiction>
    <coding>
      <system value="urn:iso:std:iso:3166" />
      <code value="NL" />
      <display value="Netherlands" />
    </coding>
  </jurisdiction>
  <copyright value="VZVZ" />
  <fhirVersion value="4.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.extension">
      <path value="Device.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <ordered value="false" />
        <rules value="open" />
      </slicing>
    </element>
    <element id="Device.extension:resource-origin">
      <path value="Device.extension" />
      <sliceName value="resource-origin" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Extension" />
        <profile value="http://koppeltaal.nl/fhir/StructureDefinition/resource-origin" />
      </type>
    </element>
    <element id="Device.identifier">
      <path value="Device.identifier" />
      <min value="1" />
    </element>
    <element id="Device.identifier.system">
      <path value="Device.identifier.system" />
      <fixedUri value="http://vzvz.nl/fhir/NamingSystem/koppeltaal-client-id" />
    </element>
    <element id="Device.definition">
      <path value="Device.definition" />
      <max value="0" />
    </element>
    <element id="Device.udiCarrier">
      <path value="Device.udiCarrier" />
      <max value="0" />
    </element>
    <element id="Device.status">
      <path value="Device.status" />
      <comment value="The default value should be set to 'active'." />
      <min value="1" />
    </element>
    <element id="Device.statusReason">
      <path value="Device.statusReason" />
      <definition value="Reason for the status of the Device availability." />
      <max value="0" />
    </element>
    <element id="Device.distinctIdentifier">
      <path value="Device.distinctIdentifier" />
      <max value="0" />
    </element>
    <element id="Device.manufacturer">
      <path value="Device.manufacturer" />
      <max value="0" />
    </element>
    <element id="Device.manufactureDate">
      <path value="Device.manufactureDate" />
      <max value="0" />
    </element>
    <element id="Device.expirationDate">
      <path value="Device.expirationDate" />
      <max value="0" />
    </element>
    <element id="Device.lotNumber">
      <path value="Device.lotNumber" />
      <max value="0" />
    </element>
    <element id="Device.serialNumber">
      <path value="Device.serialNumber" />
      <max value="0" />
    </element>
    <element id="Device.deviceName">
      <path value="Device.deviceName" />
      <min value="1" />
    </element>
    <element id="Device.deviceName.type">
      <path value="Device.deviceName.type" />
      <fixedCode value="user-friendly-name" />
    </element>
    <element id="Device.modelNumber">
      <path value="Device.modelNumber" />
      <max value="0" />
    </element>
    <element id="Device.partNumber">
      <path value="Device.partNumber" />
      <max value="0" />
    </element>
    <element id="Device.specialization">
      <path value="Device.specialization" />
      <max value="0" />
    </element>
    <element id="Device.version">
      <path value="Device.version" />
      <max value="0" />
    </element>
    <element id="Device.property">
      <path value="Device.property" />
      <max value="0" />
    </element>
    <element id="Device.patient">
      <path value="Device.patient" />
      <max value="0" />
    </element>
    <element id="Device.owner">
      <path value="Device.owner" />
      <type>
        <code value="Reference" />
        <targetProfile value="http://koppeltaal.nl/fhir/StructureDefinition/KT2Organization" />
      </type>
    </element>
    <element id="Device.contact">
      <path value="Device.contact" />
      <max value="0" />
    </element>
    <element id="Device.location">
      <path value="Device.location" />
      <max value="0" />
    </element>
    <element id="Device.url">
      <path value="Device.url" />
      <max value="0" />
    </element>
    <element id="Device.note">
      <path value="Device.note" />
      <max value="0" />
    </element>
    <element id="Device.safety">
      <path value="Device.safety" />
      <max value="0" />
    </element>
    <element id="Device.parent">
      <path value="Device.parent" />
      <max value="0" />
    </element>
  </differential>
</StructureDefinition>