<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="zib-FreedomRestrictingMeasures-LegallyCapable" />
  <url value="http://nictiz.nl/fhir/StructureDefinition/zib-FreedomRestrictingMeasures-LegallyCapable" />
  <version value="1.0.5" />
  <name value="Zib FreedomRestrictingMeasures-LegallyCapable" />
  <title value="HCIM FreedomRestrictingMeasures LegallyCapable" />
  <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 extension to add two concepts from FreedomRestrictingMeasures as defined by the Dutch Health and Care Information models (Dutch: Zorginformatiebouwsteen or ZIB) version 3.1, namely LegallyCapable and LeggallyCapableComment, to the Procedure resource. The extension can be seen as an indicator stating whether the patient is deemed capable of overseeing the consequences of a certain procedure, situation or decision." />
  <purpose value="Implementing medical restraints is risky and can result in damage to the patient if they are not carefully implemented. Nurses fulfil an important role in identifying risks, observing the effect of the restraints and any changes to the policy in terms of medical restraints. Recording all information on the measures is of major importance for insight into decision-making, implementing, monitoring and evaluating the measures. In the event of a transfer to the next facility, the proper preparations can be taken to safely continue the care and to limit the risks to the patient and their environment." />
  <copyright value="CC0" />
  <fhirVersion value="3.0.2" />
  <mapping>
    <identity value="hcim-freedomrestrictingmeasures-v3.1-2017EN" />
    <uri value="https://zibs.nl/wiki/FreedomRestrictingMeasures-v3.1(2017EN)" />
    <name value="HCIM FreedomRestrictingMeasures-v3.1(2017EN)" />
  </mapping>
  <kind value="complex-type" />
  <abstract value="false" />
  <contextType value="resource" />
  <context value="Procedure" />
  <type value="Extension" />
  <baseDefinition value="http://hl7.org/fhir/StructureDefinition/Extension" />
  <derivation value="constraint" />
  <differential>
    <element id="Extension">
      <path value="Extension" />
      <short value="LegallyCapable" />
      <definition value="Indicator stating whether the patient is deemed capable of overseeing the consequences of a certain procedure, situation or decision." />
      <min value="1" />
      <max value="1" />
    </element>
    <element id="Extension.extension">
      <path value="Extension.extension" />
      <min value="1" />
    </element>
    <element id="Extension.extension:LegallyCapableIndicator">
      <path value="Extension.extension" />
      <sliceName value="LegallyCapableIndicator" />
      <min value="1" />
      <max value="1" />
    </element>
    <element id="Extension.extension:LegallyCapableIndicator.extension">
      <path value="Extension.extension.extension" />
      <max value="0" />
    </element>
    <element id="Extension.extension:LegallyCapableIndicator.url">
      <path value="Extension.extension.url" />
      <fixedUri value="LegallyCapableIndicator" />
    </element>
    <element id="Extension.extension:LegallyCapableIndicator.value[x]:valueBoolean">
      <path value="Extension.extension.valueBoolean" />
      <sliceName value="valueBoolean" />
      <short value="LegallyCapable" />
      <definition value="Indicator stating whether the patient is deemed capable of overseeing the consequences of a certain procedure, situation or decision." />
      <alias value="Wilsbekwaam" />
      <type>
        <code value="boolean" />
      </type>
    </element>
    <element id="Extension.extension:LegallyCapableComment">
      <path value="Extension.extension" />
      <sliceName value="LegallyCapableComment" />
      <max value="1" />
    </element>
    <element id="Extension.extension:LegallyCapableComment.extension">
      <path value="Extension.extension.extension" />
      <max value="0" />
    </element>
    <element id="Extension.extension:LegallyCapableComment.url">
      <path value="Extension.extension.url" />
      <fixedUri value="LegallyCapableComment" />
    </element>
    <element id="Extension.extension:LegallyCapableComment.value[x]:valueString">
      <path value="Extension.extension.valueString" />
      <sliceName value="valueString" />
      <short value="LegallyCapableComment" />
      <definition value="Comment on the decisions which the patient is legally capable of making." />
      <alias value="WilsbekwaamToelichting" />
      <type>
        <code value="string" />
      </type>
    </element>
    <element id="Extension.url">
      <path value="Extension.url" />
      <fixedUri value="http://nictiz.nl/fhir/StructureDefinition/zib-FreedomRestrictingMeasures-LegallyCapable" />
    </element>
    <element id="Extension.value[x]">
      <path value="Extension.value[x]" />
      <max value="0" />
    </element>
  </differential>
</StructureDefinition>