<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="zib-AbilityToManageMedication" />
  <url value="http://nictiz.nl/fhir/StructureDefinition/zib-AbilityToManageMedication" />
  <version value="1.0.1" />
  <name value="Zib AbilityToManageMedication" />
  <title value="HCIM AbilityToManageMedication" />
  <status value="active" />
  <publisher value="Nictiz" />
  <contact>
    <name value="Nictiz" />
    <telecom>
      <system value="url" />
      <value value="https://www.nictiz.nl" />
      <use value="work" />
    </telecom>
  </contact>
  <description value="An Observation as defined by the Dutch HCIM Zorginformatiebouwsteen AbilityToManageMedication v1.0(2017EN).&#xD;&#xA;&#xD;&#xA;Managing one's own medication is part of self-healthcare. Limitations in this ability indicate a reduced ability to cope for oneself.&#xD;&#xA;This activity and activities such as those including cooking, using the telephone and shopping are also known as instrumentel activities of daily living (IADL). These tasks support an independent life style. Many people can still live independently even though they need help with one or two of these IADL’s." />
  <purpose value="# Purpose of HCIM&#xD;&#xA;To promote safe and proper use of medication, it is important in patient care to know whether the patient is capable of using the medication independently, or if the patient needs help doing so. &#xD;&#xA;&#xD;&#xA;# Purpose of this profile&#xD;&#xA;This profile is part of a group of statements regarding the patients ability to perform activities of daily living (ADL). Each statement applies to the current situation and is modeled as an observation regarding one aspect of these abilities.&#xD;&#xA;Although the FHIR ClinicalImpression resource is a better fit than the Observation resource for these kinds of records, ClinicalImpression is still highly experimental at the time of writing and doesn't map very well to the HCIM. Therefore, the more mature Observation resource is chosen." />
  <copyright value="CC0" />
  <fhirVersion value="3.0.2" />
  <mapping>
    <identity value="hcim-abilitytomanagemedication-v1.0-2017EN" />
    <uri value="https://zibs.nl/wiki/AbilityToManageMedication-v1.0(2017EN)" />
    <name value="HCIM AbilityToManageMedication-v1.0(2017EN)" />
  </mapping>
  <kind value="resource" />
  <abstract value="false" />
  <type value="Observation" />
  <baseDefinition value="http://fhir.nl/fhir/StructureDefinition/nl-core-observation" />
  <derivation value="constraint" />
  <differential>
    <element id="Observation">
      <path value="Observation" />
      <alias value="AbilityToManageMedication" />
      <mapping>
        <identity value="hcim-abilitytomanagemedication-v1.0-2017EN" />
        <map value="NL-CM:4.35.1" />
        <comment value="AbilityToManageMedication" />
      </mapping>
    </element>
    <element id="Observation.extension">
      <path value="Observation.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <rules value="open" />
      </slicing>
    </element>
    <element id="Observation.extension:requiredAssistance">
      <path value="Observation.extension" />
      <sliceName value="requiredAssistance" />
      <max value="1" />
      <type>
        <code value="Extension" />
        <profile value="http://nictiz.nl/fhir/StructureDefinition/observation-zibNursingInterventionReference" />
      </type>
    </element>
    <element id="Observation.extension:requiredAssistance.valueReference:valueReference">
      <path value="Observation.extension.valueReference" />
      <sliceName value="valueReference" />
      <short value="RequiredAssistance" />
      <definition value="The nursing support a patient needs to manage one's own medication." />
      <alias value="HulpBijToediening" />
      <mapping>
        <identity value="hcim-abilitytomanagemedication-v1.0-2017EN" />
        <map value="NL-CM:4.35.3" />
        <comment value="RequiredAssistance" />
      </mapping>
    </element>
    <element id="Observation.code.coding">
      <path value="Observation.code.coding" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="code" />
        </discriminator>
        <rules value="open" />
      </slicing>
      <min value="1" />
    </element>
    <element id="Observation.code.coding:AbilityToManageMedication">
      <path value="Observation.code.coding" />
      <sliceName value="AbilityToManageMedication" />
      <min value="1" />
      <max value="1" />
    </element>
    <element id="Observation.code.coding:AbilityToManageMedication.system">
      <path value="Observation.code.coding.system" />
      <min value="1" />
      <fixedUri value="http://snomed.info/sct" />
    </element>
    <element id="Observation.code.coding:AbilityToManageMedication.code">
      <path value="Observation.code.coding.code" />
      <min value="1" />
      <fixedCode value="285033005" />
    </element>
    <element id="Observation.code.coding:AbilityToManageMedication.display">
      <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
        <valueBoolean value="true" />
      </extension>
      <path value="Observation.code.coding.display" />
      <defaultValueString value="Ability to manage medication" />
    </element>
    <element id="Observation.value[x]:valueCodeableConcept">
      <path value="Observation.valueCodeableConcept" />
      <sliceName value="valueCodeableConcept" />
      <short value="IndependentMedicationUse" />
      <definition value="The degree of ability of  the patient to independently manage their own medication." />
      <alias value="ZelfstandigMedicatiegebruik" />
      <min value="1" />
      <type>
        <code value="CodeableConcept" />
      </type>
      <binding>
        <strength value="extensible" />
        <description value="ZelfstandigMedicatiegebruikCodelijst" />
        <valueSetReference>
          <reference value="http://decor.nictiz.nl/fhir/ValueSet/2.16.840.1.113883.2.4.3.11.60.40.2.4.35.1--20171231000000" />
        </valueSetReference>
      </binding>
      <mapping>
        <identity value="hcim-abilitytomanagemedication-v1.0-2017EN" />
        <map value="NL-CM:4.35.2" />
        <comment value="ZelfstandigMedicatiegebruik" />
      </mapping>
    </element>
  </differential>
</StructureDefinition>