<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="HdBe-BowelFunction" />
  <language value="en-US" />
  <extension url="http://hl7.org/fhir/StructureDefinition/resource-effectivePeriod">
    <valuePeriod>
      <start value="2020-09-01T00:00:00+02:00" />
    </valuePeriod>
  </extension>
  <url value="https://fhir.healthdata.be/StructureDefinition/LogicalModel/HdBe-BowelFunction" />
  <name value="HdBeBowelFunction">
    <extension url="http://hl7.org/fhir/StructureDefinition/translation">
      <extension url="lang">
        <valueCode value="nl-NL" />
      </extension>
      <extension url="content">
        <valueMarkdown value="HdBeDarmfunctie" />
      </extension>
    </extension>
  </name>
  <title value="HdBe BowelFunction" />
  <status value="draft" />
  <date value="2022-07-07T15:04:03.2592055+00:00" />
  <publisher value="Healthdata.be (Sciensano)" />
  <contact>
    <name value="Service portal – healthdata.be" />
    <telecom>
      <system value="url" />
      <value value="https://sciensano.service-now.com/sp" />
      <use value="work" />
    </telecom>
  </contact>
  <description value="An important function of the rectum in particular is the temporary storage and excretion of feces, at the moment there is cause to do so. Disrupting the bowel functions can lead to fecal incontinence and constipation.&#xD;&#xA;#### Purpose&#xD;&#xA;Information on bowel function disorders is important in drawing up the nursing plan and for patient care. Furthermore, information on feces (shape and color) offers additional information on the patient’s health condition. &#xD;&#xA;In a transfer situation, it offers the ability to anticipate the arrival of the patient and to achieve continuity in healthcare for the patient. This way, material or expertise can be coordinated beforehand, for example.&#xD;&#xA;&#xD;&#xA;#### Evidence Base&#xD;&#xA;The definitions of the concepts were (partially) taken from the ICF definitions.">
    <extension url="http://hl7.org/fhir/StructureDefinition/translation">
      <extension url="lang">
        <valueCode value="nl-NL" />
      </extension>
      <extension url="content">
        <valueMarkdown value="Een belangrijke functie van met name de endeldarm is de tijdelijke opslag van ontlasting en het uitscheiden hiervan, zodra daar een gelegenheid voor is. Verstoring van de darmfunctie kan leiden tot ontlastingsincontinentie en obstipatie.&#xD;&#xA;#### Purpose&#xD;&#xA;Informatie over stoornissen van de darmfunctie is van belang voor het opstellen van het verpleegplan en voor de verpleging van de patiënt. Daarnaast biedt informatie over de ontlasting (vorm en kleur) additionele informatie over de gezondheidstoestand van de patiënt.&#xD;&#xA;In een overdrachtssituatie biedt het de mogelijkheid te anticiperen op de komst van de patiënt en continuïteit van zorg voor de patiënt te bewerkstelligen. Zo kan bijvoorbeeld materiaal of deskundigheid vooraf worden geregeld.&#xD;&#xA;#### Evidence Base&#xD;&#xA;De definities van de concepten zijn (deels) ontleend aan de Nederlandse vertaling van de ICF begrippen.&#xD;&#xA;&#xD;&#xA;&#xD;&#xA;**References**&#xD;&#xA;1. International Classification of Functioning Disability and Health (ICF) [Online] Beschikbaar op: [http:/www.rivm.nl/who-fic/icf.htm](http:/www.rivm.nl/who-fic/icf.htm) [Geraadpleegd: 13 februari 2015]&#xD;&#xA;&#xD;&#xA;2. Richtlijn stomazorg V&amp;VN. [Online] Beschikbaar op: [http://venvn.xcess-5.xec.nl/Portals/1/Nieuws/2013%20Documenten/20130527%20%20Richtlijn%20Stomazorg.pdf](http://venvn.xcess-5.xec.nl/Portals/1/Nieuws/2013%20Documenten/20130527%20%20Richtlijn%20Stomazorg.pdf) [Geraadpleegd: 13 februari 2015]&#xD;&#xA;&#xD;&#xA;3. LEWIS, SJ. HEATON, KW. (1997) Stool form scale as a useful guide to intestinal transit time. *Scand. J. Gastroenterol.* 32 (9). p.920–924." />
      </extension>
    </extension>
  </description>
  <copyright value="Copyright and related rights waived via CC0, https://creativecommons.org/publicdomain/zero/1.0/. This does not apply to information from third parties, for example a medical terminology system. The implementer alone is responsible for identifying and obtaining any necessary licenses or authorizations to utilize third party IP in connection with the specification or otherwise." />
  <fhirVersion value="4.0.1" />
  <kind value="logical" />
  <abstract value="true" />
  <type value="https://fhir.healthdata.be/StructureDefinition/LogicalModel/BowelFunction" />
  <baseDefinition value="http://hl7.org/fhir/StructureDefinition/Element" />
  <derivation value="specialization" />
  <snapshot>
    <element id="BowelFunction">
      <path value="BowelFunction" />
      <short value="BowelFunction">
        <extension url="http://hl7.org/fhir/StructureDefinition/translation">
          <extension url="lang">
            <valueCode value="nl-NL" />
          </extension>
          <extension url="content">
            <valueMarkdown value="Darmfunctie" />
          </extension>
        </extension>
      </short>
      <definition value="Root concept of the BowelFunction information model. This root concept contains all data elements of the BowelFunction information model.">
        <extension url="http://hl7.org/fhir/StructureDefinition/translation">
          <extension url="lang">
            <valueCode value="nl-NL" />
          </extension>
          <extension url="content">
            <valueMarkdown value="Rootconcept van de bouwsteen Darmfunctie. Dit rootconcept bevat alle gegevenselementen van de bouwsteen Darmfunctie." />
          </extension>
        </extension>
      </definition>
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BowelFunction" />
        <min value="0" />
        <max value="*" />
      </base>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="BowelFunction.id">
      <path value="BowelFunction.id" />
      <representation value="xmlAttr" />
      <short value="Unique id for inter-element referencing" />
      <definition value="Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
          <valueUrl value="string" />
        </extension>
        <code value="http://hl7.org/fhirpath/System.String" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="BowelFunction.extension">
      <path value="BowelFunction.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="BowelFunction.FecalContinence">
      <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
        <valueCode value="normative" />
      </extension>
      <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version">
        <valueCode value="4.0.0" />
      </extension>
      <path value="BowelFunction.FecalContinence" />
      <short value="FecalContinence">
        <extension url="http://hl7.org/fhir/StructureDefinition/translation">
          <extension url="lang">
            <valueCode value="nl-NL" />
          </extension>
          <extension url="content">
            <valueMarkdown value="FecesContinentie" />
          </extension>
        </extension>
      </short>
      <definition value="Fecal continence is the voluntary control over the excretion of feces.">
        <extension url="http://hl7.org/fhir/StructureDefinition/translation">
          <extension url="lang">
            <valueCode value="nl-NL" />
          </extension>
          <extension url="content">
            <valueMarkdown value="Fecale continentie is de willekeurige controle over de uitscheiding van feces." />
          </extension>
        </extension>
      </definition>
      <comment value="Not all terminology uses fit this general pattern. In some cases, models should not use CodeableConcept and use Coding directly and provide their own structure for managing text, codings, translations and the relationship between elements and pre- and post-coordination." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="BowelFunction.FecalContinence" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="CodeableConcept" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <binding>
        <strength value="required" />
        <description value="FecalContinence codes" />
        <valueSet value="https://fhir.healthdata.be/ValueSet/FecesContinentie" />
      </binding>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="CE/CNE/CWE" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="CD" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:CodeableConcept rdfs:subClassOf dt:CD" />
      </mapping>
    </element>
    <element id="BowelFunction.Stoma">
      <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
        <valueCode value="normative" />
      </extension>
      <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version">
        <valueCode value="4.0.0" />
      </extension>
      <path value="BowelFunction.Stoma" />
      <short value="Stoma">
        <extension url="http://hl7.org/fhir/StructureDefinition/translation">
          <extension url="lang">
            <valueCode value="nl-NL" />
          </extension>
          <extension url="content">
            <valueMarkdown value="Stoma" />
          </extension>
        </extension>
      </short>
      <definition value="Stoma describes the presence of an unnatural, surgically created opening. If the patient has a stoma, the type of stoma must be entered along with the date on and location at which the stoma and any stoma pouches were placed. An comment can also be entered.">
        <extension url="http://hl7.org/fhir/StructureDefinition/translation">
          <extension url="lang">
            <valueCode value="nl-NL" />
          </extension>
          <extension url="content">
            <valueMarkdown value="Stoma beschrijft de aanwezigheid van een een onnatuurlijke, chirurgisch aangelegde opening. Indien hier sprake van is, dient het type stoma ingevuld te worden en kunnen daarnaast de plaatsingsdatum en locatie van het stoma en eventuele stomazakjes en toelichting beschreven worden." />
          </extension>
        </extension>
      </definition>
      <comment value="References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc.). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="BowelFunction.Stoma" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Reference" />
        <targetProfile value="https://fhir.healthdata.be/StructureDefinition/LogicalModel/HdBe-Stoma" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <constraint>
        <key value="ref-1" />
        <severity value="error" />
        <human value="SHALL have a contained resource if a local reference is provided" />
        <expression value="reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids'))" />
        <xpath value="not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="The target of a resource reference is a RIM entry point (Act, Role, or Entity)" />
      </mapping>
    </element>
    <element id="BowelFunction.Frequency">
      <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
        <valueCode value="normative" />
      </extension>
      <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version">
        <valueCode value="4.0.0" />
      </extension>
      <path value="BowelFunction.Frequency" />
      <short value="Frequency">
        <extension url="http://hl7.org/fhir/StructureDefinition/translation">
          <extension url="lang">
            <valueCode value="nl-NL" />
          </extension>
          <extension url="content">
            <valueMarkdown value="Frequentie" />
          </extension>
        </extension>
      </short>
      <definition value="The defecation frequency.">
        <extension url="http://hl7.org/fhir/StructureDefinition/translation">
          <extension url="lang">
            <valueCode value="nl-NL" />
          </extension>
          <extension url="content">
            <valueMarkdown value="De frequentie van defecatie." />
          </extension>
        </extension>
      </definition>
      <comment value="The context of use may frequently define what kind of quantity this is and therefore what kind of units can be used. The context of use may also restrict the values for the comparator." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="BowelFunction.Frequency" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Quantity" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <constraint>
        <key value="qty-3" />
        <severity value="error" />
        <human value="If a code for the unit is present, the system SHALL also be present" />
        <expression value="code.empty() or system.exists()" />
        <xpath value="not(exists(f:code)) or exists(f:system)" />
        <source value="http://hl7.org/fhir/StructureDefinition/Quantity" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="SN (see also Range) or CQ" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="PQ, IVL&lt;PQ&gt;, MO, CO, depending on the values" />
      </mapping>
    </element>
    <element id="BowelFunction.DefecationConsistency">
      <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
        <valueCode value="normative" />
      </extension>
      <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version">
        <valueCode value="4.0.0" />
      </extension>
      <path value="BowelFunction.DefecationConsistency" />
      <short value="DefecationConsistency">
        <extension url="http://hl7.org/fhir/StructureDefinition/translation">
          <extension url="lang">
            <valueCode value="nl-NL" />
          </extension>
          <extension url="content">
            <valueMarkdown value="DefecatieConsistentie" />
          </extension>
        </extension>
      </short>
      <definition value="The consistency of the feces indicates the hardness of the stool. The Bristol Stool scale is used to determine this.">
        <extension url="http://hl7.org/fhir/StructureDefinition/translation">
          <extension url="lang">
            <valueCode value="nl-NL" />
          </extension>
          <extension url="content">
            <valueMarkdown value="De consistentie van feces geeft de hardheid van ontlasting aan. Bij het bepalen hiervan wordt gebruik gemaakt van de Bristol Stool scale." />
          </extension>
        </extension>
      </definition>
      <comment value="Not all terminology uses fit this general pattern. In some cases, models should not use CodeableConcept and use Coding directly and provide their own structure for managing text, codings, translations and the relationship between elements and pre- and post-coordination." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="BowelFunction.DefecationConsistency" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="CodeableConcept" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <binding>
        <strength value="required" />
        <description value="DefecationConsistency codes" />
        <valueSet value="https://fhir.healthdata.be/ValueSet/DefecatieConsistentie" />
      </binding>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="CE/CNE/CWE" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="CD" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:CodeableConcept rdfs:subClassOf dt:CD" />
      </mapping>
    </element>
    <element id="BowelFunction.DefecationColor">
      <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
        <valueCode value="normative" />
      </extension>
      <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version">
        <valueCode value="4.0.0" />
      </extension>
      <path value="BowelFunction.DefecationColor" />
      <short value="DefecationColor">
        <extension url="http://hl7.org/fhir/StructureDefinition/translation">
          <extension url="lang">
            <valueCode value="nl-NL" />
          </extension>
          <extension url="content">
            <valueMarkdown value="DefecatieKleur" />
          </extension>
        </extension>
      </short>
      <definition value="The color of feces is possibly relevant for identifying underlying diseases, such as bleeding or biliary tract disease.">
        <extension url="http://hl7.org/fhir/StructureDefinition/translation">
          <extension url="lang">
            <valueCode value="nl-NL" />
          </extension>
          <extension url="content">
            <valueMarkdown value="De kleur van feces is mogelijk relevant voor het opsporen van onderliggende aandoeningen, zoals een bloeding of galwegaandoening." />
          </extension>
        </extension>
      </definition>
      <comment value="Not all terminology uses fit this general pattern. In some cases, models should not use CodeableConcept and use Coding directly and provide their own structure for managing text, codings, translations and the relationship between elements and pre- and post-coordination." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="BowelFunction.DefecationColor" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="CodeableConcept" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <binding>
        <strength value="extensible" />
        <description value="DefecationColor codes" />
        <valueSet value="https://fhir.healthdata.be/ValueSet/DefecatieKleur" />
      </binding>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="CE/CNE/CWE" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="CD" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:CodeableConcept rdfs:subClassOf dt:CD" />
      </mapping>
    </element>
    <element id="BowelFunction.IncontinenceMaterial">
      <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
        <valueCode value="normative" />
      </extension>
      <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version">
        <valueCode value="4.0.0" />
      </extension>
      <path value="BowelFunction.IncontinenceMaterial" />
      <short value="IncontinenceMaterial">
        <extension url="http://hl7.org/fhir/StructureDefinition/translation">
          <extension url="lang">
            <valueCode value="nl-NL" />
          </extension>
          <extension url="content">
            <valueMarkdown value="Incontinentiemateriaal" />
          </extension>
        </extension>
      </short>
      <definition value="A description of the incontinence material used.">
        <extension url="http://hl7.org/fhir/StructureDefinition/translation">
          <extension url="lang">
            <valueCode value="nl-NL" />
          </extension>
          <extension url="content">
            <valueMarkdown value="Een beschrijving van het gebruikte incontinentiemateriaal." />
          </extension>
        </extension>
      </definition>
      <comment value="References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc.). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="BowelFunction.IncontinenceMaterial" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Reference" />
        <targetProfile value="https://fhir.healthdata.be/StructureDefinition/LogicalModel/HdBe-MedicalDevice" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <constraint>
        <key value="ref-1" />
        <severity value="error" />
        <human value="SHALL have a contained resource if a local reference is provided" />
        <expression value="reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids'))" />
        <xpath value="not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="The target of a resource reference is a RIM entry point (Act, Role, or Entity)" />
      </mapping>
    </element>
    <element id="BowelFunction.Comment">
      <path value="BowelFunction.Comment" />
      <short value="Comment">
        <extension url="http://hl7.org/fhir/StructureDefinition/translation">
          <extension url="lang">
            <valueCode value="nl-NL" />
          </extension>
          <extension url="content">
            <valueMarkdown value="Toelichting" />
          </extension>
        </extension>
      </short>
      <definition value="A comment on the BowelFunction.">
        <extension url="http://hl7.org/fhir/StructureDefinition/translation">
          <extension url="lang">
            <valueCode value="nl-NL" />
          </extension>
          <extension url="content">
            <valueMarkdown value="Een toelichting op de darmfunctie." />
          </extension>
        </extension>
      </definition>
      <comment value="Note that FHIR strings SHALL NOT exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="BowelFunction.Comment" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
  </snapshot>
  <differential>
    <element id="BowelFunction">
      <path value="BowelFunction" />
      <short value="BowelFunction">
        <extension url="http://hl7.org/fhir/StructureDefinition/translation">
          <extension url="lang">
            <valueCode value="nl-NL" />
          </extension>
          <extension url="content">
            <valueMarkdown value="Darmfunctie" />
          </extension>
        </extension>
      </short>
      <definition value="Root concept of the BowelFunction information model. This root concept contains all data elements of the BowelFunction information model.">
        <extension url="http://hl7.org/fhir/StructureDefinition/translation">
          <extension url="lang">
            <valueCode value="nl-NL" />
          </extension>
          <extension url="content">
            <valueMarkdown value="Rootconcept van de bouwsteen Darmfunctie. Dit rootconcept bevat alle gegevenselementen van de bouwsteen Darmfunctie." />
          </extension>
        </extension>
      </definition>
      <min value="0" />
      <max value="*" />
    </element>
    <element id="BowelFunction.FecalContinence">
      <path value="BowelFunction.FecalContinence" />
      <short value="FecalContinence">
        <extension url="http://hl7.org/fhir/StructureDefinition/translation">
          <extension url="lang">
            <valueCode value="nl-NL" />
          </extension>
          <extension url="content">
            <valueMarkdown value="FecesContinentie" />
          </extension>
        </extension>
      </short>
      <definition value="Fecal continence is the voluntary control over the excretion of feces.">
        <extension url="http://hl7.org/fhir/StructureDefinition/translation">
          <extension url="lang">
            <valueCode value="nl-NL" />
          </extension>
          <extension url="content">
            <valueMarkdown value="Fecale continentie is de willekeurige controle over de uitscheiding van feces." />
          </extension>
        </extension>
      </definition>
      <min value="0" />
      <max value="1" />
      <type>
        <code value="CodeableConcept" />
      </type>
      <binding>
        <strength value="required" />
        <description value="FecalContinence codes" />
        <valueSet value="https://fhir.healthdata.be/ValueSet/FecesContinentie" />
      </binding>
    </element>
    <element id="BowelFunction.Stoma">
      <path value="BowelFunction.Stoma" />
      <short value="Stoma">
        <extension url="http://hl7.org/fhir/StructureDefinition/translation">
          <extension url="lang">
            <valueCode value="nl-NL" />
          </extension>
          <extension url="content">
            <valueMarkdown value="Stoma" />
          </extension>
        </extension>
      </short>
      <definition value="Stoma describes the presence of an unnatural, surgically created opening. If the patient has a stoma, the type of stoma must be entered along with the date on and location at which the stoma and any stoma pouches were placed. An comment can also be entered.">
        <extension url="http://hl7.org/fhir/StructureDefinition/translation">
          <extension url="lang">
            <valueCode value="nl-NL" />
          </extension>
          <extension url="content">
            <valueMarkdown value="Stoma beschrijft de aanwezigheid van een een onnatuurlijke, chirurgisch aangelegde opening. Indien hier sprake van is, dient het type stoma ingevuld te worden en kunnen daarnaast de plaatsingsdatum en locatie van het stoma en eventuele stomazakjes en toelichting beschreven worden." />
          </extension>
        </extension>
      </definition>
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Reference" />
        <targetProfile value="https://fhir.healthdata.be/StructureDefinition/LogicalModel/HdBe-Stoma" />
      </type>
    </element>
    <element id="BowelFunction.Frequency">
      <path value="BowelFunction.Frequency" />
      <short value="Frequency">
        <extension url="http://hl7.org/fhir/StructureDefinition/translation">
          <extension url="lang">
            <valueCode value="nl-NL" />
          </extension>
          <extension url="content">
            <valueMarkdown value="Frequentie" />
          </extension>
        </extension>
      </short>
      <definition value="The defecation frequency.">
        <extension url="http://hl7.org/fhir/StructureDefinition/translation">
          <extension url="lang">
            <valueCode value="nl-NL" />
          </extension>
          <extension url="content">
            <valueMarkdown value="De frequentie van defecatie." />
          </extension>
        </extension>
      </definition>
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Quantity" />
      </type>
    </element>
    <element id="BowelFunction.DefecationConsistency">
      <path value="BowelFunction.DefecationConsistency" />
      <short value="DefecationConsistency">
        <extension url="http://hl7.org/fhir/StructureDefinition/translation">
          <extension url="lang">
            <valueCode value="nl-NL" />
          </extension>
          <extension url="content">
            <valueMarkdown value="DefecatieConsistentie" />
          </extension>
        </extension>
      </short>
      <definition value="The consistency of the feces indicates the hardness of the stool. The Bristol Stool scale is used to determine this.">
        <extension url="http://hl7.org/fhir/StructureDefinition/translation">
          <extension url="lang">
            <valueCode value="nl-NL" />
          </extension>
          <extension url="content">
            <valueMarkdown value="De consistentie van feces geeft de hardheid van ontlasting aan. Bij het bepalen hiervan wordt gebruik gemaakt van de Bristol Stool scale." />
          </extension>
        </extension>
      </definition>
      <min value="0" />
      <max value="1" />
      <type>
        <code value="CodeableConcept" />
      </type>
      <binding>
        <strength value="required" />
        <description value="DefecationConsistency codes" />
        <valueSet value="https://fhir.healthdata.be/ValueSet/DefecatieConsistentie" />
      </binding>
    </element>
    <element id="BowelFunction.DefecationColor">
      <path value="BowelFunction.DefecationColor" />
      <short value="DefecationColor">
        <extension url="http://hl7.org/fhir/StructureDefinition/translation">
          <extension url="lang">
            <valueCode value="nl-NL" />
          </extension>
          <extension url="content">
            <valueMarkdown value="DefecatieKleur" />
          </extension>
        </extension>
      </short>
      <definition value="The color of feces is possibly relevant for identifying underlying diseases, such as bleeding or biliary tract disease.">
        <extension url="http://hl7.org/fhir/StructureDefinition/translation">
          <extension url="lang">
            <valueCode value="nl-NL" />
          </extension>
          <extension url="content">
            <valueMarkdown value="De kleur van feces is mogelijk relevant voor het opsporen van onderliggende aandoeningen, zoals een bloeding of galwegaandoening." />
          </extension>
        </extension>
      </definition>
      <min value="0" />
      <max value="1" />
      <type>
        <code value="CodeableConcept" />
      </type>
      <binding>
        <strength value="extensible" />
        <description value="DefecationColor codes" />
        <valueSet value="https://fhir.healthdata.be/ValueSet/DefecatieKleur" />
      </binding>
    </element>
    <element id="BowelFunction.IncontinenceMaterial">
      <path value="BowelFunction.IncontinenceMaterial" />
      <short value="IncontinenceMaterial">
        <extension url="http://hl7.org/fhir/StructureDefinition/translation">
          <extension url="lang">
            <valueCode value="nl-NL" />
          </extension>
          <extension url="content">
            <valueMarkdown value="Incontinentiemateriaal" />
          </extension>
        </extension>
      </short>
      <definition value="A description of the incontinence material used.">
        <extension url="http://hl7.org/fhir/StructureDefinition/translation">
          <extension url="lang">
            <valueCode value="nl-NL" />
          </extension>
          <extension url="content">
            <valueMarkdown value="Een beschrijving van het gebruikte incontinentiemateriaal." />
          </extension>
        </extension>
      </definition>
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Reference" />
        <targetProfile value="https://fhir.healthdata.be/StructureDefinition/LogicalModel/HdBe-MedicalDevice" />
      </type>
    </element>
    <element id="BowelFunction.Comment">
      <path value="BowelFunction.Comment" />
      <short value="Comment">
        <extension url="http://hl7.org/fhir/StructureDefinition/translation">
          <extension url="lang">
            <valueCode value="nl-NL" />
          </extension>
          <extension url="content">
            <valueMarkdown value="Toelichting" />
          </extension>
        </extension>
      </short>
      <definition value="A comment on the BowelFunction.">
        <extension url="http://hl7.org/fhir/StructureDefinition/translation">
          <extension url="lang">
            <valueCode value="nl-NL" />
          </extension>
          <extension url="content">
            <valueMarkdown value="Een toelichting op de darmfunctie." />
          </extension>
        </extension>
      </definition>
      <min value="0" />
      <max value="1" />
      <type>
        <code value="string" />
      </type>
    </element>
  </differential>
</StructureDefinition>