<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="logicalmodel-Faecaloutput-R4" />
  <url value="http://linkehr.com/fhir/logicalmodel-faecaloutput-R4" />
  <identifier>
    <system value="openEHR-CKM" />
    <value value="openEHR-EHR-OBSERVATION.faecal_output.v0" />
  </identifier>
  <version value="0" />
  <name value="Faecaloutput" />
  <title value="Faecal output" />
  <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="The measurement of faeces excreted from the body." />
  <purpose value="To record details about faecal output." />
  <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="Faecal_output">
      <path value="Faecal_output" />
      <short value="Faecal output" />
      <definition value="The measurement of faeces excreted from the body." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="Faecal_output" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <mustSupport value="true" />
      <isModifier value="false" />
      <isSummary value="true" />
    </element>
    <element id="Faecal_output.List">
      <path value="Faecal_output.List" />
      <short value="List" />
      <definition value="@ internal @" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Faecal_output.List" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <mustSupport value="false" />
      <isModifier value="false" />
      <isSummary value="true" />
    </element>
    <element id="Faecal_output.List.Method">
      <path value="Faecal_output.List.Method" />
      <short value="Method" />
      <definition value="The approach used to quantify the amount of faeces." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Faecal_output.List.Method" />
        <min value="0" />
        <max value="1" />
      </base>
    </element>
    <element id="Faecal_output.List.Method.value">
      <path value="Faecal_output.List.Method.value" />
      <short value="Method" />
      <definition value="The approach used to quantify the amount of faeces." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Faecal_output.List.Method.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="Faecal_output.List.Output_device">
      <path value="Faecal_output.List.Output_device" />
      <short value="Output device" />
      <definition value="Details of the device that was used to collect the faeces." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Faecal_output.List.Output_device" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <mustSupport value="false" />
      <isModifier value="false" />
      <isSummary value="true" />
    </element>
    <element id="Faecal_output.List.Measurement_device">
      <path value="Faecal_output.List.Measurement_device" />
      <short value="Measurement device" />
      <definition value="Details of the device used to measure the faecal output." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Faecal_output.List.Measurement_device" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <mustSupport value="false" />
      <isModifier value="false" />
      <isSummary value="true" />
    </element>
    <element id="Faecal_output.List.Extension">
      <path value="Faecal_output.List.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="Faecal_output.List.Extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <mustSupport value="false" />
      <isModifier value="false" />
      <isSummary value="true" />
    </element>
    <element id="Faecal_output.Event_Series">
      <path value="Faecal_output.Event_Series" />
      <short value="Event Series" />
      <definition value="@ internal @" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Faecal_output.Event_Series" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <mustSupport value="false" />
      <isModifier value="false" />
      <isSummary value="true" />
    </element>
    <element id="Faecal_output.Event_Series.Any_event">
      <path value="Faecal_output.Event_Series.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="Faecal_output.Event_Series.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="Faecal_output.Event_Series.Any_event.List">
      <path value="Faecal_output.Event_Series.Any_event.List" />
      <short value="List" />
      <definition value="@ internal @" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Faecal_output.Event_Series.Any_event.List" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <mustSupport value="false" />
      <isModifier value="false" />
      <isSummary value="true" />
    </element>
    <element id="Faecal_output.Event_Series.Any_event.List.Amount">
      <path value="Faecal_output.Event_Series.Any_event.List.Amount" />
      <short value="Amount" />
      <definition value="The amount of faeces excreted." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Faecal_output.Event_Series.Any_event.List.Amount" />
        <min value="0" />
        <max value="1" />
      </base>
    </element>
    <element id="Faecal_output.Event_Series.Any_event.List.Amount.value">
      <path value="Faecal_output.Event_Series.Any_event.List.Amount.value" />
      <short value="Amount" />
      <definition value="The amount of faeces excreted." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="Faecal_output.Event_Series.Any_event.List.Amount.value" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="Quantity" />
      </type>
      <mustSupport value="true" />
      <isModifier value="false" />
      <isSummary value="true" />
    </element>
    <element id="Faecal_output.Event_Series.Any_event.List.Faecal_details">
      <path value="Faecal_output.Event_Series.Any_event.List.Faecal_details" />
      <short value="Faecal details" />
      <definition value="Additional details about the faeces, including macroscopic appearance or other tests not currently captured in the structured data." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Faecal_output.Event_Series.Any_event.List.Faecal_details" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <mustSupport value="false" />
      <isModifier value="false" />
      <isSummary value="true" />
    </element>
    <element id="Faecal_output.Event_Series.Any_event.List.Comment">
      <path value="Faecal_output.Event_Series.Any_event.List.Comment" />
      <short value="Comment" />
      <definition value="Additional narrative about the faecal output not captured in other fields." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Faecal_output.Event_Series.Any_event.List.Comment" />
        <min value="0" />
        <max value="1" />
      </base>
    </element>
    <element id="Faecal_output.Event_Series.Any_event.List.Comment.value">
      <path value="Faecal_output.Event_Series.Any_event.List.Comment.value" />
      <short value="Comment" />
      <definition value="Additional narrative about the faecal output not captured in other fields." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Faecal_output.Event_Series.Any_event.List.Comment.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>