CH ELM (R4)
1.0.0-trialuse - trial-use Switzerland flag

This page is part of the Observations of notifiable communicable infectious diseases (v1.0.0-trialuse: STU 1 Draft) based on FHIR R4. This is the current published version in its permanent home (it will always be available at this URL). For a full list of available versions, see the Directory of published versions

Logical Model: ChElmLaboratoryReport - XML Profile

Draft as of 2023-09-13

XML representation of the LaboratoryReport logical model.

Raw xml | Download



<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="LaboratoryReport"/>
  <text>
    <status value="extensions"/>
    <div xmlns="http://www.w3.org/1999/xhtml">Placeholder</div>
  </text>
  <url value="http://fhir.ch/ig/ch-elm/StructureDefinition/LaboratoryReport"/>
  <version value="1.0.0-trialuse"/>
  <name value="ChElmLaboratoryReport"/>
  <title value="CH ELM Laboratory Report"/>
  <status value="draft"/>
  <date value="2023-09-13T14:45:41+02:00"/>
  <publisher value="Federal Office of Public Health FOPH"/>
  <contact>
    <name value="Federal Office of Public Health FOPH"/>
    <telecom>
      <system value="url"/>
      <value
             value="https://www.bag.admin.ch/bag/en/home/das-bag/kontakt-standort.html"/>
    </telecom>
  </contact>
  <description
               value="The logical model represents the CH ELM laboratory report as an abstract data model. This data elements are defined by the ordinance of the Federal Office of Public Health (FOPH) and are then mapped to the FHIR document structure. 

