<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="HdBe-LifeStance" />
  <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-LifeStance" />
  <name value="HdBeLifeStance">
    <extension url="http://hl7.org/fhir/StructureDefinition/translation">
      <extension url="lang">
        <valueCode value="nl-NL" />
      </extension>
      <extension url="content">
        <valueMarkdown value="HdBeLevensovertuiging" />
      </extension>
    </extension>
  </name>
  <title value="HdBe LifeStance" />
  <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="Patient’s life stance and/or religion.&#xD;&#xA;#### Purpose&#xD;&#xA;Life stance may have implications for treatment and care, such as in instructions for treatment, diet, or mental care.">
    <extension url="http://hl7.org/fhir/StructureDefinition/translation">
      <extension url="lang">
        <valueCode value="nl-NL" />
      </extension>
      <extension url="content">
        <valueMarkdown value="De levens- en/of geloofsovertuiging van de patiënt. &#xD;&#xA;#### Purpose&#xD;&#xA;Levensovertuiging kan implicaties hebben rondom de behandeling en verzorging, zoals bij behandelaanwijzingen, dieet, geestelijke verzorging." />
      </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/LifeStance" />
  <baseDefinition value="http://hl7.org/fhir/StructureDefinition/Element" />
  <derivation value="specialization" />
  <snapshot>
    <element id="LifeStance">
      <path value="LifeStance" />
      <short value="Base for all elements" />
      <definition value="Base definition for all elements in a resource." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="LifeStance" />
        <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() | (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="LifeStance.id">
      <path value="LifeStance.id" />
      <representation value="xmlAttr" />
      <short value="xml:id (or equivalent in JSON)" />
      <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <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() | (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="LifeStance.extension">
      <path value="LifeStance.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. In order 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 is allowed to 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() | (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="LifeStance.LifeStanceRc">
      <path value="LifeStance.LifeStanceRc" />
      <short value="LifeStanceRC">
        <extension url="http://hl7.org/fhir/StructureDefinition/translation">
          <extension url="lang">
            <valueCode value="nl-NL" />
          </extension>
          <extension url="content">
            <valueMarkdown value="LevensovertuigingRC" />
          </extension>
        </extension>
      </short>
      <definition value="Root concept of the LifeStance information model. This root concept contains all data elements of the LifeStance 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 Levensovertuiging. Dit rootconcept bevat alle gegevenselementen van de bouwsteen Levensovertuiging." />
          </extension>
        </extension>
      </definition>
      <min value="0" />
      <max value="*" />
      <base>
        <path value="LifeStanceRc" />
        <min value="0" />
        <max value="*" />
      </base>
    </element>
  </snapshot>
  <differential>
    <element id="LifeStanceRc">
      <path value="LifeStanceRc" />
      <short value="LifeStanceRC">
        <extension url="http://hl7.org/fhir/StructureDefinition/translation">
          <extension url="lang">
            <valueCode value="nl-NL" />
          </extension>
          <extension url="content">
            <valueMarkdown value="LevensovertuigingRC" />
          </extension>
        </extension>
      </short>
      <definition value="Root concept of the LifeStance information model. This root concept contains all data elements of the LifeStance 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 Levensovertuiging. Dit rootconcept bevat alle gegevenselementen van de bouwsteen Levensovertuiging." />
          </extension>
        </extension>
      </definition>
      <min value="0" />
      <max value="*" />
    </element>
    <element id="LifeStanceRc.LifeStance">
      <path value="LifeStanceRc.LifeStance" />
      <short value="LifeStance">
        <extension url="http://hl7.org/fhir/StructureDefinition/translation">
          <extension url="lang">
            <valueCode value="nl-NL" />
          </extension>
          <extension url="content">
            <valueMarkdown value="Levensovertuiging" />
          </extension>
        </extension>
      </short>
      <definition value="Patient’s life stance and/or religion.">
        <extension url="http://hl7.org/fhir/StructureDefinition/translation">
          <extension url="lang">
            <valueCode value="nl-NL" />
          </extension>
          <extension url="content">
            <valueMarkdown value="De levens- en/of geloofsovertuiging van de patiënt." />
          </extension>
        </extension>
      </definition>
      <min value="1" />
      <max value="1" />
      <type>
        <code value="CodeableConcept" />
      </type>
      <binding>
        <strength value="extensible" />
        <description value="LifeStance codes" />
        <valueSet value="https://fhir.healthdata.be/ValueSet/Levensovertuiging" />
      </binding>
    </element>
    <element id="LifeStanceRc.Comment">
      <path value="LifeStanceRc.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="Explanation that reflects the importance of religion or life stance for the patient, for example how much value the patient attaches to rituals and the like.">
        <extension url="http://hl7.org/fhir/StructureDefinition/translation">
          <extension url="lang">
            <valueCode value="nl-NL" />
          </extension>
          <extension url="content">
            <valueMarkdown value="Toelichting die het belang van de religie of levensovertuiging voor de patiënt weergeeft, bijvoorbeeld hoeveel waarde de patiënt hecht aan rituelen e.d." />
          </extension>
        </extension>
      </definition>
      <min value="0" />
      <max value="1" />
      <type>
        <code value="string" />
      </type>
    </element>
  </differential>
</StructureDefinition>