<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="c5dba487-62ea-4927-a6a7-58444235eba9" />
  <meta>
    <lastUpdated value="2021-11-10T13:30:20.73+00:00" />
  </meta>
  <url value="https://fhir.simplifier.net/Histo-AI/StructureDefinition" />
  <name value="HistoAI" />
  <status value="draft" />
  <date value="2021-10-06T10:27:25.9408563+00:00" />
  <fhirVersion value="4.0.1" />
  <kind value="logical" />
  <abstract value="false" />
  <type value="https://simplifier.net/Histo-AI/HistoAI" />
  <baseDefinition value="http://hl7.org/fhir/StructureDefinition/Element" />
  <derivation value="specialization" />
  <snapshot>
    <element id="HistoAI">
      <path value="HistoAI" />
      <short value="Base for all elements" />
      <definition value="Base definition for all elements in a resource." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="HistoAI" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Element" />
      </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>
    <element id="HistoAI.id">
      <path value="HistoAI.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="HistoAI.extension">
      <path value="HistoAI.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="HistoAI.Patient">
      <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="HistoAI.Patient" />
      <label value="Patient" />
      <short value="Individual patient in Histo-AI study" />
      <definition value="Individual patient in Histo-AI study." />
      <alias value="Individual" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="HistoAI.Patient" />
        <min value="0" />
        <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() 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="HistoAI.Patient.id">
      <path value="HistoAI.Patient.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="HistoAI.Patient.extension">
      <path value="HistoAI.Patient.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="HistoAI.Patient.modifierExtension">
      <path value="HistoAI.Patient.modifierExtension" />
      <short value="Extensions that cannot be ignored even if unrecognized" />
      <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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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. Applications processing a resource are required to check for modifier extensions.&#xA;&#xA;Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself)." />
      <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." />
      <requirements value="Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](extensibility.html#modifierExtension)." />
      <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() 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>
      <isModifier value="true" />
      <isModifierReason value="Modifier extensions are expected to modify the meaning or interpretation of the element that contains them" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="HistoAI.Patient.subjectId">
      <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="HistoAI.Patient.subjectId" />
      <label value="Subject ID" />
      <short value="Anonymized id of this patient" />
      <definition value="Unique Study record number. This ID will be computer generated and randomly assigned to each subject/record.  Can if needed be linked to hospital patient number or notary number through data manager with key. Do NOT use institution specific ID." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="HistoAI.Patient.subjectId" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="Identifier" />
        <profile value="http://hl7.org/fhir/StructureDefinition/Identifier" />
      </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>
      <mapping>
        <identity value="v2" />
        <map value="CX / EI (occasionally, more often EI maps to a resource id or a URL)" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="II - The Identifier class is a little looser than the v3 type II because it allows URIs as well as registered OIDs or GUIDs.  Also maps to Role[classCode=IDENT]" />
      </mapping>
      <mapping>
        <identity value="servd" />
        <map value="Identifier" />
      </mapping>
    </element>
    <element id="HistoAI.Patient.gender">
      <path value="HistoAI.Patient.gender" />
      <label value="Gender" />
      <short value="male | female | other | unknown" />
      <definition value="Administrative Gender - the gender that the patient is considered to have for administration and record keeping purposes." />
      <comment value="The gender might not match the biological sex as determined by genetics or the individual's preferred identification." />
      <requirements value="Needed for identification of the individual, in combination with (at least) name and birth date." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="HistoAI.Patient.gender" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="code" />
        <profile value="http://hl7.org/fhir/StructureDefinition/code" />
      </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>
    <element id="HistoAI.Patient.ageAtPrimaryDiagnosis">
      <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
        <valueCode value="trial-use" />
      </extension>
      <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version">
        <valueCode value="4.0.0" />
      </extension>
      <path value="HistoAI.Patient.ageAtPrimaryDiagnosis" />
      <label value="Age at Primary Diagnosis" />
      <short value="The age at first primary diagnosis for the individual" />
      <definition value="The age at first primary diagnosis for the individual." />
      <comment value="At least an estimated year should be provided as a guess if the real DOB is unknown  There is a standard extension &quot;patient-birthTime&quot; available that should be used where Time is required (such as in maternity/infant care systems)." />
      <requirements value="Age of the individual drives many clinical processes." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="HistoAI.Patient.ageAtPrimaryDiagnosis" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Age" />
        <profile value="http://hl7.org/fhir/StructureDefinition/Age" />
      </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>
      <constraint>
        <key value="age-1" />
        <severity value="error" />
        <human value="There SHALL be a code if there is a value and it SHALL be an expression of time.  If system is present, it SHALL be UCUM.  If value is present, it SHALL be positive." />
        <expression value="(code.exists() or value.empty()) and (system.empty() or system = %ucum) and (value.empty() or value.hasValue().not() or value &gt; 0)" />
        <xpath value="(f:code or not(f:value)) and (not(exists(f:system)) or f:system/@value='http://unitsofmeasure.org') and (not(f:value/@value) or f:value/@value &gt;=0)" />
        <source value="http://hl7.org/fhir/StructureDefinition/Age" />
      </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>
      <mapping>
        <identity value="rim" />
        <map value="PQ" />
      </mapping>
    </element>
    <element id="HistoAI.Patient.ageAtDeath">
      <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
        <valueCode value="trial-use" />
      </extension>
      <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version">
        <valueCode value="4.0.0" />
      </extension>
      <path value="HistoAI.Patient.ageAtDeath" />
      <label value="Age at Death" />
      <short value="The age at death for the individual, if applicable" />
      <definition value="The age at death for the individual, if applicable." />
      <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." />
      <alias value="Death Date" />
      <alias value="Date of Death" />
      <alias value="Deseased Date" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="HistoAI.Patient.ageAtDeath" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Age" />
        <profile value="http://hl7.org/fhir/StructureDefinition/Age" />
      </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>
      <constraint>
        <key value="age-1" />
        <severity value="error" />
        <human value="There SHALL be a code if there is a value and it SHALL be an expression of time.  If system is present, it SHALL be UCUM.  If value is present, it SHALL be positive." />
        <expression value="(code.exists() or value.empty()) and (system.empty() or system = %ucum) and (value.empty() or value.hasValue().not() or value &gt; 0)" />
        <xpath value="(f:code or not(f:value)) and (not(exists(f:system)) or f:system/@value='http://unitsofmeasure.org') and (not(f:value/@value) or f:value/@value &gt;=0)" />
        <source value="http://hl7.org/fhir/StructureDefinition/Age" />
      </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>
      <mapping>
        <identity value="rim" />
        <map value="PQ" />
      </mapping>
    </element>
    <element id="HistoAI.Patient.causeOfDeath">
      <path value="HistoAI.Patient.causeOfDeath" />
      <label value="Cause of Death" />
      <short value="Primitive Type string" />
      <definition value="A sequence of Unicode characters" />
      <comment value="Note that FHIR strings SHALL NOT exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="HistoAI.Patient.causeOfDeath" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
        <profile value="http://hl7.org/fhir/StructureDefinition/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>
    <element id="HistoAI.Patient.hospitalName">
      <path value="HistoAI.Patient.hospitalName" />
      <label value="Hospital Name" />
      <short value="Primitive Type string" />
      <definition value="Nameofhospital,cityintheNetherlands" />
      <comment value="Note that FHIR strings SHALL NOT exceed 1MB in size" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="HistoAI.Patient.hospitalName" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="string" />
        <profile value="http://hl7.org/fhir/StructureDefinition/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>
    <element id="HistoAI.Patient.Pathology">
      <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="HistoAI.Patient.Pathology" />
      <label value="Pathology" />
      <short value="Pathology report of this patient" />
      <definition value="Pathology report of this patient, primarily from Palga (nation wide Dutch pathology record system)" />
      <comment value="Indexed with T number" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="HistoAI.Patient.Pathology" />
        <min value="0" />
        <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() 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="HistoAI.Patient.Pathology.id">
      <path value="HistoAI.Patient.Pathology.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="HistoAI.Patient.Pathology.extension">
      <path value="HistoAI.Patient.Pathology.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="HistoAI.Patient.Pathology.modifierExtension">
      <path value="HistoAI.Patient.Pathology.modifierExtension" />
      <short value="Extensions that cannot be ignored even if unrecognized" />
      <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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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. Applications processing a resource are required to check for modifier extensions.&#xA;&#xA;Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself)." />
      <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." />
      <requirements value="Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](extensibility.html#modifierExtension)." />
      <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() 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>
      <isModifier value="true" />
      <isModifierReason value="Modifier extensions are expected to modify the meaning or interpretation of the element that contains them" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="HistoAI.Patient.Pathology.palgaId">
      <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="HistoAI.Patient.Pathology.palgaId" />
      <label value="Palga ID" />
      <short value="Palga identifier" />
      <definition value="Report name in Palga;&#xD;&#xA;Tissue number in Tumor Registry;&#xD;&#xA;An_number of Analysis in Lab Management System." />
      <comment value="Startswith 'T', 'C' or 'S', then two digits as the year, then dash `-`, followed by 5 digits. regex: /[TCS]\d{2}-\d{5}/&#xD;&#xA;For the latter 5 digits:&#xD;&#xA;Internal tissue number usually starts with 00;&#xD;&#xA;External tissue number usually starts with 2x." />
      <alias value="T number" />
      <alias value="Tissue number" />
      <alias value="Onderzoeker nummer" />
      <alias value="An_number" />
      <alias value="rapnaam" />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="HistoAI.Patient.Pathology.palgaId" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="Identifier" />
        <profile value="http://hl7.org/fhir/StructureDefinition/Identifier" />
      </type>
      <patternIdentifier>
        <use value="usual" />
        <type>
          <coding>
            <system value="http://hl7.org/fhir/StructureDefinition/regex" />
            <code value="[TCS]\d{2}-\d{5}" />
          </coding>
        </type>
      </patternIdentifier>
      <example>
        <label value="Tissue number" />
        <valueIdentifier>
          <use value="usual" />
          <value value="T20-00123" />
        </valueIdentifier>
      </example>
      <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>
      <mapping>
        <identity value="v2" />
        <map value="CX / EI (occasionally, more often EI maps to a resource id or a URL)" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="II - The Identifier class is a little looser than the v3 type II because it allows URIs as well as registered OIDs or GUIDs.  Also maps to Role[classCode=IDENT]" />
      </mapping>
      <mapping>
        <identity value="servd" />
        <map value="Identifier" />
      </mapping>
    </element>
    <element id="HistoAI.Patient.Pathology.externalPalgaId">
      <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="HistoAI.Patient.Pathology.externalPalgaId" />
      <label value="External Palga ID" />
      <short value="External hospital tissue number" />
      <definition value="Exteral hospital - Tissue number in Nation Wide Dutch Pathology Record system" />
      <comment value="currently not in the DWH. ask Wouter or Dennis" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="HistoAI.Patient.Pathology.externalPalgaId" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Identifier" />
        <profile value="http://hl7.org/fhir/StructureDefinition/Identifier" />
      </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>
      <mapping>
        <identity value="v2" />
        <map value="CX / EI (occasionally, more often EI maps to a resource id or a URL)" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="II - The Identifier class is a little looser than the v3 type II because it allows URIs as well as registered OIDs or GUIDs.  Also maps to Role[classCode=IDENT]" />
      </mapping>
      <mapping>
        <identity value="servd" />
        <map value="Identifier" />
      </mapping>
    </element>
    <element id="HistoAI.Patient.Pathology.sampleAcquisitionClass">
      <path value="HistoAI.Patient.Pathology.sampleAcquisitionClass" />
      <label value="Tissue sample acquisition class" />
      <short value="Tissue sample acquisition class" />
      <definition value="Tissue sample acquisition class: (palga code)&#xD;&#xA;biopsy = hollow needle and take small part of tissue;&#xD;&#xA;exision = part of an organ;&#xD;&#xA;resection  = whole organ removal" />
      <comment value="05.01 Sample_Class in Data life cycle.&#xD;&#xA;data source: [LMS].[TissueAcquisiton]" />
      <alias value="SampleClass" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="HistoAI.Patient.Pathology.sampleAcquisitionClass" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="code" />
        <profile value="http://hl7.org/fhir/StructureDefinition/code" />
      </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>
    <element id="HistoAI.Patient.Pathology.sampleRemovalType">
      <path value="HistoAI.Patient.Pathology.sampleRemovalType" />
      <label value="Sample Removal Type" />
      <short value="Type of tissue sample removal" />
      <definition value="Type of tissue sample removal: primary / recurrence / metastasis, directly related with tissure number" />
      <comment value="combination of: &#xD;&#xA;05.02 Sample_registration Sample_site_Prim&#xD;&#xA;05.03 Sample_registration Sample_site_Met" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="HistoAI.Patient.Pathology.sampleRemovalType" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="code" />
        <profile value="http://hl7.org/fhir/StructureDefinition/code" />
      </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>
    <element id="HistoAI.Patient.Pathology.sampleRemovalIndicator">
      <path value="HistoAI.Patient.Pathology.sampleRemovalIndicator" />
      <label value="Sample Removal Timing" />
      <short value="Indicate tissure sample removal before or after treatment" />
      <definition value="Indicate tissure sample removal timing: before or after treatment." />
      <comment value="05.04 Sample_removal_ind Timeofbiopsytaken(pre-oraftertreatment) in Data life cycle" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="HistoAI.Patient.Pathology.sampleRemovalIndicator" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="code" />
        <profile value="http://hl7.org/fhir/StructureDefinition/code" />
      </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>
    <element id="HistoAI.Patient.Pathology.sampleRemovalDate">
      <path value="HistoAI.Patient.Pathology.sampleRemovalDate" />
      <label value="Sample Removal Date" />
      <short value="Date of the tissue sample removal" />
      <definition value="Date of the tissue sample removal" />
      <alias value="monsterdatum" />
      <alias value="DissectionDate" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="HistoAI.Patient.Pathology.sampleRemovalDate" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="dateTime" />
        <profile value="http://hl7.org/fhir/StructureDefinition/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() 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="HistoAI.Patient.Pathology.ffpeCassette">
      <path value="HistoAI.Patient.Pathology.ffpeCassette" />
      <label value="FFPE Cassette" />
      <short value="FFPE Cassette" />
      <definition value="FFPE (Formalin-Fixed Paraffin-Embedded) Cassette available for this tissue" />
      <comment value="Palga record, should match with specimen containers in LMS" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="HistoAI.Patient.Pathology.ffpeCassette" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="code" />
        <profile value="http://hl7.org/fhir/StructureDefinition/code" />
      </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>
    <element id="HistoAI.Patient.Pathology.Container">
      <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="HistoAI.Patient.Pathology.Container" />
      <label value="Container" />
      <short value="Container of tissue specimen of this pathology analysis" />
      <definition value="Container of tissue specimen of this pathology analysis." />
      <alias value="Block" />
      <alias value="Specimen" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="HistoAI.Patient.Pathology.Container" />
        <min value="0" />
        <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() 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="HistoAI.Patient.Pathology.Container.id">
      <path value="HistoAI.Patient.Pathology.Container.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="HistoAI.Patient.Pathology.Container.extension">
      <path value="HistoAI.Patient.Pathology.Container.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="HistoAI.Patient.Pathology.Container.modifierExtension">
      <path value="HistoAI.Patient.Pathology.Container.modifierExtension" />
      <short value="Extensions that cannot be ignored even if unrecognized" />
      <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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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. Applications processing a resource are required to check for modifier extensions.&#xA;&#xA;Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself)." />
      <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." />
      <requirements value="Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](extensibility.html#modifierExtension)." />
      <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() 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>
      <isModifier value="true" />
      <isModifierReason value="Modifier extensions are expected to modify the meaning or interpretation of the element that contains them" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="HistoAI.Patient.Pathology.Container.blockNumber">
      <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="HistoAI.Patient.Pathology.Container.blockNumber" />
      <label value="Sample Class" />
      <short value="Identifier of the container block" />
      <definition value="Identifier of the container block. Combination of sending number + cassette number." />
      <comment value="[LMS].[Specimen].[Number]+[LMS].[Container].[Number]&#xD;&#xA;Depending on enumerateType , can be alpha+number or roman+number: A3 or IV4" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="HistoAI.Patient.Pathology.Container.blockNumber" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Identifier" />
        <profile value="http://hl7.org/fhir/StructureDefinition/Identifier" />
      </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>
      <mapping>
        <identity value="v2" />
        <map value="CX / EI (occasionally, more often EI maps to a resource id or a URL)" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="II - The Identifier class is a little looser than the v3 type II because it allows URIs as well as registered OIDs or GUIDs.  Also maps to Role[classCode=IDENT]" />
      </mapping>
      <mapping>
        <identity value="servd" />
        <map value="Identifier" />
      </mapping>
    </element>
    <element id="HistoAI.Patient.Pathology.Container.SampleSlide">
      <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="HistoAI.Patient.Pathology.Container.SampleSlide" />
      <label value="Sample Slide" />
      <short value="The sample slide being digitized" />
      <definition value="The sample slide being digitized." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="HistoAI.Patient.Pathology.Container.SampleSlide" />
        <min value="0" />
        <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() 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="HistoAI.Patient.Pathology.Container.SampleSlide.id">
      <path value="HistoAI.Patient.Pathology.Container.SampleSlide.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="HistoAI.Patient.Pathology.Container.SampleSlide.extension">
      <path value="HistoAI.Patient.Pathology.Container.SampleSlide.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="HistoAI.Patient.Pathology.Container.SampleSlide.modifierExtension">
      <path value="HistoAI.Patient.Pathology.Container.SampleSlide.modifierExtension" />
      <short value="Extensions that cannot be ignored even if unrecognized" />
      <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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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. Applications processing a resource are required to check for modifier extensions.&#xA;&#xA;Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself)." />
      <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." />
      <requirements value="Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](extensibility.html#modifierExtension)." />
      <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() 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>
      <isModifier value="true" />
      <isModifierReason value="Modifier extensions are expected to modify the meaning or interpretation of the element that contains them" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="HistoAI.Patient.Pathology.Container.SampleSlide.staining">
      <path value="HistoAI.Patient.Pathology.Container.SampleSlide.staining" />
      <label value="Staining" />
      <short value="The staining type of the sample slide" />
      <definition value="The staining type of the sample slide: HE, CD3, CD8, PDL1, etc." />
      <comment value="see LMS.Staing for the code" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="HistoAI.Patient.Pathology.Container.SampleSlide.staining" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="code" />
        <profile value="http://hl7.org/fhir/StructureDefinition/code" />
      </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>
    <element id="HistoAI.Patient.Pathology.Container.SampleSlide.ScannedSlide">
      <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="HistoAI.Patient.Pathology.Container.SampleSlide.ScannedSlide" />
      <label value="Scanned Slide" />
      <short value="Digitized slide of the tisse" />
      <definition value="Digitized slide of the tisse with certain staining. &#xD;&#xA;Metadata to link with the WSI in image storage." />
      <comment value="This can be in another database specifically for AI research" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="HistoAI.Patient.Pathology.Container.SampleSlide.ScannedSlide" />
        <min value="0" />
        <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() 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="HistoAI.Patient.Pathology.Container.SampleSlide.ScannedSlide.id">
      <path value="HistoAI.Patient.Pathology.Container.SampleSlide.ScannedSlide.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="HistoAI.Patient.Pathology.Container.SampleSlide.ScannedSlide.extension">
      <path value="HistoAI.Patient.Pathology.Container.SampleSlide.ScannedSlide.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="HistoAI.Patient.Pathology.Container.SampleSlide.ScannedSlide.modifierExtension">
      <path value="HistoAI.Patient.Pathology.Container.SampleSlide.ScannedSlide.modifierExtension" />
      <short value="Extensions that cannot be ignored even if unrecognized" />
      <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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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. Applications processing a resource are required to check for modifier extensions.&#xA;&#xA;Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself)." />
      <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." />
      <requirements value="Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](extensibility.html#modifierExtension)." />
      <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() 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>
      <isModifier value="true" />
      <isModifierReason value="Modifier extensions are expected to modify the meaning or interpretation of the element that contains them" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="HistoAI.Patient.Pathology.Container.SampleSlide.ScannedSlide.imageId">
      <path value="HistoAI.Patient.Pathology.Container.SampleSlide.ScannedSlide.imageId" />
      <label value="Image ID" />
      <short value="Global identifier of the WSI" />
      <definition value="Global identifier of the Whole Slide Image" />
      <comment value="Generated UUID for each image." />
      <alias value="WSI ID" />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="HistoAI.Patient.Pathology.Container.SampleSlide.ScannedSlide.imageId" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="uuid" />
        <profile value="http://hl7.org/fhir/StructureDefinition/uuid" />
      </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>
    <element id="HistoAI.Patient.Pathology.Container.SampleSlide.ScannedSlide.scannerModel">
      <path value="HistoAI.Patient.Pathology.Container.SampleSlide.ScannedSlide.scannerModel" />
      <label value="Scanner Model" />
      <short value="Model of the scanner" />
      <definition value="Model of the scanner: 3DHistech, Aperio, Philips, etc." />
      <comment value="Note that FHIR strings SHALL NOT exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="HistoAI.Patient.Pathology.Container.SampleSlide.ScannedSlide.scannerModel" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
        <profile value="http://hl7.org/fhir/StructureDefinition/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>
    <element id="HistoAI.Patient.Pathology.Container.SampleSlide.ScannedSlide.fileLocation">
      <path value="HistoAI.Patient.Pathology.Container.SampleSlide.ScannedSlide.fileLocation" />
      <label value="File Location" />
      <short value="Description of the file location in Image Storage" />
      <definition value="Description of the file location Image Storage. Which image storge? Where is it physically located?" />
      <comment value="Note that FHIR strings SHALL NOT exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="HistoAI.Patient.Pathology.Container.SampleSlide.ScannedSlide.fileLocation" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
        <profile value="http://hl7.org/fhir/StructureDefinition/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>
    <element id="HistoAI.Patient.Pathology.Container.SampleSlide.ScannedSlide.fileName">
      <path value="HistoAI.Patient.Pathology.Container.SampleSlide.ScannedSlide.fileName" />
      <label value="File Name" />
      <short value="The filename of the digitized slide" />
      <definition value="The filename of the digitized slide" />
      <comment value="Note that FHIR strings SHALL NOT exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="HistoAI.Patient.Pathology.Container.SampleSlide.ScannedSlide.fileName" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
        <profile value="http://hl7.org/fhir/StructureDefinition/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>
    <element id="HistoAI.Patient.Pathology.Container.SampleSlide.ScannedSlide.fileFormat">
      <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="HistoAI.Patient.Pathology.Container.SampleSlide.ScannedSlide.fileFormat" />
      <label value="File Format" />
      <short value="Format of the image file" />
      <definition value="Format of the image file: svs, tiff, etc." />
      <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." />
      <alias value="File Extension" />
      <alias value="File Type" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="HistoAI.Patient.Pathology.Container.SampleSlide.ScannedSlide.fileFormat" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Reference" />
      </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.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))" />
        <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="HistoAI.Patient.Pathology.Container.SampleSlide.ScannedSlide.fileSize">
      <path value="HistoAI.Patient.Pathology.Container.SampleSlide.ScannedSlide.fileSize" />
      <label value="File Size" />
      <short value="File size in byte" />
      <definition value="File size in byte" />
      <comment value="32 bit number; for values larger than this, use decimal" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="HistoAI.Patient.Pathology.Container.SampleSlide.ScannedSlide.fileSize" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="integer" />
        <profile value="http://hl7.org/fhir/StructureDefinition/integer" />
      </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>
    <element id="HistoAI.Patient.Pathology.Container.SampleSlide.ScannedSlide.symbolicLink">
      <path value="HistoAI.Patient.Pathology.Container.SampleSlide.ScannedSlide.symbolicLink" />
      <label value="Symbolic Link" />
      <short value="Link(s) to the file storage of this WSI" />
      <definition value="Link(s) to the file storage of this Whole Slide Image" />
      <comment value="see http://en.wikipedia.org/wiki/Uniform_resource_identifier" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="HistoAI.Patient.Pathology.Container.SampleSlide.ScannedSlide.symbolicLink" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="uri" />
        <profile value="http://hl7.org/fhir/StructureDefinition/uri" />
      </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>
    <element id="HistoAI.Patient.Pathology.ImmunoHistoChemistry">
      <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="HistoAI.Patient.Pathology.ImmunoHistoChemistry" />
      <label value="ImmunoHistoChemistry" />
      <short value="IHC bio-markers" />
      <definition value="The laboratory method that uses antibodies to check for certain antigens (bio-markers) in a sample of tissue." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="HistoAI.Patient.Pathology.ImmunoHistoChemistry" />
        <min value="0" />
        <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() 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="HistoAI.Patient.Pathology.ImmunoHistoChemistry.id">
      <path value="HistoAI.Patient.Pathology.ImmunoHistoChemistry.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="HistoAI.Patient.Pathology.ImmunoHistoChemistry.extension">
      <path value="HistoAI.Patient.Pathology.ImmunoHistoChemistry.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="HistoAI.Patient.Pathology.ImmunoHistoChemistry.modifierExtension">
      <path value="HistoAI.Patient.Pathology.ImmunoHistoChemistry.modifierExtension" />
      <short value="Extensions that cannot be ignored even if unrecognized" />
      <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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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. Applications processing a resource are required to check for modifier extensions.&#xA;&#xA;Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself)." />
      <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." />
      <requirements value="Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](extensibility.html#modifierExtension)." />
      <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() 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>
      <isModifier value="true" />
      <isModifierReason value="Modifier extensions are expected to modify the meaning or interpretation of the element that contains them" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="HistoAI.Patient.Pathology.ImmunoHistoChemistry.markerName">
      <path value="HistoAI.Patient.Pathology.ImmunoHistoChemistry.markerName" />
      <label value="Marker Name" />
      <short value="Name of the biomarker" />
      <definition value="Name of the biomarker (antigens)" />
      <comment value="Note that FHIR strings SHALL NOT exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="HistoAI.Patient.Pathology.ImmunoHistoChemistry.markerName" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="code" />
        <profile value="http://hl7.org/fhir/StructureDefinition/code" />
      </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>
    <element id="HistoAI.Patient.Pathology.ImmunoHistoChemistry.markerPercentage">
      <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="HistoAI.Patient.Pathology.ImmunoHistoChemistry.markerPercentage" />
      <label value="Marker Percentage" />
      <short value="Percentage of positive tumor cells for this marker" />
      <definition value="Percentage of positive tumor cells for this marker immunohistochemistry." />
      <comment value="The Ratio datatype should only be used to express a relationship of two numbers if the relationship cannot be suitably expressed using a Quantity and a common unit.  Where the denominator value is known to be fixed to &quot;1&quot;, Quantity should be used instead of Ratio." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="HistoAI.Patient.Pathology.ImmunoHistoChemistry.markerPercentage" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Ratio" />
        <profile value="http://hl7.org/fhir/StructureDefinition/Ratio" />
      </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="rat-1" />
        <severity value="error" />
        <human value="Numerator and denominator SHALL both be present, or both are absent. If both are absent, there SHALL be some extension present" />
        <expression value="(numerator.empty() xor denominator.exists()) and (numerator.exists() or extension.exists())" />
        <xpath value="(count(f:numerator) = count(f:denominator)) and ((count(f:numerator) &gt; 0) or (count(f:extension) &gt; 0))" />
        <source value="http://hl7.org/fhir/StructureDefinition/Ratio" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="N/A" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="RTO" />
      </mapping>
    </element>
    <element id="HistoAI.Patient.Pathology.tumorGrade">
      <path value="HistoAI.Patient.Pathology.tumorGrade" />
      <label value="Tumor Grade" />
      <short value="Grade of the tumour" />
      <definition value="Grade of the tumour asassigned by the reporting tumour grading system in Palga." />
      <comment value="Note that FHIR strings SHALL NOT exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="HistoAI.Patient.Pathology.tumorGrade" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="code" />
        <profile value="http://hl7.org/fhir/StructureDefinition/code" />
      </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>
    <element id="HistoAI.Patient.Pathology.tumorHistologicalType">
      <path value="HistoAI.Patient.Pathology.tumorHistologicalType" />
      <label value="Tumor Histological Type" />
      <code>
        <system value="http://terminology.hl7.org/CodeSystem/icd-o-3" />
      </code>
      <short value="The code to represent the histology (morphology) of neoplasms" />
      <definition value="The code to represent the histology (morphology) of neoplasms that is usually obtained from a pathology report, according to the International Classification of Diseases for Oncology, 3rdEdition(WHO ICD-O-3). RefertotheICD-O" />
      <comment value="Note that FHIR strings SHALL NOT exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="HistoAI.Patient.Pathology.tumorHistologicalType" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="code" />
        <profile value="http://hl7.org/fhir/StructureDefinition/code" />
      </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>
    <element id="HistoAI.Patient.Pathology.PathologyReport">
      <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="HistoAI.Patient.Pathology.PathologyReport" />
      <label value="Pathology Report" />
      <short value="Pathology report in Palga" />
      <definition value="Pathology report (free text) in Palga" />
      <comment value="Aardmateriaal, Klinischegegevens, Immuunhistochemie, Macroscopie, Microscropie, Conclusie" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="HistoAI.Patient.Pathology.PathologyReport" />
        <min value="0" />
        <max value="1" />
      </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() 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="HistoAI.Patient.Radiology">
      <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="HistoAI.Patient.Radiology" />
      <label value="Radiology" />
      <short value="Radiology report of this patient" />
      <definition value="Radiology report of this patient, primarily from PACS (Picture archiving and communication system)" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="HistoAI.Patient.Radiology" />
        <min value="0" />
        <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() 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="HistoAI.Patient.Genomics">
      <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="HistoAI.Patient.Genomics" />
      <label value="Genomics" />
      <short value="Genomics report of this patient" />
      <definition value="Genomics report of this patient, primarily from MolPa (molecular pathology database) and GCF (Genomics core facility)" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="HistoAI.Patient.Genomics" />
        <min value="0" />
        <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() 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="HistoAI.Patient.Tumor">
      <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="HistoAI.Patient.Tumor" />
      <label value="Tumor" />
      <short value="Tumor records of this patient" />
      <definition value="Tumor records of this patient in Tumor Registry. Only primary tumor." />
      <comment value="Indexed with (patientId, tumorSys)" />
      <alias value="Tumour" />
      <alias value="Cancer" />
      <alias value="Disease" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="HistoAI.Patient.Tumor" />
        <min value="0" />
        <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() 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="HistoAI.Patient.Tumor.id">
      <path value="HistoAI.Patient.Tumor.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="HistoAI.Patient.Tumor.extension">
      <path value="HistoAI.Patient.Tumor.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="HistoAI.Patient.Tumor.modifierExtension">
      <path value="HistoAI.Patient.Tumor.modifierExtension" />
      <short value="Extensions that cannot be ignored even if unrecognized" />
      <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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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. Applications processing a resource are required to check for modifier extensions.&#xA;&#xA;Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself)." />
      <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." />
      <requirements value="Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](extensibility.html#modifierExtension)." />
      <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() 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>
      <isModifier value="true" />
      <isModifierReason value="Modifier extensions are expected to modify the meaning or interpretation of the element that contains them" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="HistoAI.Patient.Tumor.tumorId">
      <path value="HistoAI.Patient.Tumor.tumorId" />
      <label value="Tumor ID" />
      <short value="Global unique tumor identifier" />
      <definition value="Uniquely generated selected primary cancer tumor number per patient at Scientific administration of the Netherlands Cancer Institute." />
      <comment value="Presented in the code book &quot;01.09 Tumour_ID&quot;. Not in tumor registry. &#xD;&#xA;This UUID will be generated during patient anonymisation process." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="HistoAI.Patient.Tumor.tumorId" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="uuid" />
        <profile value="http://hl7.org/fhir/StructureDefinition/uuid" />
      </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>
    <element id="HistoAI.Patient.Tumor.tumorSys">
      <path value="HistoAI.Patient.Tumor.tumorSys" />
      <label value="Tumor sys" />
      <short value="Tumorsys code in Tumor Registry" />
      <definition value="System variable for linking with all tumor-related tables in tumor registry.&#xD;&#xA;First primary tumor: Tumorsys=1&#xD;&#xA;Second primary tumor: Tumorsys=2" />
      <comment value="Tumor_sys is part of the PrimaryKey (together with with PatientId) for all Tumor Registry tables in dataware house. TRTU_Tumorsys_code" />
      <alias value="TRTU_Tumorsys_code" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="HistoAI.Patient.Tumor.tumorSys" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="integer" />
        <profile value="http://hl7.org/fhir/StructureDefinition/integer" />
      </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>
    <element id="HistoAI.Patient.Tumor.diagnosisDate">
      <path value="HistoAI.Patient.Tumor.diagnosisDate" />
      <label value="Diagnosis Date" />
      <short value="Date of primary diagnosis of the tumor" />
      <definition value="Date of primary diagnosis of the tumor." />
      <comment value="If patient has had multiple cancer diagnoses, should be able to select the data only for the diagnosis thought to be associated with the metastatic disease." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="HistoAI.Patient.Tumor.diagnosisDate" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="dateTime" />
        <profile value="http://hl7.org/fhir/StructureDefinition/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() 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="HistoAI.Patient.Tumor.diagnosisCode">
      <path value="HistoAI.Patient.Tumor.diagnosisCode" />
      <label value="DiagnosisCode" />
      <code>
        <system value="http://hl7.org/fhir/sid/icd-10" />
      </code>
      <short value="Primary cancer type code ICD-10" />
      <definition value="The code to represent the cancer type using the WHO ICD-10 code classification." />
      <comment value="The code to represent the cancer type using the WHO ICD-10 code classification.&#xD;&#xA;(https://icd.who.int/browse10/2019/en)" />
      <alias value="Cancer Type" />
      <alias value="Primary Type" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="HistoAI.Patient.Tumor.diagnosisCode" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="code" />
        <profile value="http://hl7.org/fhir/sid/icd-10" />
      </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>
    <element id="HistoAI.Patient.Tumor.diagnosisDescription">
      <path value="HistoAI.Patient.Tumor.diagnosisDescription" />
      <label value="Primary Site" />
      <short value="Diagnosis Description" />
      <definition value="The text term used to describe the primary site of disease, as categorized by the WorldHealthOrganization's (WHO) International Classification of Diseasesfor Oncology (ICD-O). This categorization groups cases into general categories." />
      <comment value="Note that FHIR strings SHALL NOT exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="HistoAI.Patient.Tumor.diagnosisDescription" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="code" />
        <profile value="http://hl7.org/fhir/StructureDefinition/code" />
      </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>
    <element id="HistoAI.Patient.Tumor.ClinicalStage">
      <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="HistoAI.Patient.Tumor.ClinicalStage" />
      <label value="Clinical Stage" />
      <code>
        <system value="http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-tnm-clinical-stage-group" />
      </code>
      <short value="AJCC clinical stage group" />
      <definition value="AJCC clinical stage group, https://cancerstaging.org." />
      <alias value="TNM clinical stage" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="HistoAI.Patient.Tumor.ClinicalStage" />
        <min value="0" />
        <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() 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>
      <mapping>
        <identity value="TNMClinicalStageGroup" />
        <map value="http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-tnm-clinical-stage-group" />
      </mapping>
    </element>
    <element id="HistoAI.Patient.Tumor.ClinicalStage.id">
      <path value="HistoAI.Patient.Tumor.ClinicalStage.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="HistoAI.Patient.Tumor.ClinicalStage.extension">
      <path value="HistoAI.Patient.Tumor.ClinicalStage.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="HistoAI.Patient.Tumor.ClinicalStage.modifierExtension">
      <path value="HistoAI.Patient.Tumor.ClinicalStage.modifierExtension" />
      <short value="Extensions that cannot be ignored even if unrecognized" />
      <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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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. Applications processing a resource are required to check for modifier extensions.&#xA;&#xA;Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself)." />
      <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." />
      <requirements value="Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](extensibility.html#modifierExtension)." />
      <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() 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>
      <isModifier value="true" />
      <isModifierReason value="Modifier extensions are expected to modify the meaning or interpretation of the element that contains them" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="HistoAI.Patient.Tumor.ClinicalStage.cT">
      <path value="HistoAI.Patient.Tumor.ClinicalStage.cT" />
      <label value="cT" />
      <code>
        <system value="http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-tnm-clinical-primary-tumor-category" />
      </code>
      <short value="TNM Clinical Primary Tumor Category" />
      <definition value="TNM Clinical Primary Tumor Category" />
      <comment value="Note that FHIR strings SHALL NOT exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="HistoAI.Patient.Tumor.ClinicalStage.cT" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="code" />
        <profile value="http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-tnm-clinical-primary-tumor-category" />
      </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>
    <element id="HistoAI.Patient.Tumor.ClinicalStage.cN">
      <path value="HistoAI.Patient.Tumor.ClinicalStage.cN" />
      <label value="cN" />
      <code>
        <system value="http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-tnm-clinical-regional-nodes-category" />
      </code>
      <short value="TNM Clinical Regional Nodes Category" />
      <definition value="TNM Clinical Regional Nodes Category" />
      <comment value="Note that FHIR strings SHALL NOT exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="HistoAI.Patient.Tumor.ClinicalStage.cN" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="code" />
        <profile value="http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-tnm-clinical-regional-nodes-category" />
      </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>
    <element id="HistoAI.Patient.Tumor.ClinicalStage.cM">
      <path value="HistoAI.Patient.Tumor.ClinicalStage.cM" />
      <label value="cM" />
      <code>
        <system value="http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-tnm-clinical-distant-metastases-category" />
      </code>
      <short value="TNM Clinical Distant Metastases Category" />
      <definition value="TNM Clinical Distant Metastases Category" />
      <comment value="Note that FHIR strings SHALL NOT exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="HistoAI.Patient.Tumor.ClinicalStage.cM" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="code" />
        <profile value="http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-tnm-clinical-distant-metastases-category" />
      </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>
    <element id="HistoAI.Patient.Tumor.PathologicalStage">
      <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="HistoAI.Patient.Tumor.PathologicalStage" />
      <label value="Pathological Stage" />
      <code>
        <system value="http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-tnm-pathological-stage-group" />
      </code>
      <short value="AJCC pathological stage group" />
      <definition value="AJCC pathological stage group, https://cancerstaging.org." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="HistoAI.Patient.Tumor.PathologicalStage" />
        <min value="0" />
        <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() 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>
      <mapping>
        <identity value="TNMPathologicalStageGroup" />
        <map value="http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-tnm-pathological-stage-group" />
      </mapping>
    </element>
    <element id="HistoAI.Patient.Tumor.PathologicalStage.id">
      <path value="HistoAI.Patient.Tumor.PathologicalStage.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="HistoAI.Patient.Tumor.PathologicalStage.extension">
      <path value="HistoAI.Patient.Tumor.PathologicalStage.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="HistoAI.Patient.Tumor.PathologicalStage.modifierExtension">
      <path value="HistoAI.Patient.Tumor.PathologicalStage.modifierExtension" />
      <short value="Extensions that cannot be ignored even if unrecognized" />
      <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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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. Applications processing a resource are required to check for modifier extensions.&#xA;&#xA;Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself)." />
      <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." />
      <requirements value="Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](extensibility.html#modifierExtension)." />
      <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() 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>
      <isModifier value="true" />
      <isModifierReason value="Modifier extensions are expected to modify the meaning or interpretation of the element that contains them" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="HistoAI.Patient.Tumor.PathologicalStage.pT">
      <path value="HistoAI.Patient.Tumor.PathologicalStage.pT" />
      <label value="pT" />
      <code>
        <system value="http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-tnm-pathological-distant-metastases-category" />
      </code>
      <short value="TNM Pathological Primary Tumor Category" />
      <definition value="TNM Pathological Primary Tumor Category" />
      <comment value="Note that FHIR strings SHALL NOT exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="HistoAI.Patient.Tumor.PathologicalStage.pT" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="code" />
        <profile value="http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-tnm-pathological-distant-metastases-category" />
      </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>
    <element id="HistoAI.Patient.Tumor.PathologicalStage.pN">
      <path value="HistoAI.Patient.Tumor.PathologicalStage.pN" />
      <label value="pN" />
      <code>
        <system value="http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-tnm-pathological-distant-metastases-category" />
      </code>
      <short value="TNM Pathological Regional Nodes Category" />
      <definition value="TNM Pathological Regional Nodes Category" />
      <comment value="Note that FHIR strings SHALL NOT exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="HistoAI.Patient.Tumor.PathologicalStage.pN" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="code" />
        <profile value="http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-tnm-pathological-distant-metastases-category" />
      </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>
    <element id="HistoAI.Patient.Tumor.PathologicalStage.pM">
      <path value="HistoAI.Patient.Tumor.PathologicalStage.pM" />
      <label value="pM" />
      <code>
        <system value="http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-tnm-pathological-distant-metastases-category" />
      </code>
      <short value="TNM Pathological Distant Metastases Category" />
      <definition value="TNM Pathological Distant Metastases Category" />
      <comment value="Note that FHIR strings SHALL NOT exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="HistoAI.Patient.Tumor.PathologicalStage.pM" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="code" />
        <profile value="http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-tnm-pathological-distant-metastases-category" />
      </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>
    <element id="HistoAI.Patient.Tumor.Localization">
      <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="HistoAI.Patient.Tumor.Localization" />
      <label value="Localization" />
      <short value="Metastasis of this tumor" />
      <definition value="Diagnosis of distant metastatic of this cancer of this patient." />
      <comment value="Derived from data in Tumorregistratie." />
      <alias value="Localisatie" />
      <alias value="Distant metastasis" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="HistoAI.Patient.Tumor.Localization" />
        <min value="0" />
        <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() 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="HistoAI.Patient.Tumor.Localization.id">
      <path value="HistoAI.Patient.Tumor.Localization.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="HistoAI.Patient.Tumor.Localization.extension">
      <path value="HistoAI.Patient.Tumor.Localization.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="HistoAI.Patient.Tumor.Localization.modifierExtension">
      <path value="HistoAI.Patient.Tumor.Localization.modifierExtension" />
      <short value="Extensions that cannot be ignored even if unrecognized" />
      <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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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. Applications processing a resource are required to check for modifier extensions.&#xA;&#xA;Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself)." />
      <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." />
      <requirements value="Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](extensibility.html#modifierExtension)." />
      <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() 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>
      <isModifier value="true" />
      <isModifierReason value="Modifier extensions are expected to modify the meaning or interpretation of the element that contains them" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="HistoAI.Patient.Tumor.Localization.localizationDate">
      <path value="HistoAI.Patient.Tumor.Localization.localizationDate" />
      <label value="Localization Date" />
      <short value="Date of diagnosis of this localization" />
      <definition value="Date of diagnosis of this localization." />
      <alias value="Date_First_metastasis" />
      <alias value="Date_Local_ipsilat_recurrence" />
      <alias value="Date_Contralateral" />
      <alias value="Date_Regional_recurrence" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="HistoAI.Patient.Tumor.Localization.localizationDate" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="dateTime" />
        <profile value="http://hl7.org/fhir/StructureDefinition/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() 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="HistoAI.Patient.Tumor.Localization.metastasisSiteCode">
      <path value="HistoAI.Patient.Tumor.Localization.metastasisSiteCode" />
      <label value="Metastasis Site Code" />
      <code>
        <system value="http://hl7.org/fhir/sid/icd-10" />
      </code>
      <short value="ICD10 code of location of the metastasis of this tumor" />
      <definition value="ICD10 code of location/site of the metastasis of this tumor of this patient." />
      <comment value="04.09 Follow_up Date_First_metastasis&#xD;&#xA;not always in [TRLK_Lokalisatie_code], should lookup TRTU to refer to primary tumor&#xD;&#xA;ref: DLC Date_Progessive_Disease_after_treatment_metast1" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="HistoAI.Patient.Tumor.Localization.metastasisSiteCode" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="code" />
        <profile value="http://hl7.org/fhir/sid/icd-10" />
      </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>
    <element id="HistoAI.Patient.Tumor.Localization.metastasisSiteDescription">
      <path value="HistoAI.Patient.Tumor.Localization.metastasisSiteDescription" />
      <label value="Metastasis Site Description" />
      <short value="Location of the metastasis of this tumor" />
      <definition value="Location/site of the metastasis of this tumor of this patient." />
      <comment value="Note that FHIR strings SHALL NOT exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="HistoAI.Patient.Tumor.Localization.metastasisSiteDescription" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
        <profile value="http://hl7.org/fhir/StructureDefinition/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>
    <element id="HistoAI.Patient.Tumor.Localization.regionalRecurrence">
      <path value="HistoAI.Patient.Tumor.Localization.regionalRecurrence" />
      <label value="Regional Recurrence" />
      <short value="Is this regional recurrence?" />
      <definition value="A regional recurrence denotes tumor involving the ipsilateral regional lymph nodes, usually ipsilateral axillary or supraclavicular, and less commonly infraclavicular and/or internal mammary." />
      <alias value="Eventregionalrecurrence" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="HistoAI.Patient.Tumor.Localization.regionalRecurrence" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="boolean" />
        <profile value="http://hl7.org/fhir/StructureDefinition/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() 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="HistoAI.Patient.Tumor.Localization.contralateralRecurrence">
      <path value="HistoAI.Patient.Tumor.Localization.contralateralRecurrence" />
      <label value="Contralateral Recurrence" />
      <short value="Is this metastasis contralateral?" />
      <definition value="Is this metastasis contralateral? Event of contralateral breast cancer (as second primary)" />
      <alias value="Contralateral_recurrence" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="HistoAI.Patient.Tumor.Localization.contralateralRecurrence" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="boolean" />
        <profile value="http://hl7.org/fhir/StructureDefinition/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() 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="HistoAI.Patient.Tumor.Localization.localIpsilateralRecurrence">
      <path value="HistoAI.Patient.Tumor.Localization.localIpsilateralRecurrence" />
      <label value="Local Ipsilateral Recurrence" />
      <short value="Is this local and ipsilateral?" />
      <definition value="Event of local ipsilateral recurrence; Loco-regional Recurrence is defined as a recurrence in the ipsilateral chest wall or  mastectomy scar, or ipsilateral supraclavicular, infraclavicular, axillary or internal mammary lymph nodes. LRR must occur after primary diagnosis period and before first distant metastatic diagnosis to be recorded." />
      <alias value="Eventlocalipsilatrecurrence" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="HistoAI.Patient.Tumor.Localization.localIpsilateralRecurrence" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="boolean" />
        <profile value="http://hl7.org/fhir/StructureDefinition/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() 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="HistoAI.Patient.Tumor.Localization.oligoMetastasis">
      <path value="HistoAI.Patient.Tumor.Localization.oligoMetastasis" />
      <label value="Oligo Metastasis" />
      <short value="Is this oligo metastasis?" />
      <definition value="Oligo_metastasis (max 3): A type of metastasis in which cancer cells from the original (primary) tumor travel through the body and form a small number of new tumors (metastatic tumors) in one or two other parts of the body." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="HistoAI.Patient.Tumor.Localization.oligoMetastasis" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="boolean" />
        <profile value="http://hl7.org/fhir/StructureDefinition/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() 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="HistoAI.Patient.Tumor.Treatment">
      <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="HistoAI.Patient.Tumor.Treatment" />
      <label value="Therapy" />
      <short value="Therapy record of this tumor" />
      <definition value="Therapy record of this tumor in tumor registry, TRTH" />
      <alias value="Therapie" />
      <alias value="Therapy" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="HistoAI.Patient.Tumor.Treatment" />
        <min value="0" />
        <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() 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="HistoAI.Patient.Tumor.Treatment.id">
      <path value="HistoAI.Patient.Tumor.Treatment.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="HistoAI.Patient.Tumor.Treatment.extension">
      <path value="HistoAI.Patient.Tumor.Treatment.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="HistoAI.Patient.Tumor.Treatment.modifierExtension">
      <path value="HistoAI.Patient.Tumor.Treatment.modifierExtension" />
      <short value="Extensions that cannot be ignored even if unrecognized" />
      <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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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. Applications processing a resource are required to check for modifier extensions.&#xA;&#xA;Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself)." />
      <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." />
      <requirements value="Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](extensibility.html#modifierExtension)." />
      <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() 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>
      <isModifier value="true" />
      <isModifierReason value="Modifier extensions are expected to modify the meaning or interpretation of the element that contains them" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="HistoAI.Patient.Tumor.Treatment.treatmentType">
      <path value="HistoAI.Patient.Tumor.Treatment.treatmentType" />
      <label value="Treatment Type" />
      <short value="Type of treatment" />
      <definition value="Treatment code (single character):&#xD;&#xA;0 - no treatment&#xD;&#xA;1 - surgery&#xD;&#xA;2 - external radiotherapy&#xD;&#xA;3 - internal radiotherapy or radio-isotopes&#xD;&#xA;4 - chemotherapy&#xD;&#xA;5 - hormonal therapy&#xD;&#xA;6 - immunotherapy&#xD;&#xA;7 - rehabilitation therapy&#xD;&#xA;8 - other therapy&#xD;&#xA;9 - explorative surgery&#xD;&#xA;X - unknown (systemic) treatment" />
      <comment value="Used in TR::TRTU_Behandeling_totaal_code, for example, &quot;1216&quot; means: surgery-&gt;external radiotherapy-&gt;surgery-&gt;immunotherapy.&#xD;&#xA;Also used in TR::TRTH_Behandel_code." />
      <alias value="Treatment code" />
      <alias value="Behandel code" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="HistoAI.Patient.Tumor.Treatment.treatmentType" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="code" />
        <profile value="http://hl7.org/fhir/StructureDefinition/code" />
      </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>
    <element id="HistoAI.Patient.Tumor.Treatment.startDate">
      <path value="HistoAI.Patient.Tumor.Treatment.startDate" />
      <label value="Start Date" />
      <short value="Start date of the treatment" />
      <definition value="Start date of the treatment or therapy." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="HistoAI.Patient.Tumor.Treatment.startDate" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="dateTime" />
        <profile value="http://hl7.org/fhir/StructureDefinition/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() 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="HistoAI.Patient.Tumor.Treatment.stopDate">
      <path value="HistoAI.Patient.Tumor.Treatment.stopDate" />
      <label value="Stop Date" />
      <short value="Stop date of the treatment" />
      <definition value="Stop date of the treatment or therapy." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="HistoAI.Patient.Tumor.Treatment.stopDate" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="dateTime" />
        <profile value="http://hl7.org/fhir/StructureDefinition/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() 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="HistoAI.Patient.Tumor.Treatment.treatmentIntent">
      <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="HistoAI.Patient.Tumor.Treatment.treatmentIntent" />
      <label value="Treatment Intent" />
      <short value="The purpose of this treatment" />
      <definition value="The purpose of this treatment." />
      <comment value="TODO: find source in DWH" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="HistoAI.Patient.Tumor.Treatment.treatmentIntent" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Narrative" />
        <profile value="http://hl7.org/fhir/StructureDefinition/Narrative" />
      </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>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
      <mapping>
        <identity value="TreatmentIntent" />
        <map value="http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-treatment-intent" />
      </mapping>
    </element>
    <element id="HistoAI.Patient.Tumor.Treatment.treatmentSetting">
      <path value="HistoAI.Patient.Tumor.Treatment.treatmentSetting" />
      <short value="Treatment's purpose in relation to the primary treatment" />
      <definition value="Indicate the treatment setting, which describes the treatment's purpose in relation to the primary treatment. (Reference: CDISC[NCItcode:C124308])" />
      <comment value="Note that FHIR strings SHALL NOT exceed 1MB in size" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="HistoAI.Patient.Tumor.Treatment.treatmentSetting" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="code" />
        <profile value="http://hl7.org/fhir/StructureDefinition/code" />
      </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>
    <element id="HistoAI.Patient.Tumor.Treatment.terminationReason">
      <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="HistoAI.Patient.Tumor.Treatment.terminationReason" />
      <label value="Termination Reason" />
      <short value="Reason of termination with this treatment" />
      <definition value="Reason of termination with this treatment, as indicatior of desease progression." />
      <comment value="DWH - find out discription of reason of each treatment/therapy stopped at the end date of treatment.&#xD;&#xA;In the future there will be an extra feature added to Hix in which RECIST measurements (radiological assessment of CT scans)" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="HistoAI.Patient.Tumor.Treatment.terminationReason" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Narrative" />
        <profile value="http://hl7.org/fhir/StructureDefinition/Narrative" />
      </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>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
      <mapping>
        <identity value="TreatmentTerminationReason" />
        <map value="http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-treatment-termination-reason" />
      </mapping>
    </element>
    <element id="HistoAI.Patient.Tumor.Treatment.treatmentInstituteIndicator">
      <path value="HistoAI.Patient.Tumor.Treatment.treatmentInstituteIndicator" />
      <label value="Treatment Institute Indicator" />
      <short value="Whether this treatment is primary or secondary" />
      <definition value="Whether this treatment is primary (treated at AvL) or secondary (patient treated at somewhere else)." />
      <comment value="DLC::09.09 Treatment Treatment_PS_ind" />
      <alias value="Treatment_PS_ind" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="HistoAI.Patient.Tumor.Treatment.treatmentInstituteIndicator" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="boolean" />
        <profile value="http://hl7.org/fhir/StructureDefinition/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() 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="HistoAI.Patient.Tumor.Treatment.Medication">
      <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="HistoAI.Patient.Tumor.Treatment.Medication" />
      <label value="Medication" />
      <short value="Medication statement" />
      <definition value="Medication statement" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="HistoAI.Patient.Tumor.Treatment.Medication" />
        <min value="0" />
        <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() 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="HistoAI.Patient.Tumor.Treatment.Medication.id">
      <path value="HistoAI.Patient.Tumor.Treatment.Medication.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="HistoAI.Patient.Tumor.Treatment.Medication.extension">
      <path value="HistoAI.Patient.Tumor.Treatment.Medication.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="HistoAI.Patient.Tumor.Treatment.Medication.modifierExtension">
      <path value="HistoAI.Patient.Tumor.Treatment.Medication.modifierExtension" />
      <short value="Extensions that cannot be ignored even if unrecognized" />
      <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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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. Applications processing a resource are required to check for modifier extensions.&#xA;&#xA;Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself)." />
      <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." />
      <requirements value="Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](extensibility.html#modifierExtension)." />
      <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() 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>
      <isModifier value="true" />
      <isModifierReason value="Modifier extensions are expected to modify the meaning or interpretation of the element that contains them" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="HistoAI.Patient.Tumor.Treatment.Medication.medicine">
      <path value="HistoAI.Patient.Tumor.Treatment.Medication.medicine" />
      <label value="Medicine" />
      <code>
        <system value="http://hl7.org/fhir/uv/ips/ValueSet/whoatc-uv-ips" />
      </code>
      <short value="Medicine(s) used in this treatment" />
      <definition value="Medicine(s) used in this treatment.&#xD;&#xA;World Health Organization Anatomical Therapeutic Chemical (ATC) classification system. &#xD;&#xA;Note: The currently implemented code system and the value set expansion contain only a set of example ATC codes, not the complete code system content." />
      <comment value="Note that FHIR strings SHALL NOT exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="HistoAI.Patient.Tumor.Treatment.Medication.medicine" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="code" />
        <profile value="http://hl7.org/fhir/uv/ips/ValueSet/whoatc-uv-ips" />
      </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>
    <element id="HistoAI.Patient.Tumor.Treatment.Medication.numberCourse">
      <path value="HistoAI.Patient.Tumor.Treatment.Medication.numberCourse" />
      <label value="Number Course" />
      <short value="Number of courses of medication given" />
      <definition value="Number of courses of medication given." />
      <comment value="DWH::[TR].[TRTH_Aantal_kuren]" />
      <alias value="Aantal kuren" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="HistoAI.Patient.Tumor.Treatment.Medication.numberCourse" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="integer" />
        <profile value="http://hl7.org/fhir/StructureDefinition/integer" />
      </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>
    <element id="HistoAI.Patient.Tumor.Treatment.Medication.dosage">
      <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
        <valueCode value="trial-use" />
      </extension>
      <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version">
        <valueCode value="4.0.0" />
      </extension>
      <path value="HistoAI.Patient.Tumor.Treatment.Medication.dosage" />
      <label value="Dosage" />
      <short value="General dosage instruction information" />
      <definition value="General dosage instruction information, including site, route, method etc." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="HistoAI.Patient.Tumor.Treatment.Medication.dosage" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Dosage" />
        <profile value="http://hl7.org/fhir/StructureDefinition/Dosage" />
      </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>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=SBADM, moodCode=INT]" />
      </mapping>
      <mapping>
        <identity value="Dosage" />
        <map value="http://hl7.org/fhir/StructureDefinition/Dosage" />
      </mapping>
    </element>
    <element id="HistoAI.Patient.Tumor.Treatment.Medication.medicalOutcome">
      <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="HistoAI.Patient.Tumor.Treatment.Medication.medicalOutcome" />
      <label value="Medical Outcome" />
      <short value="Medical treatment outcome" />
      <definition value="Medical treatment (chemo or immuno therapy) outcome." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="HistoAI.Patient.Tumor.Treatment.Medication.medicalOutcome" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Narrative" />
        <profile value="http://hl7.org/fhir/StructureDefinition/Narrative" />
      </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>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="HistoAI.Patient.Tumor.Treatment.Surgery">
      <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="HistoAI.Patient.Tumor.Treatment.Surgery" />
      <label value="Surgery" />
      <short value="Surgical treatment" />
      <definition value="Surgical treatment" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="HistoAI.Patient.Tumor.Treatment.Surgery" />
        <min value="0" />
        <max value="1" />
      </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() 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="HistoAI.Patient.Tumor.Treatment.Surgery.id">
      <path value="HistoAI.Patient.Tumor.Treatment.Surgery.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="HistoAI.Patient.Tumor.Treatment.Surgery.extension">
      <path value="HistoAI.Patient.Tumor.Treatment.Surgery.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="HistoAI.Patient.Tumor.Treatment.Surgery.modifierExtension">
      <path value="HistoAI.Patient.Tumor.Treatment.Surgery.modifierExtension" />
      <short value="Extensions that cannot be ignored even if unrecognized" />
      <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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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. Applications processing a resource are required to check for modifier extensions.&#xA;&#xA;Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself)." />
      <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." />
      <requirements value="Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](extensibility.html#modifierExtension)." />
      <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() 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>
      <isModifier value="true" />
      <isModifierReason value="Modifier extensions are expected to modify the meaning or interpretation of the element that contains them" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="HistoAI.Patient.Tumor.Treatment.Surgery.procedure">
      <path value="HistoAI.Patient.Tumor.Treatment.Surgery.procedure" />
      <label value="Procedure" />
      <short value="Surgical procedure code" />
      <definition value="Surgical procedure code" />
      <comment value="TODO: find source of procedure code&#xD;&#xA;TR.TRTH_Therapie_code?" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="HistoAI.Patient.Tumor.Treatment.Surgery.procedure" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="code" />
        <profile value="http://hl7.org/fhir/StructureDefinition/code" />
      </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>
    <element id="HistoAI.Patient.Tumor.Treatment.Surgery.bodySite">
      <path value="HistoAI.Patient.Tumor.Treatment.Surgery.bodySite" />
      <label value="Body Site" />
      <short value="Surgery body site" />
      <definition value="Surgery body site ICD-10 code" />
      <comment value="related to Tumor ID (patient and tumorsys), should be the same as primarySite of the tumor (local and regional) or metastasisSite (distant metastasis)" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="HistoAI.Patient.Tumor.Treatment.Surgery.bodySite" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="code" />
        <profile value="http://hl7.org/fhir/sid/icd-10" />
      </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>
    <element id="HistoAI.Patient.Tumor.Treatment.Surgery.surgeryOutcome">
      <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="HistoAI.Patient.Tumor.Treatment.Surgery.surgeryOutcome" />
      <label value="Surgery Outcome" />
      <short value="Response to surgery outcome" />
      <definition value="Response to surgery outcome" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="HistoAI.Patient.Tumor.Treatment.Surgery.surgeryOutcome" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Narrative" />
        <profile value="http://hl7.org/fhir/StructureDefinition/Narrative" />
      </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>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="HistoAI.Patient.Tumor.Treatment.Radiotherapy">
      <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="HistoAI.Patient.Tumor.Treatment.Radiotherapy" />
      <label value="Radiotherapy" />
      <code>
        <system value="http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-radiotherapy-course-summary" />
      </code>
      <short value="Radiotherapy course summary" />
      <definition value="Radiotherapy course summary" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="HistoAI.Patient.Tumor.Treatment.Radiotherapy" />
        <min value="0" />
        <max value="1" />
      </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() 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="HistoAI.Patient.Tumor.Treatment.Radiotherapy.id">
      <path value="HistoAI.Patient.Tumor.Treatment.Radiotherapy.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="HistoAI.Patient.Tumor.Treatment.Radiotherapy.extension">
      <path value="HistoAI.Patient.Tumor.Treatment.Radiotherapy.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="HistoAI.Patient.Tumor.Treatment.Radiotherapy.modifierExtension">
      <path value="HistoAI.Patient.Tumor.Treatment.Radiotherapy.modifierExtension" />
      <short value="Extensions that cannot be ignored even if unrecognized" />
      <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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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. Applications processing a resource are required to check for modifier extensions.&#xA;&#xA;Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself)." />
      <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." />
      <requirements value="Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](extensibility.html#modifierExtension)." />
      <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() 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>
      <isModifier value="true" />
      <isModifierReason value="Modifier extensions are expected to modify the meaning or interpretation of the element that contains them" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="HistoAI.Patient.Tumor.Treatment.Radiotherapy.modality">
      <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="HistoAI.Patient.Tumor.Treatment.Radiotherapy.modality" />
      <label value="Modality" />
      <code>
        <system value="http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-radiotherapy-modality" />
      </code>
      <short value="A modality of external beam or brachytherapy radiation procedures" />
      <definition value="A modality of external beam or brachytherapy radiation procedures. e.g. Photons, Electrons" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="HistoAI.Patient.Tumor.Treatment.Radiotherapy.modality" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="code" />
        <profile value="http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-radiotherapy-modality" />
      </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="HistoAI.Patient.Tumor.Treatment.Radiotherapy.technique">
      <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="HistoAI.Patient.Tumor.Treatment.Radiotherapy.technique" />
      <label value="Technique" />
      <code>
        <system value="http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-radiotherapy-technique" />
      </code>
      <short value="A technique of external beam or brachytherapy radiation procedures" />
      <definition value="A technique of external beam or brachytherapy radiation procedures. e.g. VMAT, 3D" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="HistoAI.Patient.Tumor.Treatment.Radiotherapy.technique" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="code" />
        <profile value="http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-radiotherapy-technique" />
      </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="HistoAI.Patient.Tumor.Treatment.Radiotherapy.bodySite">
      <path value="HistoAI.Patient.Tumor.Treatment.Radiotherapy.bodySite" />
      <label value="Body Site" />
      <code>
        <system value="http://hl7.org/fhir/sid/icd-10" />
      </code>
      <short value="Anatomical site irradiated" />
      <definition value="Anatomical site irradiated of radiotherapy." />
      <comment value="Note that FHIR strings SHALL NOT exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="HistoAI.Patient.Tumor.Treatment.Radiotherapy.bodySite" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="code" />
        <profile value="http://hl7.org/fhir/sid/icd-10" />
      </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>
    <element id="HistoAI.Patient.Tumor.Treatment.Radiotherapy.doseVolume">
      <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="HistoAI.Patient.Tumor.Treatment.Radiotherapy.doseVolume" />
      <label value="Dose Volume" />
      <code>
        <system value="http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-radiotherapy-dose-delivered-to-volume" />
      </code>
      <short value="Dose parameters for one radiotherapy volume" />
      <definition value="Dose parameters for one radiotherapy volume. e.g.&#xD;&#xA;  Prostate, 5000cGy;&#xD;&#xA;  SV, 3000 cGy;" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="HistoAI.Patient.Tumor.Treatment.Radiotherapy.doseVolume" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="code" />
        <profile value="http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-radiotherapy-dose-delivered-to-volume" />
      </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="HistoAI.Patient.Tumor.Treatment.Radiotherapy.radiologicalOutcome">
      <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="HistoAI.Patient.Tumor.Treatment.Radiotherapy.radiologicalOutcome" />
      <label value="Radiological Outcome" />
      <short value="Outcome of radiotherapy" />
      <definition value="A human-readable summary of the resource conveying the essential clinical and business information for the resource." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="HistoAI.Patient.Tumor.Treatment.Radiotherapy.radiologicalOutcome" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Narrative" />
        <profile value="http://hl7.org/fhir/StructureDefinition/Narrative" />
      </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>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="HistoAI.Patient.PerformanceStatus">
      <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="HistoAI.Patient.PerformanceStatus" />
      <label value="Performance Status" />
      <short value="WHO performace status" />
      <definition value="WHO performance status as recorded on baseline. &#xD;&#xA;0 = Able to carry out all normal activity without restrictions; &#xD;&#xA;1 = Restricted in physically strenuous activity but ambulatory and able to carry out light work; &#xD;&#xA;2 =  Ambulatory and capable of all self-care but unable to carry out any work; up and more than 50% of waking hours; &#xD;&#xA;3 = Capable of only limited self-care; confined to bed or chair more than 50% of waking hours; &#xD;&#xA;4 =  Completely disabled; cannot carry on any self-care; totally confined to bed or chair." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="HistoAI.Patient.PerformanceStatus" />
        <min value="0" />
        <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() 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="HistoAI.Patient.PerformanceStatus.id">
      <path value="HistoAI.Patient.PerformanceStatus.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="HistoAI.Patient.PerformanceStatus.extension">
      <path value="HistoAI.Patient.PerformanceStatus.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="HistoAI.Patient.PerformanceStatus.modifierExtension">
      <path value="HistoAI.Patient.PerformanceStatus.modifierExtension" />
      <short value="Extensions that cannot be ignored even if unrecognized" />
      <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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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. Applications processing a resource are required to check for modifier extensions.&#xA;&#xA;Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself)." />
      <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." />
      <requirements value="Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](extensibility.html#modifierExtension)." />
      <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() 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>
      <isModifier value="true" />
      <isModifierReason value="Modifier extensions are expected to modify the meaning or interpretation of the element that contains them" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="HistoAI.Patient.PerformanceStatus.observationDate">
      <path value="HistoAI.Patient.PerformanceStatus.observationDate" />
      <label value="Observation Date" />
      <short value="Date of the observation of performance status of this patient" />
      <definition value="Date of the observation of performance status of this patient." />
      <comment value="This is not follow-up date" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="HistoAI.Patient.PerformanceStatus.observationDate" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="dateTime" />
        <profile value="http://hl7.org/fhir/StructureDefinition/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() 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="HistoAI.Patient.PerformanceStatus.performanceScore">
      <path value="HistoAI.Patient.PerformanceStatus.performanceScore" />
      <label value="Performance Score" />
      <code>
        <system value="http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-ecog-performance-status" />
      </code>
      <short value="Measurements and simple assertions" />
      <definition value="WHO performance status as recorded on baseline. &#xD;&#xA;0 = Able to carry out all normal activity without restrictions; &#xD;&#xA;1 = Restricted in physically strenuous activity but ambulatory and able to carry out light work; &#xD;&#xA;2 =  Ambulatory and capable of all self-care but unable to carry out any work; up and more than 50% of waking hours; &#xD;&#xA;3 = Capable of only limited self-care; confined to bed or chair more than 50% of waking hours; &#xD;&#xA;4 =  Completely disabled; cannot carry on any self-care; totally confined to bed or chair." />
      <comment value="Used for simple observations such as device measurements, laboratory atomic results, vital signs, height, weight, smoking status, comments, etc.  Other resources are used to provide context for observations such as laboratory reports, etc." />
      <alias value="Vital Signs" />
      <alias value="Measurement" />
      <alias value="Results" />
      <alias value="Tests" />
      <alias value="ECOG Performance Status" />
      <alias value="Zubrod score" />
      <alias value="WHO score" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="HistoAI.Patient.PerformanceStatus.performanceScore" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="code" />
        <profile value="http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-ecog-performance-status" />
      </type>
      <constraint>
        <key value="dom-2" />
        <severity value="error" />
        <human value="If the resource is contained in another resource, it SHALL NOT contain nested Resources" />
        <expression value="contained.contained.empty()" />
        <xpath value="not(parent::f:contained and f:contained)" />
        <source value="http://hl7.org/fhir/StructureDefinition/DomainResource" />
      </constraint>
      <constraint>
        <key value="dom-4" />
        <severity value="error" />
        <human value="If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated" />
        <expression value="contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()" />
        <xpath value="not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))" />
        <source value="http://hl7.org/fhir/StructureDefinition/DomainResource" />
      </constraint>
      <constraint>
        <key value="dom-3" />
        <severity value="error" />
        <human value="If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource" />
        <expression value="contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()" />
        <xpath value="not(exists(for $id in f:contained/*/f:id/@value return $contained[not(parent::*/descendant::f:reference/@value=concat('#', $contained/*/id/@value) or descendant::f:reference[@value='#'])]))" />
        <source value="http://hl7.org/fhir/StructureDefinition/DomainResource" />
      </constraint>
      <constraint>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice">
          <valueBoolean value="true" />
        </extension>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice-explanation">
          <valueMarkdown value="When a resource has no narrative, only systems that fully understand the data can display the resource to a human safely. Including a human readable representation in the resource makes for a much more robust eco-system and cheaper handling of resources by intermediary systems. Some ecosystems restrict distribution of resources to only those systems that do fully understand the resources, and as a consequence implementers may believe that the narrative is superfluous. However experience shows that such eco-systems often open up to new participants over time." />
        </extension>
        <key value="dom-6" />
        <severity value="warning" />
        <human value="A resource should have narrative for robust management" />
        <expression value="text.`div`.exists()" />
        <xpath value="exists(f:text/h:div)" />
        <source value="http://hl7.org/fhir/StructureDefinition/DomainResource" />
      </constraint>
      <constraint>
        <key value="dom-5" />
        <severity value="error" />
        <human value="If a resource is contained in another resource, it SHALL NOT have a security label" />
        <expression value="contained.meta.security.empty()" />
        <xpath value="not(exists(f:contained/*/f:meta/f:security))" />
        <source value="http://hl7.org/fhir/StructureDefinition/DomainResource" />
      </constraint>
      <constraint>
        <key value="obs-7" />
        <severity value="error" />
        <human value="If Observation.code is the same as an Observation.component.code then the value element associated with the code SHALL NOT be present" />
        <expression value="value.empty() or component.code.where(coding.intersect(%resource.code.coding).exists()).empty()" />
        <xpath value="not(f:*[starts-with(local-name(.), 'value')] and (for $coding in f:code/f:coding return f:component/f:code/f:coding[f:code/@value=$coding/f:code/@value] [f:system/@value=$coding/f:system/@value]))" />
        <source value="http://hl7.org/fhir/StructureDefinition/Observation" />
      </constraint>
      <constraint>
        <key value="obs-6" />
        <severity value="error" />
        <human value="dataAbsentReason SHALL only be present if Observation.value[x] is not present" />
        <expression value="dataAbsentReason.empty() or value.empty()" />
        <xpath value="not(exists(f:dataAbsentReason)) or (not(exists(*[starts-with(local-name(.), 'value')])))" />
        <source value="http://hl7.org/fhir/StructureDefinition/Observation" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="Entity. Role, or Act" />
      </mapping>
      <mapping>
        <identity value="workflow" />
        <map value="Event" />
      </mapping>
      <mapping>
        <identity value="sct-concept" />
        <map value="&lt; 363787002 |Observable entity|" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="OBX" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="Observation[classCode=OBS, moodCode=EVN]" />
      </mapping>
      <mapping>
        <identity value="ECOGPerformanceStatus" />
        <map value="http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-ecog-performance-status" />
      </mapping>
    </element>
    <element id="HistoAI.Patient.PerformanceStatus.vitalStatus">
      <path value="HistoAI.Patient.PerformanceStatus.vitalStatus" />
      <label value="Vital Status" />
      <short value="Vital status at this follow-up." />
      <definition value="Indicator of vital status of follow-up:" />
      <comment value="Death during follow-up can be derived from this." />
      <alias value="Vital Signs" />
      <alias value="Measurement" />
      <alias value="Results" />
      <alias value="Tests" />
      <alias value="disease_status_at_followup" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="HistoAI.Patient.PerformanceStatus.vitalStatus" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="code" />
        <profile value="http://hl7.org/fhir/StructureDefinition/vitalsigns" />
      </type>
      <constraint>
        <key value="dom-2" />
        <severity value="error" />
        <human value="If the resource is contained in another resource, it SHALL NOT contain nested Resources" />
        <expression value="contained.contained.empty()" />
        <xpath value="not(parent::f:contained and f:contained)" />
        <source value="http://hl7.org/fhir/StructureDefinition/DomainResource" />
      </constraint>
      <constraint>
        <key value="dom-4" />
        <severity value="error" />
        <human value="If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated" />
        <expression value="contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()" />
        <xpath value="not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))" />
        <source value="http://hl7.org/fhir/StructureDefinition/DomainResource" />
      </constraint>
      <constraint>
        <key value="dom-3" />
        <severity value="error" />
        <human value="If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource" />
        <expression value="contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()" />
        <xpath value="not(exists(for $id in f:contained/*/f:id/@value return $contained[not(parent::*/descendant::f:reference/@value=concat('#', $contained/*/id/@value) or descendant::f:reference[@value='#'])]))" />
        <source value="http://hl7.org/fhir/StructureDefinition/DomainResource" />
      </constraint>
      <constraint>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice">
          <valueBoolean value="true" />
        </extension>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice-explanation">
          <valueMarkdown value="When a resource has no narrative, only systems that fully understand the data can display the resource to a human safely. Including a human readable representation in the resource makes for a much more robust eco-system and cheaper handling of resources by intermediary systems. Some ecosystems restrict distribution of resources to only those systems that do fully understand the resources, and as a consequence implementers may believe that the narrative is superfluous. However experience shows that such eco-systems often open up to new participants over time." />
        </extension>
        <key value="dom-6" />
        <severity value="warning" />
        <human value="A resource should have narrative for robust management" />
        <expression value="text.`div`.exists()" />
        <xpath value="exists(f:text/h:div)" />
        <source value="http://hl7.org/fhir/StructureDefinition/DomainResource" />
      </constraint>
      <constraint>
        <key value="dom-5" />
        <severity value="error" />
        <human value="If a resource is contained in another resource, it SHALL NOT have a security label" />
        <expression value="contained.meta.security.empty()" />
        <xpath value="not(exists(f:contained/*/f:meta/f:security))" />
        <source value="http://hl7.org/fhir/StructureDefinition/DomainResource" />
      </constraint>
      <constraint>
        <key value="obs-7" />
        <severity value="error" />
        <human value="If Observation.code is the same as an Observation.component.code then the value element associated with the code SHALL NOT be present" />
        <expression value="value.empty() or component.code.where(coding.intersect(%resource.code.coding).exists()).empty()" />
        <xpath value="not(f:*[starts-with(local-name(.), 'value')] and (for $coding in f:code/f:coding return f:component/f:code/f:coding[f:code/@value=$coding/f:code/@value] [f:system/@value=$coding/f:system/@value]))" />
        <source value="http://hl7.org/fhir/StructureDefinition/Observation" />
      </constraint>
      <constraint>
        <key value="obs-6" />
        <severity value="error" />
        <human value="dataAbsentReason SHALL only be present if Observation.value[x] is not present" />
        <expression value="dataAbsentReason.empty() or value.empty()" />
        <xpath value="not(exists(f:dataAbsentReason)) or (not(exists(*[starts-with(local-name(.), 'value')])))" />
        <source value="http://hl7.org/fhir/StructureDefinition/Observation" />
      </constraint>
      <constraint>
        <key value="vs-2" />
        <severity value="error" />
        <human value="If there is no component or hasMember element then either a value[x] or a data absent reason must be present." />
        <expression value="(component.empty() and hasMember.empty()) implies (dataAbsentReason.exists() or value.exists())" />
        <xpath value="f:component or f:memberOF or f:*[starts-with(local-name(.), 'value')] or f:dataAbsentReason" />
        <source value="http://hl7.org/fhir/StructureDefinition/vitalsigns" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="Entity. Role, or Act" />
      </mapping>
      <mapping>
        <identity value="workflow" />
        <map value="Event" />
      </mapping>
      <mapping>
        <identity value="sct-concept" />
        <map value="&lt; 363787002 |Observable entity|" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="OBX" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="Observation[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="HistoAI.Patient.ClinicalTrial">
      <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="HistoAI.Patient.ClinicalTrial" />
      <label value="Clinical Trial" />
      <short value="Clinical trial studies this patient involved in" />
      <definition value="Clinical trial studies this patient involved in. Study ID in clinical trial database Netherlands Cancer Instiute (TRION)" />
      <alias value="Study" />
      <alias value="Trion" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="HistoAI.Patient.ClinicalTrial" />
        <min value="0" />
        <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() 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="HistoAI.Patient.ClinicalTrial.id">
      <path value="HistoAI.Patient.ClinicalTrial.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="HistoAI.Patient.ClinicalTrial.extension">
      <path value="HistoAI.Patient.ClinicalTrial.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="HistoAI.Patient.ClinicalTrial.modifierExtension">
      <path value="HistoAI.Patient.ClinicalTrial.modifierExtension" />
      <short value="Extensions that cannot be ignored even if unrecognized" />
      <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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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. Applications processing a resource are required to check for modifier extensions.&#xA;&#xA;Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself)." />
      <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." />
      <requirements value="Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](extensibility.html#modifierExtension)." />
      <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() 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>
      <isModifier value="true" />
      <isModifierReason value="Modifier extensions are expected to modify the meaning or interpretation of the element that contains them" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="HistoAI.Patient.ClinicalTrial.trionId">
      <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="HistoAI.Patient.ClinicalTrial.trionId" />
      <label value="TRION ID" />
      <short value="Unique identifier of clinical trial" />
      <definition value="Unique identifier of clinical trial in database Netherlands Cancer Instiute (TRION), which this patient being involved." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="HistoAI.Patient.ClinicalTrial.trionId" />
        <min value="1" />
        <max value="1" />
      </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() 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="HistoAI._TBD">
      <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="HistoAI._TBD" />
      <label value="_TBD" />
      <short value="To Be Determined" />
      <definition value="To be determined - data attributes from various sources need to be FHIR compliant" />
      <min value="0" />
      <max value="0" />
      <base>
        <path value="HistoAI._TBD" />
        <min value="0" />
        <max value="0" />
      </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() 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="HistoAI._TBD.id">
      <path value="HistoAI._TBD.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="HistoAI._TBD.extension">
      <path value="HistoAI._TBD.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="HistoAI._TBD.modifierExtension">
      <path value="HistoAI._TBD.modifierExtension" />
      <short value="Extensions that cannot be ignored even if unrecognized" />
      <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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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. Applications processing a resource are required to check for modifier extensions.&#xA;&#xA;Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself)." />
      <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." />
      <requirements value="Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](extensibility.html#modifierExtension)." />
      <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() 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>
      <isModifier value="true" />
      <isModifierReason value="Modifier extensions are expected to modify the meaning or interpretation of the element that contains them" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="HistoAI._TBD.Molpa">
      <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="HistoAI._TBD.Molpa" />
      <label value="MolPa" />
      <short value="Molecular Pathology" />
      <definition value="Molecular Pathology record of this patient" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="HistoAI._TBD.Molpa" />
        <min value="0" />
        <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() 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="HistoAI._TBD.Molpa.id">
      <path value="HistoAI._TBD.Molpa.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="HistoAI._TBD.Molpa.extension">
      <path value="HistoAI._TBD.Molpa.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="HistoAI._TBD.Molpa.modifierExtension">
      <path value="HistoAI._TBD.Molpa.modifierExtension" />
      <short value="Extensions that cannot be ignored even if unrecognized" />
      <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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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. Applications processing a resource are required to check for modifier extensions.&#xA;&#xA;Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself)." />
      <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." />
      <requirements value="Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](extensibility.html#modifierExtension)." />
      <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() 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>
      <isModifier value="true" />
      <isModifierReason value="Modifier extensions are expected to modify the meaning or interpretation of the element that contains them" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="HistoAI._TBD.Molpa.molpaId">
      <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="HistoAI._TBD.Molpa.molpaId" />
      <label value="MOLPA ID" />
      <short value="Unique identifier of MolPa record" />
      <definition value="Unique identifier of MolPa record of this patient." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="HistoAI._TBD.Molpa.molpaId" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="Identifier" />
        <profile value="http://hl7.org/fhir/StructureDefinition/Identifier" />
      </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>
      <mapping>
        <identity value="v2" />
        <map value="CX / EI (occasionally, more often EI maps to a resource id or a URL)" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="II - The Identifier class is a little looser than the v3 type II because it allows URIs as well as registered OIDs or GUIDs.  Also maps to Role[classCode=IDENT]" />
      </mapping>
      <mapping>
        <identity value="servd" />
        <map value="Identifier" />
      </mapping>
    </element>
    <element id="HistoAI._TBD.Cfmpb">
      <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="HistoAI._TBD.Cfmpb" />
      <label value="CFMPB" />
      <short value="CFMPB record of this pationt" />
      <definition value="Core Facility Molecular Pathology &amp; Biobanking records of this patient.&#xD;&#xA;&#xD;&#xA;The CFMPB registers, evaluates, coordinates, assists and facilitates all kind of research involving human biospecimens (e.g. serum, blood, ctDNA, FFPE and FF biopsies, DNA &amp; RNA). All CFMPB activities are supported by our web application ‘the Application and Request Tool’ ART, an online tool for IRB registration &amp; review and LIMS &amp; database of NKI-AvL." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="HistoAI._TBD.Cfmpb" />
        <min value="0" />
        <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() 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="HistoAI._TBD.Cfmpb.id">
      <path value="HistoAI._TBD.Cfmpb.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="HistoAI._TBD.Cfmpb.extension">
      <path value="HistoAI._TBD.Cfmpb.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="HistoAI._TBD.Cfmpb.modifierExtension">
      <path value="HistoAI._TBD.Cfmpb.modifierExtension" />
      <short value="Extensions that cannot be ignored even if unrecognized" />
      <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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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. Applications processing a resource are required to check for modifier extensions.&#xA;&#xA;Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself)." />
      <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." />
      <requirements value="Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](extensibility.html#modifierExtension)." />
      <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() 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>
      <isModifier value="true" />
      <isModifierReason value="Modifier extensions are expected to modify the meaning or interpretation of the element that contains them" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="HistoAI._TBD.Cfmpb.cfmpbId">
      <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="HistoAI._TBD.Cfmpb.cfmpbId" />
      <label value="CFMPB ID" />
      <short value="Unique identifier of CFMPB record" />
      <definition value="Unique identifier of Core Facility Molecular Pathology &amp; Biobanking." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="HistoAI._TBD.Cfmpb.cfmpbId" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="Identifier" />
        <profile value="http://hl7.org/fhir/StructureDefinition/Identifier" />
      </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>
      <mapping>
        <identity value="v2" />
        <map value="CX / EI (occasionally, more often EI maps to a resource id or a URL)" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="II - The Identifier class is a little looser than the v3 type II because it allows URIs as well as registered OIDs or GUIDs.  Also maps to Role[classCode=IDENT]" />
      </mapping>
      <mapping>
        <identity value="servd" />
        <map value="Identifier" />
      </mapping>
    </element>
    <element id="HistoAI._TBD.Cfmpb.QustionAnswers">
      <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="HistoAI._TBD.Cfmpb.QustionAnswers" />
      <label value="Qustion Answers" />
      <short value="Base for elements defined inside a resource" />
      <definition value="Base definition for all elements that are defined inside a resource - but not those in a data type." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="HistoAI._TBD.Cfmpb.QustionAnswers" />
        <min value="0" />
        <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() 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="HistoAI._TBD.Cfmpb.QustionAnswers.id">
      <path value="HistoAI._TBD.Cfmpb.QustionAnswers.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="HistoAI._TBD.Cfmpb.QustionAnswers.extension">
      <path value="HistoAI._TBD.Cfmpb.QustionAnswers.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="HistoAI._TBD.Cfmpb.QustionAnswers.modifierExtension">
      <path value="HistoAI._TBD.Cfmpb.QustionAnswers.modifierExtension" />
      <short value="Extensions that cannot be ignored even if unrecognized" />
      <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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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. Applications processing a resource are required to check for modifier extensions.&#xA;&#xA;Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself)." />
      <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." />
      <requirements value="Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](extensibility.html#modifierExtension)." />
      <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() 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>
      <isModifier value="true" />
      <isModifierReason value="Modifier extensions are expected to modify the meaning or interpretation of the element that contains them" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="HistoAI._TBD.Cfmpb.QustionAnswers.question">
      <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="HistoAI._TBD.Cfmpb.QustionAnswers.question" />
      <label value="CFMPB Question" />
      <short value="The question asked by pathologists" />
      <definition value="The question asked by pathologists" />
      <comment value="TODO: find out the source of [SQRLClin_Test].[CFDB].[ARTCBioPortal].question" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="HistoAI._TBD.Cfmpb.QustionAnswers.question" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Reference" />
      </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.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))" />
        <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="HistoAI._TBD.Cfmpb.QustionAnswers.answer">
      <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="HistoAI._TBD.Cfmpb.QustionAnswers.answer" />
      <label value="CFMPB Answer" />
      <short value="The answer to the question asked by pathologists" />
      <definition value="The answer to the question asked by pathologists. One question may have multiple answers." />
      <comment value="TODO: find out the source of [SQRLClin_Test].[CFDB].[ARTCBioPortal].answer" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="HistoAI._TBD.Cfmpb.QustionAnswers.answer" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Reference" />
      </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.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))" />
        <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="HistoAI._TBD.BloodBiobank">
      <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="HistoAI._TBD.BloodBiobank" />
      <label value="Blood BioBank" />
      <short value="Blood biobank record of this patient" />
      <definition value="Blood biobank record of this patient" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="HistoAI._TBD.BloodBiobank" />
        <min value="0" />
        <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() 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="HistoAI._TBD.BloodBiobank.id">
      <path value="HistoAI._TBD.BloodBiobank.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="HistoAI._TBD.BloodBiobank.extension">
      <path value="HistoAI._TBD.BloodBiobank.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="HistoAI._TBD.BloodBiobank.modifierExtension">
      <path value="HistoAI._TBD.BloodBiobank.modifierExtension" />
      <short value="Extensions that cannot be ignored even if unrecognized" />
      <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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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. Applications processing a resource are required to check for modifier extensions.&#xA;&#xA;Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself)." />
      <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." />
      <requirements value="Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](extensibility.html#modifierExtension)." />
      <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() 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>
      <isModifier value="true" />
      <isModifierReason value="Modifier extensions are expected to modify the meaning or interpretation of the element that contains them" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="HistoAI._TBD.BloodBiobank.bloodbiobankId">
      <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="HistoAI._TBD.BloodBiobank.bloodbiobankId" />
      <label value="Blood Biobank ID" />
      <short value="Unique identifier of the blood biobank record" />
      <definition value="Unique identifier of the blood biobank record." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="HistoAI._TBD.BloodBiobank.bloodbiobankId" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="Identifier" />
        <profile value="http://hl7.org/fhir/StructureDefinition/Identifier" />
      </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>
      <mapping>
        <identity value="v2" />
        <map value="CX / EI (occasionally, more often EI maps to a resource id or a URL)" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="II - The Identifier class is a little looser than the v3 type II because it allows URIs as well as registered OIDs or GUIDs.  Also maps to Role[classCode=IDENT]" />
      </mapping>
      <mapping>
        <identity value="servd" />
        <map value="Identifier" />
      </mapping>
    </element>
    <element id="HistoAI._TBD.GCF">
      <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="HistoAI._TBD.GCF" />
      <label value="GCF" />
      <short value="Genomics Core facility" />
      <definition value="The Genomics Core Facility offers Next Generation Sequencing services using Illumina sequencing equipment (NovaSeq6000, HiSeq2500, NextSeq550 and MiSeq)." />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="HistoAI._TBD.GCF" />
        <min value="0" />
        <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() 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="HistoAI._TBD.GCF.id">
      <path value="HistoAI._TBD.GCF.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="HistoAI._TBD.GCF.extension">
      <path value="HistoAI._TBD.GCF.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="HistoAI._TBD.GCF.modifierExtension">
      <path value="HistoAI._TBD.GCF.modifierExtension" />
      <short value="Extensions that cannot be ignored even if unrecognized" />
      <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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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. Applications processing a resource are required to check for modifier extensions.&#xA;&#xA;Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself)." />
      <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." />
      <requirements value="Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](extensibility.html#modifierExtension)." />
      <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() 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>
      <isModifier value="true" />
      <isModifierReason value="Modifier extensions are expected to modify the meaning or interpretation of the element that contains them" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="HistoAI._TBD.GCF.gcfId">
      <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="HistoAI._TBD.GCF.gcfId" />
      <label value="GCF ID" />
      <short value="Unique identifier of GCF record of this patient" />
      <definition value="Unique identifier of GCF record of this patient." />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="HistoAI._TBD.GCF.gcfId" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="Identifier" />
        <profile value="http://hl7.org/fhir/StructureDefinition/Identifier" />
      </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>
      <mapping>
        <identity value="v2" />
        <map value="CX / EI (occasionally, more often EI maps to a resource id or a URL)" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="II - The Identifier class is a little looser than the v3 type II because it allows URIs as well as registered OIDs or GUIDs.  Also maps to Role[classCode=IDENT]" />
      </mapping>
      <mapping>
        <identity value="servd" />
        <map value="Identifier" />
      </mapping>
    </element>
  </snapshot>
  <differential>
    <element id="HistoAI">
      <path value="HistoAI" />
      <min value="0" />
      <max value="*" />
      <type>
        <code value="Element" />
      </type>
    </element>
    <element id="HistoAI.Patient">
      <path value="HistoAI.Patient" />
      <label value="Patient" />
      <short value="Individual patient in Histo-AI study" />
      <definition value="Individual patient in Histo-AI study." />
      <alias value="Individual" />
      <min value="0" />
      <max value="*" />
      <type>
        <code value="BackboneElement" />
      </type>
    </element>
    <element id="HistoAI.Patient.subjectId">
      <path value="HistoAI.Patient.subjectId" />
      <label value="Subject ID" />
      <short value="Anonymized id of this patient" />
      <definition value="Unique Study record number. This ID will be computer generated and randomly assigned to each subject/record.  Can if needed be linked to hospital patient number or notary number through data manager with key. Do NOT use institution specific ID." />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="Identifier" />
        <profile value="http://hl7.org/fhir/StructureDefinition/Identifier" />
      </type>
    </element>
    <element id="HistoAI.Patient.gender">
      <path value="HistoAI.Patient.gender" />
      <label value="Gender" />
      <short value="male | female | other | unknown" />
      <definition value="Administrative Gender - the gender that the patient is considered to have for administration and record keeping purposes." />
      <comment value="The gender might not match the biological sex as determined by genetics or the individual's preferred identification." />
      <requirements value="Needed for identification of the individual, in combination with (at least) name and birth date." />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="code" />
        <profile value="http://hl7.org/fhir/StructureDefinition/code" />
      </type>
    </element>
    <element id="HistoAI.Patient.ageAtPrimaryDiagnosis">
      <path value="HistoAI.Patient.ageAtPrimaryDiagnosis" />
      <label value="Age at Primary Diagnosis" />
      <short value="The age at first primary diagnosis for the individual" />
      <definition value="The age at first primary diagnosis for the individual." />
      <comment value="At least an estimated year should be provided as a guess if the real DOB is unknown  There is a standard extension &quot;patient-birthTime&quot; available that should be used where Time is required (such as in maternity/infant care systems)." />
      <requirements value="Age of the individual drives many clinical processes." />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Age" />
        <profile value="http://hl7.org/fhir/StructureDefinition/Age" />
      </type>
    </element>
    <element id="HistoAI.Patient.ageAtDeath">
      <path value="HistoAI.Patient.ageAtDeath" />
      <label value="Age at Death" />
      <short value="The age at death for the individual, if applicable" />
      <definition value="The age at death for the individual, if applicable." />
      <alias value="Death Date" />
      <alias value="Date of Death" />
      <alias value="Deseased Date" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Age" />
        <profile value="http://hl7.org/fhir/StructureDefinition/Age" />
      </type>
    </element>
    <element id="HistoAI.Patient.causeOfDeath">
      <path value="HistoAI.Patient.causeOfDeath" />
      <label value="Cause of Death" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="string" />
        <profile value="http://hl7.org/fhir/StructureDefinition/string" />
      </type>
    </element>
    <element id="HistoAI.Patient.hospitalName">
      <path value="HistoAI.Patient.hospitalName" />
      <label value="Hospital Name" />
      <definition value="Nameofhospital,cityintheNetherlands" />
      <min value="0" />
      <max value="*" />
      <type>
        <code value="string" />
        <profile value="http://hl7.org/fhir/StructureDefinition/string" />
      </type>
    </element>
    <element id="HistoAI.Patient.Pathology">
      <path value="HistoAI.Patient.Pathology" />
      <label value="Pathology" />
      <short value="Pathology report of this patient" />
      <definition value="Pathology report of this patient, primarily from Palga (nation wide Dutch pathology record system)" />
      <comment value="Indexed with T number" />
      <min value="0" />
      <max value="*" />
      <type>
        <code value="BackboneElement" />
      </type>
    </element>
    <element id="HistoAI.Patient.Pathology.palgaId">
      <path value="HistoAI.Patient.Pathology.palgaId" />
      <label value="Palga ID" />
      <short value="Palga identifier" />
      <definition value="Report name in Palga;&#xD;&#xA;Tissue number in Tumor Registry;&#xD;&#xA;An_number of Analysis in Lab Management System." />
      <comment value="Startswith 'T', 'C' or 'S', then two digits as the year, then dash `-`, followed by 5 digits. regex: /[TCS]\d{2}-\d{5}/&#xD;&#xA;For the latter 5 digits:&#xD;&#xA;Internal tissue number usually starts with 00;&#xD;&#xA;External tissue number usually starts with 2x." />
      <alias value="T number" />
      <alias value="Tissue number" />
      <alias value="Onderzoeker nummer" />
      <alias value="An_number" />
      <alias value="rapnaam" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="Identifier" />
        <profile value="http://hl7.org/fhir/StructureDefinition/Identifier" />
      </type>
      <patternIdentifier>
        <use value="usual" />
        <type>
          <coding>
            <system value="http://hl7.org/fhir/StructureDefinition/regex" />
            <code value="[TCS]\d{2}-\d{5}" />
          </coding>
        </type>
      </patternIdentifier>
      <example>
        <label value="Tissue number" />
        <valueIdentifier>
          <use value="usual" />
          <value value="T20-00123" />
        </valueIdentifier>
      </example>
    </element>
    <element id="HistoAI.Patient.Pathology.externalPalgaId">
      <path value="HistoAI.Patient.Pathology.externalPalgaId" />
      <label value="External Palga ID" />
      <short value="External hospital tissue number" />
      <definition value="Exteral hospital - Tissue number in Nation Wide Dutch Pathology Record system" />
      <comment value="currently not in the DWH. ask Wouter or Dennis" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Identifier" />
        <profile value="http://hl7.org/fhir/StructureDefinition/Identifier" />
      </type>
    </element>
    <element id="HistoAI.Patient.Pathology.sampleAcquisitionClass">
      <path value="HistoAI.Patient.Pathology.sampleAcquisitionClass" />
      <label value="Tissue sample acquisition class" />
      <short value="Tissue sample acquisition class" />
      <definition value="Tissue sample acquisition class: (palga code)&#xD;&#xA;biopsy = hollow needle and take small part of tissue;&#xD;&#xA;exision = part of an organ;&#xD;&#xA;resection  = whole organ removal" />
      <comment value="05.01 Sample_Class in Data life cycle.&#xD;&#xA;data source: [LMS].[TissueAcquisiton]" />
      <alias value="SampleClass" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="code" />
        <profile value="http://hl7.org/fhir/StructureDefinition/code" />
      </type>
    </element>
    <element id="HistoAI.Patient.Pathology.sampleRemovalType">
      <path value="HistoAI.Patient.Pathology.sampleRemovalType" />
      <label value="Sample Removal Type" />
      <short value="Type of tissue sample removal" />
      <definition value="Type of tissue sample removal: primary / recurrence / metastasis, directly related with tissure number" />
      <comment value="combination of: &#xD;&#xA;05.02 Sample_registration Sample_site_Prim&#xD;&#xA;05.03 Sample_registration Sample_site_Met" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="code" />
        <profile value="http://hl7.org/fhir/StructureDefinition/code" />
      </type>
    </element>
    <element id="HistoAI.Patient.Pathology.sampleRemovalIndicator">
      <path value="HistoAI.Patient.Pathology.sampleRemovalIndicator" />
      <label value="Sample Removal Timing" />
      <short value="Indicate tissure sample removal before or after treatment" />
      <definition value="Indicate tissure sample removal timing: before or after treatment." />
      <comment value="05.04 Sample_removal_ind Timeofbiopsytaken(pre-oraftertreatment) in Data life cycle" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="code" />
        <profile value="http://hl7.org/fhir/StructureDefinition/code" />
      </type>
    </element>
    <element id="HistoAI.Patient.Pathology.sampleRemovalDate">
      <path value="HistoAI.Patient.Pathology.sampleRemovalDate" />
      <label value="Sample Removal Date" />
      <short value="Date of the tissue sample removal" />
      <definition value="Date of the tissue sample removal" />
      <alias value="monsterdatum" />
      <alias value="DissectionDate" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="dateTime" />
        <profile value="http://hl7.org/fhir/StructureDefinition/dateTime" />
      </type>
    </element>
    <element id="HistoAI.Patient.Pathology.ffpeCassette">
      <path value="HistoAI.Patient.Pathology.ffpeCassette" />
      <label value="FFPE Cassette" />
      <short value="FFPE Cassette" />
      <definition value="FFPE (Formalin-Fixed Paraffin-Embedded) Cassette available for this tissue" />
      <comment value="Palga record, should match with specimen containers in LMS" />
      <min value="0" />
      <max value="*" />
      <type>
        <code value="code" />
        <profile value="http://hl7.org/fhir/StructureDefinition/code" />
      </type>
    </element>
    <element id="HistoAI.Patient.Pathology.Container">
      <path value="HistoAI.Patient.Pathology.Container" />
      <label value="Container" />
      <short value="Container of tissue specimen of this pathology analysis" />
      <definition value="Container of tissue specimen of this pathology analysis." />
      <alias value="Block" />
      <alias value="Specimen" />
      <min value="0" />
      <max value="*" />
      <type>
        <code value="BackboneElement" />
      </type>
    </element>
    <element id="HistoAI.Patient.Pathology.Container.blockNumber">
      <path value="HistoAI.Patient.Pathology.Container.blockNumber" />
      <label value="Sample Class" />
      <short value="Identifier of the container block" />
      <definition value="Identifier of the container block. Combination of sending number + cassette number." />
      <comment value="[LMS].[Specimen].[Number]+[LMS].[Container].[Number]&#xD;&#xA;Depending on enumerateType , can be alpha+number or roman+number: A3 or IV4" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Identifier" />
        <profile value="http://hl7.org/fhir/StructureDefinition/Identifier" />
      </type>
    </element>
    <element id="HistoAI.Patient.Pathology.Container.SampleSlide">
      <path value="HistoAI.Patient.Pathology.Container.SampleSlide" />
      <label value="Sample Slide" />
      <short value="The sample slide being digitized" />
      <definition value="The sample slide being digitized." />
      <min value="0" />
      <max value="*" />
      <type>
        <code value="BackboneElement" />
      </type>
    </element>
    <element id="HistoAI.Patient.Pathology.Container.SampleSlide.staining">
      <path value="HistoAI.Patient.Pathology.Container.SampleSlide.staining" />
      <label value="Staining" />
      <short value="The staining type of the sample slide" />
      <definition value="The staining type of the sample slide: HE, CD3, CD8, PDL1, etc." />
      <comment value="see LMS.Staing for the code" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="code" />
        <profile value="http://hl7.org/fhir/StructureDefinition/code" />
      </type>
    </element>
    <element id="HistoAI.Patient.Pathology.Container.SampleSlide.ScannedSlide">
      <path value="HistoAI.Patient.Pathology.Container.SampleSlide.ScannedSlide" />
      <label value="Scanned Slide" />
      <short value="Digitized slide of the tisse" />
      <definition value="Digitized slide of the tisse with certain staining. &#xD;&#xA;Metadata to link with the WSI in image storage." />
      <comment value="This can be in another database specifically for AI research" />
      <min value="0" />
      <max value="*" />
      <type>
        <code value="BackboneElement" />
      </type>
    </element>
    <element id="HistoAI.Patient.Pathology.Container.SampleSlide.ScannedSlide.imageId">
      <path value="HistoAI.Patient.Pathology.Container.SampleSlide.ScannedSlide.imageId" />
      <label value="Image ID" />
      <short value="Global identifier of the WSI" />
      <definition value="Global identifier of the Whole Slide Image" />
      <comment value="Generated UUID for each image." />
      <alias value="WSI ID" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="uuid" />
        <profile value="http://hl7.org/fhir/StructureDefinition/uuid" />
      </type>
    </element>
    <element id="HistoAI.Patient.Pathology.Container.SampleSlide.ScannedSlide.scannerModel">
      <path value="HistoAI.Patient.Pathology.Container.SampleSlide.ScannedSlide.scannerModel" />
      <label value="Scanner Model" />
      <short value="Model of the scanner" />
      <definition value="Model of the scanner: 3DHistech, Aperio, Philips, etc." />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="string" />
        <profile value="http://hl7.org/fhir/StructureDefinition/string" />
      </type>
    </element>
    <element id="HistoAI.Patient.Pathology.Container.SampleSlide.ScannedSlide.fileLocation">
      <path value="HistoAI.Patient.Pathology.Container.SampleSlide.ScannedSlide.fileLocation" />
      <label value="File Location" />
      <short value="Description of the file location in Image Storage" />
      <definition value="Description of the file location Image Storage. Which image storge? Where is it physically located?" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="string" />
        <profile value="http://hl7.org/fhir/StructureDefinition/string" />
      </type>
    </element>
    <element id="HistoAI.Patient.Pathology.Container.SampleSlide.ScannedSlide.fileName">
      <path value="HistoAI.Patient.Pathology.Container.SampleSlide.ScannedSlide.fileName" />
      <label value="File Name" />
      <short value="The filename of the digitized slide" />
      <definition value="The filename of the digitized slide" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="string" />
        <profile value="http://hl7.org/fhir/StructureDefinition/string" />
      </type>
    </element>
    <element id="HistoAI.Patient.Pathology.Container.SampleSlide.ScannedSlide.fileFormat">
      <path value="HistoAI.Patient.Pathology.Container.SampleSlide.ScannedSlide.fileFormat" />
      <label value="File Format" />
      <short value="Format of the image file" />
      <definition value="Format of the image file: svs, tiff, etc." />
      <alias value="File Extension" />
      <alias value="File Type" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Reference" />
      </type>
    </element>
    <element id="HistoAI.Patient.Pathology.Container.SampleSlide.ScannedSlide.fileSize">
      <path value="HistoAI.Patient.Pathology.Container.SampleSlide.ScannedSlide.fileSize" />
      <label value="File Size" />
      <short value="File size in byte" />
      <definition value="File size in byte" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="integer" />
        <profile value="http://hl7.org/fhir/StructureDefinition/integer" />
      </type>
    </element>
    <element id="HistoAI.Patient.Pathology.Container.SampleSlide.ScannedSlide.symbolicLink">
      <path value="HistoAI.Patient.Pathology.Container.SampleSlide.ScannedSlide.symbolicLink" />
      <label value="Symbolic Link" />
      <short value="Link(s) to the file storage of this WSI" />
      <definition value="Link(s) to the file storage of this Whole Slide Image" />
      <min value="0" />
      <max value="*" />
      <type>
        <code value="uri" />
        <profile value="http://hl7.org/fhir/StructureDefinition/uri" />
      </type>
    </element>
    <element id="HistoAI.Patient.Pathology.ImmunoHistoChemistry">
      <path value="HistoAI.Patient.Pathology.ImmunoHistoChemistry" />
      <label value="ImmunoHistoChemistry" />
      <short value="IHC bio-markers" />
      <definition value="The laboratory method that uses antibodies to check for certain antigens (bio-markers) in a sample of tissue." />
      <min value="0" />
      <max value="*" />
      <type>
        <code value="BackboneElement" />
      </type>
    </element>
    <element id="HistoAI.Patient.Pathology.ImmunoHistoChemistry.markerName">
      <path value="HistoAI.Patient.Pathology.ImmunoHistoChemistry.markerName" />
      <label value="Marker Name" />
      <short value="Name of the biomarker" />
      <definition value="Name of the biomarker (antigens)" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="code" />
        <profile value="http://hl7.org/fhir/StructureDefinition/code" />
      </type>
    </element>
    <element id="HistoAI.Patient.Pathology.ImmunoHistoChemistry.markerPercentage">
      <path value="HistoAI.Patient.Pathology.ImmunoHistoChemistry.markerPercentage" />
      <label value="Marker Percentage" />
      <short value="Percentage of positive tumor cells for this marker" />
      <definition value="Percentage of positive tumor cells for this marker immunohistochemistry." />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Ratio" />
        <profile value="http://hl7.org/fhir/StructureDefinition/Ratio" />
      </type>
    </element>
    <element id="HistoAI.Patient.Pathology.tumorGrade">
      <path value="HistoAI.Patient.Pathology.tumorGrade" />
      <label value="Tumor Grade" />
      <short value="Grade of the tumour" />
      <definition value="Grade of the tumour asassigned by the reporting tumour grading system in Palga." />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="code" />
        <profile value="http://hl7.org/fhir/StructureDefinition/code" />
      </type>
    </element>
    <element id="HistoAI.Patient.Pathology.tumorHistologicalType">
      <path value="HistoAI.Patient.Pathology.tumorHistologicalType" />
      <label value="Tumor Histological Type" />
      <code>
        <system value="http://terminology.hl7.org/CodeSystem/icd-o-3" />
      </code>
      <short value="The code to represent the histology (morphology) of neoplasms" />
      <definition value="The code to represent the histology (morphology) of neoplasms that is usually obtained from a pathology report, according to the International Classification of Diseases for Oncology, 3rdEdition(WHO ICD-O-3). RefertotheICD-O" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="code" />
        <profile value="http://hl7.org/fhir/StructureDefinition/code" />
      </type>
    </element>
    <element id="HistoAI.Patient.Pathology.PathologyReport">
      <path value="HistoAI.Patient.Pathology.PathologyReport" />
      <label value="Pathology Report" />
      <short value="Pathology report in Palga" />
      <definition value="Pathology report (free text) in Palga" />
      <comment value="Aardmateriaal, Klinischegegevens, Immuunhistochemie, Macroscopie, Microscropie, Conclusie" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="BackboneElement" />
      </type>
    </element>
    <element id="HistoAI.Patient.Radiology">
      <path value="HistoAI.Patient.Radiology" />
      <label value="Radiology" />
      <short value="Radiology report of this patient" />
      <definition value="Radiology report of this patient, primarily from PACS (Picture archiving and communication system)" />
      <min value="0" />
      <max value="*" />
      <type>
        <code value="BackboneElement" />
      </type>
    </element>
    <element id="HistoAI.Patient.Genomics">
      <path value="HistoAI.Patient.Genomics" />
      <label value="Genomics" />
      <short value="Genomics report of this patient" />
      <definition value="Genomics report of this patient, primarily from MolPa (molecular pathology database) and GCF (Genomics core facility)" />
      <min value="0" />
      <max value="*" />
      <type>
        <code value="BackboneElement" />
      </type>
    </element>
    <element id="HistoAI.Patient.Tumor">
      <path value="HistoAI.Patient.Tumor" />
      <label value="Tumor" />
      <short value="Tumor records of this patient" />
      <definition value="Tumor records of this patient in Tumor Registry. Only primary tumor." />
      <comment value="Indexed with (patientId, tumorSys)" />
      <alias value="Tumour" />
      <alias value="Cancer" />
      <alias value="Disease" />
      <min value="0" />
      <max value="*" />
      <type>
        <code value="BackboneElement" />
      </type>
    </element>
    <element id="HistoAI.Patient.Tumor.tumorId">
      <path value="HistoAI.Patient.Tumor.tumorId" />
      <label value="Tumor ID" />
      <short value="Global unique tumor identifier" />
      <definition value="Uniquely generated selected primary cancer tumor number per patient at Scientific administration of the Netherlands Cancer Institute." />
      <comment value="Presented in the code book &quot;01.09 Tumour_ID&quot;. Not in tumor registry. &#xD;&#xA;This UUID will be generated during patient anonymisation process." />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="uuid" />
        <profile value="http://hl7.org/fhir/StructureDefinition/uuid" />
      </type>
    </element>
    <element id="HistoAI.Patient.Tumor.tumorSys">
      <path value="HistoAI.Patient.Tumor.tumorSys" />
      <label value="Tumor sys" />
      <short value="Tumorsys code in Tumor Registry" />
      <definition value="System variable for linking with all tumor-related tables in tumor registry.&#xD;&#xA;First primary tumor: Tumorsys=1&#xD;&#xA;Second primary tumor: Tumorsys=2" />
      <comment value="Tumor_sys is part of the PrimaryKey (together with with PatientId) for all Tumor Registry tables in dataware house. TRTU_Tumorsys_code" />
      <alias value="TRTU_Tumorsys_code" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="integer" />
        <profile value="http://hl7.org/fhir/StructureDefinition/integer" />
      </type>
    </element>
    <element id="HistoAI.Patient.Tumor.diagnosisDate">
      <path value="HistoAI.Patient.Tumor.diagnosisDate" />
      <label value="Diagnosis Date" />
      <short value="Date of primary diagnosis of the tumor" />
      <definition value="Date of primary diagnosis of the tumor." />
      <comment value="If patient has had multiple cancer diagnoses, should be able to select the data only for the diagnosis thought to be associated with the metastatic disease." />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="dateTime" />
        <profile value="http://hl7.org/fhir/StructureDefinition/dateTime" />
      </type>
    </element>
    <element id="HistoAI.Patient.Tumor.diagnosisCode">
      <path value="HistoAI.Patient.Tumor.diagnosisCode" />
      <label value="DiagnosisCode" />
      <code>
        <system value="http://hl7.org/fhir/sid/icd-10" />
      </code>
      <short value="Primary cancer type code ICD-10" />
      <definition value="The code to represent the cancer type using the WHO ICD-10 code classification." />
      <comment value="The code to represent the cancer type using the WHO ICD-10 code classification.&#xD;&#xA;(https://icd.who.int/browse10/2019/en)" />
      <alias value="Cancer Type" />
      <alias value="Primary Type" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="code" />
        <profile value="http://hl7.org/fhir/sid/icd-10" />
      </type>
    </element>
    <element id="HistoAI.Patient.Tumor.diagnosisDescription">
      <path value="HistoAI.Patient.Tumor.diagnosisDescription" />
      <label value="Primary Site" />
      <short value="Diagnosis Description" />
      <definition value="The text term used to describe the primary site of disease, as categorized by the WorldHealthOrganization's (WHO) International Classification of Diseasesfor Oncology (ICD-O). This categorization groups cases into general categories." />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="code" />
        <profile value="http://hl7.org/fhir/StructureDefinition/code" />
      </type>
    </element>
    <element id="HistoAI.Patient.Tumor.ClinicalStage">
      <path value="HistoAI.Patient.Tumor.ClinicalStage" />
      <label value="Clinical Stage" />
      <code>
        <system value="http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-tnm-clinical-stage-group" />
      </code>
      <short value="AJCC clinical stage group" />
      <definition value="AJCC clinical stage group, https://cancerstaging.org." />
      <alias value="TNM clinical stage" />
      <min value="0" />
      <max value="*" />
      <type>
        <code value="BackboneElement" />
      </type>
      <mapping>
        <identity value="TNMClinicalStageGroup" />
        <map value="http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-tnm-clinical-stage-group" />
      </mapping>
    </element>
    <element id="HistoAI.Patient.Tumor.ClinicalStage.cT">
      <path value="HistoAI.Patient.Tumor.ClinicalStage.cT" />
      <label value="cT" />
      <code>
        <system value="http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-tnm-clinical-primary-tumor-category" />
      </code>
      <short value="TNM Clinical Primary Tumor Category" />
      <definition value="TNM Clinical Primary Tumor Category" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="code" />
        <profile value="http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-tnm-clinical-primary-tumor-category" />
      </type>
    </element>
    <element id="HistoAI.Patient.Tumor.ClinicalStage.cN">
      <path value="HistoAI.Patient.Tumor.ClinicalStage.cN" />
      <label value="cN" />
      <code>
        <system value="http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-tnm-clinical-regional-nodes-category" />
      </code>
      <short value="TNM Clinical Regional Nodes Category" />
      <definition value="TNM Clinical Regional Nodes Category" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="code" />
        <profile value="http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-tnm-clinical-regional-nodes-category" />
      </type>
    </element>
    <element id="HistoAI.Patient.Tumor.ClinicalStage.cM">
      <path value="HistoAI.Patient.Tumor.ClinicalStage.cM" />
      <label value="cM" />
      <code>
        <system value="http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-tnm-clinical-distant-metastases-category" />
      </code>
      <short value="TNM Clinical Distant Metastases Category" />
      <definition value="TNM Clinical Distant Metastases Category" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="code" />
        <profile value="http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-tnm-clinical-distant-metastases-category" />
      </type>
    </element>
    <element id="HistoAI.Patient.Tumor.PathologicalStage">
      <path value="HistoAI.Patient.Tumor.PathologicalStage" />
      <label value="Pathological Stage" />
      <code>
        <system value="http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-tnm-pathological-stage-group" />
      </code>
      <short value="AJCC pathological stage group" />
      <definition value="AJCC pathological stage group, https://cancerstaging.org." />
      <min value="0" />
      <max value="*" />
      <type>
        <code value="BackboneElement" />
      </type>
      <mapping>
        <identity value="TNMPathologicalStageGroup" />
        <map value="http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-tnm-pathological-stage-group" />
      </mapping>
    </element>
    <element id="HistoAI.Patient.Tumor.PathologicalStage.pT">
      <path value="HistoAI.Patient.Tumor.PathologicalStage.pT" />
      <label value="pT" />
      <code>
        <system value="http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-tnm-pathological-distant-metastases-category" />
      </code>
      <short value="TNM Pathological Primary Tumor Category" />
      <definition value="TNM Pathological Primary Tumor Category" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="code" />
        <profile value="http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-tnm-pathological-distant-metastases-category" />
      </type>
    </element>
    <element id="HistoAI.Patient.Tumor.PathologicalStage.pN">
      <path value="HistoAI.Patient.Tumor.PathologicalStage.pN" />
      <label value="pN" />
      <code>
        <system value="http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-tnm-pathological-distant-metastases-category" />
      </code>
      <short value="TNM Pathological Regional Nodes Category" />
      <definition value="TNM Pathological Regional Nodes Category" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="code" />
        <profile value="http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-tnm-pathological-distant-metastases-category" />
      </type>
    </element>
    <element id="HistoAI.Patient.Tumor.PathologicalStage.pM">
      <path value="HistoAI.Patient.Tumor.PathologicalStage.pM" />
      <label value="pM" />
      <code>
        <system value="http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-tnm-pathological-distant-metastases-category" />
      </code>
      <short value="TNM Pathological Distant Metastases Category" />
      <definition value="TNM Pathological Distant Metastases Category" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="code" />
        <profile value="http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-tnm-pathological-distant-metastases-category" />
      </type>
    </element>
    <element id="HistoAI.Patient.Tumor.Localization">
      <path value="HistoAI.Patient.Tumor.Localization" />
      <label value="Localization" />
      <short value="Metastasis of this tumor" />
      <definition value="Diagnosis of distant metastatic of this cancer of this patient." />
      <comment value="Derived from data in Tumorregistratie." />
      <alias value="Localisatie" />
      <alias value="Distant metastasis" />
      <min value="0" />
      <max value="*" />
      <type>
        <code value="BackboneElement" />
      </type>
    </element>
    <element id="HistoAI.Patient.Tumor.Localization.localizationDate">
      <path value="HistoAI.Patient.Tumor.Localization.localizationDate" />
      <label value="Localization Date" />
      <short value="Date of diagnosis of this localization" />
      <definition value="Date of diagnosis of this localization." />
      <alias value="Date_First_metastasis" />
      <alias value="Date_Local_ipsilat_recurrence" />
      <alias value="Date_Contralateral" />
      <alias value="Date_Regional_recurrence" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="dateTime" />
        <profile value="http://hl7.org/fhir/StructureDefinition/dateTime" />
      </type>
    </element>
    <element id="HistoAI.Patient.Tumor.Localization.metastasisSiteCode">
      <path value="HistoAI.Patient.Tumor.Localization.metastasisSiteCode" />
      <label value="Metastasis Site Code" />
      <code>
        <system value="http://hl7.org/fhir/sid/icd-10" />
      </code>
      <short value="ICD10 code of location of the metastasis of this tumor" />
      <definition value="ICD10 code of location/site of the metastasis of this tumor of this patient." />
      <comment value="04.09 Follow_up Date_First_metastasis&#xD;&#xA;not always in [TRLK_Lokalisatie_code], should lookup TRTU to refer to primary tumor&#xD;&#xA;ref: DLC Date_Progessive_Disease_after_treatment_metast1" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="code" />
        <profile value="http://hl7.org/fhir/sid/icd-10" />
      </type>
    </element>
    <element id="HistoAI.Patient.Tumor.Localization.metastasisSiteDescription">
      <path value="HistoAI.Patient.Tumor.Localization.metastasisSiteDescription" />
      <label value="Metastasis Site Description" />
      <short value="Location of the metastasis of this tumor" />
      <definition value="Location/site of the metastasis of this tumor of this patient." />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="string" />
        <profile value="http://hl7.org/fhir/StructureDefinition/string" />
      </type>
    </element>
    <element id="HistoAI.Patient.Tumor.Localization.regionalRecurrence">
      <path value="HistoAI.Patient.Tumor.Localization.regionalRecurrence" />
      <label value="Regional Recurrence" />
      <short value="Is this regional recurrence?" />
      <definition value="A regional recurrence denotes tumor involving the ipsilateral regional lymph nodes, usually ipsilateral axillary or supraclavicular, and less commonly infraclavicular and/or internal mammary." />
      <alias value="Eventregionalrecurrence" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="boolean" />
        <profile value="http://hl7.org/fhir/StructureDefinition/boolean" />
      </type>
    </element>
    <element id="HistoAI.Patient.Tumor.Localization.contralateralRecurrence">
      <path value="HistoAI.Patient.Tumor.Localization.contralateralRecurrence" />
      <label value="Contralateral Recurrence" />
      <short value="Is this metastasis contralateral?" />
      <definition value="Is this metastasis contralateral? Event of contralateral breast cancer (as second primary)" />
      <alias value="Contralateral_recurrence" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="boolean" />
        <profile value="http://hl7.org/fhir/StructureDefinition/boolean" />
      </type>
    </element>
    <element id="HistoAI.Patient.Tumor.Localization.localIpsilateralRecurrence">
      <path value="HistoAI.Patient.Tumor.Localization.localIpsilateralRecurrence" />
      <label value="Local Ipsilateral Recurrence" />
      <short value="Is this local and ipsilateral?" />
      <definition value="Event of local ipsilateral recurrence; Loco-regional Recurrence is defined as a recurrence in the ipsilateral chest wall or  mastectomy scar, or ipsilateral supraclavicular, infraclavicular, axillary or internal mammary lymph nodes. LRR must occur after primary diagnosis period and before first distant metastatic diagnosis to be recorded." />
      <alias value="Eventlocalipsilatrecurrence" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="boolean" />
        <profile value="http://hl7.org/fhir/StructureDefinition/boolean" />
      </type>
    </element>
    <element id="HistoAI.Patient.Tumor.Localization.oligoMetastasis">
      <path value="HistoAI.Patient.Tumor.Localization.oligoMetastasis" />
      <label value="Oligo Metastasis" />
      <short value="Is this oligo metastasis?" />
      <definition value="Oligo_metastasis (max 3): A type of metastasis in which cancer cells from the original (primary) tumor travel through the body and form a small number of new tumors (metastatic tumors) in one or two other parts of the body." />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="boolean" />
        <profile value="http://hl7.org/fhir/StructureDefinition/boolean" />
      </type>
    </element>
    <element id="HistoAI.Patient.Tumor.Treatment">
      <path value="HistoAI.Patient.Tumor.Treatment" />
      <label value="Therapy" />
      <short value="Therapy record of this tumor" />
      <definition value="Therapy record of this tumor in tumor registry, TRTH" />
      <alias value="Therapie" />
      <alias value="Therapy" />
      <min value="0" />
      <max value="*" />
      <type>
        <code value="BackboneElement" />
      </type>
    </element>
    <element id="HistoAI.Patient.Tumor.Treatment.treatmentType">
      <path value="HistoAI.Patient.Tumor.Treatment.treatmentType" />
      <label value="Treatment Type" />
      <short value="Type of treatment" />
      <definition value="Treatment code (single character):&#xD;&#xA;0 - no treatment&#xD;&#xA;1 - surgery&#xD;&#xA;2 - external radiotherapy&#xD;&#xA;3 - internal radiotherapy or radio-isotopes&#xD;&#xA;4 - chemotherapy&#xD;&#xA;5 - hormonal therapy&#xD;&#xA;6 - immunotherapy&#xD;&#xA;7 - rehabilitation therapy&#xD;&#xA;8 - other therapy&#xD;&#xA;9 - explorative surgery&#xD;&#xA;X - unknown (systemic) treatment" />
      <comment value="Used in TR::TRTU_Behandeling_totaal_code, for example, &quot;1216&quot; means: surgery-&gt;external radiotherapy-&gt;surgery-&gt;immunotherapy.&#xD;&#xA;Also used in TR::TRTH_Behandel_code." />
      <alias value="Treatment code" />
      <alias value="Behandel code" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="code" />
        <profile value="http://hl7.org/fhir/StructureDefinition/code" />
      </type>
    </element>
    <element id="HistoAI.Patient.Tumor.Treatment.startDate">
      <path value="HistoAI.Patient.Tumor.Treatment.startDate" />
      <label value="Start Date" />
      <short value="Start date of the treatment" />
      <definition value="Start date of the treatment or therapy." />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="dateTime" />
        <profile value="http://hl7.org/fhir/StructureDefinition/dateTime" />
      </type>
    </element>
    <element id="HistoAI.Patient.Tumor.Treatment.stopDate">
      <path value="HistoAI.Patient.Tumor.Treatment.stopDate" />
      <label value="Stop Date" />
      <short value="Stop date of the treatment" />
      <definition value="Stop date of the treatment or therapy." />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="dateTime" />
        <profile value="http://hl7.org/fhir/StructureDefinition/dateTime" />
      </type>
    </element>
    <element id="HistoAI.Patient.Tumor.Treatment.treatmentIntent">
      <path value="HistoAI.Patient.Tumor.Treatment.treatmentIntent" />
      <label value="Treatment Intent" />
      <short value="The purpose of this treatment" />
      <definition value="The purpose of this treatment." />
      <comment value="TODO: find source in DWH" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Narrative" />
        <profile value="http://hl7.org/fhir/StructureDefinition/Narrative" />
      </type>
      <mapping>
        <identity value="TreatmentIntent" />
        <map value="http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-treatment-intent" />
      </mapping>
    </element>
    <element id="HistoAI.Patient.Tumor.Treatment.treatmentSetting">
      <path value="HistoAI.Patient.Tumor.Treatment.treatmentSetting" />
      <short value="Treatment's purpose in relation to the primary treatment" />
      <definition value="Indicate the treatment setting, which describes the treatment's purpose in relation to the primary treatment. (Reference: CDISC[NCItcode:C124308])" />
      <min value="0" />
      <max value="*" />
      <type>
        <code value="code" />
        <profile value="http://hl7.org/fhir/StructureDefinition/code" />
      </type>
    </element>
    <element id="HistoAI.Patient.Tumor.Treatment.terminationReason">
      <path value="HistoAI.Patient.Tumor.Treatment.terminationReason" />
      <label value="Termination Reason" />
      <short value="Reason of termination with this treatment" />
      <definition value="Reason of termination with this treatment, as indicatior of desease progression." />
      <comment value="DWH - find out discription of reason of each treatment/therapy stopped at the end date of treatment.&#xD;&#xA;In the future there will be an extra feature added to Hix in which RECIST measurements (radiological assessment of CT scans)" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Narrative" />
        <profile value="http://hl7.org/fhir/StructureDefinition/Narrative" />
      </type>
      <mapping>
        <identity value="TreatmentTerminationReason" />
        <map value="http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-treatment-termination-reason" />
      </mapping>
    </element>
    <element id="HistoAI.Patient.Tumor.Treatment.treatmentInstituteIndicator">
      <path value="HistoAI.Patient.Tumor.Treatment.treatmentInstituteIndicator" />
      <label value="Treatment Institute Indicator" />
      <short value="Whether this treatment is primary or secondary" />
      <definition value="Whether this treatment is primary (treated at AvL) or secondary (patient treated at somewhere else)." />
      <comment value="DLC::09.09 Treatment Treatment_PS_ind" />
      <alias value="Treatment_PS_ind" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="boolean" />
        <profile value="http://hl7.org/fhir/StructureDefinition/boolean" />
      </type>
    </element>
    <element id="HistoAI.Patient.Tumor.Treatment.Medication">
      <path value="HistoAI.Patient.Tumor.Treatment.Medication" />
      <label value="Medication" />
      <short value="Medication statement" />
      <definition value="Medication statement" />
      <min value="0" />
      <max value="*" />
      <type>
        <code value="BackboneElement" />
      </type>
    </element>
    <element id="HistoAI.Patient.Tumor.Treatment.Medication.medicine">
      <path value="HistoAI.Patient.Tumor.Treatment.Medication.medicine" />
      <label value="Medicine" />
      <code>
        <system value="http://hl7.org/fhir/uv/ips/ValueSet/whoatc-uv-ips" />
      </code>
      <short value="Medicine(s) used in this treatment" />
      <definition value="Medicine(s) used in this treatment.&#xD;&#xA;World Health Organization Anatomical Therapeutic Chemical (ATC) classification system. &#xD;&#xA;Note: The currently implemented code system and the value set expansion contain only a set of example ATC codes, not the complete code system content." />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="code" />
        <profile value="http://hl7.org/fhir/uv/ips/ValueSet/whoatc-uv-ips" />
      </type>
    </element>
    <element id="HistoAI.Patient.Tumor.Treatment.Medication.numberCourse">
      <path value="HistoAI.Patient.Tumor.Treatment.Medication.numberCourse" />
      <label value="Number Course" />
      <short value="Number of courses of medication given" />
      <definition value="Number of courses of medication given." />
      <comment value="DWH::[TR].[TRTH_Aantal_kuren]" />
      <alias value="Aantal kuren" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="integer" />
        <profile value="http://hl7.org/fhir/StructureDefinition/integer" />
      </type>
    </element>
    <element id="HistoAI.Patient.Tumor.Treatment.Medication.dosage">
      <path value="HistoAI.Patient.Tumor.Treatment.Medication.dosage" />
      <label value="Dosage" />
      <short value="General dosage instruction information" />
      <definition value="General dosage instruction information, including site, route, method etc." />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Dosage" />
        <profile value="http://hl7.org/fhir/StructureDefinition/Dosage" />
      </type>
      <mapping>
        <identity value="Dosage" />
        <map value="http://hl7.org/fhir/StructureDefinition/Dosage" />
      </mapping>
    </element>
    <element id="HistoAI.Patient.Tumor.Treatment.Medication.medicalOutcome">
      <path value="HistoAI.Patient.Tumor.Treatment.Medication.medicalOutcome" />
      <label value="Medical Outcome" />
      <short value="Medical treatment outcome" />
      <definition value="Medical treatment (chemo or immuno therapy) outcome." />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Narrative" />
        <profile value="http://hl7.org/fhir/StructureDefinition/Narrative" />
      </type>
    </element>
    <element id="HistoAI.Patient.Tumor.Treatment.Surgery">
      <path value="HistoAI.Patient.Tumor.Treatment.Surgery" />
      <label value="Surgery" />
      <short value="Surgical treatment" />
      <definition value="Surgical treatment" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="BackboneElement" />
      </type>
    </element>
    <element id="HistoAI.Patient.Tumor.Treatment.Surgery.procedure">
      <path value="HistoAI.Patient.Tumor.Treatment.Surgery.procedure" />
      <label value="Procedure" />
      <short value="Surgical procedure code" />
      <definition value="Surgical procedure code" />
      <comment value="TODO: find source of procedure code&#xD;&#xA;TR.TRTH_Therapie_code?" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="code" />
        <profile value="http://hl7.org/fhir/StructureDefinition/code" />
      </type>
    </element>
    <element id="HistoAI.Patient.Tumor.Treatment.Surgery.bodySite">
      <path value="HistoAI.Patient.Tumor.Treatment.Surgery.bodySite" />
      <label value="Body Site" />
      <short value="Surgery body site" />
      <definition value="Surgery body site ICD-10 code" />
      <comment value="related to Tumor ID (patient and tumorsys), should be the same as primarySite of the tumor (local and regional) or metastasisSite (distant metastasis)" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="code" />
        <profile value="http://hl7.org/fhir/sid/icd-10" />
      </type>
    </element>
    <element id="HistoAI.Patient.Tumor.Treatment.Surgery.surgeryOutcome">
      <path value="HistoAI.Patient.Tumor.Treatment.Surgery.surgeryOutcome" />
      <label value="Surgery Outcome" />
      <short value="Response to surgery outcome" />
      <definition value="Response to surgery outcome" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Narrative" />
        <profile value="http://hl7.org/fhir/StructureDefinition/Narrative" />
      </type>
    </element>
    <element id="HistoAI.Patient.Tumor.Treatment.Radiotherapy">
      <path value="HistoAI.Patient.Tumor.Treatment.Radiotherapy" />
      <label value="Radiotherapy" />
      <code>
        <system value="http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-radiotherapy-course-summary" />
      </code>
      <short value="Radiotherapy course summary" />
      <definition value="Radiotherapy course summary" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="BackboneElement" />
      </type>
    </element>
    <element id="HistoAI.Patient.Tumor.Treatment.Radiotherapy.modality">
      <path value="HistoAI.Patient.Tumor.Treatment.Radiotherapy.modality" />
      <label value="Modality" />
      <code>
        <system value="http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-radiotherapy-modality" />
      </code>
      <short value="A modality of external beam or brachytherapy radiation procedures" />
      <definition value="A modality of external beam or brachytherapy radiation procedures. e.g. Photons, Electrons" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="code" />
        <profile value="http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-radiotherapy-modality" />
      </type>
    </element>
    <element id="HistoAI.Patient.Tumor.Treatment.Radiotherapy.technique">
      <path value="HistoAI.Patient.Tumor.Treatment.Radiotherapy.technique" />
      <label value="Technique" />
      <code>
        <system value="http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-radiotherapy-technique" />
      </code>
      <short value="A technique of external beam or brachytherapy radiation procedures" />
      <definition value="A technique of external beam or brachytherapy radiation procedures. e.g. VMAT, 3D" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="code" />
        <profile value="http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-radiotherapy-technique" />
      </type>
    </element>
    <element id="HistoAI.Patient.Tumor.Treatment.Radiotherapy.bodySite">
      <path value="HistoAI.Patient.Tumor.Treatment.Radiotherapy.bodySite" />
      <label value="Body Site" />
      <code>
        <system value="http://hl7.org/fhir/sid/icd-10" />
      </code>
      <short value="Anatomical site irradiated" />
      <definition value="Anatomical site irradiated of radiotherapy." />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="code" />
        <profile value="http://hl7.org/fhir/sid/icd-10" />
      </type>
    </element>
    <element id="HistoAI.Patient.Tumor.Treatment.Radiotherapy.doseVolume">
      <path value="HistoAI.Patient.Tumor.Treatment.Radiotherapy.doseVolume" />
      <label value="Dose Volume" />
      <code>
        <system value="http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-radiotherapy-dose-delivered-to-volume" />
      </code>
      <short value="Dose parameters for one radiotherapy volume" />
      <definition value="Dose parameters for one radiotherapy volume. e.g.&#xD;&#xA;  Prostate, 5000cGy;&#xD;&#xA;  SV, 3000 cGy;" />
      <min value="0" />
      <max value="*" />
      <type>
        <code value="code" />
        <profile value="http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-radiotherapy-dose-delivered-to-volume" />
      </type>
    </element>
    <element id="HistoAI.Patient.Tumor.Treatment.Radiotherapy.radiologicalOutcome">
      <path value="HistoAI.Patient.Tumor.Treatment.Radiotherapy.radiologicalOutcome" />
      <label value="Radiological Outcome" />
      <short value="Outcome of radiotherapy" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Narrative" />
        <profile value="http://hl7.org/fhir/StructureDefinition/Narrative" />
      </type>
    </element>
    <element id="HistoAI.Patient.PerformanceStatus">
      <path value="HistoAI.Patient.PerformanceStatus" />
      <label value="Performance Status" />
      <short value="WHO performace status" />
      <definition value="WHO performance status as recorded on baseline. &#xD;&#xA;0 = Able to carry out all normal activity without restrictions; &#xD;&#xA;1 = Restricted in physically strenuous activity but ambulatory and able to carry out light work; &#xD;&#xA;2 =  Ambulatory and capable of all self-care but unable to carry out any work; up and more than 50% of waking hours; &#xD;&#xA;3 = Capable of only limited self-care; confined to bed or chair more than 50% of waking hours; &#xD;&#xA;4 =  Completely disabled; cannot carry on any self-care; totally confined to bed or chair." />
      <min value="0" />
      <max value="*" />
      <type>
        <code value="BackboneElement" />
      </type>
    </element>
    <element id="HistoAI.Patient.PerformanceStatus.observationDate">
      <path value="HistoAI.Patient.PerformanceStatus.observationDate" />
      <label value="Observation Date" />
      <short value="Date of the observation of performance status of this patient" />
      <definition value="Date of the observation of performance status of this patient." />
      <comment value="This is not follow-up date" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="dateTime" />
        <profile value="http://hl7.org/fhir/StructureDefinition/dateTime" />
      </type>
    </element>
    <element id="HistoAI.Patient.PerformanceStatus.performanceScore">
      <path value="HistoAI.Patient.PerformanceStatus.performanceScore" />
      <label value="Performance Score" />
      <code>
        <system value="http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-ecog-performance-status" />
      </code>
      <definition value="WHO performance status as recorded on baseline. &#xD;&#xA;0 = Able to carry out all normal activity without restrictions; &#xD;&#xA;1 = Restricted in physically strenuous activity but ambulatory and able to carry out light work; &#xD;&#xA;2 =  Ambulatory and capable of all self-care but unable to carry out any work; up and more than 50% of waking hours; &#xD;&#xA;3 = Capable of only limited self-care; confined to bed or chair more than 50% of waking hours; &#xD;&#xA;4 =  Completely disabled; cannot carry on any self-care; totally confined to bed or chair." />
      <alias value="ECOG Performance Status" />
      <alias value="Zubrod score" />
      <alias value="WHO score" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="code" />
        <profile value="http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-ecog-performance-status" />
      </type>
      <mapping>
        <identity value="ECOGPerformanceStatus" />
        <map value="http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-ecog-performance-status" />
      </mapping>
    </element>
    <element id="HistoAI.Patient.PerformanceStatus.vitalStatus">
      <path value="HistoAI.Patient.PerformanceStatus.vitalStatus" />
      <label value="Vital Status" />
      <short value="Vital status at this follow-up." />
      <definition value="Indicator of vital status of follow-up:" />
      <comment value="Death during follow-up can be derived from this." />
      <alias value="disease_status_at_followup" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="code" />
        <profile value="http://hl7.org/fhir/StructureDefinition/vitalsigns" />
      </type>
    </element>
    <element id="HistoAI.Patient.ClinicalTrial">
      <path value="HistoAI.Patient.ClinicalTrial" />
      <label value="Clinical Trial" />
      <short value="Clinical trial studies this patient involved in" />
      <definition value="Clinical trial studies this patient involved in. Study ID in clinical trial database Netherlands Cancer Instiute (TRION)" />
      <alias value="Study" />
      <alias value="Trion" />
      <min value="0" />
      <max value="*" />
      <type>
        <code value="BackboneElement" />
      </type>
    </element>
    <element id="HistoAI.Patient.ClinicalTrial.trionId">
      <path value="HistoAI.Patient.ClinicalTrial.trionId" />
      <label value="TRION ID" />
      <short value="Unique identifier of clinical trial" />
      <definition value="Unique identifier of clinical trial in database Netherlands Cancer Instiute (TRION), which this patient being involved." />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="BackboneElement" />
      </type>
    </element>
    <element id="HistoAI._TBD">
      <path value="HistoAI._TBD" />
      <label value="_TBD" />
      <short value="To Be Determined" />
      <definition value="To be determined - data attributes from various sources need to be FHIR compliant" />
      <min value="0" />
      <max value="0" />
      <type>
        <code value="BackboneElement" />
      </type>
    </element>
    <element id="HistoAI._TBD.Molpa">
      <path value="HistoAI._TBD.Molpa" />
      <label value="MolPa" />
      <short value="Molecular Pathology" />
      <definition value="Molecular Pathology record of this patient" />
      <min value="0" />
      <max value="*" />
      <type>
        <code value="BackboneElement" />
      </type>
    </element>
    <element id="HistoAI._TBD.Molpa.molpaId">
      <path value="HistoAI._TBD.Molpa.molpaId" />
      <label value="MOLPA ID" />
      <short value="Unique identifier of MolPa record" />
      <definition value="Unique identifier of MolPa record of this patient." />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="Identifier" />
        <profile value="http://hl7.org/fhir/StructureDefinition/Identifier" />
      </type>
    </element>
    <element id="HistoAI._TBD.Cfmpb">
      <path value="HistoAI._TBD.Cfmpb" />
      <label value="CFMPB" />
      <short value="CFMPB record of this pationt" />
      <definition value="Core Facility Molecular Pathology &amp; Biobanking records of this patient.&#xD;&#xA;&#xD;&#xA;The CFMPB registers, evaluates, coordinates, assists and facilitates all kind of research involving human biospecimens (e.g. serum, blood, ctDNA, FFPE and FF biopsies, DNA &amp; RNA). All CFMPB activities are supported by our web application ‘the Application and Request Tool’ ART, an online tool for IRB registration &amp; review and LIMS &amp; database of NKI-AvL." />
      <min value="0" />
      <max value="*" />
      <type>
        <code value="BackboneElement" />
      </type>
    </element>
    <element id="HistoAI._TBD.Cfmpb.cfmpbId">
      <path value="HistoAI._TBD.Cfmpb.cfmpbId" />
      <label value="CFMPB ID" />
      <short value="Unique identifier of CFMPB record" />
      <definition value="Unique identifier of Core Facility Molecular Pathology &amp; Biobanking." />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="Identifier" />
        <profile value="http://hl7.org/fhir/StructureDefinition/Identifier" />
      </type>
    </element>
    <element id="HistoAI._TBD.Cfmpb.QustionAnswers">
      <path value="HistoAI._TBD.Cfmpb.QustionAnswers" />
      <label value="Qustion Answers" />
      <min value="0" />
      <max value="*" />
      <type>
        <code value="BackboneElement" />
      </type>
    </element>
    <element id="HistoAI._TBD.Cfmpb.QustionAnswers.question">
      <path value="HistoAI._TBD.Cfmpb.QustionAnswers.question" />
      <label value="CFMPB Question" />
      <short value="The question asked by pathologists" />
      <definition value="The question asked by pathologists" />
      <comment value="TODO: find out the source of [SQRLClin_Test].[CFDB].[ARTCBioPortal].question" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Reference" />
      </type>
    </element>
    <element id="HistoAI._TBD.Cfmpb.QustionAnswers.answer">
      <path value="HistoAI._TBD.Cfmpb.QustionAnswers.answer" />
      <label value="CFMPB Answer" />
      <short value="The answer to the question asked by pathologists" />
      <definition value="The answer to the question asked by pathologists. One question may have multiple answers." />
      <comment value="TODO: find out the source of [SQRLClin_Test].[CFDB].[ARTCBioPortal].answer" />
      <min value="0" />
      <max value="*" />
      <type>
        <code value="Reference" />
      </type>
    </element>
    <element id="HistoAI._TBD.BloodBiobank">
      <path value="HistoAI._TBD.BloodBiobank" />
      <label value="Blood BioBank" />
      <short value="Blood biobank record of this patient" />
      <definition value="Blood biobank record of this patient" />
      <min value="0" />
      <max value="*" />
      <type>
        <code value="BackboneElement" />
      </type>
    </element>
    <element id="HistoAI._TBD.BloodBiobank.bloodbiobankId">
      <path value="HistoAI._TBD.BloodBiobank.bloodbiobankId" />
      <label value="Blood Biobank ID" />
      <short value="Unique identifier of the blood biobank record" />
      <definition value="Unique identifier of the blood biobank record." />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="Identifier" />
        <profile value="http://hl7.org/fhir/StructureDefinition/Identifier" />
      </type>
    </element>
    <element id="HistoAI._TBD.GCF">
      <path value="HistoAI._TBD.GCF" />
      <label value="GCF" />
      <short value="Genomics Core facility" />
      <definition value="The Genomics Core Facility offers Next Generation Sequencing services using Illumina sequencing equipment (NovaSeq6000, HiSeq2500, NextSeq550 and MiSeq)." />
      <min value="0" />
      <max value="*" />
      <type>
        <code value="BackboneElement" />
      </type>
    </element>
    <element id="HistoAI._TBD.GCF.gcfId">
      <path value="HistoAI._TBD.GCF.gcfId" />
      <label value="GCF ID" />
      <short value="Unique identifier of GCF record of this patient" />
      <definition value="Unique identifier of GCF record of this patient." />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="Identifier" />
        <profile value="http://hl7.org/fhir/StructureDefinition/Identifier" />
      </type>
    </element>
  </differential>
</StructureDefinition>