<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="nl-core-MedicalDevice" />
  <text>
    <status value="empty" />
    <div xmlns="http://www.w3.org/1999/xhtml">No narrative is provided for definitional resources. A human-readable rendering can be found in the implementation guide(s) where this resource is used.</div>
  </text>
  <url value="http://nictiz.nl/fhir/StructureDefinition/nl-core-MedicalDevice" />
  <name value="NlcoreMedicalDevice" />
  <title value="nl core MedicalDevice" />
  <status value="draft" />
  <publisher value="Nictiz" />
  <contact>
    <name value="Nictiz" />
    <telecom>
      <system value="url" />
      <value value="https://www.nictiz.nl" />
      <use value="work" />
    </telecom>
  </contact>
  <description value="Medical devices are any internally implanted and external devices and/or aids used by the patient (in the past) to reduce the effects of functional limitations in organ systems or to facilitate the treatment of a disease." />
  <purpose value="A derived profile from [zib-MedicalDevice](http://nictiz.nl/fhir/StructureDefinition/zib-MedicalDevice) to provide a version better suited for implementation purposes. This profile augments the base profile with elements found in the various use cases that have adopted the zib." />
  <copyright value="Copyright and related rights waived via CC0, https://creativecommons.org/publicdomain/zero/1.0/. This does not apply to information from third parties, for example a medical terminology system. The implementer alone is responsible for identifying and obtaining any necessary licenses or authorizations to utilize third party IP in connection with the specification or otherwise." />
  <fhirVersion value="4.0.1" />
  <mapping>
    <identity value="zib-medicaldevice-v3.3.1-2020EN" />
    <uri value="https://zibs.nl/wiki/MedicalDevice-v3.3.1(2020EN)" />
    <name value="zib MedicalDevice-v3.3.1(2020EN)" />
  </mapping>
  <mapping>
    <identity value="zib-procedure-v5.2-2020EN" />
    <uri value="https://zibs.nl/wiki/Procedure-v5.2(2020EN)" />
    <name value="zib Procedure-v5.2(2020EN)" />
  </mapping>
  <mapping>
    <identity value="zib-stoma-v3.3-2020EN" />
    <uri value="https://zibs.nl/wiki/Stoma-v3.3(2020EN)" />
    <name value="zib Stoma-v3.3(2020EN)" />
  </mapping>
  <mapping>
    <identity value="zib-treatmentobjective-v3.2-2020EN" />
    <uri value="https://zibs.nl/wiki/TreatmentObjective-v3.2(2020EN)" />
    <name value="zib TreatmentObjective-v3.2(2020EN)" />
  </mapping>
  <mapping>
    <identity value="zib-functionalormentalstatus-v3.2-2020EN" />
    <uri value="https://zibs.nl/wiki/FunctionalOrMentalStatus-v3.2(2020EN)" />
    <name value="zib FunctionalOrMentalStatus-v3.2(2020EN)" />
  </mapping>
  <kind value="resource" />
  <abstract value="false" />
  <type value="DeviceUseStatement" />
  <baseDefinition value="http://nictiz.nl/fhir/StructureDefinition/zib-MedicalDevice" />
  <derivation value="constraint" />
  <differential>
    <element id="DeviceUseStatement">
      <path value="DeviceUseStatement" />
      <alias value="nl-core-MedicalDevice" />
    </element>
    <element id="DeviceUseStatement.extension:healthProfessional">
      <path value="DeviceUseStatement.extension" />
      <sliceName value="healthProfessional" />
    </element>
    <element id="DeviceUseStatement.extension:healthProfessional.value[x]">
      <path value="DeviceUseStatement.extension.value[x]" />
      <comment value="Each occurrence of the zib HealthProfessional is normally represented by _two_ FHIR resources: a PractitionerRole resource (instance of [nl-core-HealthProfessional-PractitionerRole](http://nictiz.nl/fhir/StructureDefinition/nl-core-HealthProfessional-PractitionerRole)) and a Practitioner resource (instance of [nl-core-HealthProfessional-Practitioner](http://nictiz.nl/fhir/StructureDefinition/nl-core-HealthProfessional-Practitioner)). The Practitioner resource is referenced from the PractitionerRole instance. For this reason, sending systems should fill the reference to the PractitionerRole instance here, and not the Practitioner resource. Receiving systems can then retrieve the reference to the Practitioner resource from that PractitionerRole instance.&#xD;&#xA;&#xD;&#xA;In rare circumstances, there is only a Practitioner instance, in which case it is that instance which will be referenced here. However, since this should be the exception, the nl-core-HealthProfessional-Practitioner profile is not explicitly mentioned as a target profile." />
      <type>
        <code value="Reference" />
        <targetProfile value="http://nictiz.nl/fhir/StructureDefinition/nl-core-HealthProfessional-PractitionerRole" />
      </type>
    </element>
    <element id="DeviceUseStatement.extension:location">
      <path value="DeviceUseStatement.extension" />
      <sliceName value="location" />
    </element>
    <element id="DeviceUseStatement.extension:location.value[x]">
      <path value="DeviceUseStatement.extension.value[x]" />
      <comment value="Please note that this zib concept (Location::HealthcareProvider) is also mapped on the `Procedure.location` element in profile [nl-core-Procedure-event](http://nictiz.nl/fhir/StructureDefinition/nl-core-Procedure-event). The reason for this is that this zib concept aligns with the Location::HealthcareProvider concept in zib Procedure (NL-CM:14.1.5), but only for the situation that the Procedure is about placing the implant which is described using this instance of zib MedicalDevice. In this situation, the current extension is redundant and it is advised to only use `Procedure.location` in profile nl-core-Procedure-event to represent the Location concept." />
      <type>
        <code value="Reference" />
        <targetProfile value="http://nictiz.nl/fhir/StructureDefinition/nl-core-HealthcareProvider" />
      </type>
    </element>
    <element id="DeviceUseStatement.extension:treatmentObjective">
      <path value="DeviceUseStatement.extension" />
      <sliceName value="treatmentObjective" />
    </element>
    <element id="DeviceUseStatement.extension:treatmentObjective.value[x]">
      <path value="DeviceUseStatement.extension.value[x]" />
      <comment value="Zib TreatmentObjective (represented by the Goal resource in FHIR) can use the data model of zib FunctionalOrMentalStatus to describe the desired treatment objective, which in turn may refer zib MedicalDevice to indicate the intent to use that device for reaching the treatment objective.&#xD;&#xA;&#xD;&#xA;In FHIR, the modeling deviates somewhat from this approach:&#xD;&#xA;&#xD;&#xA;* Both zib TreatmentObjective and the desired zib FunctionalOrMentalStatus are represented using the [nl-core-TreatmentObjective](http://nictiz.nl/fhir/nl-core-TreatmentObjective) profile on the Goal resource.&#xD;&#xA;* The reference from TreatmentObjective::FunctionalOrMentalStatus::MedicalDevice is in the opposite direction, to the Goal resource.&#xD;&#xA;&#xD;&#xA;This extension may thus be used to represent the link zib TreatmentObjective -&gt; zib FunctionalOrMentalStatus -&gt; zib MedicalDevice. In this situation, it is expected that `DeviceUseStatement.status` is set to _intended_." />
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Goal" />
        <targetProfile value="http://nictiz.nl/fhir/StructureDefinition/nl-core-TreatmentObjective" />
      </type>
    </element>
    <element id="DeviceUseStatement.subject">
      <path value="DeviceUseStatement.subject" />
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Patient" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Group" />
        <targetProfile value="http://nictiz.nl/fhir/StructureDefinition/nl-core-Patient" />
      </type>
    </element>
    <element id="DeviceUseStatement.derivedFrom:procedure-request">
      <path value="DeviceUseStatement.derivedFrom" />
      <sliceName value="procedure-request" />
      <type>
        <code value="Reference" />
        <targetProfile value="http://nictiz.nl/fhir/StructureDefinition/nl-core-Procedure-request" />
      </type>
    </element>
    <element id="DeviceUseStatement.derivedFrom:procedure-event">
      <path value="DeviceUseStatement.derivedFrom" />
      <sliceName value="procedure-event" />
      <type>
        <code value="Reference" />
        <targetProfile value="http://nictiz.nl/fhir/StructureDefinition/nl-core-Procedure-event" />
      </type>
    </element>
    <element id="DeviceUseStatement.device">
      <path value="DeviceUseStatement.device" />
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Device" />
        <targetProfile value="http://nictiz.nl/fhir/StructureDefinition/nl-core-MedicalDevice.Product" />
      </type>
    </element>
    <element id="DeviceUseStatement.reasonReference:indication">
      <path value="DeviceUseStatement.reasonReference" />
      <sliceName value="indication" />
      <type>
        <code value="Reference" />
        <targetProfile value="http://nictiz.nl/fhir/StructureDefinition/nl-core-Problem" />
      </type>
    </element>
    <element id="DeviceUseStatement.reasonReference:stoma">
      <path value="DeviceUseStatement.reasonReference" />
      <sliceName value="stoma" />
      <type>
        <code value="Reference" />
        <targetProfile value="http://nictiz.nl/fhir/StructureDefinition/nl-core-Stoma" />
      </type>
    </element>
    <element id="DeviceUseStatement.bodySite">
      <path value="DeviceUseStatement.bodySite" />
      <type>
        <code value="CodeableConcept" />
        <profile value="http://nictiz.nl/fhir/StructureDefinition/nl-core-AnatomicalLocation" />
      </type>
    </element>
  </differential>
</StructureDefinition>