<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="logicalmodel-Modifiedbarthelindex-R4" />
  <url value="http://linkehr.com/fhir/logicalmodel-modifiedbarthelindex-R4" />
  <identifier>
    <system value="openEHR-CKM" />
    <value value="openEHR-EHR-OBSERVATION.modified_barthel_index.v0" />
  </identifier>
  <version value="0" />
  <name value="Modifiedbarthelindex" />
  <title value="Modified Barthel index" />
  <status value="draft" />
  <date value="2024-06-18" />
  <publisher value="openEHR" />
  <contact>
    <telecom>
      <system value="url" />
      <value value="http://www.veratech.es" />
    </telecom>
  </contact>
  <description value="Modification of the Barthel index, used as a functional assessment for activities of daily living (ADL)." />
  <purpose value="To record a functional assessment for activities of daily living using the modified version of the Barthel index." />
  <fhirVersion value="4.0.0" />
  <mapping>
    <identity value="openEHR" />
    <uri value="http://openehr.org" />
    <name value="openEHR Mapping" />
  </mapping>
  <mapping>
    <identity value="openEHR-natural" />
    <uri value="http://openehr.org" />
    <name value="openEHR natural path" />
  </mapping>
  <kind value="logical" />
  <abstract value="false" />
  <type value="StructureDefinition" />
  <baseDefinition value="http://hl7.org/fhir/StructureDefinition/Element" />
  <snapshot>
    <element id="Modified_Barthel_index">
      <path value="Modified_Barthel_index" />
      <short value="Modified Barthel index" />
      <definition value="Modification of the Barthel index, used as a functional assessment for activities of daily living (ADL)." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="Modified_Barthel_index" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <mustSupport value="true" />
      <isModifier value="false" />
      <isSummary value="true" />
    </element>
    <element id="Modified_Barthel_index.protocol">
      <path value="Modified_Barthel_index.protocol" />
      <short value="Tree" />
      <definition value="@ internal @" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Modified_Barthel_index.protocol" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <mustSupport value="false" />
      <isModifier value="false" />
      <isSummary value="true" />
    </element>
    <element id="Modified_Barthel_index.protocol.Extension">
      <path value="Modified_Barthel_index.protocol.Extension" />
      <short value="Extension" />
      <definition value="Additional information required to capture local content or to align with other reference models/formalisms." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Modified_Barthel_index.protocol.Extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <mustSupport value="false" />
      <isModifier value="false" />
      <isSummary value="true" />
    </element>
    <element id="Modified_Barthel_index.History">
      <path value="Modified_Barthel_index.History" />
      <short value="History" />
      <definition value="@ internal @" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Modified_Barthel_index.History" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <mustSupport value="false" />
      <isModifier value="false" />
      <isSummary value="true" />
    </element>
    <element id="Modified_Barthel_index.History.Any_event">
      <path value="Modified_Barthel_index.History.Any_event" />
      <short value="Any event" />
      <definition value="Default, unspecified point in time or interval event which may be explicitly defined in a template or at run-time." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Modified_Barthel_index.History.Any_event" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <mustSupport value="false" />
      <isModifier value="false" />
      <isSummary value="true" />
    </element>
    <element id="Modified_Barthel_index.History.Any_event.data">
      <path value="Modified_Barthel_index.History.Any_event.data" />
      <short value="Tree" />
      <definition value="@ internal @" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Modified_Barthel_index.History.Any_event.data" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <mustSupport value="false" />
      <isModifier value="false" />
      <isSummary value="true" />
    </element>
    <element id="Modified_Barthel_index.History.Any_event.data.Bowels">
      <path value="Modified_Barthel_index.History.Any_event.data.Bowels" />
      <short value="Bowels" />
      <definition value="Over the previous week, occasional accident is once per week." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Modified_Barthel_index.History.Any_event.data.Bowels" />
        <min value="0" />
        <max value="1" />
      </base>
    </element>
    <element id="Modified_Barthel_index.History.Any_event.data.Bowels.value">
      <path value="Modified_Barthel_index.History.Any_event.data.Bowels.value" />
      <short value="Bowels" />
      <definition value="Over the previous week, occasional accident is once per week." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Modified_Barthel_index.History.Any_event.data.Bowels.value" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="CodeableConcept" />
      </type>
      <mustSupport value="false" />
      <isModifier value="false" />
      <isSummary value="true" />
    </element>
    <element id="Modified_Barthel_index.History.Any_event.data.Bladder">
      <path value="Modified_Barthel_index.History.Any_event.data.Bladder" />
      <short value="Bladder" />
      <definition value="Assessment of urinary control over the previous week, occasional accident &lt;= 1 time per week." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Modified_Barthel_index.History.Any_event.data.Bladder" />
        <min value="0" />
        <max value="1" />
      </base>
    </element>
    <element id="Modified_Barthel_index.History.Any_event.data.Bladder.value">
      <path value="Modified_Barthel_index.History.Any_event.data.Bladder.value" />
      <short value="Bladder" />
      <definition value="Assessment of urinary control over the previous week, occasional accident &lt;= 1 time per week." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Modified_Barthel_index.History.Any_event.data.Bladder.value" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="CodeableConcept" />
      </type>
      <mustSupport value="false" />
      <isModifier value="false" />
      <isSummary value="true" />
    </element>
    <element id="Modified_Barthel_index.History.Any_event.data.Grooming">
      <path value="Modified_Barthel_index.History.Any_event.data.Grooming" />
      <short value="Grooming" />
      <definition value="Ability over the previous 24-48 hours to attend to personal hygiene such as brushing teeth, shaving and washing." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Modified_Barthel_index.History.Any_event.data.Grooming" />
        <min value="0" />
        <max value="1" />
      </base>
    </element>
    <element id="Modified_Barthel_index.History.Any_event.data.Grooming.value">
      <path value="Modified_Barthel_index.History.Any_event.data.Grooming.value" />
      <short value="Grooming" />
      <definition value="Ability over the previous 24-48 hours to attend to personal hygiene such as brushing teeth, shaving and washing." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Modified_Barthel_index.History.Any_event.data.Grooming.value" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="CodeableConcept" />
      </type>
      <mustSupport value="false" />
      <isModifier value="false" />
      <isSummary value="true" />
    </element>
    <element id="Modified_Barthel_index.History.Any_event.data.Toilet_use">
      <path value="Modified_Barthel_index.History.Any_event.data.Toilet_use" />
      <short value="Toilet use" />
      <definition value="Ability to use toilet over the previous 48 hours." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Modified_Barthel_index.History.Any_event.data.Toilet_use" />
        <min value="0" />
        <max value="1" />
      </base>
    </element>
    <element id="Modified_Barthel_index.History.Any_event.data.Toilet_use.value">
      <path value="Modified_Barthel_index.History.Any_event.data.Toilet_use.value" />
      <short value="Toilet use" />
      <definition value="Ability to use toilet over the previous 48 hours." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Modified_Barthel_index.History.Any_event.data.Toilet_use.value" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="CodeableConcept" />
      </type>
      <mustSupport value="false" />
      <isModifier value="false" />
      <isSummary value="true" />
    </element>
    <element id="Modified_Barthel_index.History.Any_event.data.Feeding">
      <path value="Modified_Barthel_index.History.Any_event.data.Feeding" />
      <short value="Feeding" />
      <definition value="Ability to eat food." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Modified_Barthel_index.History.Any_event.data.Feeding" />
        <min value="0" />
        <max value="1" />
      </base>
    </element>
    <element id="Modified_Barthel_index.History.Any_event.data.Feeding.value">
      <path value="Modified_Barthel_index.History.Any_event.data.Feeding.value" />
      <short value="Feeding" />
      <definition value="Ability to eat food." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Modified_Barthel_index.History.Any_event.data.Feeding.value" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="CodeableConcept" />
      </type>
      <mustSupport value="false" />
      <isModifier value="false" />
      <isSummary value="true" />
    </element>
    <element id="Modified_Barthel_index.History.Any_event.data.Transfer">
      <path value="Modified_Barthel_index.History.Any_event.data.Transfer" />
      <short value="Transfer" />
      <definition value="Transfer from bed to chair and back." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Modified_Barthel_index.History.Any_event.data.Transfer" />
        <min value="0" />
        <max value="1" />
      </base>
    </element>
    <element id="Modified_Barthel_index.History.Any_event.data.Transfer.value">
      <path value="Modified_Barthel_index.History.Any_event.data.Transfer.value" />
      <short value="Transfer" />
      <definition value="Transfer from bed to chair and back." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Modified_Barthel_index.History.Any_event.data.Transfer.value" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="CodeableConcept" />
      </type>
      <mustSupport value="false" />
      <isModifier value="false" />
      <isSummary value="true" />
    </element>
    <element id="Modified_Barthel_index.History.Any_event.data.Mobility">
      <path value="Modified_Barthel_index.History.Any_event.data.Mobility" />
      <short value="Mobility" />
      <definition value="Ability to get about the house or institution." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Modified_Barthel_index.History.Any_event.data.Mobility" />
        <min value="0" />
        <max value="1" />
      </base>
    </element>
    <element id="Modified_Barthel_index.History.Any_event.data.Mobility.value">
      <path value="Modified_Barthel_index.History.Any_event.data.Mobility.value" />
      <short value="Mobility" />
      <definition value="Ability to get about the house or institution." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Modified_Barthel_index.History.Any_event.data.Mobility.value" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="CodeableConcept" />
      </type>
      <mustSupport value="false" />
      <isModifier value="false" />
      <isSummary value="true" />
    </element>
    <element id="Modified_Barthel_index.History.Any_event.data.Dressing">
      <path value="Modified_Barthel_index.History.Any_event.data.Dressing" />
      <short value="Dressing" />
      <definition value="Ability to choose clothes, put them on and fasten them." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Modified_Barthel_index.History.Any_event.data.Dressing" />
        <min value="0" />
        <max value="1" />
      </base>
    </element>
    <element id="Modified_Barthel_index.History.Any_event.data.Dressing.value">
      <path value="Modified_Barthel_index.History.Any_event.data.Dressing.value" />
      <short value="Dressing" />
      <definition value="Ability to choose clothes, put them on and fasten them." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Modified_Barthel_index.History.Any_event.data.Dressing.value" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="CodeableConcept" />
      </type>
      <mustSupport value="false" />
      <isModifier value="false" />
      <isSummary value="true" />
    </element>
    <element id="Modified_Barthel_index.History.Any_event.data.Stairs">
      <path value="Modified_Barthel_index.History.Any_event.data.Stairs" />
      <short value="Stairs" />
      <definition value="Ability to negotiate stairs." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Modified_Barthel_index.History.Any_event.data.Stairs" />
        <min value="0" />
        <max value="1" />
      </base>
    </element>
    <element id="Modified_Barthel_index.History.Any_event.data.Stairs.value">
      <path value="Modified_Barthel_index.History.Any_event.data.Stairs.value" />
      <short value="Stairs" />
      <definition value="Ability to negotiate stairs." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Modified_Barthel_index.History.Any_event.data.Stairs.value" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="CodeableConcept" />
      </type>
      <mustSupport value="false" />
      <isModifier value="false" />
      <isSummary value="true" />
    </element>
    <element id="Modified_Barthel_index.History.Any_event.data.Bathing">
      <path value="Modified_Barthel_index.History.Any_event.data.Bathing" />
      <short value="Bathing" />
      <definition value="Independent = without supervision or help when getting in and out of the bath and when washing." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Modified_Barthel_index.History.Any_event.data.Bathing" />
        <min value="0" />
        <max value="1" />
      </base>
    </element>
    <element id="Modified_Barthel_index.History.Any_event.data.Bathing.value">
      <path value="Modified_Barthel_index.History.Any_event.data.Bathing.value" />
      <short value="Bathing" />
      <definition value="Independent = without supervision or help when getting in and out of the bath and when washing." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Modified_Barthel_index.History.Any_event.data.Bathing.value" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="CodeableConcept" />
      </type>
      <mustSupport value="false" />
      <isModifier value="false" />
      <isSummary value="true" />
    </element>
    <element id="Modified_Barthel_index.History.Any_event.data.Total_score">
      <path value="Modified_Barthel_index.History.Any_event.data.Total_score" />
      <short value="Total score" />
      <definition value="Sum of the individual scores assigned for each of the contributing variables." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Modified_Barthel_index.History.Any_event.data.Total_score" />
        <min value="0" />
        <max value="1" />
      </base>
    </element>
    <element id="Modified_Barthel_index.History.Any_event.data.Total_score.value">
      <path value="Modified_Barthel_index.History.Any_event.data.Total_score.value" />
      <short value="Total score" />
      <definition value="Sum of the individual scores assigned for each of the contributing variables." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Modified_Barthel_index.History.Any_event.data.Total_score.value" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Quantity" />
      </type>
      <mustSupport value="false" />
      <isModifier value="false" />
      <isSummary value="true" />
    </element>
    <element id="Modified_Barthel_index.History.Any_event.data.Comment">
      <path value="Modified_Barthel_index.History.Any_event.data.Comment" />
      <short value="Comment" />
      <definition value="Additional narrative about the modified Barthel index, not captured in other fields." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Modified_Barthel_index.History.Any_event.data.Comment" />
        <min value="0" />
        <max value="1" />
      </base>
    </element>
    <element id="Modified_Barthel_index.History.Any_event.data.Comment.value">
      <path value="Modified_Barthel_index.History.Any_event.data.Comment.value" />
      <short value="Comment" />
      <definition value="Additional narrative about the modified Barthel index, not captured in other fields." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Modified_Barthel_index.History.Any_event.data.Comment.value" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="CodeableConcept" />
      </type>
      <mustSupport value="false" />
      <isModifier value="false" />
      <isSummary value="true" />
    </element>
    <element id="Modified_Barthel_index.History.Any_event.state">
      <path value="Modified_Barthel_index.History.Any_event.state" />
      <short value="Tree" />
      <definition value="@ internal @" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Modified_Barthel_index.History.Any_event.state" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <mustSupport value="false" />
      <isModifier value="false" />
      <isSummary value="true" />
    </element>
    <element id="Modified_Barthel_index.History.Any_event.state.Confounding_factors">
      <path value="Modified_Barthel_index.History.Any_event.state.Confounding_factors" />
      <short value="Confounding factors" />
      <definition value="Narrative descripiton of any issues or factors that may impact on the scoring." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Modified_Barthel_index.History.Any_event.state.Confounding_factors" />
        <min value="0" />
        <max value="1" />
      </base>
    </element>
    <element id="Modified_Barthel_index.History.Any_event.state.Confounding_factors.value">
      <path value="Modified_Barthel_index.History.Any_event.state.Confounding_factors.value" />
      <short value="Confounding factors" />
      <definition value="Narrative descripiton of any issues or factors that may impact on the scoring." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Modified_Barthel_index.History.Any_event.state.Confounding_factors.value" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="CodeableConcept" />
      </type>
      <mustSupport value="false" />
      <isModifier value="false" />
      <isSummary value="true" />
    </element>
  </snapshot>
</StructureDefinition>