<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="nl-core-HearingFunction.HearingAid" />
  <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-HearingFunction.HearingAid" />
  <name value="NlcoreHearingFunctionHearingAid" />
  <title value="nl core HearingFunction.HearingAid" />
  <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="Hearing is the ability to observe sound, with the purpose of communicating with others, localizing the source of the sound and recognizing certain sounds. This pertains to observing the sound waves, and not processing the sounds in the brain.&#xD;&#xA;A hearing disorder can lead to things including communication problems." />
  <purpose value="A derived profile from [zib-HearingFunction.HearingAid](http://nictiz.nl/fhir/StructureDefinition/zib-HearingFunction.HearingAid) 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-hearingfunction-v3.2-2020EN" />
    <uri value="https://zibs.nl/wiki/HearingFunction-v3.2(2020EN)" />
    <name value="zib HearingFunction-v3.2(2020EN)" />
  </mapping>
  <kind value="resource" />
  <abstract value="false" />
  <type value="DeviceUseStatement" />
  <baseDefinition value="http://nictiz.nl/fhir/StructureDefinition/zib-HearingFunction.HearingAid" />
  <derivation value="constraint" />
  <differential>
    <element id="DeviceUseStatement">
      <path value="DeviceUseStatement" />
      <comment value="This is a specialization of the profile for zib MedicalDevice to represent HearingAid devices within the context of zib HearingFunction.&#xD;&#xA;&#xD;&#xA;Note: because of the way derivation works in FHIR, this profile is not based on the [nl-core-MedicalDevice](http://nictiz.nl/fhir/StructureDefinition/nl-core-MedicalDevice) profile but derived from a specialization in the zib layer." />
      <alias value="nl-core-HearingFunction.HearingAid" />
    </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. This is normally not the case in the context of hearing aids, so the mapping in nl-core-Procedure-event should be ignored in this situation." />
      <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]" />
      <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-HearingFunction.HearingAid.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.bodySite">
      <path value="DeviceUseStatement.bodySite" />
      <type>
        <code value="CodeableConcept" />
        <profile value="http://nictiz.nl/fhir/StructureDefinition/nl-core-AnatomicalLocation" />
      </type>
    </element>
  </differential>
</StructureDefinition>