<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="HdBe-FamilyHistory" />
  <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-FamilyHistory" />
  <name value="HdBeFamilyHistory">
    <extension url="http://hl7.org/fhir/StructureDefinition/translation">
      <extension url="lang">
        <valueCode value="nl-NL" />
      </extension>
      <extension url="content">
        <valueMarkdown value="HdBeFamilieanamnese" />
      </extension>
    </extension>
  </name>
  <title value="HdBe FamilyHistory" />
  <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="The family history describes any health problems of biological relatives that may be relevant. The family history contains information on the medical disorders of the family member and the biological relationship between the patient and the described family member.&#xD;&#xA;#### Purpose&#xD;&#xA;Recording the patient’s family members’ health problems. This component can be relevant in estimating the risk of these health problems occurring in the patient. This component can also partially influence the decision determining which diagnostics are or are not to be run: a high-risk patient might be more likely to receive extensive diagnostics, while a simpler test could suffice for a low-risk patient.&#xD;&#xA;&#xD;&#xA;&#xD;&#xA;#### Instructions&#xD;&#xA;The age at which a family member developed a disorder or the age at which the family member died can be included in the ‘explanation’ field if desired. &#xD;&#xA;&#xD;&#xA;The value list *BiologicalRelationshipCodeList* contains a number of concepts which can be used for both biological and non-biological relatives: a step-father’s brother can be listed as an uncle for lack of specific codes for step-uncle and real uncles. Therefore, when compiling the family history, make sure that only the biological relatives are considered.">
    <extension url="http://hl7.org/fhir/StructureDefinition/translation">
      <extension url="lang">
        <valueCode value="nl-NL" />
      </extension>
      <extension url="content">
        <valueMarkdown value="De familieanamnese beschrijft de gezondheidsproblemen van biologische verwanten die relevant zijn. De familieanamnese bevat informatie over de medische aandoeningen van het familielid en de biologische relatie tussen de patiënt en het beschreven familielid.&#xD;&#xA;#### Purpose&#xD;&#xA;Het vastleggen van gezondheidsproblemen bij familieleden van de patiënt. Dit gegeven kan relevant zijn bij het inschatten van het risico op het optreden van deze gezondheidsproblemen bij patiënt zelf. Ook kan dit gegeven mede van invloed zijn op de keuze welke diagnostiek wel of niet gedaan hoeft te worden: bij een hoog-risico patiënt zal bijvoorbeeld eerder uitgebreide diagnostiek gedaan worden, terwijl bij een laag-risico patiënt volstaan kan worden met een eenvoudigere test.&#xD;&#xA;&#xD;&#xA;&#xD;&#xA;#### Instructions&#xD;&#xA;De leeftijd waarop een familielid een aandoening heeft gekregen of de leeftijd bij overlijden kan indien gewenst in het 'toelichting' veld vermeld worden.&#xD;&#xA;&#xD;&#xA;De waardelijst *BiologischeRelatieCodelijst* bevat een aantal concepten die zowel voor biologische als voor niet biologische relaties gebruikt kunnen worden: een broer van een stiefvader zal bijvoorbeeld als oom vermeld staan bij gebrek aan specifieke codes voor stiefoom en echte oom. Bij het opstellen van de familieanamnese zal er dus op toegezien moeten worden dat uitsluitend de biologische relaties beschouwd worden." />
      </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/FamilyHistory" />
  <baseDefinition value="http://hl7.org/fhir/StructureDefinition/Element" />
  <derivation value="specialization" />
  <snapshot>
    <element id="FamilyHistory">
      <path value="FamilyHistory" />
      <short value="FamilyHistory">
        <extension url="http://hl7.org/fhir/StructureDefinition/translation">
          <extension url="lang">
            <valueCode value="nl-NL" />
          </extension>
          <extension url="content">
            <valueMarkdown value="Familieanamnese" />
          </extension>
        </extension>
      </short>
      <definition value="Root concept of the FamilyHistory information model. This root concept contains all data elements of the FamilyHistory 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 Familieanamnese. Dit rootconcept bevat alle gegevenselementen van de bouwsteen Familieanamnese." />
          </extension>
        </extension>
      </definition>
      <min value="0" />
      <max value="*" />
      <base>
        <path value="FamilyHistory" />
        <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="FamilyHistory.id">
      <path value="FamilyHistory.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="FamilyHistory.extension">
      <path value="FamilyHistory.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="FamilyHistory.Date">
      <path value="FamilyHistory.Date" />
      <short value="Date">
        <extension url="http://hl7.org/fhir/StructureDefinition/translation">
          <extension url="lang">
            <valueCode value="nl-NL" />
          </extension>
          <extension url="content">
            <valueMarkdown value="Datum" />
          </extension>
        </extension>
      </short>
      <definition value="Date on which the family history was entered. A ‘vague’ date is permitted.">
        <extension url="http://hl7.org/fhir/StructureDefinition/translation">
          <extension url="lang">
            <valueCode value="nl-NL" />
          </extension>
          <extension url="content">
            <valueMarkdown value="Datum van afname van de familieanamnese. Een vage datum is toegestaan." />
          </extension>
        </extension>
      </definition>
      <min value="0" />
      <max value="1" />
      <base>
        <path value="FamilyHistory.Date" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="dateTime" />
      </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="FamilyHistory.FamilyMember">
      <path value="FamilyHistory.FamilyMember" />
      <short value="FamilyMember">
        <extension url="http://hl7.org/fhir/StructureDefinition/translation">
          <extension url="lang">
            <valueCode value="nl-NL" />
          </extension>
          <extension url="content">
            <valueMarkdown value="Familielid" />
          </extension>
        </extension>
      </short>
      <definition value="Container of the FamilyMember concept. This container contains all data elements of the FamilyMember concept.">
        <extension url="http://hl7.org/fhir/StructureDefinition/translation">
          <extension url="lang">
            <valueCode value="nl-NL" />
          </extension>
          <extension url="content">
            <valueMarkdown value="Container van het concept familielid. Deze container bevat alle gegevenselementen van het concept familielid." />
          </extension>
        </extension>
      </definition>
      <min value="1" />
      <max value="*" />
      <base>
        <path value="FamilyHistory.FamilyMember" />
        <min value="1" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </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="FamilyHistory.FamilyMember.id">
      <path value="FamilyHistory.FamilyMember.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="FamilyHistory.FamilyMember.extension">
      <path value="FamilyHistory.FamilyMember.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="FamilyHistory.FamilyMember.modifierExtension">
      <path value="FamilyHistory.FamilyMember.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. 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. Applications processing a resource are required to check for modifier extensions." />
      <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" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <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>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="FamilyHistory.FamilyMember.BiologicalRelationship">
      <path value="FamilyHistory.FamilyMember.BiologicalRelationship" />
      <short value="BiologicalRelationship">
        <extension url="http://hl7.org/fhir/StructureDefinition/translation">
          <extension url="lang">
            <valueCode value="nl-NL" />
          </extension>
          <extension url="content">
            <valueMarkdown value="BiologischeRelatie" />
          </extension>
        </extension>
      </short>
      <definition value="Indicates the biological relationship of the family member to the patient.">
        <extension url="http://hl7.org/fhir/StructureDefinition/translation">
          <extension url="lang">
            <valueCode value="nl-NL" />
          </extension>
          <extension url="content">
            <valueMarkdown value="Geeft de biologische relatie van het familielid tot de patiënt." />
          </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="1" />
      <max value="1" />
      <base>
        <path value="FamilyHistory.FamilyMember.BiologicalRelationship" />
        <min value="1" />
        <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() | (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="BiologicalRelationship codes" />
        <valueSet value="https://fhir.healthdata.be/ValueSet/BiologischeRelatie" />
      </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="FamilyHistory.FamilyMember.Comment">
      <path value="FamilyHistory.FamilyMember.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="Comment with information on the family member which might be relevant to the family history.">
        <extension url="http://hl7.org/fhir/StructureDefinition/translation">
          <extension url="lang">
            <valueCode value="nl-NL" />
          </extension>
          <extension url="content">
            <valueMarkdown value="Toelichting met, voor de familieanamnese relevante, informatie betreffende het familielid." />
          </extension>
        </extension>
      </definition>
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="FamilyHistory.FamilyMember.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() | (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="FamilyHistory.FamilyMember.DeathIndicator">
      <path value="FamilyHistory.FamilyMember.DeathIndicator" />
      <short value="DeathIndicator">
        <extension url="http://hl7.org/fhir/StructureDefinition/translation">
          <extension url="lang">
            <valueCode value="nl-NL" />
          </extension>
          <extension url="content">
            <valueMarkdown value="OverlijdensIndicator" />
          </extension>
        </extension>
      </short>
      <definition value="An indication stating whether the family member has died.">
        <extension url="http://hl7.org/fhir/StructureDefinition/translation">
          <extension url="lang">
            <valueCode value="nl-NL" />
          </extension>
          <extension url="content">
            <valueMarkdown value="Indicator die aangeeft of het familielid overleden is." />
          </extension>
        </extension>
      </definition>
      <min value="0" />
      <max value="1" />
      <base>
        <path value="FamilyHistory.FamilyMember.DeathIndicator" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="boolean" />
      </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="FamilyHistory.FamilyMember.AgeAtDeath">
      <path value="FamilyHistory.FamilyMember.AgeAtDeath" />
      <short value="AgeAtDeath">
        <extension url="http://hl7.org/fhir/StructureDefinition/translation">
          <extension url="lang">
            <valueCode value="nl-NL" />
          </extension>
          <extension url="content">
            <valueMarkdown value="LeeftijdBijOverlijden" />
          </extension>
        </extension>
      </short>
      <definition value="The age at which the family member died.">
        <extension url="http://hl7.org/fhir/StructureDefinition/translation">
          <extension url="lang">
            <valueCode value="nl-NL" />
          </extension>
          <extension url="content">
            <valueMarkdown value="De leeftijd waarop het familielid overleden is." />
          </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="FamilyHistory.FamilyMember.AgeAtDeath" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Count" />
      </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="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>
      <constraint>
        <key value="cnt-3" />
        <severity value="error" />
        <human value="There SHALL be a code with a value of &quot;1&quot; if there is a value and it SHALL be an expression of length.  If system is present, it SHALL be UCUM.  If present, the value SHALL a whole number." />
        <expression value="(code or value.empty()) and (system.empty() or system = %ucum) and (code.empty() or code = '1') and (value.empty() or value.toString().contains('.').not())" />
        <xpath value="(f:code or not(f:value)) and (not(exists(f:system)) or (f:system/@value='http://unitsofmeasure.org' and f:code/@value='1')) and not(contains(f:value/@value, '.'))" />
        <source value="http://hl7.org/fhir/StructureDefinition/Count" />
      </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="FamilyHistory.FamilyMember.Disorder">
      <path value="FamilyHistory.FamilyMember.Disorder" />
      <short value="Disorder">
        <extension url="http://hl7.org/fhir/StructureDefinition/translation">
          <extension url="lang">
            <valueCode value="nl-NL" />
          </extension>
          <extension url="content">
            <valueMarkdown value="Aandoening" />
          </extension>
        </extension>
      </short>
      <definition value="Container of the Disorder concept. This container contains all data elements of the Disorder concept.">
        <extension url="http://hl7.org/fhir/StructureDefinition/translation">
          <extension url="lang">
            <valueCode value="nl-NL" />
          </extension>
          <extension url="content">
            <valueMarkdown value="Container van het concept Aandoening. Deze container bevat alle gegevenselementen van het concept Aandoening." />
          </extension>
        </extension>
      </definition>
      <min value="1" />
      <max value="*" />
      <base>
        <path value="FamilyHistory.FamilyMember.Disorder" />
        <min value="1" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </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="FamilyHistory.FamilyMember.Disorder.id">
      <path value="FamilyHistory.FamilyMember.Disorder.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="FamilyHistory.FamilyMember.Disorder.extension">
      <path value="FamilyHistory.FamilyMember.Disorder.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="FamilyHistory.FamilyMember.Disorder.modifierExtension">
      <path value="FamilyHistory.FamilyMember.Disorder.modifierExtension" />
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. 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. Applications processing a resource are required to check for modifier extensions." />
      <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" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <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>
      <isModifier value="true" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="FamilyHistory.FamilyMember.Disorder.Problem">
      <path value="FamilyHistory.FamilyMember.Disorder.Problem" />
      <short value="Problem">
        <extension url="http://hl7.org/fhir/StructureDefinition/translation">
          <extension url="lang">
            <valueCode value="nl-NL" />
          </extension>
          <extension url="content">
            <valueMarkdown value="Probleem" />
          </extension>
        </extension>
      </short>
      <definition value="The health problem of the family member in question, which is recorded for the family history.">
        <extension url="http://hl7.org/fhir/StructureDefinition/translation">
          <extension url="lang">
            <valueCode value="nl-NL" />
          </extension>
          <extension url="content">
            <valueMarkdown value="Het gezondheidsprobleem van het betreffende familielid dat in het kader van de familieanamnese wordt vastgelegd." />
          </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="1" />
      <max value="1" />
      <base>
        <path value="FamilyHistory.FamilyMember.Disorder.Problem" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="Reference" />
        <targetProfile value="https://fhir.healthdata.be/StructureDefinition/LogicalModel/HdBe-Problem" />
      </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="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 %resource.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="FamilyHistory.FamilyMember.Disorder.IsCauseOfDeath">
      <path value="FamilyHistory.FamilyMember.Disorder.IsCauseOfDeath" />
      <short value="IsCauseOfDeath">
        <extension url="http://hl7.org/fhir/StructureDefinition/translation">
          <extension url="lang">
            <valueCode value="nl-NL" />
          </extension>
          <extension url="content">
            <valueMarkdown value="IsDoodsoorzaak" />
          </extension>
        </extension>
      </short>
      <definition value="Indication stating whether the described health problem was the cause of death of the family member.">
        <extension url="http://hl7.org/fhir/StructureDefinition/translation">
          <extension url="lang">
            <valueCode value="nl-NL" />
          </extension>
          <extension url="content">
            <valueMarkdown value="Aanduiding of het beschreven gezondheidsprobleem de doodsoorzaak is van het familielid." />
          </extension>
        </extension>
      </definition>
      <min value="0" />
      <max value="1" />
      <base>
        <path value="FamilyHistory.FamilyMember.Disorder.IsCauseOfDeath" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="boolean" />
      </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>
  </snapshot>
  <differential>
    <element id="FamilyHistory">
      <path value="FamilyHistory" />
      <short value="FamilyHistory">
        <extension url="http://hl7.org/fhir/StructureDefinition/translation">
          <extension url="lang">
            <valueCode value="nl-NL" />
          </extension>
          <extension url="content">
            <valueMarkdown value="Familieanamnese" />
          </extension>
        </extension>
      </short>
      <definition value="Root concept of the FamilyHistory information model. This root concept contains all data elements of the FamilyHistory 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 Familieanamnese. Dit rootconcept bevat alle gegevenselementen van de bouwsteen Familieanamnese." />
          </extension>
        </extension>
      </definition>
      <min value="0" />
      <max value="*" />
    </element>
    <element id="FamilyHistory.Date">
      <path value="FamilyHistory.Date" />
      <short value="Date">
        <extension url="http://hl7.org/fhir/StructureDefinition/translation">
          <extension url="lang">
            <valueCode value="nl-NL" />
          </extension>
          <extension url="content">
            <valueMarkdown value="Datum" />
          </extension>
        </extension>
      </short>
      <definition value="Date on which the family history was entered. A ‘vague’ date is permitted.">
        <extension url="http://hl7.org/fhir/StructureDefinition/translation">
          <extension url="lang">
            <valueCode value="nl-NL" />
          </extension>
          <extension url="content">
            <valueMarkdown value="Datum van afname van de familieanamnese. Een vage datum is toegestaan." />
          </extension>
        </extension>
      </definition>
      <min value="0" />
      <max value="1" />
      <type>
        <code value="dateTime" />
      </type>
    </element>
    <element id="FamilyHistory.FamilyMember">
      <path value="FamilyHistory.FamilyMember" />
      <short value="FamilyMember">
        <extension url="http://hl7.org/fhir/StructureDefinition/translation">
          <extension url="lang">
            <valueCode value="nl-NL" />
          </extension>
          <extension url="content">
            <valueMarkdown value="Familielid" />
          </extension>
        </extension>
      </short>
      <definition value="Container of the FamilyMember concept. This container contains all data elements of the FamilyMember concept.">
        <extension url="http://hl7.org/fhir/StructureDefinition/translation">
          <extension url="lang">
            <valueCode value="nl-NL" />
          </extension>
          <extension url="content">
            <valueMarkdown value="Container van het concept familielid. Deze container bevat alle gegevenselementen van het concept familielid." />
          </extension>
        </extension>
      </definition>
      <min value="1" />
      <max value="*" />
      <type>
        <code value="BackboneElement" />
      </type>
    </element>
    <element id="FamilyHistory.FamilyMember.BiologicalRelationship">
      <path value="FamilyHistory.FamilyMember.BiologicalRelationship" />
      <short value="BiologicalRelationship">
        <extension url="http://hl7.org/fhir/StructureDefinition/translation">
          <extension url="lang">
            <valueCode value="nl-NL" />
          </extension>
          <extension url="content">
            <valueMarkdown value="BiologischeRelatie" />
          </extension>
        </extension>
      </short>
      <definition value="Indicates the biological relationship of the family member to the patient.">
        <extension url="http://hl7.org/fhir/StructureDefinition/translation">
          <extension url="lang">
            <valueCode value="nl-NL" />
          </extension>
          <extension url="content">
            <valueMarkdown value="Geeft de biologische relatie van het familielid tot de patiënt." />
          </extension>
        </extension>
      </definition>
      <min value="1" />
      <max value="1" />
      <type>
        <code value="CodeableConcept" />
      </type>
      <binding>
        <strength value="extensible" />
        <description value="BiologicalRelationship codes" />
        <valueSet value="https://fhir.healthdata.be/ValueSet/BiologischeRelatie" />
      </binding>
    </element>
    <element id="FamilyHistory.FamilyMember.Comment">
      <path value="FamilyHistory.FamilyMember.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="Comment with information on the family member which might be relevant to the family history.">
        <extension url="http://hl7.org/fhir/StructureDefinition/translation">
          <extension url="lang">
            <valueCode value="nl-NL" />
          </extension>
          <extension url="content">
            <valueMarkdown value="Toelichting met, voor de familieanamnese relevante, informatie betreffende het familielid." />
          </extension>
        </extension>
      </definition>
      <min value="0" />
      <max value="1" />
      <type>
        <code value="string" />
      </type>
    </element>
    <element id="FamilyHistory.FamilyMember.DeathIndicator">
      <path value="FamilyHistory.FamilyMember.DeathIndicator" />
      <short value="DeathIndicator">
        <extension url="http://hl7.org/fhir/StructureDefinition/translation">
          <extension url="lang">
            <valueCode value="nl-NL" />
          </extension>
          <extension url="content">
            <valueMarkdown value="OverlijdensIndicator" />
          </extension>
        </extension>
      </short>
      <definition value="An indication stating whether the family member has died.">
        <extension url="http://hl7.org/fhir/StructureDefinition/translation">
          <extension url="lang">
            <valueCode value="nl-NL" />
          </extension>
          <extension url="content">
            <valueMarkdown value="Indicator die aangeeft of het familielid overleden is." />
          </extension>
        </extension>
      </definition>
      <min value="0" />
      <max value="1" />
      <type>
        <code value="boolean" />
      </type>
    </element>
    <element id="FamilyHistory.FamilyMember.AgeAtDeath">
      <path value="FamilyHistory.FamilyMember.AgeAtDeath" />
      <short value="AgeAtDeath">
        <extension url="http://hl7.org/fhir/StructureDefinition/translation">
          <extension url="lang">
            <valueCode value="nl-NL" />
          </extension>
          <extension url="content">
            <valueMarkdown value="LeeftijdBijOverlijden" />
          </extension>
        </extension>
      </short>
      <definition value="The age at which the family member died.">
        <extension url="http://hl7.org/fhir/StructureDefinition/translation">
          <extension url="lang">
            <valueCode value="nl-NL" />
          </extension>
          <extension url="content">
            <valueMarkdown value="De leeftijd waarop het familielid overleden is." />
          </extension>
        </extension>
      </definition>
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Count" />
      </type>
    </element>
    <element id="FamilyHistory.FamilyMember.Disorder">
      <path value="FamilyHistory.FamilyMember.Disorder" />
      <short value="Disorder">
        <extension url="http://hl7.org/fhir/StructureDefinition/translation">
          <extension url="lang">
            <valueCode value="nl-NL" />
          </extension>
          <extension url="content">
            <valueMarkdown value="Aandoening" />
          </extension>
        </extension>
      </short>
      <definition value="Container of the Disorder concept. This container contains all data elements of the Disorder concept.">
        <extension url="http://hl7.org/fhir/StructureDefinition/translation">
          <extension url="lang">
            <valueCode value="nl-NL" />
          </extension>
          <extension url="content">
            <valueMarkdown value="Container van het concept Aandoening. Deze container bevat alle gegevenselementen van het concept Aandoening." />
          </extension>
        </extension>
      </definition>
      <min value="1" />
      <max value="*" />
      <type>
        <code value="BackboneElement" />
      </type>
    </element>
    <element id="FamilyHistory.FamilyMember.Disorder.Problem">
      <path value="FamilyHistory.FamilyMember.Disorder.Problem" />
      <short value="Problem">
        <extension url="http://hl7.org/fhir/StructureDefinition/translation">
          <extension url="lang">
            <valueCode value="nl-NL" />
          </extension>
          <extension url="content">
            <valueMarkdown value="Probleem" />
          </extension>
        </extension>
      </short>
      <definition value="The health problem of the family member in question, which is recorded for the family history.">
        <extension url="http://hl7.org/fhir/StructureDefinition/translation">
          <extension url="lang">
            <valueCode value="nl-NL" />
          </extension>
          <extension url="content">
            <valueMarkdown value="Het gezondheidsprobleem van het betreffende familielid dat in het kader van de familieanamnese wordt vastgelegd." />
          </extension>
        </extension>
      </definition>
      <min value="1" />
      <max value="1" />
      <type>
        <code value="Reference" />
        <targetProfile value="https://fhir.healthdata.be/StructureDefinition/LogicalModel/HdBe-Problem" />
      </type>
    </element>
    <element id="FamilyHistory.FamilyMember.Disorder.IsCauseOfDeath">
      <path value="FamilyHistory.FamilyMember.Disorder.IsCauseOfDeath" />
      <short value="IsCauseOfDeath">
        <extension url="http://hl7.org/fhir/StructureDefinition/translation">
          <extension url="lang">
            <valueCode value="nl-NL" />
          </extension>
          <extension url="content">
            <valueMarkdown value="IsDoodsoorzaak" />
          </extension>
        </extension>
      </short>
      <definition value="Indication stating whether the described health problem was the cause of death of the family member.">
        <extension url="http://hl7.org/fhir/StructureDefinition/translation">
          <extension url="lang">
            <valueCode value="nl-NL" />
          </extension>
          <extension url="content">
            <valueMarkdown value="Aanduiding of het beschreven gezondheidsprobleem de doodsoorzaak is van het familielid." />
          </extension>
        </extension>
      </definition>
      <min value="0" />
      <max value="1" />
      <type>
        <code value="boolean" />
      </type>
    </element>
  </differential>
</StructureDefinition>