<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="zib-AbilityToUseToilet" />
  <url value="http://nictiz.nl/fhir/StructureDefinition/zib-AbilityToUseToilet" />
  <version value="1.0.2" />
  <name value="Zib AbilityToUseToilet" />
  <title value="HCIM AbilityToUseToilet" />
  <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 AbilityToUseToilet v3.1(2017EN).&#xD;&#xA;&#xD;&#xA;Being able to urinate, defecate and keep up hygiene during a menstrual cycle independently is part of self-care. Limitations in this ability indicate a reduced ability to cope for oneself.&#xD;&#xA;This activity and activities such as those including eating, getting dressed and bathing are also known as activities of daily living (ADL). These are the activities people go through in daily life. The extent to which a person is able to do all these activities by themselves is a measure for their total ability to do things independently." />
  <purpose value="# Purpose of HCIM&#xD;&#xA;Information on limitations in a patient’s ability to urinate, defecate and keep up their hygiene during their menstrual cycle is important in determining the nature and intensity of the care the patient needs. In a transfer situation, it gives the receiving organization the ability to anticipate the intensity of the care to be given to the patient, enabling continuity in healthcare for the patient.&#xD;&#xA;If policy has been implemented to improve a patient’s ability to do things independently, the entered extent of independence helps to determine the efficiency of the treatment.&#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-abilitytousetoilet-v3.1-2017EN" />
    <uri value="https://zibs.nl/wiki/AbilityToUseToilet-v3.1(2017EN)" />
    <name value="HCIM AbilityToUseToilet-v3.1(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="VermogenTotToiletgang" />
      <mapping>
        <identity value="hcim-abilitytousetoilet-v3.1-2017EN" />
        <map value="NL-CM:4.22.1" />
        <comment value="ToiletUseAbility" />
      </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:ToiletUseAbility">
      <path value="Observation.code.coding" />
      <sliceName value="ToiletUseAbility" />
      <min value="1" />
      <max value="1" />
    </element>
    <element id="Observation.code.coding:ToiletUseAbility.system">
      <path value="Observation.code.coding.system" />
      <min value="1" />
      <fixedUri value="http://snomed.info/sct" />
    </element>
    <element id="Observation.code.coding:ToiletUseAbility.code">
      <path value="Observation.code.coding.code" />
      <min value="1" />
      <fixedCode value="284779002" />
    </element>
    <element id="Observation.code.coding:ToiletUseAbility.display">
      <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
        <valueBoolean value="true" />
      </extension>
      <path value="Observation.code.coding.display" />
      <defaultValueString value="Ability to perform personal hygiene activity" />
    </element>
    <element id="Observation.component">
      <path value="Observation.component" />
      <slicing>
        <discriminator>
          <type value="pattern" />
          <path value="code" />
        </discriminator>
        <rules value="open" />
      </slicing>
    </element>
    <element id="Observation.component:ToiletUse">
      <path value="Observation.component" />
      <sliceName value="ToiletUse" />
      <max value="1" />
    </element>
    <element id="Observation.component:ToiletUse.code">
      <path value="Observation.component.code" />
      <patternCodeableConcept>
        <coding>
          <system value="http://snomed.info/sct" />
          <code value="284899001" />
        </coding>
      </patternCodeableConcept>
    </element>
    <element id="Observation.component:ToiletUse.value[x]">
      <path value="Observation.component.value[x]" />
      <short value="ToiletUse" />
      <definition value="Coordinating and realizing urination or defecation, such as indicating the need, getting into the right position, finding and reaching a suitable spot, manipulating clothing before and after urination, and cleaning up (the body) afterwards." />
      <alias value="Toiletgebruik" />
      <type>
        <code value="CodeableConcept" />
      </type>
      <binding>
        <strength value="extensible" />
        <description value="ToiletgebruikCodelijst" />
        <valueSetReference>
          <reference value="http://decor.nictiz.nl/fhir/ValueSet/2.16.840.1.113883.2.4.3.11.60.40.2.4.22.4--20171231000000" />
        </valueSetReference>
      </binding>
      <mapping>
        <identity value="hcim-abilitytousetoilet-v3.1-2017EN" />
        <map value="NL-CM:4.22.6" />
        <comment value="ToiletUse" />
      </mapping>
    </element>
    <element id="Observation.component:MenstrualCare">
      <path value="Observation.component" />
      <sliceName value="MenstrualCare" />
      <max value="1" />
    </element>
    <element id="Observation.component:MenstrualCare.code">
      <path value="Observation.component.code" />
      <patternCodeableConcept>
        <coding>
          <system value="http://snomed.info/sct" />
          <code value="284955009" />
        </coding>
      </patternCodeableConcept>
    </element>
    <element id="Observation.component:MenstrualCare.value[x]">
      <path value="Observation.component.value[x]" />
      <short value="MenstrualCare" />
      <definition value="Coordinating, planning and hygiene in the event of menstruation, such as anticipating the menstruation and using sanitary napkins and tampons." />
      <alias value="ZorgBijMenstruatie" />
      <type>
        <code value="CodeableConcept" />
      </type>
      <binding>
        <strength value="extensible" />
        <description value="ZorgBijMenstruatieCodelijst" />
        <valueSetReference>
          <reference value="http://decor.nictiz.nl/fhir/ValueSet/2.16.840.1.113883.2.4.3.11.60.40.2.4.22.3--20171231000000" />
        </valueSetReference>
      </binding>
      <mapping>
        <identity value="hcim-abilitytousetoilet-v3.1-2017EN" />
        <map value="NL-CM:4.22.4" />
        <comment value="MenstrualCare" />
      </mapping>
    </element>
  </differential>
</StructureDefinition>