Cardinalities:
- The cardinalities in the logical model show the so-called 'best case'. This means that if these data are available, they must be submitted to the FOPH.
- Since in reality the data is not always available, the CH ELM profiles define which elements are required or optional.
- See also the concept 'Must Support', which is described on the 'Home' page of this implementation guide"/>
  <jurisdiction>
    <coding>
      <system value="urn:iso:std:iso:3166"/>
      <code value="CHE"/>
    </coding>
  </jurisdiction>
  <copyright value="CC0-1.0"/>
  <fhirVersion value="4.0.1"/>
  <mapping>
    <identity value="rim"/>
    <uri value="http://hl7.org/v3"/>
    <name value="RIM Mapping"/>
  </mapping>
  <mapping>
    <identity value="ChElmLaboratoryReportToFhir"/>
    <uri value="hl7.org/fhir/r4"/>
    <name value="CH ELM Laboratory Report to FHIR"/>
  </mapping>
  <kind value="logical"/>
  <abstract value="false"/>
  <type
        value="http://fhir.ch/ig/ch-elm/StructureDefinition/LaboratoryReport"/>
  <baseDefinition value="http://hl7.org/fhir/StructureDefinition/Element"/>
  <derivation value="specialization"/>
  <snapshot>
    <element id="LaboratoryReport">
      <path value="LaboratoryReport"/>
      <short
             value="Laborbericht basierend auf der SR 818.101.126 Verordnung des EDI über die Meldung von Beobachtungen übertragbarer Krankheiten des Menschen (https://www.fedlex.admin.ch/eli/cc/2015/892/de)"/>
      <definition value="Laboratory Report"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="Element"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <condition value="ele-1"/>
      <constraint>
        <key value="ele-1"/>
        <severity value="error"/>
        <human value="All FHIR elements must have a @value or children"/>
        <expression
                    value="hasValue() or (children().count() &gt; id.count())"/>
        <xpath value="@value|f:*|h:div"/>
        <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
      </constraint>
      <isModifier value="false"/>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
      <mapping>
        <identity value="ChElmLaboratoryReportToFhir"/>
        <map value="Bundle"/>
      </mapping>
    </element>
    <element id="LaboratoryReport.id">
      <path value="LaboratoryReport.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>
      <isModifier value="false"/>
      <isSummary value="false"/>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="LaboratoryReport.extension">
      <path value="LaboratoryReport.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>
      <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(.), &quot;value&quot;)])"/>
        <source value="http://hl7.org/fhir/StructureDefinition/Extension"/>
      </constraint>
      <isModifier value="false"/>
      <isSummary value="false"/>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="LaboratoryReport.Header">
      <path value="LaboratoryReport.Header"/>
      <short value="Document information"/>
      <definition value="Document information"/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="LaboratoryReport.Header"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Element"/>
      </type>
      <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"/>
      </constraint>
      <mapping>
        <identity value="ChElmLaboratoryReportToFhir"/>
        <map value="Bundle.entry[0]"/>
      </mapping>
    </element>
    <element id="LaboratoryReport.Header.id">
      <path value="LaboratoryReport.Header.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>
      <isModifier value="false"/>
      <isSummary value="false"/>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="LaboratoryReport.Header.extension">
      <path value="LaboratoryReport.Header.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>
      <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(.), &quot;value&quot;)])"/>
        <source value="http://hl7.org/fhir/StructureDefinition/Extension"/>
      </constraint>
      <isModifier value="false"/>
      <isSummary value="false"/>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="LaboratoryReport.Header.DocumentIdentifier">
      <path value="LaboratoryReport.Header.DocumentIdentifier"/>
      <short value="Persistent, unique identifier for the document"/>
      <definition value="Persistent, unique identifier for the document"/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="LaboratoryReport.Header.DocumentIdentifier"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Identifier"/>
      </type>
      <mapping>
        <identity value="ChElmLaboratoryReportToFhir"/>
        <map
             value="Bundle.entry[0].resource.identifier.where(system='urn:ietf:rfc:3986').value.substring(9)"/>
      </mapping>
    </element>
    <element id="LaboratoryReport.Header.DocumentTimestamp">
      <path value="LaboratoryReport.Header.DocumentTimestamp"/>
      <short value="Timestamp of the document"/>
      <definition value="Timestamp of the document"/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="LaboratoryReport.Header.DocumentTimestamp"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="dateTime"/>
      </type>
      <mapping>
        <identity value="ChElmLaboratoryReportToFhir"/>
        <map value="Bundle.entry[0].resource.date"/>
      </mapping>
    </element>
    <element id="LaboratoryReport.Header.DocumentLanguage">
      <path value="LaboratoryReport.Header.DocumentLanguage"/>
      <short value="Language of the document content"/>
      <definition value="Language of the document content"/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="LaboratoryReport.Header.DocumentLanguage"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
      </type>
      <mapping>
        <identity value="ChElmLaboratoryReportToFhir"/>
        <map value="Bundle.entry[0].resource.language"/>
      </mapping>
    </element>
    <element id="LaboratoryReport.Header.DocumentTitle">
      <path value="LaboratoryReport.Header.DocumentTitle"/>
      <short value="Human Readable name/title of the document"/>
      <definition value="Human Readable name/title of the document"/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="LaboratoryReport.Header.DocumentTitle"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <mapping>
        <identity value="ChElmLaboratoryReportToFhir"/>
        <map value="Bundle.entry[0].resource.title"/>
      </mapping>
    </element>
    <element id="LaboratoryReport.Header.DocumentSectionTitle">
      <path value="LaboratoryReport.Header.DocumentSectionTitle"/>
      <short value="Human Readable name/title of the section"/>
      <definition value="Human Readable name/title of the section"/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="LaboratoryReport.Header.DocumentSectionTitle"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <mapping>
        <identity value="ChElmLaboratoryReportToFhir"/>
        <map value="Bundle.entry[0].resource.section.title"/>
      </mapping>
    </element>
    <element id="LaboratoryReport.Author">
      <path value="LaboratoryReport.Author"/>
      <short value="Author of the document (may be identical with Lab)"/>
      <definition value="Author of the document (may be identical with Lab)"/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="LaboratoryReport.Author"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Element"/>
      </type>
      <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"/>
      </constraint>
      <mapping>
        <identity value="ChElmLaboratoryReportToFhir"/>
        <map value="Bundle.entry[0].resource.author.resolve()"/>
      </mapping>
    </element>
    <element id="LaboratoryReport.Author.id">
      <path value="LaboratoryReport.Author.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>
      <isModifier value="false"/>
      <isSummary value="false"/>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="LaboratoryReport.Author.extension">
      <path value="LaboratoryReport.Author.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>
      <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(.), &quot;value&quot;)])"/>
        <source value="http://hl7.org/fhir/StructureDefinition/Extension"/>
      </constraint>
      <isModifier value="false"/>
      <isSummary value="false"/>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="LaboratoryReport.Author.OrganizationGLN">
      <path value="LaboratoryReport.Author.OrganizationGLN"/>
      <short
             value="Global location number (GLN) of the authoring/sending organization"/>
      <definition
                  value="Global location number (GLN) of the authoring/sending organization"/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="LaboratoryReport.Author.OrganizationGLN"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Identifier"/>
      </type>
      <mapping>
        <identity value="ChElmLaboratoryReportToFhir"/>
        <map
             value="Bundle.entry[0].resource.author.resolve().identifier.where(system='urn:oid:2.51.1.3').value"/>
      </mapping>
    </element>
    <element id="LaboratoryReport.Lab">
      <path value="LaboratoryReport.Lab"/>
      <short
             value="Notifiable laboratory that performed the laboratory test -&gt; Art. 4 Abs. 2 (Meldepflichtiges Laboratorium)"/>
      <definition
                  value="Notifiable laboratory that performed the laboratory test -&gt; Art. 4 Abs. 2 (Meldepflichtiges Laboratorium)"/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="LaboratoryReport.Lab"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Element"/>
      </type>
      <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"/>
      </constraint>
      <mapping>
        <identity value="ChElmLaboratoryReportToFhir"/>
        <map
             value="Bundle.entry.resource.as(DiagnosticReport).performer.resolve()"/>
      </mapping>
    </element>
    <element id="LaboratoryReport.Lab.id">
      <path value="LaboratoryReport.Lab.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>
      <isModifier value="false"/>
      <isSummary value="false"/>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="LaboratoryReport.Lab.extension">
      <path value="LaboratoryReport.Lab.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>
      <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(.), &quot;value&quot;)])"/>
        <source value="http://hl7.org/fhir/StructureDefinition/Extension"/>
      </constraint>
      <isModifier value="false"/>
      <isSummary value="false"/>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="LaboratoryReport.Lab.OrganizationGLN">
      <path value="LaboratoryReport.Lab.OrganizationGLN"/>
      <short
             value="Global location number (GLN) of the laboratory organization"/>
      <definition
                  value="Global location number (GLN) of the laboratory organization"/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="LaboratoryReport.Lab.OrganizationGLN"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Identifier"/>
      </type>
      <mapping>
        <identity value="ChElmLaboratoryReportToFhir"/>
        <map
             value="Bundle.entry.resource.as(DiagnosticReport).performer.resolve().identifier.where(system='urn:oid:2.51.1.3').value"/>
      </mapping>
    </element>
    <element id="LaboratoryReport.Lab.OrganizationName">
      <path value="LaboratoryReport.Lab.OrganizationName"/>
      <short value="Name of the laboratory organization"/>
      <definition value="Name of the laboratory organization"/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="LaboratoryReport.Lab.OrganizationName"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <mapping>
        <identity value="ChElmLaboratoryReportToFhir"/>
        <map
             value="Bundle.entry.resource.as(DiagnosticReport).performer.resolve().name"/>
      </mapping>
    </element>
    <element id="LaboratoryReport.Lab.OrderIdentifier">
      <path value="LaboratoryReport.Lab.OrderIdentifier"/>
      <short
             value="Identifier assigned to this order by the testing laboratory"/>
      <definition
                  value="Identifier assigned to this order by the testing laboratory"/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="LaboratoryReport.Lab.OrderIdentifier"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Identifier"/>
      </type>
      <mapping>
        <identity value="ChElmLaboratoryReportToFhir"/>
        <map
             value="Bundle.entry.resource.as(DiagnosticReport).basedOn.resolve().identifier"/>
      </mapping>
    </element>
    <element id="LaboratoryReport.Orderer">
      <path value="LaboratoryReport.Orderer"/>
      <short
             value="Orderer of the laboratory test -&gt; Art. 4 Abs. 3 (Auftraggebende Ärztin oder auftraggebender Arzt und Betrieb in dem sie oder er tätig ist)"/>
      <definition
                  value="Orderer of the laboratory test -&gt; Art. 4 Abs. 3 (Auftraggebende Ärztin oder auftraggebender Arzt und Betrieb in dem sie oder er tätig ist)"/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="LaboratoryReport.Orderer"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Element"/>
      </type>
      <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"/>
      </constraint>
      <mapping>
        <identity value="ChElmLaboratoryReportToFhir"/>
        <map
             value="Bundle.entry.resource.as(DiagnosticReport).basedOn.resolve().requester.resolve()"/>
      </mapping>
    </element>
    <element id="LaboratoryReport.Orderer.id">
      <path value="LaboratoryReport.Orderer.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>
      <isModifier value="false"/>
      <isSummary value="false"/>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="LaboratoryReport.Orderer.extension">
      <path value="LaboratoryReport.Orderer.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>
      <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(.), &quot;value&quot;)])"/>
        <source value="http://hl7.org/fhir/StructureDefinition/Extension"/>
      </constraint>
      <isModifier value="false"/>
      <isSummary value="false"/>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="LaboratoryReport.Orderer.OrganizationGLN">
      <path value="LaboratoryReport.Orderer.OrganizationGLN"/>
      <short
             value="Orderer organization Global location number (GLN) of the ordering organization"/>
      <definition
                  value="Orderer organization Global location number (GLN) of the ordering organization"/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="LaboratoryReport.Orderer.OrganizationGLN"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Identifier"/>
      </type>
      <mapping>
        <identity value="ChElmLaboratoryReportToFhir"/>
        <map
             value="Bundle.entry.resource.as(DiagnosticReport).basedOn.resolve().requester.resolve().organization.resolve().identifier.where(system='urn:oid:2.51.1.3').value"/>
      </mapping>
    </element>
    <element id="LaboratoryReport.Orderer.OrganizationName">
      <path value="LaboratoryReport.Orderer.OrganizationName"/>
      <short value="Name of the ordering organization"/>
      <definition value="Name of the ordering organization"/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="LaboratoryReport.Orderer.OrganizationName"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <mapping>
        <identity value="ChElmLaboratoryReportToFhir"/>
        <map
             value="Bundle.entry.resource.as(DiagnosticReport).basedOn.resolve().requester.resolve().organization.resolve().name"/>
      </mapping>
    </element>
    <element id="LaboratoryReport.Orderer.OrganizationDepartment">
      <path value="LaboratoryReport.Orderer.OrganizationDepartment"/>
      <short value="Department where the laboratory test is ordered"/>
      <definition value="Department where the laboratory test is ordered"/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="LaboratoryReport.Orderer.OrganizationDepartment"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <mapping>
        <identity value="ChElmLaboratoryReportToFhir"/>
        <map
             value="Bundle.entry.resource.as(DiagnosticReport).basedOn.resolve().requester.resolve().organization.resolve().extension.where(url='http://fhir.ch/ig/ch-elm/StructureDefinition/ch-elm-ext-department').value"/>
      </mapping>
    </element>
    <element id="LaboratoryReport.Orderer.Physician">
      <path value="LaboratoryReport.Orderer.Physician"/>
      <short value="Ordering physician"/>
      <definition value="Ordering physician"/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="LaboratoryReport.Orderer.Physician"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Element"/>
      </type>
      <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"/>
      </constraint>
      <mapping>
        <identity value="ChElmLaboratoryReportToFhir"/>
        <map
             value="Bundle.entry.resource.as(DiagnosticReport).basedOn.resolve().requester.resolve().practitioner.resolve()"/>
      </mapping>
    </element>
    <element id="LaboratoryReport.Orderer.Physician.id">
      <path value="LaboratoryReport.Orderer.Physician.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>
      <isModifier value="false"/>
      <isSummary value="false"/>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="LaboratoryReport.Orderer.Physician.extension">
      <path value="LaboratoryReport.Orderer.Physician.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>
      <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(.), &quot;value&quot;)])"/>
        <source value="http://hl7.org/fhir/StructureDefinition/Extension"/>
      </constraint>
      <isModifier value="false"/>
      <isSummary value="false"/>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="LaboratoryReport.Orderer.Physician.GLN">
      <path value="LaboratoryReport.Orderer.Physician.GLN"/>
      <short value="Global location number (GLN) of the physician"/>
      <definition value="Global location number (GLN) of the physician"/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="LaboratoryReport.Orderer.Physician.GLN"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Identifier"/>
      </type>
      <mapping>
        <identity value="ChElmLaboratoryReportToFhir"/>
        <map
             value="Bundle.entry.resource.as(DiagnosticReport).basedOn.resolve().requester.resolve().practitioner.resolve().identifier.where(system='urn:oid:2.51.1.3').value"/>
      </mapping>
    </element>
    <element id="LaboratoryReport.Orderer.Physician.Surname">
      <path value="LaboratoryReport.Orderer.Physician.Surname"/>
      <short value="Surname physician"/>
      <definition value="Surname physician"/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="LaboratoryReport.Orderer.Physician.Surname"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <mapping>
        <identity value="ChElmLaboratoryReportToFhir"/>
        <map
             value="Bundle.entry.resource.as(DiagnosticReport).basedOn.resolve().requester.resolve().practitioner.resolve().name.family"/>
      </mapping>
    </element>
    <element id="LaboratoryReport.Orderer.Physician.Givenname">
      <path value="LaboratoryReport.Orderer.Physician.Givenname"/>
      <short value="Given name physician"/>
      <definition value="Given name physician"/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="LaboratoryReport.Orderer.Physician.Givenname"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <mapping>
        <identity value="ChElmLaboratoryReportToFhir"/>
        <map
             value="Bundle.entry.resource.as(DiagnosticReport).basedOn.resolve().requester.resolve().practitioner.resolve().name.given"/>
      </mapping>
    </element>
    <element id="LaboratoryReport.Orderer.Physician.Phone">
      <path value="LaboratoryReport.Orderer.Physician.Phone"/>
      <short value="Phone number physician"/>
      <definition value="Phone number physician"/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="LaboratoryReport.Orderer.Physician.Phone"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <mapping>
        <identity value="ChElmLaboratoryReportToFhir"/>
        <map
             value="Bundle.entry.resource.as(DiagnosticReport).basedOn.resolve().requester.resolve().practitioner.resolve().telecom.where(system='phone').value"/>
      </mapping>
    </element>
    <element id="LaboratoryReport.Orderer.Physician.Email">
      <path value="LaboratoryReport.Orderer.Physician.Email"/>
      <short value="Email address physician"/>
      <definition value="Email address physician"/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="LaboratoryReport.Orderer.Physician.Email"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <mapping>
        <identity value="ChElmLaboratoryReportToFhir"/>
        <map
             value="Bundle.entry.resource.as(DiagnosticReport).basedOn.resolve().requester.resolve().practitioner.resolve().telecom.where(system='email').value"/>
      </mapping>
    </element>
    <element id="LaboratoryReport.Orderer.OrganizationAddress">
      <path value="LaboratoryReport.Orderer.OrganizationAddress"/>
      <short value="Address of the ordering organization"/>
      <definition value="Address of the ordering organization"/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="LaboratoryReport.Orderer.OrganizationAddress"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Element"/>
      </type>
      <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"/>
      </constraint>
      <mapping>
        <identity value="ChElmLaboratoryReportToFhir"/>
        <map
             value="Bundle.entry.resource.as(DiagnosticReport).basedOn.resolve().requester.resolve().organization.resolve().address"/>
      </mapping>
    </element>
    <element id="LaboratoryReport.Orderer.OrganizationAddress.id">
      <path value="LaboratoryReport.Orderer.OrganizationAddress.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>
      <isModifier value="false"/>
      <isSummary value="false"/>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="LaboratoryReport.Orderer.OrganizationAddress.extension">
      <path value="LaboratoryReport.Orderer.OrganizationAddress.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>
      <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(.), &quot;value&quot;)])"/>
        <source value="http://hl7.org/fhir/StructureDefinition/Extension"/>
      </constraint>
      <isModifier value="false"/>
      <isSummary value="false"/>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="LaboratoryReport.Orderer.OrganizationAddress.StreetLine">
      <path value="LaboratoryReport.Orderer.OrganizationAddress.StreetLine"/>
      <short value="Street name, house number"/>
      <definition value="Street name, house number"/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path
              value="LaboratoryReport.Orderer.OrganizationAddress.StreetLine"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <mapping>
        <identity value="ChElmLaboratoryReportToFhir"/>
        <map
             value="Bundle.entry.resource.as(DiagnosticReport).basedOn.resolve().requester.resolve().organization.resolve().address.line[0]"/>
      </mapping>
    </element>
    <element id="LaboratoryReport.Orderer.OrganizationAddress.PostBox">
      <path value="LaboratoryReport.Orderer.OrganizationAddress.PostBox"/>
      <short value="P.O. Box number"/>
      <definition value="P.O. Box number"/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="LaboratoryReport.Orderer.OrganizationAddress.PostBox"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <mapping>
        <identity value="ChElmLaboratoryReportToFhir"/>
        <map
             value="Bundle.entry.resource.as(DiagnosticReport).basedOn.resolve().requester.resolve().organization.resolve().address.line[1]"/>
      </mapping>
    </element>
    <element id="LaboratoryReport.Orderer.OrganizationAddress.ZipCode">
      <path value="LaboratoryReport.Orderer.OrganizationAddress.ZipCode"/>
      <short value="Zip code"/>
      <definition value="Zip code"/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="LaboratoryReport.Orderer.OrganizationAddress.ZipCode"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <mapping>
        <identity value="ChElmLaboratoryReportToFhir"/>
        <map
             value="Bundle.entry.resource.as(DiagnosticReport).basedOn.resolve().requester.resolve().organization.resolve().address.postalCode"/>
      </mapping>
    </element>
    <element id="LaboratoryReport.Orderer.OrganizationAddress.City">
      <path value="LaboratoryReport.Orderer.OrganizationAddress.City"/>
      <short value="City"/>
      <definition value="City"/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="LaboratoryReport.Orderer.OrganizationAddress.City"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <mapping>
        <identity value="ChElmLaboratoryReportToFhir"/>
        <map
             value="Bundle.entry.resource.as(DiagnosticReport).basedOn.resolve().requester.resolve().organization.resolve().address.city"/>
      </mapping>
    </element>
    <element id="LaboratoryReport.Patient">
      <path value="LaboratoryReport.Patient"/>
      <short value="Patient -&gt; Anhang 3 (Angaben zur betrofenen Person)"/>
      <definition
                  value="Patient -&gt; Anhang 3 (Angaben zur betrofenen Person)"/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="LaboratoryReport.Patient"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Element"/>
      </type>
      <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"/>
      </constraint>
      <mapping>
        <identity value="ChElmLaboratoryReportToFhir"/>
        <map value="Bundle.entry[0].resource.subject.resolve()"/>
      </mapping>
    </element>
    <element id="LaboratoryReport.Patient.id">
      <path value="LaboratoryReport.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>
      <isModifier value="false"/>
      <isSummary value="false"/>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="LaboratoryReport.Patient.extension">
      <path value="LaboratoryReport.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>
      <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(.), &quot;value&quot;)])"/>
        <source value="http://hl7.org/fhir/StructureDefinition/Extension"/>
      </constraint>
      <isModifier value="false"/>
      <isSummary value="false"/>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="LaboratoryReport.Patient.OASI">
      <path value="LaboratoryReport.Patient.OASI"/>
      <short value="Old-age and survivors's insurance (OASI) number"/>
      <definition value="Old-age and survivors's insurance (OASI) number"/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="LaboratoryReport.Patient.OASI"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Identifier"/>
      </type>
      <mapping>
        <identity value="ChElmLaboratoryReportToFhir"/>
        <map value="Bundle.entry[0].resource.subject.resolve().identifier"/>
      </mapping>
    </element>
    <element id="LaboratoryReport.Patient.Surname">
      <path value="LaboratoryReport.Patient.Surname"/>
      <short value="Surname (or initials)"/>
      <definition value="Surname (or initials)"/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="LaboratoryReport.Patient.Surname"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <mapping>
        <identity value="ChElmLaboratoryReportToFhir"/>
        <map value="Bundle.entry[0].resource.subject.resolve().name.given"/>
      </mapping>
    </element>
    <element id="LaboratoryReport.Patient.Givenname">
      <path value="LaboratoryReport.Patient.Givenname"/>
      <short value="Given name (or initials)"/>
      <definition value="Given name (or initials)"/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="LaboratoryReport.Patient.Givenname"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <mapping>
        <identity value="ChElmLaboratoryReportToFhir"/>
        <map value="Bundle.entry[0].resource.subject.resolve().name.family"/>
      </mapping>
    </element>
    <element id="LaboratoryReport.Patient.Gender">
      <path value="LaboratoryReport.Patient.Gender"/>
      <short value="Gender"/>
      <definition value="Gender"/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="LaboratoryReport.Patient.Gender"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
      </type>
      <mapping>
        <identity value="ChElmLaboratoryReportToFhir"/>
        <map value="Bundle.entry[0].resource.subject.resolve().gender"/>
      </mapping>
    </element>
    <element id="LaboratoryReport.Patient.DateOfBirth">
      <path value="LaboratoryReport.Patient.DateOfBirth"/>
      <short value="Date of birth"/>
      <definition value="Date of birth"/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="LaboratoryReport.Patient.DateOfBirth"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="date"/>
      </type>
      <mapping>
        <identity value="ChElmLaboratoryReportToFhir"/>
        <map value="Bundle.entry[0].resource.subject.resolve().birthDate"/>
      </mapping>
    </element>
    <element id="LaboratoryReport.Patient.Phone">
      <path value="LaboratoryReport.Patient.Phone"/>
      <short value="Phone number"/>
      <definition value="Phone number"/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="LaboratoryReport.Patient.Phone"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <mapping>
        <identity value="ChElmLaboratoryReportToFhir"/>
        <map
             value="Bundle.entry[0].resource.subject.resolve().telecom.where(system='phone').value"/>
      </mapping>
    </element>
    <element id="LaboratoryReport.Patient.Address">
      <path value="LaboratoryReport.Patient.Address"/>
      <short value="Residence address"/>
      <definition value="Residence address"/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="LaboratoryReport.Patient.Address"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Element"/>
      </type>
      <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"/>
      </constraint>
      <mapping>
        <identity value="ChElmLaboratoryReportToFhir"/>
        <map
             value="Bundle.entry[0].resource.subject.resolve().address.where(use='home')"/>
      </mapping>
    </element>
    <element id="LaboratoryReport.Patient.Address.id">
      <path value="LaboratoryReport.Patient.Address.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>
      <isModifier value="false"/>
      <isSummary value="false"/>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="LaboratoryReport.Patient.Address.extension">
      <path value="LaboratoryReport.Patient.Address.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>
      <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(.), &quot;value&quot;)])"/>
        <source value="http://hl7.org/fhir/StructureDefinition/Extension"/>
      </constraint>
      <isModifier value="false"/>
      <isSummary value="false"/>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="LaboratoryReport.Patient.Address.StreetLine">
      <path value="LaboratoryReport.Patient.Address.StreetLine"/>
      <short value="Street name, house number"/>
      <definition value="Street name, house number"/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="LaboratoryReport.Patient.Address.StreetLine"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <mapping>
        <identity value="ChElmLaboratoryReportToFhir"/>
        <map
             value="Bundle.entry[0].resource.subject.resolve().address.where(use='home').line"/>
      </mapping>
    </element>
    <element id="LaboratoryReport.Patient.Address.ZipCode">
      <path value="LaboratoryReport.Patient.Address.ZipCode"/>
      <short value="Zip code"/>
      <definition value="Zip code"/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="LaboratoryReport.Patient.Address.ZipCode"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <mapping>
        <identity value="ChElmLaboratoryReportToFhir"/>
        <map
             value="Bundle.entry[0].resource.subject.resolve().address.where(use='home').postalCode"/>
      </mapping>
    </element>
    <element id="LaboratoryReport.Patient.Address.City">
      <path value="LaboratoryReport.Patient.Address.City"/>
      <short value="City"/>
      <definition value="City"/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="LaboratoryReport.Patient.Address.City"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <mapping>
        <identity value="ChElmLaboratoryReportToFhir"/>
        <map
             value="Bundle.entry[0].resource.subject.resolve().address.where(use='home').city"/>
      </mapping>
    </element>
    <element id="LaboratoryReport.Patient.Address.Canton">
      <path value="LaboratoryReport.Patient.Address.Canton"/>
      <short value="Canton"/>
      <definition value="Canton"/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="LaboratoryReport.Patient.Address.Canton"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
      </type>
      <mapping>
        <identity value="ChElmLaboratoryReportToFhir"/>
        <map
             value="Bundle.entry[0].resource.subject.resolve().address.where(use='home').state"/>
      </mapping>
    </element>
    <element id="LaboratoryReport.Patient.Address.Country">
      <path value="LaboratoryReport.Patient.Address.Country"/>
      <short value="Country"/>
      <definition value="Country"/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="LaboratoryReport.Patient.Address.Country"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
      </type>
      <mapping>
        <identity value="ChElmLaboratoryReportToFhir"/>
        <map
             value="Bundle.entry[0].resource.subject.resolve().address.where(use='home').country.extension.where(url='http://hl7.org/fhir/StructureDefinition/iso21090-SC-coding').value.code"/>
      </mapping>
    </element>
    <element id="LaboratoryReport.TestResult">
      <path value="LaboratoryReport.TestResult"/>
      <short
             value="Laboratory result -&gt; Art. 4 Abs. 1 (Die zu meldenden laboranalytischen Befunde) - Anhang 3 (Angaben zum laboranalytischen Befund)"/>
      <definition
                  value="Laboratory result -&gt; Art. 4 Abs. 1 (Die zu meldenden laboranalytischen Befunde) - Anhang 3 (Angaben zum laboranalytischen Befund)"/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="LaboratoryReport.TestResult"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Element"/>
      </type>
      <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"/>
      </constraint>
      <mapping>
        <identity value="ChElmLaboratoryReportToFhir"/>
        <map value="Bundle.entry[0].resource.section"/>
      </mapping>
    </element>
    <element id="LaboratoryReport.TestResult.id">
      <path value="LaboratoryReport.TestResult.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>
      <isModifier value="false"/>
      <isSummary value="false"/>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="LaboratoryReport.TestResult.extension">
      <path value="LaboratoryReport.TestResult.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>
      <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(.), &quot;value&quot;)])"/>
        <source value="http://hl7.org/fhir/StructureDefinition/Extension"/>
      </constraint>
      <isModifier value="false"/>
      <isSummary value="false"/>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="LaboratoryReport.TestResult.StudyType">
      <path value="LaboratoryReport.TestResult.StudyType"/>
      <short value="Laboratory study type"/>
      <definition value="Laboratory study type"/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="LaboratoryReport.TestResult.StudyType"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
      </type>
      <mapping>
        <identity value="ChElmLaboratoryReportToFhir"/>
        <map
             value="Bundle.entry[0].resource.section.code.coding.where(system='http://loinc.org')"/>
      </mapping>
    </element>
    <element id="LaboratoryReport.TestResult.ExecutionDateTime">
      <path value="LaboratoryReport.TestResult.ExecutionDateTime"/>
      <short value="Date (-time) of test"/>
      <definition value="Date (-time) of test"/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="LaboratoryReport.TestResult.ExecutionDateTime"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="dateTime"/>
      </type>
      <mapping>
        <identity value="ChElmLaboratoryReportToFhir"/>
        <map
             value="Bundle.entry[0].resource.section.entry.resolve().effective"/>
      </mapping>
    </element>
    <element id="LaboratoryReport.TestResult.Type">
      <path value="LaboratoryReport.TestResult.Type"/>
      <short value="Type of test"/>
      <definition value="Type of test"/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="LaboratoryReport.TestResult.Type"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Element"/>
      </type>
      <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"/>
      </constraint>
      <mapping>
        <identity value="ChElmLaboratoryReportToFhir"/>
        <map
             value="Bundle.entry[0].resource.section.entry.resolve().code.coding.where(system='http://loinc.org')"/>
      </mapping>
    </element>
    <element id="LaboratoryReport.TestResult.Type.id">
      <path value="LaboratoryReport.TestResult.Type.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>
      <isModifier value="false"/>
      <isSummary value="false"/>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="LaboratoryReport.TestResult.Type.extension">
      <path value="LaboratoryReport.TestResult.Type.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>
      <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(.), &quot;value&quot;)])"/>
        <source value="http://hl7.org/fhir/StructureDefinition/Extension"/>
      </constraint>
      <isModifier value="false"/>
      <isSummary value="false"/>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="LaboratoryReport.TestResult.Type.Code">
      <path value="LaboratoryReport.TestResult.Type.Code"/>
      <short value="Coded data"/>
      <definition value="Coded data"/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="LaboratoryReport.TestResult.Type.Code"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
      </type>
      <mapping>
        <identity value="ChElmLaboratoryReportToFhir"/>
        <map
             value="Bundle.entry[0].resource.section.entry.resolve().code.coding.where(system='http://loinc.org').code"/>
      </mapping>
    </element>
    <element id="LaboratoryReport.TestResult.Type.CodeSystem">
      <path value="LaboratoryReport.TestResult.Type.CodeSystem"/>
      <short value="Identity fo the terminolgy system (LOINC)"/>
      <definition value="Identity fo the terminolgy system (LOINC)"/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="LaboratoryReport.TestResult.Type.CodeSystem"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="uri"/>
      </type>
      <mapping>
        <identity value="ChElmLaboratoryReportToFhir"/>
        <map
             value="Bundle.entry[0].resource.section.entry.resolve().code.coding.where(system='http://loinc.org').system"/>
      </mapping>
    </element>
    <element id="LaboratoryReport.TestResult.Specimen">
      <path value="LaboratoryReport.TestResult.Specimen"/>
      <short value="Test sample"/>
      <definition value="Test sample"/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="LaboratoryReport.TestResult.Specimen"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Element"/>
      </type>
      <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"/>
      </constraint>
      <mapping>
        <identity value="ChElmLaboratoryReportToFhir"/>
        <map
             value="Bundle.entry[0].resource.section.entry.resolve().specimen.resolve()"/>
      </mapping>
    </element>
    <element id="LaboratoryReport.TestResult.Specimen.id">
      <path value="LaboratoryReport.TestResult.Specimen.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>
      <isModifier value="false"/>
      <isSummary value="false"/>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="LaboratoryReport.TestResult.Specimen.extension">
      <path value="LaboratoryReport.TestResult.Specimen.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>
      <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(.), &quot;value&quot;)])"/>
        <source value="http://hl7.org/fhir/StructureDefinition/Extension"/>
      </constraint>
      <isModifier value="false"/>
      <isSummary value="false"/>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="LaboratoryReport.TestResult.Specimen.CollectionDateTime">
      <path value="LaboratoryReport.TestResult.Specimen.CollectionDateTime"/>
      <short value="Date (-time) of sample collection"/>
      <definition value="Date (-time) of sample collection"/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path
              value="LaboratoryReport.TestResult.Specimen.CollectionDateTime"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="dateTime"/>
      </type>
      <mapping>
        <identity value="ChElmLaboratoryReportToFhir"/>
        <map
             value="Bundle.entry[0].resource.section.entry.resolve().specimen.resolve().collection.collected"/>
      </mapping>
    </element>
    <element id="LaboratoryReport.TestResult.Specimen.Type">
      <path value="LaboratoryReport.TestResult.Specimen.Type"/>
      <short value="Collection material"/>
      <definition value="Collection material"/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="LaboratoryReport.TestResult.Specimen.Type"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
      </type>
      <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="ChElmLaboratoryReportToFhir"/>
        <map
             value="Bundle.entry[0].resource.section.entry.resolve().specimen.resolve().type"/>
      </mapping>
    </element>
    <element id="LaboratoryReport.TestResult.Specimen.Type.id">
      <path value="LaboratoryReport.TestResult.Specimen.Type.id"/>
      <representation value="xmlAttr"/>
      <short value="xml:id (or equivalent in JSON)"/>
      <definition
                  value="unique id for the element within a resource (for internal references)"/>
      <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>
      <isModifier value="false"/>
      <isSummary value="false"/>
    </element>
    <element id="LaboratoryReport.TestResult.Specimen.Type.extension">
      <path value="LaboratoryReport.TestResult.Specimen.Type.extension"/>
      <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 resource. 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>
      <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="false"/>
      <isSummary value="false"/>
    </element>
    <element id="LaboratoryReport.TestResult.Specimen.Type.value">
      <path value="LaboratoryReport.TestResult.Specimen.Type.value"/>
      <representation value="xmlAttr"/>
      <short value="Primitive value for code"/>
      <definition value="Primitive value for code"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="string.value"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
          <valueUrl value="string"/>
        </extension>
        <extension url="http://hl7.org/fhir/StructureDefinition/regex">
          <valueString value="[^\s]+(\s[^\s]+)*"/>
        </extension>
        <code value="http://hl7.org/fhirpath/System.String"/>
      </type>
      <isModifier value="false"/>
      <isSummary value="false"/>
    </element>
    <element id="LaboratoryReport.TestResult.Specimen.Type.Code">
      <path value="LaboratoryReport.TestResult.Specimen.Type.Code"/>
      <short value="Coded data"/>
      <definition value="Coded data"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="LaboratoryReport.TestResult.Specimen.Type.Code"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
      </type>
      <mapping>
        <identity value="ChElmLaboratoryReportToFhir"/>
        <map
             value="Bundle.entry[0].resource.section.entry.resolve().specimen.resolve().type.coding.where(system='http://snomed.info/sct').code"/>
      </mapping>
    </element>
    <element id="LaboratoryReport.TestResult.Specimen.Type.CodeSystem">
      <path value="LaboratoryReport.TestResult.Specimen.Type.CodeSystem"/>
      <short value="Identity fo the terminolgy system (SNOMED CT)"/>
      <definition value="Identity fo the terminolgy system (SNOMED CT)"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="LaboratoryReport.TestResult.Specimen.Type.CodeSystem"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="uri"/>
      </type>
      <mapping>
        <identity value="ChElmLaboratoryReportToFhir"/>
        <map
             value="Bundle.entry[0].resource.section.entry.resolve().specimen.resolve().type.coding.where(system='http://snomed.info/sct').system"/>
      </mapping>
    </element>
    <element id="LaboratoryReport.TestResult.Specimen.Type.Text">
      <path value="LaboratoryReport.TestResult.Specimen.Type.Text"/>
      <short
             value="Remark that material is already declared by LOINC system axis"/>
      <definition
                  value="Remark that material is already declared by LOINC system axis"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="LaboratoryReport.TestResult.Specimen.Type.Text"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <mapping>
        <identity value="ChElmLaboratoryReportToFhir"/>
        <map
             value="Bundle.entry[0].resource.section.entry.resolve().specimen.resolve().type.text"/>
      </mapping>
    </element>
    <element id="LaboratoryReport.TestResult.Value">
      <path value="LaboratoryReport.TestResult.Value"/>
      <short value="Acutal test result"/>
      <definition value="Acutal test result"/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="LaboratoryReport.TestResult.Value"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Element"/>
      </type>
      <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"/>
      </constraint>
      <mapping>
        <identity value="ChElmLaboratoryReportToFhir"/>
        <map
             value="Bundle.entry[0].resource.section.entry.resolve().value.coding.where(system='http://snomed.info/sct')"/>
      </mapping>
    </element>
    <element id="LaboratoryReport.TestResult.Value.id">
      <path value="LaboratoryReport.TestResult.Value.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>
      <isModifier value="false"/>
      <isSummary value="false"/>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="LaboratoryReport.TestResult.Value.extension">
      <path value="LaboratoryReport.TestResult.Value.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>
      <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(.), &quot;value&quot;)])"/>
        <source value="http://hl7.org/fhir/StructureDefinition/Extension"/>
      </constraint>
      <isModifier value="false"/>
      <isSummary value="false"/>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="LaboratoryReport.TestResult.Value.Code">
      <path value="LaboratoryReport.TestResult.Value.Code"/>
      <short value="Coded data"/>
      <definition value="Coded data"/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="LaboratoryReport.TestResult.Value.Code"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
      </type>
      <mapping>
        <identity value="ChElmLaboratoryReportToFhir"/>
        <map
             value="Bundle.entry[0].resource.section.entry.resolve().value.coding.where(system='http://snomed.info/sct').code"/>
      </mapping>
    </element>
    <element id="LaboratoryReport.TestResult.Value.CodeSystem">
      <path value="LaboratoryReport.TestResult.Value.CodeSystem"/>
      <short value="Identity fo the terminolgy system (SNOMED CT)"/>
      <definition value="Identity fo the terminolgy system (SNOMED CT)"/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="LaboratoryReport.TestResult.Value.CodeSystem"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="uri"/>
      </type>
      <mapping>
        <identity value="ChElmLaboratoryReportToFhir"/>
        <map
             value="Bundle.entry[0].resource.section.entry.resolve().value.coding.where(system='http://snomed.info/sct').system"/>
      </mapping>
    </element>
    <element id="LaboratoryReport.TestResult.Interpretation">
      <path value="LaboratoryReport.TestResult.Interpretation"/>
      <short value="Interpretation of the test result"/>
      <definition value="Interpretation of the test result"/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="LaboratoryReport.TestResult.Interpretation"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Element"/>
      </type>
      <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"/>
      </constraint>
      <mapping>
        <identity value="ChElmLaboratoryReportToFhir"/>
        <map
             value="Bundle.entry[0].resource.section.entry.resolve().interpretation.coding.where(system='http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation')"/>
      </mapping>
    </element>
    <element id="LaboratoryReport.TestResult.Interpretation.id">
      <path value="LaboratoryReport.TestResult.Interpretation.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>
      <isModifier value="false"/>
      <isSummary value="false"/>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="LaboratoryReport.TestResult.Interpretation.extension">
      <path value="LaboratoryReport.TestResult.Interpretation.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>
      <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(.), &quot;value&quot;)])"/>
        <source value="http://hl7.org/fhir/StructureDefinition/Extension"/>
      </constraint>
      <isModifier value="false"/>
      <isSummary value="false"/>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="LaboratoryReport.TestResult.Interpretation.Code">
      <path value="LaboratoryReport.TestResult.Interpretation.Code"/>
      <short value="Coded data"/>
      <definition value="Coded data"/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="LaboratoryReport.TestResult.Interpretation.Code"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
      </type>
      <mapping>
        <identity value="ChElmLaboratoryReportToFhir"/>
        <map
             value="Bundle.entry[0].resource.section.entry.resolve().interpretation.coding.where(system='http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation').code"/>
      </mapping>
    </element>
    <element id="LaboratoryReport.TestResult.Interpretation.CodeSystem">
      <path value="LaboratoryReport.TestResult.Interpretation.CodeSystem"/>
      <short
             value="Identity fo the terminolgy system (HL7 ObservationInterpretation)"/>
      <definition
                  value="Identity fo the terminolgy system (HL7 ObservationInterpretation)"/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="LaboratoryReport.TestResult.Interpretation.CodeSystem"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="uri"/>
      </type>
      <mapping>
        <identity value="ChElmLaboratoryReportToFhir"/>
        <map
             value="Bundle.entry[0].resource.section.entry.resolve().interpretation.coding.where(system='http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation').system"/>
      </mapping>
    </element>
  </snapshot>
  <differential>
    <element id="LaboratoryReport">
      <path value="LaboratoryReport"/>
      <short
             value="Laborbericht basierend auf der SR 818.101.126 Verordnung des EDI über die Meldung von Beobachtungen übertragbarer Krankheiten des Menschen (https://www.fedlex.admin.ch/eli/cc/2015/892/de)"/>
      <definition value="Laboratory Report"/>
      <mapping>
        <identity value="ChElmLaboratoryReportToFhir"/>
        <map value="Bundle"/>
      </mapping>
    </element>
    <element id="LaboratoryReport.Header">
      <path value="LaboratoryReport.Header"/>
      <short value="Document information"/>
      <definition value="Document information"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="Element"/>
      </type>
      <mapping>
        <identity value="ChElmLaboratoryReportToFhir"/>
        <map value="Bundle.entry[0]"/>
      </mapping>
    </element>
    <element id="LaboratoryReport.Header.DocumentIdentifier">
      <path value="LaboratoryReport.Header.DocumentIdentifier"/>
      <short value="Persistent, unique identifier for the document"/>
      <definition value="Persistent, unique identifier for the document"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="Identifier"/>
      </type>
      <mapping>
        <identity value="ChElmLaboratoryReportToFhir"/>
        <map
             value="Bundle.entry[0].resource.identifier.where(system='urn:ietf:rfc:3986').value.substring(9)"/>
      </mapping>
    </element>
    <element id="LaboratoryReport.Header.DocumentTimestamp">
      <path value="LaboratoryReport.Header.DocumentTimestamp"/>
      <short value="Timestamp of the document"/>
      <definition value="Timestamp of the document"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="dateTime"/>
      </type>
      <mapping>
        <identity value="ChElmLaboratoryReportToFhir"/>
        <map value="Bundle.entry[0].resource.date"/>
      </mapping>
    </element>
    <element id="LaboratoryReport.Header.DocumentLanguage">
      <path value="LaboratoryReport.Header.DocumentLanguage"/>
      <short value="Language of the document content"/>
      <definition value="Language of the document content"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <mapping>
        <identity value="ChElmLaboratoryReportToFhir"/>
        <map value="Bundle.entry[0].resource.language"/>
      </mapping>
    </element>
    <element id="LaboratoryReport.Header.DocumentTitle">
      <path value="LaboratoryReport.Header.DocumentTitle"/>
      <short value="Human Readable name/title of the document"/>
      <definition value="Human Readable name/title of the document"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="string"/>
      </type>
      <mapping>
        <identity value="ChElmLaboratoryReportToFhir"/>
        <map value="Bundle.entry[0].resource.title"/>
      </mapping>
    </element>
    <element id="LaboratoryReport.Header.DocumentSectionTitle">
      <path value="LaboratoryReport.Header.DocumentSectionTitle"/>
      <short value="Human Readable name/title of the section"/>
      <definition value="Human Readable name/title of the section"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="string"/>
      </type>
      <mapping>
        <identity value="ChElmLaboratoryReportToFhir"/>
        <map value="Bundle.entry[0].resource.section.title"/>
      </mapping>
    </element>
    <element id="LaboratoryReport.Author">
      <path value="LaboratoryReport.Author"/>
      <short value="Author of the document (may be identical with Lab)"/>
      <definition value="Author of the document (may be identical with Lab)"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="Element"/>
      </type>
      <mapping>
        <identity value="ChElmLaboratoryReportToFhir"/>
        <map value="Bundle.entry[0].resource.author.resolve()"/>
      </mapping>
    </element>
    <element id="LaboratoryReport.Author.OrganizationGLN">
      <path value="LaboratoryReport.Author.OrganizationGLN"/>
      <short
             value="Global location number (GLN) of the authoring/sending organization"/>
      <definition
                  value="Global location number (GLN) of the authoring/sending organization"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="Identifier"/>
      </type>
      <mapping>
        <identity value="ChElmLaboratoryReportToFhir"/>
        <map
             value="Bundle.entry[0].resource.author.resolve().identifier.where(system='urn:oid:2.51.1.3').value"/>
      </mapping>
    </element>
    <element id="LaboratoryReport.Lab">
      <path value="LaboratoryReport.Lab"/>
      <short
             value="Notifiable laboratory that performed the laboratory test -&gt; Art. 4 Abs. 2 (Meldepflichtiges Laboratorium)"/>
      <definition
                  value="Notifiable laboratory that performed the laboratory test -&gt; Art. 4 Abs. 2 (Meldepflichtiges Laboratorium)"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="Element"/>
      </type>
      <mapping>
        <identity value="ChElmLaboratoryReportToFhir"/>
        <map
             value="Bundle.entry.resource.as(DiagnosticReport).performer.resolve()"/>
      </mapping>
    </element>
    <element id="LaboratoryReport.Lab.OrganizationGLN">
      <path value="LaboratoryReport.Lab.OrganizationGLN"/>
      <short
             value="Global location number (GLN) of the laboratory organization"/>
      <definition
                  value="Global location number (GLN) of the laboratory organization"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="Identifier"/>
      </type>
      <mapping>
        <identity value="ChElmLaboratoryReportToFhir"/>
        <map
             value="Bundle.entry.resource.as(DiagnosticReport).performer.resolve().identifier.where(system='urn:oid:2.51.1.3').value"/>
      </mapping>
    </element>
    <element id="LaboratoryReport.Lab.OrganizationName">
      <path value="LaboratoryReport.Lab.OrganizationName"/>
      <short value="Name of the laboratory organization"/>
      <definition value="Name of the laboratory organization"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="string"/>
      </type>
      <mapping>
        <identity value="ChElmLaboratoryReportToFhir"/>
        <map
             value="Bundle.entry.resource.as(DiagnosticReport).performer.resolve().name"/>
      </mapping>
    </element>
    <element id="LaboratoryReport.Lab.OrderIdentifier">
      <path value="LaboratoryReport.Lab.OrderIdentifier"/>
      <short
             value="Identifier assigned to this order by the testing laboratory"/>
      <definition
                  value="Identifier assigned to this order by the testing laboratory"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="Identifier"/>
      </type>
      <mapping>
        <identity value="ChElmLaboratoryReportToFhir"/>
        <map
             value="Bundle.entry.resource.as(DiagnosticReport).basedOn.resolve().identifier"/>
      </mapping>
    </element>
    <element id="LaboratoryReport.Orderer">
      <path value="LaboratoryReport.Orderer"/>
      <short
             value="Orderer of the laboratory test -&gt; Art. 4 Abs. 3 (Auftraggebende Ärztin oder auftraggebender Arzt und Betrieb in dem sie oder er tätig ist)"/>
      <definition
                  value="Orderer of the laboratory test -&gt; Art. 4 Abs. 3 (Auftraggebende Ärztin oder auftraggebender Arzt und Betrieb in dem sie oder er tätig ist)"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="Element"/>
      </type>
      <mapping>
        <identity value="ChElmLaboratoryReportToFhir"/>
        <map
             value="Bundle.entry.resource.as(DiagnosticReport).basedOn.resolve().requester.resolve()"/>
      </mapping>
    </element>
    <element id="LaboratoryReport.Orderer.OrganizationGLN">
      <path value="LaboratoryReport.Orderer.OrganizationGLN"/>
      <short
             value="Orderer organization Global location number (GLN) of the ordering organization"/>
      <definition
                  value="Orderer organization Global location number (GLN) of the ordering organization"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="Identifier"/>
      </type>
      <mapping>
        <identity value="ChElmLaboratoryReportToFhir"/>
        <map
             value="Bundle.entry.resource.as(DiagnosticReport).basedOn.resolve().requester.resolve().organization.resolve().identifier.where(system='urn:oid:2.51.1.3').value"/>
      </mapping>
    </element>
    <element id="LaboratoryReport.Orderer.OrganizationName">
      <path value="LaboratoryReport.Orderer.OrganizationName"/>
      <short value="Name of the ordering organization"/>
      <definition value="Name of the ordering organization"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="string"/>
      </type>
      <mapping>
        <identity value="ChElmLaboratoryReportToFhir"/>
        <map
             value="Bundle.entry.resource.as(DiagnosticReport).basedOn.resolve().requester.resolve().organization.resolve().name"/>
      </mapping>
    </element>
    <element id="LaboratoryReport.Orderer.OrganizationDepartment">
      <path value="LaboratoryReport.Orderer.OrganizationDepartment"/>
      <short value="Department where the laboratory test is ordered"/>
      <definition value="Department where the laboratory test is ordered"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="string"/>
      </type>
      <mapping>
        <identity value="ChElmLaboratoryReportToFhir"/>
        <map
             value="Bundle.entry.resource.as(DiagnosticReport).basedOn.resolve().requester.resolve().organization.resolve().extension.where(url='http://fhir.ch/ig/ch-elm/StructureDefinition/ch-elm-ext-department').value"/>
      </mapping>
    </element>
    <element id="LaboratoryReport.Orderer.Physician">
      <path value="LaboratoryReport.Orderer.Physician"/>
      <short value="Ordering physician"/>
      <definition value="Ordering physician"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="Element"/>
      </type>
      <mapping>
        <identity value="ChElmLaboratoryReportToFhir"/>
        <map
             value="Bundle.entry.resource.as(DiagnosticReport).basedOn.resolve().requester.resolve().practitioner.resolve()"/>
      </mapping>
    </element>
    <element id="LaboratoryReport.Orderer.Physician.GLN">
      <path value="LaboratoryReport.Orderer.Physician.GLN"/>
      <short value="Global location number (GLN) of the physician"/>
      <definition value="Global location number (GLN) of the physician"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="Identifier"/>
      </type>
      <mapping>
        <identity value="ChElmLaboratoryReportToFhir"/>
        <map
             value="Bundle.entry.resource.as(DiagnosticReport).basedOn.resolve().requester.resolve().practitioner.resolve().identifier.where(system='urn:oid:2.51.1.3').value"/>
      </mapping>
    </element>
    <element id="LaboratoryReport.Orderer.Physician.Surname">
      <path value="LaboratoryReport.Orderer.Physician.Surname"/>
      <short value="Surname physician"/>
      <definition value="Surname physician"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="string"/>
      </type>
      <mapping>
        <identity value="ChElmLaboratoryReportToFhir"/>
        <map
             value="Bundle.entry.resource.as(DiagnosticReport).basedOn.resolve().requester.resolve().practitioner.resolve().name.family"/>
      </mapping>
    </element>
    <element id="LaboratoryReport.Orderer.Physician.Givenname">
      <path value="LaboratoryReport.Orderer.Physician.Givenname"/>
      <short value="Given name physician"/>
      <definition value="Given name physician"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="string"/>
      </type>
      <mapping>
        <identity value="ChElmLaboratoryReportToFhir"/>
        <map
             value="Bundle.entry.resource.as(DiagnosticReport).basedOn.resolve().requester.resolve().practitioner.resolve().name.given"/>
      </mapping>
    </element>
    <element id="LaboratoryReport.Orderer.Physician.Phone">
      <path value="LaboratoryReport.Orderer.Physician.Phone"/>
      <short value="Phone number physician"/>
      <definition value="Phone number physician"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="string"/>
      </type>
      <mapping>
        <identity value="ChElmLaboratoryReportToFhir"/>
        <map
             value="Bundle.entry.resource.as(DiagnosticReport).basedOn.resolve().requester.resolve().practitioner.resolve().telecom.where(system='phone').value"/>
      </mapping>
    </element>
    <element id="LaboratoryReport.Orderer.Physician.Email">
      <path value="LaboratoryReport.Orderer.Physician.Email"/>
      <short value="Email address physician"/>
      <definition value="Email address physician"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="string"/>
      </type>
      <mapping>
        <identity value="ChElmLaboratoryReportToFhir"/>
        <map
             value="Bundle.entry.resource.as(DiagnosticReport).basedOn.resolve().requester.resolve().practitioner.resolve().telecom.where(system='email').value"/>
      </mapping>
    </element>
    <element id="LaboratoryReport.Orderer.OrganizationAddress">
      <path value="LaboratoryReport.Orderer.OrganizationAddress"/>
      <short value="Address of the ordering organization"/>
      <definition value="Address of the ordering organization"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="Element"/>
      </type>
      <mapping>
        <identity value="ChElmLaboratoryReportToFhir"/>
        <map
             value="Bundle.entry.resource.as(DiagnosticReport).basedOn.resolve().requester.resolve().organization.resolve().address"/>
      </mapping>
    </element>
    <element id="LaboratoryReport.Orderer.OrganizationAddress.StreetLine">
      <path value="LaboratoryReport.Orderer.OrganizationAddress.StreetLine"/>
      <short value="Street name, house number"/>
      <definition value="Street name, house number"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="string"/>
      </type>
      <mapping>
        <identity value="ChElmLaboratoryReportToFhir"/>
        <map
             value="Bundle.entry.resource.as(DiagnosticReport).basedOn.resolve().requester.resolve().organization.resolve().address.line[0]"/>
      </mapping>
    </element>
    <element id="LaboratoryReport.Orderer.OrganizationAddress.PostBox">
      <path value="LaboratoryReport.Orderer.OrganizationAddress.PostBox"/>
      <short value="P.O. Box number"/>
      <definition value="P.O. Box number"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="string"/>
      </type>
      <mapping>
        <identity value="ChElmLaboratoryReportToFhir"/>
        <map
             value="Bundle.entry.resource.as(DiagnosticReport).basedOn.resolve().requester.resolve().organization.resolve().address.line[1]"/>
      </mapping>
    </element>
    <element id="LaboratoryReport.Orderer.OrganizationAddress.ZipCode">
      <path value="LaboratoryReport.Orderer.OrganizationAddress.ZipCode"/>
      <short value="Zip code"/>
      <definition value="Zip code"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="string"/>
      </type>
      <mapping>
        <identity value="ChElmLaboratoryReportToFhir"/>
        <map
             value="Bundle.entry.resource.as(DiagnosticReport).basedOn.resolve().requester.resolve().organization.resolve().address.postalCode"/>
      </mapping>
    </element>
    <element id="LaboratoryReport.Orderer.OrganizationAddress.City">
      <path value="LaboratoryReport.Orderer.OrganizationAddress.City"/>
      <short value="City"/>
      <definition value="City"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="string"/>
      </type>
      <mapping>
        <identity value="ChElmLaboratoryReportToFhir"/>
        <map
             value="Bundle.entry.resource.as(DiagnosticReport).basedOn.resolve().requester.resolve().organization.resolve().address.city"/>
      </mapping>
    </element>
    <element id="LaboratoryReport.Patient">
      <path value="LaboratoryReport.Patient"/>
      <short value="Patient -&gt; Anhang 3 (Angaben zur betrofenen Person)"/>
      <definition
                  value="Patient -&gt; Anhang 3 (Angaben zur betrofenen Person)"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="Element"/>
      </type>
      <mapping>
        <identity value="ChElmLaboratoryReportToFhir"/>
        <map value="Bundle.entry[0].resource.subject.resolve()"/>
      </mapping>
    </element>
    <element id="LaboratoryReport.Patient.OASI">
      <path value="LaboratoryReport.Patient.OASI"/>
      <short value="Old-age and survivors's insurance (OASI) number"/>
      <definition value="Old-age and survivors's insurance (OASI) number"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="Identifier"/>
      </type>
      <mapping>
        <identity value="ChElmLaboratoryReportToFhir"/>
        <map value="Bundle.entry[0].resource.subject.resolve().identifier"/>
      </mapping>
    </element>
    <element id="LaboratoryReport.Patient.Surname">
      <path value="LaboratoryReport.Patient.Surname"/>
      <short value="Surname (or initials)"/>
      <definition value="Surname (or initials)"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="string"/>
      </type>
      <mapping>
        <identity value="ChElmLaboratoryReportToFhir"/>
        <map value="Bundle.entry[0].resource.subject.resolve().name.given"/>
      </mapping>
    </element>
    <element id="LaboratoryReport.Patient.Givenname">
      <path value="LaboratoryReport.Patient.Givenname"/>
      <short value="Given name (or initials)"/>
      <definition value="Given name (or initials)"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="string"/>
      </type>
      <mapping>
        <identity value="ChElmLaboratoryReportToFhir"/>
        <map value="Bundle.entry[0].resource.subject.resolve().name.family"/>
      </mapping>
    </element>
    <element id="LaboratoryReport.Patient.Gender">
      <path value="LaboratoryReport.Patient.Gender"/>
      <short value="Gender"/>
      <definition value="Gender"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <mapping>
        <identity value="ChElmLaboratoryReportToFhir"/>
        <map value="Bundle.entry[0].resource.subject.resolve().gender"/>
      </mapping>
    </element>
    <element id="LaboratoryReport.Patient.DateOfBirth">
      <path value="LaboratoryReport.Patient.DateOfBirth"/>
      <short value="Date of birth"/>
      <definition value="Date of birth"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="date"/>
      </type>
      <mapping>
        <identity value="ChElmLaboratoryReportToFhir"/>
        <map value="Bundle.entry[0].resource.subject.resolve().birthDate"/>
      </mapping>
    </element>
    <element id="LaboratoryReport.Patient.Phone">
      <path value="LaboratoryReport.Patient.Phone"/>
      <short value="Phone number"/>
      <definition value="Phone number"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="string"/>
      </type>
      <mapping>
        <identity value="ChElmLaboratoryReportToFhir"/>
        <map
             value="Bundle.entry[0].resource.subject.resolve().telecom.where(system='phone').value"/>
      </mapping>
    </element>
    <element id="LaboratoryReport.Patient.Address">
      <path value="LaboratoryReport.Patient.Address"/>
      <short value="Residence address"/>
      <definition value="Residence address"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="Element"/>
      </type>
      <mapping>
        <identity value="ChElmLaboratoryReportToFhir"/>
        <map
             value="Bundle.entry[0].resource.subject.resolve().address.where(use='home')"/>
      </mapping>
    </element>
    <element id="LaboratoryReport.Patient.Address.StreetLine">
      <path value="LaboratoryReport.Patient.Address.StreetLine"/>
      <short value="Street name, house number"/>
      <definition value="Street name, house number"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="string"/>
      </type>
      <mapping>
        <identity value="ChElmLaboratoryReportToFhir"/>
        <map
             value="Bundle.entry[0].resource.subject.resolve().address.where(use='home').line"/>
      </mapping>
    </element>
    <element id="LaboratoryReport.Patient.Address.ZipCode">
      <path value="LaboratoryReport.Patient.Address.ZipCode"/>
      <short value="Zip code"/>
      <definition value="Zip code"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="string"/>
      </type>
      <mapping>
        <identity value="ChElmLaboratoryReportToFhir"/>
        <map
             value="Bundle.entry[0].resource.subject.resolve().address.where(use='home').postalCode"/>
      </mapping>
    </element>
    <element id="LaboratoryReport.Patient.Address.City">
      <path value="LaboratoryReport.Patient.Address.City"/>
      <short value="City"/>
      <definition value="City"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="string"/>
      </type>
      <mapping>
        <identity value="ChElmLaboratoryReportToFhir"/>
        <map
             value="Bundle.entry[0].resource.subject.resolve().address.where(use='home').city"/>
      </mapping>
    </element>
    <element id="LaboratoryReport.Patient.Address.Canton">
      <path value="LaboratoryReport.Patient.Address.Canton"/>
      <short value="Canton"/>
      <definition value="Canton"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <mapping>
        <identity value="ChElmLaboratoryReportToFhir"/>
        <map
             value="Bundle.entry[0].resource.subject.resolve().address.where(use='home').state"/>
      </mapping>
    </element>
    <element id="LaboratoryReport.Patient.Address.Country">
      <path value="LaboratoryReport.Patient.Address.Country"/>
      <short value="Country"/>
      <definition value="Country"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <mapping>
        <identity value="ChElmLaboratoryReportToFhir"/>
        <map
             value="Bundle.entry[0].resource.subject.resolve().address.where(use='home').country.extension.where(url='http://hl7.org/fhir/StructureDefinition/iso21090-SC-coding').value.code"/>
      </mapping>
    </element>
    <element id="LaboratoryReport.TestResult">
      <path value="LaboratoryReport.TestResult"/>
      <short
             value="Laboratory result -&gt; Art. 4 Abs. 1 (Die zu meldenden laboranalytischen Befunde) - Anhang 3 (Angaben zum laboranalytischen Befund)"/>
      <definition
                  value="Laboratory result -&gt; Art. 4 Abs. 1 (Die zu meldenden laboranalytischen Befunde) - Anhang 3 (Angaben zum laboranalytischen Befund)"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="Element"/>
      </type>
      <mapping>
        <identity value="ChElmLaboratoryReportToFhir"/>
        <map value="Bundle.entry[0].resource.section"/>
      </mapping>
    </element>
    <element id="LaboratoryReport.TestResult.StudyType">
      <path value="LaboratoryReport.TestResult.StudyType"/>
      <short value="Laboratory study type"/>
      <definition value="Laboratory study type"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <mapping>
        <identity value="ChElmLaboratoryReportToFhir"/>
        <map
             value="Bundle.entry[0].resource.section.code.coding.where(system='http://loinc.org')"/>
      </mapping>
    </element>
    <element id="LaboratoryReport.TestResult.ExecutionDateTime">
      <path value="LaboratoryReport.TestResult.ExecutionDateTime"/>
      <short value="Date (-time) of test"/>
      <definition value="Date (-time) of test"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="dateTime"/>
      </type>
      <mapping>
        <identity value="ChElmLaboratoryReportToFhir"/>
        <map
             value="Bundle.entry[0].resource.section.entry.resolve().effective"/>
      </mapping>
    </element>
    <element id="LaboratoryReport.TestResult.Type">
      <path value="LaboratoryReport.TestResult.Type"/>
      <short value="Type of test"/>
      <definition value="Type of test"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="Element"/>
      </type>
      <mapping>
        <identity value="ChElmLaboratoryReportToFhir"/>
        <map
             value="Bundle.entry[0].resource.section.entry.resolve().code.coding.where(system='http://loinc.org')"/>
      </mapping>
    </element>
    <element id="LaboratoryReport.TestResult.Type.Code">
      <path value="LaboratoryReport.TestResult.Type.Code"/>
      <short value="Coded data"/>
      <definition value="Coded data"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <mapping>
        <identity value="ChElmLaboratoryReportToFhir"/>
        <map
             value="Bundle.entry[0].resource.section.entry.resolve().code.coding.where(system='http://loinc.org').code"/>
      </mapping>
    </element>
    <element id="LaboratoryReport.TestResult.Type.CodeSystem">
      <path value="LaboratoryReport.TestResult.Type.CodeSystem"/>
      <short value="Identity fo the terminolgy system (LOINC)"/>
      <definition value="Identity fo the terminolgy system (LOINC)"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="uri"/>
      </type>
      <mapping>
        <identity value="ChElmLaboratoryReportToFhir"/>
        <map
             value="Bundle.entry[0].resource.section.entry.resolve().code.coding.where(system='http://loinc.org').system"/>
      </mapping>
    </element>
    <element id="LaboratoryReport.TestResult.Specimen">
      <path value="LaboratoryReport.TestResult.Specimen"/>
      <short value="Test sample"/>
      <definition value="Test sample"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="Element"/>
      </type>
      <mapping>
        <identity value="ChElmLaboratoryReportToFhir"/>
        <map
             value="Bundle.entry[0].resource.section.entry.resolve().specimen.resolve()"/>
      </mapping>
    </element>
    <element id="LaboratoryReport.TestResult.Specimen.CollectionDateTime">
      <path value="LaboratoryReport.TestResult.Specimen.CollectionDateTime"/>
      <short value="Date (-time) of sample collection"/>
      <definition value="Date (-time) of sample collection"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="dateTime"/>
      </type>
      <mapping>
        <identity value="ChElmLaboratoryReportToFhir"/>
        <map
             value="Bundle.entry[0].resource.section.entry.resolve().specimen.resolve().collection.collected"/>
      </mapping>
    </element>
    <element id="LaboratoryReport.TestResult.Specimen.Type">
      <path value="LaboratoryReport.TestResult.Specimen.Type"/>
      <short value="Collection material"/>
      <definition value="Collection material"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <mapping>
        <identity value="ChElmLaboratoryReportToFhir"/>
        <map
             value="Bundle.entry[0].resource.section.entry.resolve().specimen.resolve().type"/>
      </mapping>
    </element>
    <element id="LaboratoryReport.TestResult.Specimen.Type.Code">
      <path value="LaboratoryReport.TestResult.Specimen.Type.Code"/>
      <short value="Coded data"/>
      <definition value="Coded data"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <mapping>
        <identity value="ChElmLaboratoryReportToFhir"/>
        <map
             value="Bundle.entry[0].resource.section.entry.resolve().specimen.resolve().type.coding.where(system='http://snomed.info/sct').code"/>
      </mapping>
    </element>
    <element id="LaboratoryReport.TestResult.Specimen.Type.CodeSystem">
      <path value="LaboratoryReport.TestResult.Specimen.Type.CodeSystem"/>
      <short value="Identity fo the terminolgy system (SNOMED CT)"/>
      <definition value="Identity fo the terminolgy system (SNOMED CT)"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="uri"/>
      </type>
      <mapping>
        <identity value="ChElmLaboratoryReportToFhir"/>
        <map
             value="Bundle.entry[0].resource.section.entry.resolve().specimen.resolve().type.coding.where(system='http://snomed.info/sct').system"/>
      </mapping>
    </element>
    <element id="LaboratoryReport.TestResult.Specimen.Type.Text">
      <path value="LaboratoryReport.TestResult.Specimen.Type.Text"/>
      <short
             value="Remark that material is already declared by LOINC system axis"/>
      <definition
                  value="Remark that material is already declared by LOINC system axis"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="string"/>
      </type>
      <mapping>
        <identity value="ChElmLaboratoryReportToFhir"/>
        <map
             value="Bundle.entry[0].resource.section.entry.resolve().specimen.resolve().type.text"/>
      </mapping>
    </element>
    <element id="LaboratoryReport.TestResult.Value">
      <path value="LaboratoryReport.TestResult.Value"/>
      <short value="Acutal test result"/>
      <definition value="Acutal test result"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="Element"/>
      </type>
      <mapping>
        <identity value="ChElmLaboratoryReportToFhir"/>
        <map
             value="Bundle.entry[0].resource.section.entry.resolve().value.coding.where(system='http://snomed.info/sct')"/>
      </mapping>
    </element>
    <element id="LaboratoryReport.TestResult.Value.Code">
      <path value="LaboratoryReport.TestResult.Value.Code"/>
      <short value="Coded data"/>
      <definition value="Coded data"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <mapping>
        <identity value="ChElmLaboratoryReportToFhir"/>
        <map
             value="Bundle.entry[0].resource.section.entry.resolve().value.coding.where(system='http://snomed.info/sct').code"/>
      </mapping>
    </element>
    <element id="LaboratoryReport.TestResult.Value.CodeSystem">
      <path value="LaboratoryReport.TestResult.Value.CodeSystem"/>
      <short value="Identity fo the terminolgy system (SNOMED CT)"/>
      <definition value="Identity fo the terminolgy system (SNOMED CT)"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="uri"/>
      </type>
      <mapping>
        <identity value="ChElmLaboratoryReportToFhir"/>
        <map
             value="Bundle.entry[0].resource.section.entry.resolve().value.coding.where(system='http://snomed.info/sct').system"/>
      </mapping>
    </element>
    <element id="LaboratoryReport.TestResult.Interpretation">
      <path value="LaboratoryReport.TestResult.Interpretation"/>
      <short value="Interpretation of the test result"/>
      <definition value="Interpretation of the test result"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="Element"/>
      </type>
      <mapping>
        <identity value="ChElmLaboratoryReportToFhir"/>
        <map
             value="Bundle.entry[0].resource.section.entry.resolve().interpretation.coding.where(system='http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation')"/>
      </mapping>
    </element>
    <element id="LaboratoryReport.TestResult.Interpretation.Code">
      <path value="LaboratoryReport.TestResult.Interpretation.Code"/>
      <short value="Coded data"/>
      <definition value="Coded data"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <mapping>
        <identity value="ChElmLaboratoryReportToFhir"/>
        <map
             value="Bundle.entry[0].resource.section.entry.resolve().interpretation.coding.where(system='http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation').code"/>
      </mapping>
    </element>
    <element id="LaboratoryReport.TestResult.Interpretation.CodeSystem">
      <path value="LaboratoryReport.TestResult.Interpretation.CodeSystem"/>
      <short
             value="Identity fo the terminolgy system (HL7 ObservationInterpretation)"/>
      <definition
                  value="Identity fo the terminolgy system (HL7 ObservationInterpretation)"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="uri"/>
      </type>
      <mapping>
        <identity value="ChElmLaboratoryReportToFhir"/>
        <map
             value="Bundle.entry[0].resource.section.entry.resolve().interpretation.coding.where(system='http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation').system"/>
      </mapping>
    </element>
  </differential>
</StructureDefinition>