FHIR © HL7.org  |  Server Home  |  XIG Home  |  Server Source  |  FHIR  

FHIR IG Statistics: StructureDefinition/LaboratoryReport

Packagech.fhir.ig.ch-elm
TypeStructureDefinition
IdLaboratoryReport
FHIR VersionR4
Sourcehttp://fhir.ch/ig/ch-elm/https://build.fhir.org/ig/ahdis/ch-elm/StructureDefinition-LaboratoryReport.html
URLhttp://fhir.ch/ig/ch-elm/StructureDefinition/LaboratoryReport
Version1.10.0
Statusactive
Date2025-06-23T20:27:52+00:00
NameChElmLaboratoryReport
TitleCH ELM Laboratory Report
Realmch
Authorityhl7
DescriptionThe 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
CopyrightCC0-1.0
Typehttp://fhir.ch/ig/ch-elm/StructureDefinition/LaboratoryReport
Kindlogical

Resources that use this resource

No resources found


Resources that this resource uses

No resources found


Narrative

Note: links and images are rebased to the (stated) source

Generated Narrative: StructureDefinition LaboratoryReport

NameFlagsCard.TypeDescription & Constraintsdoco
.. LaboratoryReport 0..*Element
Elements defined in Ancestors:@id, extension
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)
... Header 1..1ElementDocument information
.... DocumentIdentifier 1..1IdentifierPersistent, unique identifier for the document
.... DocumentTimestamp 1..1dateTimeTimestamp of the document
.... DocumentLanguage 1..1codeLanguage of the document content
.... DocumentTitle 1..1stringHuman Readable name/title of the document
.... DocumentSectionTitle 1..1stringHuman Readable name/title of the section
... Author 1..1ElementAuthor of the document (may be identical with Lab)
.... OrganizationGLN 1..1IdentifierGlobal location number (GLN) of the authoring/sending organization
... Lab 1..1ElementNotifiable laboratory that performed the laboratory test -> Art. 4 Abs. 2 (Meldepflichtiges Laboratorium)
.... OrganizationGLN 1..1IdentifierGlobal location number (GLN) of the laboratory organization
.... OrganizationName 1..1stringName of the laboratory organization
.... OrderIdentifier 1..1IdentifierIdentifier assigned to this order by the testing laboratory
... Orderer 1..1ElementOrderer of the laboratory test -> Art. 4 Abs. 3 (Auftraggebende Ärztin oder auftraggebender Arzt und Betrieb in dem sie oder er tätig ist)
.... OrganizationBER 0..1IdentifierBusiness and Enterprise Register (BER) of the ordering organization
.... OrganizationUIDB 0..1IdentifierUnique Identification Business (UIDB) of the ordering organization
.... OrganizationName 1..1stringName of the ordering organization
.... OrganizationDepartment 1..1stringDepartment where the laboratory test is ordered
.... Physician 1..1ElementOrdering physician
..... GLN 1..1IdentifierGlobal location number (GLN) of the physician
..... ZSR 0..1IdentifierUnique Identification (ZSR/RCC) of the ordering physician
..... Surname 1..1stringSurname physician
..... Givenname 1..1stringGiven name physician
..... Phone 1..1stringPhone number physician
..... Email 1..1stringEmail address physician
.... OrganizationAddress 1..1ElementAddress of the ordering organization
..... StreetLine 1..1stringStreet name, house number
..... PostBox 1..1stringP.O. Box number
..... ZipCode 1..1stringZip code
..... City 1..1stringCity
... Patient 1..1ElementPatient -> Anhang 3 (Angaben zur betrofenen Person)
.... Identifier 1..1IdentifierIdentifier
..... OASI 0..1IdentifierSwitzerland: Old-age and survivors's insurance (OASI) number
..... IDN 0..1IdentifierLiechtenstein: Identification number (IDN)
.... Surname 1..1stringSurname (or initials)
.... Givenname 1..1stringGiven name (or initials)
.... Gender 1..1codeGender
.... DateOfBirth 1..1dateDate of birth
.... Phone 1..1stringPhone number
.... Address 1..1ElementResidence address
..... StreetLine 1..1stringStreet name, house number
..... ZipCode 1..1stringZip code
..... City 1..1stringCity
..... Canton 1..1codeCanton
..... Country 1..1codeCountry
... TestResult 1..1ElementLaboratory result -> Art. 4 Abs. 1 (Die zu meldenden laboranalytischen Befunde) - Anhang 3 (Angaben zum laboranalytischen Befund)
.... StudyType 1..1codeLaboratory study type
.... ExecutionDateTime 1..1dateTimeDate (-time) of test
.... Type 1..1ElementType of test
..... Code 1..1codeCoded data
..... CodeSystem 1..1uriIdentity fo the terminology system
.... Specimen 1..1ElementTest sample
..... CollectionDateTime 1..1dateTimeDate (-time) of sample collection
..... Type 1..1codeCollection material
...... Code 0..1codeCoded data
...... CodeSystem 0..1uriIdentity fo the terminology system
.... Value 1..1ElementAcutal test result
..... Code 1..1codeCoded data
..... CodeSystem 1..1uriIdentity fo the terminology system
.... Interpretation 1..1ElementInterpretation of the test result
..... Code 1..1codeCoded data
..... CodeSystem 1..1uriIdentity fo the terminology system (HL7 ObservationInterpretation)

doco Documentation for this format

Source

{
  "resourceType": "StructureDefinition",
  "id": "LaboratoryReport",
  "text": {
    "status": "extensions",
    "div": "<!-- snip (see above) -->"
  },
  "url": "http://fhir.ch/ig/ch-elm/StructureDefinition/LaboratoryReport",
  "version": "1.10.0",
  "name": "ChElmLaboratoryReport",
  "title": "CH ELM Laboratory Report",
  "status": "active",
  "date": "2025-06-23T20:27:52+00:00",
  "publisher": "Federal Office of Public Health FOPH",
  "contact": [
    {
      "name": "Federal Office of Public Health FOPH",
      "telecom": [
        {
          "system": "url",
          "value": "https://www.bag.admin.ch/bag/en/home/das-bag/kontakt-standort.html"
        }
      ]
    }
  ],
  "description": "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. \n\nCardinalities:\n- 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.\n- Since in reality the data is not always available, the CH ELM profiles define which elements are required or optional.\n- See also the concept 'Must Support', which is described on the 'Home' page of this implementation guide",
  "jurisdiction": [
    {
      "coding": [
        {
          "system": "urn:iso:std:iso:3166",
          "code": "CH"
        }
      ]
    }
  ],
  "copyright": "CC0-1.0",
  "fhirVersion": "4.0.1",
  "mapping": [
    {
      "identity": "ChElmLaboratoryReportToFhir",
      "uri": "hl7.org/fhir/r4",
      "name": "CH ELM Laboratory Report to FHIR"
    },
    {
      "identity": "rim",
      "uri": "http://hl7.org/v3",
      "name": "RIM Mapping"
    }
  ],
  "kind": "logical",
  "abstract": false,
  "type": "http://fhir.ch/ig/ch-elm/StructureDefinition/LaboratoryReport",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Element",
  "derivation": "specialization",
  "snapshot": {
    "extension": [
      {
        "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version",
        "valueString": "4.0.1"
      }
    ],
    "element": [
      {
        "id": "LaboratoryReport",
        "path": "LaboratoryReport",
        "short": "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": "Laboratory Report",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Element",
          "min": 0,
          "max": "*"
        },
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ],
        "isModifier": false,
        "mapping": [
          {
            "identity": "ChElmLaboratoryReportToFhir",
            "map": "Bundle"
          },
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "LaboratoryReport.id",
        "path": "LaboratoryReport.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "Unique id for inter-element referencing",
        "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                "valueUrl": "string"
              }
            ],
            "code": "http://hl7.org/fhirpath/System.String"
          }
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "LaboratoryReport.extension",
        "path": "LaboratoryReport.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "description": "Extensions are always sliced by (at least) url",
          "rules": "open"
        },
        "short": "Additional content defined by implementations",
        "definition": "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": "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": [
          "extensions",
          "user content"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "LaboratoryReport.Header",
        "path": "LaboratoryReport.Header",
        "short": "Document information",
        "definition": "Document information",
        "min": 1,
        "max": "1",
        "base": {
          "path": "LaboratoryReport.Header",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "Element"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "ChElmLaboratoryReportToFhir",
            "map": "Bundle.entry[0]"
          }
        ]
      },
      {
        "id": "LaboratoryReport.Header.id",
        "path": "LaboratoryReport.Header.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "Unique id for inter-element referencing",
        "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                "valueUrl": "string"
              }
            ],
            "code": "http://hl7.org/fhirpath/System.String"
          }
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "LaboratoryReport.Header.extension",
        "path": "LaboratoryReport.Header.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "description": "Extensions are always sliced by (at least) url",
          "rules": "open"
        },
        "short": "Additional content defined by implementations",
        "definition": "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": "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": [
          "extensions",
          "user content"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "LaboratoryReport.Header.DocumentIdentifier",
        "path": "LaboratoryReport.Header.DocumentIdentifier",
        "short": "Persistent, unique identifier for the document",
        "definition": "Persistent, unique identifier for the document",
        "min": 1,
        "max": "1",
        "base": {
          "path": "LaboratoryReport.Header.DocumentIdentifier",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "Identifier"
          }
        ],
        "mapping": [
          {
            "identity": "ChElmLaboratoryReportToFhir",
            "map": "Bundle.entry[0].resource.identifier.where(system='urn:ietf:rfc:3986').value.substring(9)"
          }
        ]
      },
      {
        "id": "LaboratoryReport.Header.DocumentTimestamp",
        "path": "LaboratoryReport.Header.DocumentTimestamp",
        "short": "Timestamp of the document",
        "definition": "Timestamp of the document",
        "min": 1,
        "max": "1",
        "base": {
          "path": "LaboratoryReport.Header.DocumentTimestamp",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "dateTime"
          }
        ],
        "mapping": [
          {
            "identity": "ChElmLaboratoryReportToFhir",
            "map": "Bundle.entry[0].resource.date"
          }
        ]
      },
      {
        "id": "LaboratoryReport.Header.DocumentLanguage",
        "path": "LaboratoryReport.Header.DocumentLanguage",
        "short": "Language of the document content",
        "definition": "Language of the document content",
        "min": 1,
        "max": "1",
        "base": {
          "path": "LaboratoryReport.Header.DocumentLanguage",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "mapping": [
          {
            "identity": "ChElmLaboratoryReportToFhir",
            "map": "Bundle.entry[0].resource.language"
          }
        ]
      },
      {
        "id": "LaboratoryReport.Header.DocumentTitle",
        "path": "LaboratoryReport.Header.DocumentTitle",
        "short": "Human Readable name/title of the document",
        "definition": "Human Readable name/title of the document",
        "min": 1,
        "max": "1",
        "base": {
          "path": "LaboratoryReport.Header.DocumentTitle",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "mapping": [
          {
            "identity": "ChElmLaboratoryReportToFhir",
            "map": "Bundle.entry[0].resource.title"
          }
        ]
      },
      {
        "id": "LaboratoryReport.Header.DocumentSectionTitle",
        "path": "LaboratoryReport.Header.DocumentSectionTitle",
        "short": "Human Readable name/title of the section",
        "definition": "Human Readable name/title of the section",
        "min": 1,
        "max": "1",
        "base": {
          "path": "LaboratoryReport.Header.DocumentSectionTitle",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "mapping": [
          {
            "identity": "ChElmLaboratoryReportToFhir",
            "map": "Bundle.entry[0].resource.section.title"
          }
        ]
      },
      {
        "id": "LaboratoryReport.Author",
        "path": "LaboratoryReport.Author",
        "short": "Author of the document (may be identical with Lab)",
        "definition": "Author of the document (may be identical with Lab)",
        "min": 1,
        "max": "1",
        "base": {
          "path": "LaboratoryReport.Author",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "Element"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "ChElmLaboratoryReportToFhir",
            "map": "Bundle.entry[0].resource.author.resolve()"
          }
        ]
      },
      {
        "id": "LaboratoryReport.Author.id",
        "path": "LaboratoryReport.Author.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "Unique id for inter-element referencing",
        "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                "valueUrl": "string"
              }
            ],
            "code": "http://hl7.org/fhirpath/System.String"
          }
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "LaboratoryReport.Author.extension",
        "path": "LaboratoryReport.Author.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "description": "Extensions are always sliced by (at least) url",
          "rules": "open"
        },
        "short": "Additional content defined by implementations",
        "definition": "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": "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": [
          "extensions",
          "user content"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "LaboratoryReport.Author.OrganizationGLN",
        "path": "LaboratoryReport.Author.OrganizationGLN",
        "short": "Global location number (GLN) of the authoring/sending organization",
        "definition": "Global location number (GLN) of the authoring/sending organization",
        "min": 1,
        "max": "1",
        "base": {
          "path": "LaboratoryReport.Author.OrganizationGLN",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "Identifier"
          }
        ],
        "mapping": [
          {
            "identity": "ChElmLaboratoryReportToFhir",
            "map": "Bundle.entry[0].resource.author.resolve().identifier.where(system='urn:oid:2.51.1.3').value"
          }
        ]
      },
      {
        "id": "LaboratoryReport.Lab",
        "path": "LaboratoryReport.Lab",
        "short": "Notifiable laboratory that performed the laboratory test -> Art. 4 Abs. 2 (Meldepflichtiges Laboratorium)",
        "definition": "Notifiable laboratory that performed the laboratory test -> Art. 4 Abs. 2 (Meldepflichtiges Laboratorium)",
        "min": 1,
        "max": "1",
        "base": {
          "path": "LaboratoryReport.Lab",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "Element"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "ChElmLaboratoryReportToFhir",
            "map": "Bundle.entry.resource.as(DiagnosticReport).performer.resolve()"
          }
        ]
      },
      {
        "id": "LaboratoryReport.Lab.id",
        "path": "LaboratoryReport.Lab.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "Unique id for inter-element referencing",
        "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                "valueUrl": "string"
              }
            ],
            "code": "http://hl7.org/fhirpath/System.String"
          }
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "LaboratoryReport.Lab.extension",
        "path": "LaboratoryReport.Lab.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "description": "Extensions are always sliced by (at least) url",
          "rules": "open"
        },
        "short": "Additional content defined by implementations",
        "definition": "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": "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": [
          "extensions",
          "user content"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "LaboratoryReport.Lab.OrganizationGLN",
        "path": "LaboratoryReport.Lab.OrganizationGLN",
        "short": "Global location number (GLN) of the laboratory organization",
        "definition": "Global location number (GLN) of the laboratory organization",
        "min": 1,
        "max": "1",
        "base": {
          "path": "LaboratoryReport.Lab.OrganizationGLN",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "Identifier"
          }
        ],
        "mapping": [
          {
            "identity": "ChElmLaboratoryReportToFhir",
            "map": "Bundle.entry.resource.as(DiagnosticReport).performer.resolve().identifier.where(system='urn:oid:2.51.1.3').value"
          }
        ]
      },
      {
        "id": "LaboratoryReport.Lab.OrganizationName",
        "path": "LaboratoryReport.Lab.OrganizationName",
        "short": "Name of the laboratory organization",
        "definition": "Name of the laboratory organization",
        "min": 1,
        "max": "1",
        "base": {
          "path": "LaboratoryReport.Lab.OrganizationName",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "mapping": [
          {
            "identity": "ChElmLaboratoryReportToFhir",
            "map": "Bundle.entry.resource.as(DiagnosticReport).performer.resolve().name"
          }
        ]
      },
      {
        "id": "LaboratoryReport.Lab.OrderIdentifier",
        "path": "LaboratoryReport.Lab.OrderIdentifier",
        "short": "Identifier assigned to this order by the testing laboratory",
        "definition": "Identifier assigned to this order by the testing laboratory",
        "min": 1,
        "max": "1",
        "base": {
          "path": "LaboratoryReport.Lab.OrderIdentifier",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "Identifier"
          }
        ],
        "mapping": [
          {
            "identity": "ChElmLaboratoryReportToFhir",
            "map": "Bundle.entry.resource.as(DiagnosticReport).basedOn.resolve().identifier"
          }
        ]
      },
      {
        "id": "LaboratoryReport.Orderer",
        "path": "LaboratoryReport.Orderer",
        "short": "Orderer of the laboratory test -> Art. 4 Abs. 3 (Auftraggebende Ärztin oder auftraggebender Arzt und Betrieb in dem sie oder er tätig ist)",
        "definition": "Orderer of the laboratory test -> Art. 4 Abs. 3 (Auftraggebende Ärztin oder auftraggebender Arzt und Betrieb in dem sie oder er tätig ist)",
        "min": 1,
        "max": "1",
        "base": {
          "path": "LaboratoryReport.Orderer",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "Element"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "ChElmLaboratoryReportToFhir",
            "map": "Bundle.entry.resource.as(DiagnosticReport).basedOn.resolve().requester.resolve()"
          }
        ]
      },
      {
        "id": "LaboratoryReport.Orderer.id",
        "path": "LaboratoryReport.Orderer.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "Unique id for inter-element referencing",
        "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                "valueUrl": "string"
              }
            ],
            "code": "http://hl7.org/fhirpath/System.String"
          }
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "LaboratoryReport.Orderer.extension",
        "path": "LaboratoryReport.Orderer.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "description": "Extensions are always sliced by (at least) url",
          "rules": "open"
        },
        "short": "Additional content defined by implementations",
        "definition": "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": "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": [
          "extensions",
          "user content"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "LaboratoryReport.Orderer.OrganizationBER",
        "path": "LaboratoryReport.Orderer.OrganizationBER",
        "short": "Business and Enterprise Register (BER) of the ordering organization",
        "definition": "Business and Enterprise Register (BER) of the ordering organization",
        "min": 0,
        "max": "1",
        "base": {
          "path": "LaboratoryReport.Orderer.OrganizationBER",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Identifier"
          }
        ],
        "mapping": [
          {
            "identity": "ChElmLaboratoryReportToFhir",
            "map": "Bundle.entry.resource.as(DiagnosticReport).basedOn.resolve().requester.resolve().organization.resolve().identifier.where(system='urn:oid:2.16.756.5.45').value"
          }
        ]
      },
      {
        "id": "LaboratoryReport.Orderer.OrganizationUIDB",
        "path": "LaboratoryReport.Orderer.OrganizationUIDB",
        "short": "Unique Identification Business (UIDB) of the ordering organization",
        "definition": "Unique Identification Business (UIDB) of the ordering organization",
        "min": 0,
        "max": "1",
        "base": {
          "path": "LaboratoryReport.Orderer.OrganizationUIDB",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Identifier"
          }
        ],
        "mapping": [
          {
            "identity": "ChElmLaboratoryReportToFhir",
            "map": "Bundle.entry.resource.as(DiagnosticReport).basedOn.resolve().requester.resolve().organization.resolve().identifier.where(system='urn:oid:2.16.756.5.35').value"
          }
        ]
      },
      {
        "id": "LaboratoryReport.Orderer.OrganizationName",
        "path": "LaboratoryReport.Orderer.OrganizationName",
        "short": "Name of the ordering organization",
        "definition": "Name of the ordering organization",
        "min": 1,
        "max": "1",
        "base": {
          "path": "LaboratoryReport.Orderer.OrganizationName",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "mapping": [
          {
            "identity": "ChElmLaboratoryReportToFhir",
            "map": "Bundle.entry.resource.as(DiagnosticReport).basedOn.resolve().requester.resolve().organization.resolve().name"
          }
        ]
      },
      {
        "id": "LaboratoryReport.Orderer.OrganizationDepartment",
        "path": "LaboratoryReport.Orderer.OrganizationDepartment",
        "short": "Department where the laboratory test is ordered",
        "definition": "Department where the laboratory test is ordered",
        "min": 1,
        "max": "1",
        "base": {
          "path": "LaboratoryReport.Orderer.OrganizationDepartment",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "mapping": [
          {
            "identity": "ChElmLaboratoryReportToFhir",
            "map": "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"
          }
        ]
      },
      {
        "id": "LaboratoryReport.Orderer.Physician",
        "path": "LaboratoryReport.Orderer.Physician",
        "short": "Ordering physician",
        "definition": "Ordering physician",
        "min": 1,
        "max": "1",
        "base": {
          "path": "LaboratoryReport.Orderer.Physician",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "Element"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "ChElmLaboratoryReportToFhir",
            "map": "Bundle.entry.resource.as(DiagnosticReport).basedOn.resolve().requester.resolve().practitioner.resolve()"
          }
        ]
      },
      {
        "id": "LaboratoryReport.Orderer.Physician.id",
        "path": "LaboratoryReport.Orderer.Physician.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "Unique id for inter-element referencing",
        "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                "valueUrl": "string"
              }
            ],
            "code": "http://hl7.org/fhirpath/System.String"
          }
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "LaboratoryReport.Orderer.Physician.extension",
        "path": "LaboratoryReport.Orderer.Physician.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "description": "Extensions are always sliced by (at least) url",
          "rules": "open"
        },
        "short": "Additional content defined by implementations",
        "definition": "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": "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": [
          "extensions",
          "user content"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "LaboratoryReport.Orderer.Physician.GLN",
        "path": "LaboratoryReport.Orderer.Physician.GLN",
        "short": "Global location number (GLN) of the physician",
        "definition": "Global location number (GLN) of the physician",
        "min": 1,
        "max": "1",
        "base": {
          "path": "LaboratoryReport.Orderer.Physician.GLN",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "Identifier"
          }
        ],
        "mapping": [
          {
            "identity": "ChElmLaboratoryReportToFhir",
            "map": "Bundle.entry.resource.as(DiagnosticReport).basedOn.resolve().requester.resolve().practitioner.resolve().identifier.where(system='urn:oid:2.51.1.3').value"
          }
        ]
      },
      {
        "id": "LaboratoryReport.Orderer.Physician.ZSR",
        "path": "LaboratoryReport.Orderer.Physician.ZSR",
        "short": "Unique Identification (ZSR/RCC) of the ordering physician",
        "definition": "Unique Identification (ZSR/RCC) of the ordering physician",
        "min": 0,
        "max": "1",
        "base": {
          "path": "LaboratoryReport.Orderer.Physician.ZSR",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Identifier"
          }
        ],
        "mapping": [
          {
            "identity": "ChElmLaboratoryReportToFhir",
            "map": "Bundle.entry.resource.as(DiagnosticReport).basedOn.resolve().requester.resolve().practitioner.resolve().identifier.where(system='urn:oid:2.16.756.5.30.1.123.100.2.1.1').value"
          }
        ]
      },
      {
        "id": "LaboratoryReport.Orderer.Physician.Surname",
        "path": "LaboratoryReport.Orderer.Physician.Surname",
        "short": "Surname physician",
        "definition": "Surname physician",
        "min": 1,
        "max": "1",
        "base": {
          "path": "LaboratoryReport.Orderer.Physician.Surname",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "mapping": [
          {
            "identity": "ChElmLaboratoryReportToFhir",
            "map": "Bundle.entry.resource.as(DiagnosticReport).basedOn.resolve().requester.resolve().practitioner.resolve().name.family"
          }
        ]
      },
      {
        "id": "LaboratoryReport.Orderer.Physician.Givenname",
        "path": "LaboratoryReport.Orderer.Physician.Givenname",
        "short": "Given name physician",
        "definition": "Given name physician",
        "min": 1,
        "max": "1",
        "base": {
          "path": "LaboratoryReport.Orderer.Physician.Givenname",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "mapping": [
          {
            "identity": "ChElmLaboratoryReportToFhir",
            "map": "Bundle.entry.resource.as(DiagnosticReport).basedOn.resolve().requester.resolve().practitioner.resolve().name.given"
          }
        ]
      },
      {
        "id": "LaboratoryReport.Orderer.Physician.Phone",
        "path": "LaboratoryReport.Orderer.Physician.Phone",
        "short": "Phone number physician",
        "definition": "Phone number physician",
        "min": 1,
        "max": "1",
        "base": {
          "path": "LaboratoryReport.Orderer.Physician.Phone",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "mapping": [
          {
            "identity": "ChElmLaboratoryReportToFhir",
            "map": "Bundle.entry.resource.as(DiagnosticReport).basedOn.resolve().requester.resolve().practitioner.resolve().telecom.where(system='phone').value"
          }
        ]
      },
      {
        "id": "LaboratoryReport.Orderer.Physician.Email",
        "path": "LaboratoryReport.Orderer.Physician.Email",
        "short": "Email address physician",
        "definition": "Email address physician",
        "min": 1,
        "max": "1",
        "base": {
          "path": "LaboratoryReport.Orderer.Physician.Email",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "mapping": [
          {
            "identity": "ChElmLaboratoryReportToFhir",
            "map": "Bundle.entry.resource.as(DiagnosticReport).basedOn.resolve().requester.resolve().practitioner.resolve().telecom.where(system='email').value"
          }
        ]
      },
      {
        "id": "LaboratoryReport.Orderer.OrganizationAddress",
        "path": "LaboratoryReport.Orderer.OrganizationAddress",
        "short": "Address of the ordering organization",
        "definition": "Address of the ordering organization",
        "min": 1,
        "max": "1",
        "base": {
          "path": "LaboratoryReport.Orderer.OrganizationAddress",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "Element"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "ChElmLaboratoryReportToFhir",
            "map": "Bundle.entry.resource.as(DiagnosticReport).basedOn.resolve().requester.resolve().organization.resolve().address"
          }
        ]
      },
      {
        "id": "LaboratoryReport.Orderer.OrganizationAddress.id",
        "path": "LaboratoryReport.Orderer.OrganizationAddress.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "Unique id for inter-element referencing",
        "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                "valueUrl": "string"
              }
            ],
            "code": "http://hl7.org/fhirpath/System.String"
          }
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "LaboratoryReport.Orderer.OrganizationAddress.extension",
        "path": "LaboratoryReport.Orderer.OrganizationAddress.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "description": "Extensions are always sliced by (at least) url",
          "rules": "open"
        },
        "short": "Additional content defined by implementations",
        "definition": "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": "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": [
          "extensions",
          "user content"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "LaboratoryReport.Orderer.OrganizationAddress.StreetLine",
        "path": "LaboratoryReport.Orderer.OrganizationAddress.StreetLine",
        "short": "Street name, house number",
        "definition": "Street name, house number",
        "min": 1,
        "max": "1",
        "base": {
          "path": "LaboratoryReport.Orderer.OrganizationAddress.StreetLine",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "mapping": [
          {
            "identity": "ChElmLaboratoryReportToFhir",
            "map": "Bundle.entry.resource.as(DiagnosticReport).basedOn.resolve().requester.resolve().organization.resolve().address.line.extension.where(url='http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName').value"
          },
          {
            "identity": "ChElmLaboratoryReportToFhir",
            "map": "Bundle.entry.resource.as(DiagnosticReport).basedOn.resolve().requester.resolve().organization.resolve().address.line.extension.where(url='http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber').value"
          }
        ]
      },
      {
        "id": "LaboratoryReport.Orderer.OrganizationAddress.PostBox",
        "path": "LaboratoryReport.Orderer.OrganizationAddress.PostBox",
        "short": "P.O. Box number",
        "definition": "P.O. Box number",
        "min": 1,
        "max": "1",
        "base": {
          "path": "LaboratoryReport.Orderer.OrganizationAddress.PostBox",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "mapping": [
          {
            "identity": "ChElmLaboratoryReportToFhir",
            "map": "Bundle.entry.resource.as(DiagnosticReport).basedOn.resolve().requester.resolve().organization.resolve().address.line.extension.where(url='http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-postBox').value"
          }
        ]
      },
      {
        "id": "LaboratoryReport.Orderer.OrganizationAddress.ZipCode",
        "path": "LaboratoryReport.Orderer.OrganizationAddress.ZipCode",
        "short": "Zip code",
        "definition": "Zip code",
        "min": 1,
        "max": "1",
        "base": {
          "path": "LaboratoryReport.Orderer.OrganizationAddress.ZipCode",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "mapping": [
          {
            "identity": "ChElmLaboratoryReportToFhir",
            "map": "Bundle.entry.resource.as(DiagnosticReport).basedOn.resolve().requester.resolve().organization.resolve().address.postalCode"
          }
        ]
      },
      {
        "id": "LaboratoryReport.Orderer.OrganizationAddress.City",
        "path": "LaboratoryReport.Orderer.OrganizationAddress.City",
        "short": "City",
        "definition": "City",
        "min": 1,
        "max": "1",
        "base": {
          "path": "LaboratoryReport.Orderer.OrganizationAddress.City",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "mapping": [
          {
            "identity": "ChElmLaboratoryReportToFhir",
            "map": "Bundle.entry.resource.as(DiagnosticReport).basedOn.resolve().requester.resolve().organization.resolve().address.city"
          }
        ]
      },
      {
        "id": "LaboratoryReport.Patient",
        "path": "LaboratoryReport.Patient",
        "short": "Patient -> Anhang 3 (Angaben zur betrofenen Person)",
        "definition": "Patient -> Anhang 3 (Angaben zur betrofenen Person)",
        "min": 1,
        "max": "1",
        "base": {
          "path": "LaboratoryReport.Patient",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "Element"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "ChElmLaboratoryReportToFhir",
            "map": "Bundle.entry[0].resource.subject.resolve()"
          }
        ]
      },
      {
        "id": "LaboratoryReport.Patient.id",
        "path": "LaboratoryReport.Patient.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "Unique id for inter-element referencing",
        "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                "valueUrl": "string"
              }
            ],
            "code": "http://hl7.org/fhirpath/System.String"
          }
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "LaboratoryReport.Patient.extension",
        "path": "LaboratoryReport.Patient.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "description": "Extensions are always sliced by (at least) url",
          "rules": "open"
        },
        "short": "Additional content defined by implementations",
        "definition": "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": "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": [
          "extensions",
          "user content"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "LaboratoryReport.Patient.Identifier",
        "path": "LaboratoryReport.Patient.Identifier",
        "short": "Identifier",
        "definition": "Identifier",
        "min": 1,
        "max": "1",
        "base": {
          "path": "LaboratoryReport.Patient.Identifier",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "Identifier"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ],
        "mapping": [
          {
            "identity": "ChElmLaboratoryReportToFhir",
            "map": "Bundle.entry[0].resource.subject.resolve().identifier"
          }
        ]
      },
      {
        "id": "LaboratoryReport.Patient.Identifier.id",
        "path": "LaboratoryReport.Patient.Identifier.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "Unique id for inter-element referencing",
        "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                "valueUrl": "string"
              }
            ],
            "code": "http://hl7.org/fhirpath/System.String"
          }
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "LaboratoryReport.Patient.Identifier.extension",
        "path": "LaboratoryReport.Patient.Identifier.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "description": "Extensions are always sliced by (at least) url",
          "rules": "open"
        },
        "short": "Additional content defined by implementations",
        "definition": "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": "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": [
          "extensions",
          "user content"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "LaboratoryReport.Patient.Identifier.use",
        "path": "LaboratoryReport.Patient.Identifier.use",
        "short": "usual | official | temp | secondary | old (If known)",
        "definition": "The purpose of this identifier.",
        "comment": "Applications can assume that an identifier is permanent unless it explicitly says that it is temporary.",
        "requirements": "Allows the appropriate identifier for a particular context of use to be selected from among a set of identifiers.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Identifier.use",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ],
        "isModifier": true,
        "isModifierReason": "This is labeled as \"Is Modifier\" because applications should not mistake a temporary id for a permanent one.",
        "isSummary": true,
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "IdentifierUse"
            }
          ],
          "strength": "required",
          "description": "Identifies the purpose for this identifier, if known .",
          "valueSet": "http://hl7.org/fhir/ValueSet/identifier-use|4.0.1"
        },
        "mapping": [
          {
            "identity": "v2",
            "map": "N/A"
          },
          {
            "identity": "rim",
            "map": "Role.code or implied by context"
          }
        ]
      },
      {
        "id": "LaboratoryReport.Patient.Identifier.type",
        "path": "LaboratoryReport.Patient.Identifier.type",
        "short": "Description of identifier",
        "definition": "A coded type for the identifier that can be used to determine which identifier to use for a specific purpose.",
        "comment": "This element deals only with general categories of identifiers.  It SHOULD not be used for codes that correspond 1..1 with the Identifier.system. Some identifiers may fall into multiple categories due to common usage.   Where the system is known, a type is unnecessary because the type is always part of the system definition. However systems often need to handle identifiers where the system is not known. There is not a 1:1 relationship between type and system, since many different systems have the same type.",
        "requirements": "Allows users to make use of identifiers when the identifier system is not known.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Identifier.type",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ],
        "isModifier": false,
        "isSummary": true,
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "IdentifierType"
            },
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding",
              "valueBoolean": true
            }
          ],
          "strength": "extensible",
          "description": "A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.",
          "valueSet": "http://hl7.org/fhir/ValueSet/identifier-type"
        },
        "mapping": [
          {
            "identity": "v2",
            "map": "CX.5"
          },
          {
            "identity": "rim",
            "map": "Role.code or implied by context"
          }
        ]
      },
      {
        "id": "LaboratoryReport.Patient.Identifier.system",
        "path": "LaboratoryReport.Patient.Identifier.system",
        "short": "The namespace for the identifier value",
        "definition": "Establishes the namespace for the value - that is, a URL that describes a set values that are unique.",
        "comment": "Identifier.system is always case sensitive.",
        "requirements": "There are many sets  of identifiers.  To perform matching of two identifiers, we need to know what set we're dealing with. The system identifies a particular set of unique identifiers.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Identifier.system",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "example": [
          {
            "label": "General",
            "valueUri": "http://www.acme.com/identifiers/patient"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ],
        "isModifier": false,
        "isSummary": true,
        "mapping": [
          {
            "identity": "v2",
            "map": "CX.4 / EI-2-4"
          },
          {
            "identity": "rim",
            "map": "II.root or Role.id.root"
          },
          {
            "identity": "servd",
            "map": "./IdentifierType"
          }
        ]
      },
      {
        "id": "LaboratoryReport.Patient.Identifier.value",
        "path": "LaboratoryReport.Patient.Identifier.value",
        "short": "The value that is unique",
        "definition": "The portion of the identifier typically relevant to the user and which is unique within the context of the system.",
        "comment": "If the value is a full URI, then the system SHALL be urn:ietf:rfc:3986.  The value's primary purpose is computational mapping.  As a result, it may be normalized for comparison purposes (e.g. removing non-significant whitespace, dashes, etc.)  A value formatted for human display can be conveyed using the [Rendered Value extension](http://hl7.org/fhir/R4/extension-rendered-value.html). Identifier.value is to be treated as case sensitive unless knowledge of the Identifier.system allows the processer to be confident that non-case-sensitive processing is safe.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Identifier.value",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "example": [
          {
            "label": "General",
            "valueString": "123456"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ],
        "isModifier": false,
        "isSummary": true,
        "mapping": [
          {
            "identity": "v2",
            "map": "CX.1 / EI.1"
          },
          {
            "identity": "rim",
            "map": "II.extension or II.root if system indicates OID or GUID (Or Role.id.extension or root)"
          },
          {
            "identity": "servd",
            "map": "./Value"
          }
        ]
      },
      {
        "id": "LaboratoryReport.Patient.Identifier.period",
        "path": "LaboratoryReport.Patient.Identifier.period",
        "short": "Time period when id is/was valid for use",
        "definition": "Time period during which identifier is/was valid for use.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Identifier.period",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Period"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ],
        "isModifier": false,
        "isSummary": true,
        "mapping": [
          {
            "identity": "v2",
            "map": "CX.7 + CX.8"
          },
          {
            "identity": "rim",
            "map": "Role.effectiveTime or implied by context"
          },
          {
            "identity": "servd",
            "map": "./StartDate and ./EndDate"
          }
        ]
      },
      {
        "id": "LaboratoryReport.Patient.Identifier.assigner",
        "path": "LaboratoryReport.Patient.Identifier.assigner",
        "short": "Organization that issued id (may be just text)",
        "definition": "Organization that issued/manages the identifier.",
        "comment": "The Identifier.assigner may omit the .reference element and only contain a .display element reflecting the name or other textual information about the assigning organization.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Identifier.assigner",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://hl7.org/fhir/StructureDefinition/Organization"
            ]
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ],
        "isModifier": false,
        "isSummary": true,
        "mapping": [
          {
            "identity": "v2",
            "map": "CX.4 / (CX.4,CX.9,CX.10)"
          },
          {
            "identity": "rim",
            "map": "II.assigningAuthorityName but note that this is an improper use by the definition of the field.  Also Role.scoper"
          },
          {
            "identity": "servd",
            "map": "./IdentifierIssuingAuthority"
          }
        ]
      },
      {
        "id": "LaboratoryReport.Patient.Identifier.OASI",
        "path": "LaboratoryReport.Patient.Identifier.OASI",
        "short": "Switzerland: Old-age and survivors's insurance (OASI) number",
        "definition": "Switzerland: Old-age and survivors's insurance (OASI) number",
        "min": 0,
        "max": "1",
        "base": {
          "path": "LaboratoryReport.Patient.Identifier.OASI",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Identifier"
          }
        ],
        "mapping": [
          {
            "identity": "ChElmLaboratoryReportToFhir",
            "map": "Bundle.entry[0].resource.subject.resolve().identifier.where(system='urn:oid:2.16.756.5.32').value"
          }
        ]
      },
      {
        "id": "LaboratoryReport.Patient.Identifier.IDN",
        "path": "LaboratoryReport.Patient.Identifier.IDN",
        "short": "Liechtenstein: Identification number (IDN)",
        "definition": "Liechtenstein: Identification number (IDN)",
        "min": 0,
        "max": "1",
        "base": {
          "path": "LaboratoryReport.Patient.Identifier.IDN",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Identifier"
          }
        ],
        "mapping": [
          {
            "identity": "ChElmLaboratoryReportToFhir",
            "map": "Bundle.entry[0].resource.subject.resolve().identifier.where(system='urn:oid:2.16.438.10.20.10.10.1.2.1').value"
          }
        ]
      },
      {
        "id": "LaboratoryReport.Patient.Surname",
        "path": "LaboratoryReport.Patient.Surname",
        "short": "Surname (or initials)",
        "definition": "Surname (or initials)",
        "min": 1,
        "max": "1",
        "base": {
          "path": "LaboratoryReport.Patient.Surname",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "mapping": [
          {
            "identity": "ChElmLaboratoryReportToFhir",
            "map": "Bundle.entry[0].resource.subject.resolve().name.given"
          }
        ]
      },
      {
        "id": "LaboratoryReport.Patient.Givenname",
        "path": "LaboratoryReport.Patient.Givenname",
        "short": "Given name (or initials)",
        "definition": "Given name (or initials)",
        "min": 1,
        "max": "1",
        "base": {
          "path": "LaboratoryReport.Patient.Givenname",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "mapping": [
          {
            "identity": "ChElmLaboratoryReportToFhir",
            "map": "Bundle.entry[0].resource.subject.resolve().name.family"
          }
        ]
      },
      {
        "id": "LaboratoryReport.Patient.Gender",
        "path": "LaboratoryReport.Patient.Gender",
        "short": "Gender",
        "definition": "Gender",
        "min": 1,
        "max": "1",
        "base": {
          "path": "LaboratoryReport.Patient.Gender",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "mapping": [
          {
            "identity": "ChElmLaboratoryReportToFhir",
            "map": "Bundle.entry[0].resource.subject.resolve().gender"
          }
        ]
      },
      {
        "id": "LaboratoryReport.Patient.DateOfBirth",
        "path": "LaboratoryReport.Patient.DateOfBirth",
        "short": "Date of birth",
        "definition": "Date of birth",
        "min": 1,
        "max": "1",
        "base": {
          "path": "LaboratoryReport.Patient.DateOfBirth",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "date"
          }
        ],
        "mapping": [
          {
            "identity": "ChElmLaboratoryReportToFhir",
            "map": "Bundle.entry[0].resource.subject.resolve().birthDate"
          }
        ]
      },
      {
        "id": "LaboratoryReport.Patient.Phone",
        "path": "LaboratoryReport.Patient.Phone",
        "short": "Phone number",
        "definition": "Phone number",
        "min": 1,
        "max": "1",
        "base": {
          "path": "LaboratoryReport.Patient.Phone",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "mapping": [
          {
            "identity": "ChElmLaboratoryReportToFhir",
            "map": "Bundle.entry[0].resource.subject.resolve().telecom.where(system='phone').value"
          }
        ]
      },
      {
        "id": "LaboratoryReport.Patient.Address",
        "path": "LaboratoryReport.Patient.Address",
        "short": "Residence address",
        "definition": "Residence address",
        "min": 1,
        "max": "1",
        "base": {
          "path": "LaboratoryReport.Patient.Address",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "Element"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "ChElmLaboratoryReportToFhir",
            "map": "Bundle.entry[0].resource.subject.resolve().address.where(use='home')"
          }
        ]
      },
      {
        "id": "LaboratoryReport.Patient.Address.id",
        "path": "LaboratoryReport.Patient.Address.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "Unique id for inter-element referencing",
        "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                "valueUrl": "string"
              }
            ],
            "code": "http://hl7.org/fhirpath/System.String"
          }
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "LaboratoryReport.Patient.Address.extension",
        "path": "LaboratoryReport.Patient.Address.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "description": "Extensions are always sliced by (at least) url",
          "rules": "open"
        },
        "short": "Additional content defined by implementations",
        "definition": "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": "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": [
          "extensions",
          "user content"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "LaboratoryReport.Patient.Address.StreetLine",
        "path": "LaboratoryReport.Patient.Address.StreetLine",
        "short": "Street name, house number",
        "definition": "Street name, house number",
        "min": 1,
        "max": "1",
        "base": {
          "path": "LaboratoryReport.Patient.Address.StreetLine",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "mapping": [
          {
            "identity": "ChElmLaboratoryReportToFhir",
            "map": "Bundle.entry[0].resource.subject.resolve().address.where(use='home').line.extension.where(url='http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName').value"
          },
          {
            "identity": "ChElmLaboratoryReportToFhir",
            "map": "Bundle.entry[0].resource.subject.resolve().address.where(use='home').line.extension.where(url='http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber').value"
          }
        ]
      },
      {
        "id": "LaboratoryReport.Patient.Address.ZipCode",
        "path": "LaboratoryReport.Patient.Address.ZipCode",
        "short": "Zip code",
        "definition": "Zip code",
        "min": 1,
        "max": "1",
        "base": {
          "path": "LaboratoryReport.Patient.Address.ZipCode",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "mapping": [
          {
            "identity": "ChElmLaboratoryReportToFhir",
            "map": "Bundle.entry[0].resource.subject.resolve().address.where(use='home').postalCode"
          }
        ]
      },
      {
        "id": "LaboratoryReport.Patient.Address.City",
        "path": "LaboratoryReport.Patient.Address.City",
        "short": "City",
        "definition": "City",
        "min": 1,
        "max": "1",
        "base": {
          "path": "LaboratoryReport.Patient.Address.City",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "mapping": [
          {
            "identity": "ChElmLaboratoryReportToFhir",
            "map": "Bundle.entry[0].resource.subject.resolve().address.where(use='home').city"
          }
        ]
      },
      {
        "id": "LaboratoryReport.Patient.Address.Canton",
        "path": "LaboratoryReport.Patient.Address.Canton",
        "short": "Canton",
        "definition": "Canton",
        "min": 1,
        "max": "1",
        "base": {
          "path": "LaboratoryReport.Patient.Address.Canton",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "mapping": [
          {
            "identity": "ChElmLaboratoryReportToFhir",
            "map": "Bundle.entry[0].resource.subject.resolve().address.where(use='home').state"
          }
        ]
      },
      {
        "id": "LaboratoryReport.Patient.Address.Country",
        "path": "LaboratoryReport.Patient.Address.Country",
        "short": "Country",
        "definition": "Country",
        "min": 1,
        "max": "1",
        "base": {
          "path": "LaboratoryReport.Patient.Address.Country",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "mapping": [
          {
            "identity": "ChElmLaboratoryReportToFhir",
            "map": "Bundle.entry[0].resource.subject.resolve().address.where(use='home').country.extension.where(url='http://hl7.org/fhir/StructureDefinition/iso21090-SC-coding').value.code"
          }
        ]
      },
      {
        "id": "LaboratoryReport.TestResult",
        "path": "LaboratoryReport.TestResult",
        "short": "Laboratory result -> Art. 4 Abs. 1 (Die zu meldenden laboranalytischen Befunde) - Anhang 3 (Angaben zum laboranalytischen Befund)",
        "definition": "Laboratory result -> Art. 4 Abs. 1 (Die zu meldenden laboranalytischen Befunde) - Anhang 3 (Angaben zum laboranalytischen Befund)",
        "min": 1,
        "max": "1",
        "base": {
          "path": "LaboratoryReport.TestResult",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "Element"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "ChElmLaboratoryReportToFhir",
            "map": "Bundle.entry[0].resource.section"
          }
        ]
      },
      {
        "id": "LaboratoryReport.TestResult.id",
        "path": "LaboratoryReport.TestResult.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "Unique id for inter-element referencing",
        "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                "valueUrl": "string"
              }
            ],
            "code": "http://hl7.org/fhirpath/System.String"
          }
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "LaboratoryReport.TestResult.extension",
        "path": "LaboratoryReport.TestResult.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "description": "Extensions are always sliced by (at least) url",
          "rules": "open"
        },
        "short": "Additional content defined by implementations",
        "definition": "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": "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": [
          "extensions",
          "user content"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "LaboratoryReport.TestResult.StudyType",
        "path": "LaboratoryReport.TestResult.StudyType",
        "short": "Laboratory study type",
        "definition": "Laboratory study type",
        "min": 1,
        "max": "1",
        "base": {
          "path": "LaboratoryReport.TestResult.StudyType",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "mapping": [
          {
            "identity": "ChElmLaboratoryReportToFhir",
            "map": "Bundle.entry[0].resource.section.code.coding.where(system='http://loinc.org')"
          }
        ]
      },
      {
        "id": "LaboratoryReport.TestResult.ExecutionDateTime",
        "path": "LaboratoryReport.TestResult.ExecutionDateTime",
        "short": "Date (-time) of test",
        "definition": "Date (-time) of test",
        "min": 1,
        "max": "1",
        "base": {
          "path": "LaboratoryReport.TestResult.ExecutionDateTime",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "dateTime"
          }
        ],
        "mapping": [
          {
            "identity": "ChElmLaboratoryReportToFhir",
            "map": "Bundle.entry[0].resource.section.entry.resolve().effective"
          }
        ]
      },
      {
        "id": "LaboratoryReport.TestResult.Type",
        "path": "LaboratoryReport.TestResult.Type",
        "short": "Type of test",
        "definition": "Type of test",
        "min": 1,
        "max": "1",
        "base": {
          "path": "LaboratoryReport.TestResult.Type",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "Element"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "ChElmLaboratoryReportToFhir",
            "map": "Bundle.entry[0].resource.section.entry.resolve().code.coding.where(system='http://loinc.org')"
          }
        ]
      },
      {
        "id": "LaboratoryReport.TestResult.Type.id",
        "path": "LaboratoryReport.TestResult.Type.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "Unique id for inter-element referencing",
        "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                "valueUrl": "string"
              }
            ],
            "code": "http://hl7.org/fhirpath/System.String"
          }
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "LaboratoryReport.TestResult.Type.extension",
        "path": "LaboratoryReport.TestResult.Type.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "description": "Extensions are always sliced by (at least) url",
          "rules": "open"
        },
        "short": "Additional content defined by implementations",
        "definition": "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": "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": [
          "extensions",
          "user content"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "LaboratoryReport.TestResult.Type.Code",
        "path": "LaboratoryReport.TestResult.Type.Code",
        "short": "Coded data",
        "definition": "Coded data",
        "min": 1,
        "max": "1",
        "base": {
          "path": "LaboratoryReport.TestResult.Type.Code",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "mapping": [
          {
            "identity": "ChElmLaboratoryReportToFhir",
            "map": "Bundle.entry[0].resource.section.entry.resolve().code.coding.where(system='http://loinc.org').code"
          }
        ]
      },
      {
        "id": "LaboratoryReport.TestResult.Type.CodeSystem",
        "path": "LaboratoryReport.TestResult.Type.CodeSystem",
        "short": "Identity fo the terminology system",
        "definition": "Identity fo the terminology system",
        "min": 1,
        "max": "1",
        "base": {
          "path": "LaboratoryReport.TestResult.Type.CodeSystem",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "mapping": [
          {
            "identity": "ChElmLaboratoryReportToFhir",
            "map": "Bundle.entry[0].resource.section.entry.resolve().code.coding.where(system='http://loinc.org').system"
          }
        ]
      },
      {
        "id": "LaboratoryReport.TestResult.Specimen",
        "path": "LaboratoryReport.TestResult.Specimen",
        "short": "Test sample",
        "definition": "Test sample",
        "min": 1,
        "max": "1",
        "base": {
          "path": "LaboratoryReport.TestResult.Specimen",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "Element"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "ChElmLaboratoryReportToFhir",
            "map": "Bundle.entry[0].resource.section.entry.resolve().specimen.resolve()"
          }
        ]
      },
      {
        "id": "LaboratoryReport.TestResult.Specimen.id",
        "path": "LaboratoryReport.TestResult.Specimen.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "Unique id for inter-element referencing",
        "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                "valueUrl": "string"
              }
            ],
            "code": "http://hl7.org/fhirpath/System.String"
          }
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "LaboratoryReport.TestResult.Specimen.extension",
        "path": "LaboratoryReport.TestResult.Specimen.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "description": "Extensions are always sliced by (at least) url",
          "rules": "open"
        },
        "short": "Additional content defined by implementations",
        "definition": "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": "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": [
          "extensions",
          "user content"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "LaboratoryReport.TestResult.Specimen.CollectionDateTime",
        "path": "LaboratoryReport.TestResult.Specimen.CollectionDateTime",
        "short": "Date (-time) of sample collection",
        "definition": "Date (-time) of sample collection",
        "min": 1,
        "max": "1",
        "base": {
          "path": "LaboratoryReport.TestResult.Specimen.CollectionDateTime",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "dateTime"
          }
        ],
        "mapping": [
          {
            "identity": "ChElmLaboratoryReportToFhir",
            "map": "Bundle.entry[0].resource.section.entry.resolve().specimen.resolve().collection.collected"
          }
        ]
      },
      {
        "id": "LaboratoryReport.TestResult.Specimen.Type",
        "path": "LaboratoryReport.TestResult.Specimen.Type",
        "short": "Collection material",
        "definition": "Collection material",
        "min": 1,
        "max": "1",
        "base": {
          "path": "LaboratoryReport.TestResult.Specimen.Type",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ],
        "mapping": [
          {
            "identity": "ChElmLaboratoryReportToFhir",
            "map": "Bundle.entry[0].resource.section.entry.resolve().specimen.resolve().type"
          }
        ]
      },
      {
        "id": "LaboratoryReport.TestResult.Specimen.Type.id",
        "path": "LaboratoryReport.TestResult.Specimen.Type.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references)",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                "valueUrl": "string"
              }
            ],
            "code": "http://hl7.org/fhirpath/System.String"
          }
        ],
        "isModifier": false,
        "isSummary": false
      },
      {
        "id": "LaboratoryReport.TestResult.Specimen.Type.extension",
        "path": "LaboratoryReport.TestResult.Specimen.Type.extension",
        "short": "Additional content defined by implementations",
        "definition": "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": "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": [
          "extensions",
          "user content"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": false,
        "isSummary": false
      },
      {
        "id": "LaboratoryReport.TestResult.Specimen.Type.value",
        "path": "LaboratoryReport.TestResult.Specimen.Type.value",
        "representation": [
          "xmlAttr"
        ],
        "short": "Primitive value for code",
        "definition": "Primitive value for code",
        "min": 0,
        "max": "1",
        "base": {
          "path": "string.value",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                "valueUrl": "string"
              },
              {
                "url": "http://hl7.org/fhir/StructureDefinition/regex",
                "valueString": "[^\\s]+(\\s[^\\s]+)*"
              }
            ],
            "code": "http://hl7.org/fhirpath/System.String"
          }
        ],
        "isModifier": false,
        "isSummary": false
      },
      {
        "id": "LaboratoryReport.TestResult.Specimen.Type.Code",
        "path": "LaboratoryReport.TestResult.Specimen.Type.Code",
        "short": "Coded data",
        "definition": "Coded data",
        "min": 0,
        "max": "1",
        "base": {
          "path": "LaboratoryReport.TestResult.Specimen.Type.Code",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "mapping": [
          {
            "identity": "ChElmLaboratoryReportToFhir",
            "map": "Bundle.entry[0].resource.section.entry.resolve().specimen.resolve().type.coding.where(system='http://snomed.info/sct').code"
          }
        ]
      },
      {
        "id": "LaboratoryReport.TestResult.Specimen.Type.CodeSystem",
        "path": "LaboratoryReport.TestResult.Specimen.Type.CodeSystem",
        "short": "Identity fo the terminology system",
        "definition": "Identity fo the terminology system",
        "min": 0,
        "max": "1",
        "base": {
          "path": "LaboratoryReport.TestResult.Specimen.Type.CodeSystem",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "mapping": [
          {
            "identity": "ChElmLaboratoryReportToFhir",
            "map": "Bundle.entry[0].resource.section.entry.resolve().specimen.resolve().type.coding.where(system='http://snomed.info/sct').system"
          }
        ]
      },
      {
        "id": "LaboratoryReport.TestResult.Value",
        "path": "LaboratoryReport.TestResult.Value",
        "short": "Acutal test result",
        "definition": "Acutal test result",
        "min": 1,
        "max": "1",
        "base": {
          "path": "LaboratoryReport.TestResult.Value",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "Element"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "ChElmLaboratoryReportToFhir",
            "map": "Bundle.entry[0].resource.section.entry.resolve().value.coding.where(system='http://snomed.info/sct')"
          }
        ]
      },
      {
        "id": "LaboratoryReport.TestResult.Value.id",
        "path": "LaboratoryReport.TestResult.Value.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "Unique id for inter-element referencing",
        "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                "valueUrl": "string"
              }
            ],
            "code": "http://hl7.org/fhirpath/System.String"
          }
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "LaboratoryReport.TestResult.Value.extension",
        "path": "LaboratoryReport.TestResult.Value.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "description": "Extensions are always sliced by (at least) url",
          "rules": "open"
        },
        "short": "Additional content defined by implementations",
        "definition": "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": "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": [
          "extensions",
          "user content"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "LaboratoryReport.TestResult.Value.Code",
        "path": "LaboratoryReport.TestResult.Value.Code",
        "short": "Coded data",
        "definition": "Coded data",
        "min": 1,
        "max": "1",
        "base": {
          "path": "LaboratoryReport.TestResult.Value.Code",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "mapping": [
          {
            "identity": "ChElmLaboratoryReportToFhir",
            "map": "Bundle.entry[0].resource.section.entry.resolve().value.coding.where(system='http://snomed.info/sct').code"
          }
        ]
      },
      {
        "id": "LaboratoryReport.TestResult.Value.CodeSystem",
        "path": "LaboratoryReport.TestResult.Value.CodeSystem",
        "short": "Identity fo the terminology system",
        "definition": "Identity fo the terminology system",
        "min": 1,
        "max": "1",
        "base": {
          "path": "LaboratoryReport.TestResult.Value.CodeSystem",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "mapping": [
          {
            "identity": "ChElmLaboratoryReportToFhir",
            "map": "Bundle.entry[0].resource.section.entry.resolve().value.coding.where(system='http://snomed.info/sct').system"
          }
        ]
      },
      {
        "id": "LaboratoryReport.TestResult.Interpretation",
        "path": "LaboratoryReport.TestResult.Interpretation",
        "short": "Interpretation of the test result",
        "definition": "Interpretation of the test result",
        "min": 1,
        "max": "1",
        "base": {
          "path": "LaboratoryReport.TestResult.Interpretation",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "Element"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "ChElmLaboratoryReportToFhir",
            "map": "Bundle.entry[0].resource.section.entry.resolve().interpretation.coding.where(system='http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation')"
          }
        ]
      },
      {
        "id": "LaboratoryReport.TestResult.Interpretation.id",
        "path": "LaboratoryReport.TestResult.Interpretation.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "Unique id for inter-element referencing",
        "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                "valueUrl": "string"
              }
            ],
            "code": "http://hl7.org/fhirpath/System.String"
          }
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "LaboratoryReport.TestResult.Interpretation.extension",
        "path": "LaboratoryReport.TestResult.Interpretation.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "description": "Extensions are always sliced by (at least) url",
          "rules": "open"
        },
        "short": "Additional content defined by implementations",
        "definition": "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": "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": [
          "extensions",
          "user content"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "LaboratoryReport.TestResult.Interpretation.Code",
        "path": "LaboratoryReport.TestResult.Interpretation.Code",
        "short": "Coded data",
        "definition": "Coded data",
        "min": 1,
        "max": "1",
        "base": {
          "path": "LaboratoryReport.TestResult.Interpretation.Code",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "mapping": [
          {
            "identity": "ChElmLaboratoryReportToFhir",
            "map": "Bundle.entry[0].resource.section.entry.resolve().interpretation.coding.where(system='http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation').code"
          }
        ]
      },
      {
        "id": "LaboratoryReport.TestResult.Interpretation.CodeSystem",
        "path": "LaboratoryReport.TestResult.Interpretation.CodeSystem",
        "short": "Identity fo the terminology system (HL7 ObservationInterpretation)",
        "definition": "Identity fo the terminology system (HL7 ObservationInterpretation)",
        "min": 1,
        "max": "1",
        "base": {
          "path": "LaboratoryReport.TestResult.Interpretation.CodeSystem",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "mapping": [
          {
            "identity": "ChElmLaboratoryReportToFhir",
            "map": "Bundle.entry[0].resource.section.entry.resolve().interpretation.coding.where(system='http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation').system"
          }
        ]
      }
    ]
  },
  "differential": {
    "element": [
      {
        "id": "LaboratoryReport",
        "path": "LaboratoryReport",
        "short": "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": "Laboratory Report",
        "mapping": [
          {
            "identity": "ChElmLaboratoryReportToFhir",
            "map": "Bundle"
          }
        ]
      },
      {
        "id": "LaboratoryReport.Header",
        "path": "LaboratoryReport.Header",
        "short": "Document information",
        "definition": "Document information",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Element"
          }
        ],
        "mapping": [
          {
            "identity": "ChElmLaboratoryReportToFhir",
            "map": "Bundle.entry[0]"
          }
        ]
      },
      {
        "id": "LaboratoryReport.Header.DocumentIdentifier",
        "path": "LaboratoryReport.Header.DocumentIdentifier",
        "short": "Persistent, unique identifier for the document",
        "definition": "Persistent, unique identifier for the document",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Identifier"
          }
        ],
        "mapping": [
          {
            "identity": "ChElmLaboratoryReportToFhir",
            "map": "Bundle.entry[0].resource.identifier.where(system='urn:ietf:rfc:3986').value.substring(9)"
          }
        ]
      },
      {
        "id": "LaboratoryReport.Header.DocumentTimestamp",
        "path": "LaboratoryReport.Header.DocumentTimestamp",
        "short": "Timestamp of the document",
        "definition": "Timestamp of the document",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "dateTime"
          }
        ],
        "mapping": [
          {
            "identity": "ChElmLaboratoryReportToFhir",
            "map": "Bundle.entry[0].resource.date"
          }
        ]
      },
      {
        "id": "LaboratoryReport.Header.DocumentLanguage",
        "path": "LaboratoryReport.Header.DocumentLanguage",
        "short": "Language of the document content",
        "definition": "Language of the document content",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "code"
          }
        ],
        "mapping": [
          {
            "identity": "ChElmLaboratoryReportToFhir",
            "map": "Bundle.entry[0].resource.language"
          }
        ]
      },
      {
        "id": "LaboratoryReport.Header.DocumentTitle",
        "path": "LaboratoryReport.Header.DocumentTitle",
        "short": "Human Readable name/title of the document",
        "definition": "Human Readable name/title of the document",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "string"
          }
        ],
        "mapping": [
          {
            "identity": "ChElmLaboratoryReportToFhir",
            "map": "Bundle.entry[0].resource.title"
          }
        ]
      },
      {
        "id": "LaboratoryReport.Header.DocumentSectionTitle",
        "path": "LaboratoryReport.Header.DocumentSectionTitle",
        "short": "Human Readable name/title of the section",
        "definition": "Human Readable name/title of the section",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "string"
          }
        ],
        "mapping": [
          {
            "identity": "ChElmLaboratoryReportToFhir",
            "map": "Bundle.entry[0].resource.section.title"
          }
        ]
      },
      {
        "id": "LaboratoryReport.Author",
        "path": "LaboratoryReport.Author",
        "short": "Author of the document (may be identical with Lab)",
        "definition": "Author of the document (may be identical with Lab)",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Element"
          }
        ],
        "mapping": [
          {
            "identity": "ChElmLaboratoryReportToFhir",
            "map": "Bundle.entry[0].resource.author.resolve()"
          }
        ]
      },
      {
        "id": "LaboratoryReport.Author.OrganizationGLN",
        "path": "LaboratoryReport.Author.OrganizationGLN",
        "short": "Global location number (GLN) of the authoring/sending organization",
        "definition": "Global location number (GLN) of the authoring/sending organization",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Identifier"
          }
        ],
        "mapping": [
          {
            "identity": "ChElmLaboratoryReportToFhir",
            "map": "Bundle.entry[0].resource.author.resolve().identifier.where(system='urn:oid:2.51.1.3').value"
          }
        ]
      },
      {
        "id": "LaboratoryReport.Lab",
        "path": "LaboratoryReport.Lab",
        "short": "Notifiable laboratory that performed the laboratory test -> Art. 4 Abs. 2 (Meldepflichtiges Laboratorium)",
        "definition": "Notifiable laboratory that performed the laboratory test -> Art. 4 Abs. 2 (Meldepflichtiges Laboratorium)",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Element"
          }
        ],
        "mapping": [
          {
            "identity": "ChElmLaboratoryReportToFhir",
            "map": "Bundle.entry.resource.as(DiagnosticReport).performer.resolve()"
          }
        ]
      },
      {
        "id": "LaboratoryReport.Lab.OrganizationGLN",
        "path": "LaboratoryReport.Lab.OrganizationGLN",
        "short": "Global location number (GLN) of the laboratory organization",
        "definition": "Global location number (GLN) of the laboratory organization",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Identifier"
          }
        ],
        "mapping": [
          {
            "identity": "ChElmLaboratoryReportToFhir",
            "map": "Bundle.entry.resource.as(DiagnosticReport).performer.resolve().identifier.where(system='urn:oid:2.51.1.3').value"
          }
        ]
      },
      {
        "id": "LaboratoryReport.Lab.OrganizationName",
        "path": "LaboratoryReport.Lab.OrganizationName",
        "short": "Name of the laboratory organization",
        "definition": "Name of the laboratory organization",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "string"
          }
        ],
        "mapping": [
          {
            "identity": "ChElmLaboratoryReportToFhir",
            "map": "Bundle.entry.resource.as(DiagnosticReport).performer.resolve().name"
          }
        ]
      },
      {
        "id": "LaboratoryReport.Lab.OrderIdentifier",
        "path": "LaboratoryReport.Lab.OrderIdentifier",
        "short": "Identifier assigned to this order by the testing laboratory",
        "definition": "Identifier assigned to this order by the testing laboratory",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Identifier"
          }
        ],
        "mapping": [
          {
            "identity": "ChElmLaboratoryReportToFhir",
            "map": "Bundle.entry.resource.as(DiagnosticReport).basedOn.resolve().identifier"
          }
        ]
      },
      {
        "id": "LaboratoryReport.Orderer",
        "path": "LaboratoryReport.Orderer",
        "short": "Orderer of the laboratory test -> Art. 4 Abs. 3 (Auftraggebende Ärztin oder auftraggebender Arzt und Betrieb in dem sie oder er tätig ist)",
        "definition": "Orderer of the laboratory test -> Art. 4 Abs. 3 (Auftraggebende Ärztin oder auftraggebender Arzt und Betrieb in dem sie oder er tätig ist)",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Element"
          }
        ],
        "mapping": [
          {
            "identity": "ChElmLaboratoryReportToFhir",
            "map": "Bundle.entry.resource.as(DiagnosticReport).basedOn.resolve().requester.resolve()"
          }
        ]
      },
      {
        "id": "LaboratoryReport.Orderer.OrganizationBER",
        "path": "LaboratoryReport.Orderer.OrganizationBER",
        "short": "Business and Enterprise Register (BER) of the ordering organization",
        "definition": "Business and Enterprise Register (BER) of the ordering organization",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Identifier"
          }
        ],
        "mapping": [
          {
            "identity": "ChElmLaboratoryReportToFhir",
            "map": "Bundle.entry.resource.as(DiagnosticReport).basedOn.resolve().requester.resolve().organization.resolve().identifier.where(system='urn:oid:2.16.756.5.45').value"
          }
        ]
      },
      {
        "id": "LaboratoryReport.Orderer.OrganizationUIDB",
        "path": "LaboratoryReport.Orderer.OrganizationUIDB",
        "short": "Unique Identification Business (UIDB) of the ordering organization",
        "definition": "Unique Identification Business (UIDB) of the ordering organization",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Identifier"
          }
        ],
        "mapping": [
          {
            "identity": "ChElmLaboratoryReportToFhir",
            "map": "Bundle.entry.resource.as(DiagnosticReport).basedOn.resolve().requester.resolve().organization.resolve().identifier.where(system='urn:oid:2.16.756.5.35').value"
          }
        ]
      },
      {
        "id": "LaboratoryReport.Orderer.OrganizationName",
        "path": "LaboratoryReport.Orderer.OrganizationName",
        "short": "Name of the ordering organization",
        "definition": "Name of the ordering organization",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "string"
          }
        ],
        "mapping": [
          {
            "identity": "ChElmLaboratoryReportToFhir",
            "map": "Bundle.entry.resource.as(DiagnosticReport).basedOn.resolve().requester.resolve().organization.resolve().name"
          }
        ]
      },
      {
        "id": "LaboratoryReport.Orderer.OrganizationDepartment",
        "path": "LaboratoryReport.Orderer.OrganizationDepartment",
        "short": "Department where the laboratory test is ordered",
        "definition": "Department where the laboratory test is ordered",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "string"
          }
        ],
        "mapping": [
          {
            "identity": "ChElmLaboratoryReportToFhir",
            "map": "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"
          }
        ]
      },
      {
        "id": "LaboratoryReport.Orderer.Physician",
        "path": "LaboratoryReport.Orderer.Physician",
        "short": "Ordering physician",
        "definition": "Ordering physician",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Element"
          }
        ],
        "mapping": [
          {
            "identity": "ChElmLaboratoryReportToFhir",
            "map": "Bundle.entry.resource.as(DiagnosticReport).basedOn.resolve().requester.resolve().practitioner.resolve()"
          }
        ]
      },
      {
        "id": "LaboratoryReport.Orderer.Physician.GLN",
        "path": "LaboratoryReport.Orderer.Physician.GLN",
        "short": "Global location number (GLN) of the physician",
        "definition": "Global location number (GLN) of the physician",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Identifier"
          }
        ],
        "mapping": [
          {
            "identity": "ChElmLaboratoryReportToFhir",
            "map": "Bundle.entry.resource.as(DiagnosticReport).basedOn.resolve().requester.resolve().practitioner.resolve().identifier.where(system='urn:oid:2.51.1.3').value"
          }
        ]
      },
      {
        "id": "LaboratoryReport.Orderer.Physician.ZSR",
        "path": "LaboratoryReport.Orderer.Physician.ZSR",
        "short": "Unique Identification (ZSR/RCC) of the ordering physician",
        "definition": "Unique Identification (ZSR/RCC) of the ordering physician",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Identifier"
          }
        ],
        "mapping": [
          {
            "identity": "ChElmLaboratoryReportToFhir",
            "map": "Bundle.entry.resource.as(DiagnosticReport).basedOn.resolve().requester.resolve().practitioner.resolve().identifier.where(system='urn:oid:2.16.756.5.30.1.123.100.2.1.1').value"
          }
        ]
      },
      {
        "id": "LaboratoryReport.Orderer.Physician.Surname",
        "path": "LaboratoryReport.Orderer.Physician.Surname",
        "short": "Surname physician",
        "definition": "Surname physician",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "string"
          }
        ],
        "mapping": [
          {
            "identity": "ChElmLaboratoryReportToFhir",
            "map": "Bundle.entry.resource.as(DiagnosticReport).basedOn.resolve().requester.resolve().practitioner.resolve().name.family"
          }
        ]
      },
      {
        "id": "LaboratoryReport.Orderer.Physician.Givenname",
        "path": "LaboratoryReport.Orderer.Physician.Givenname",
        "short": "Given name physician",
        "definition": "Given name physician",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "string"
          }
        ],
        "mapping": [
          {
            "identity": "ChElmLaboratoryReportToFhir",
            "map": "Bundle.entry.resource.as(DiagnosticReport).basedOn.resolve().requester.resolve().practitioner.resolve().name.given"
          }
        ]
      },
      {
        "id": "LaboratoryReport.Orderer.Physician.Phone",
        "path": "LaboratoryReport.Orderer.Physician.Phone",
        "short": "Phone number physician",
        "definition": "Phone number physician",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "string"
          }
        ],
        "mapping": [
          {
            "identity": "ChElmLaboratoryReportToFhir",
            "map": "Bundle.entry.resource.as(DiagnosticReport).basedOn.resolve().requester.resolve().practitioner.resolve().telecom.where(system='phone').value"
          }
        ]
      },
      {
        "id": "LaboratoryReport.Orderer.Physician.Email",
        "path": "LaboratoryReport.Orderer.Physician.Email",
        "short": "Email address physician",
        "definition": "Email address physician",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "string"
          }
        ],
        "mapping": [
          {
            "identity": "ChElmLaboratoryReportToFhir",
            "map": "Bundle.entry.resource.as(DiagnosticReport).basedOn.resolve().requester.resolve().practitioner.resolve().telecom.where(system='email').value"
          }
        ]
      },
      {
        "id": "LaboratoryReport.Orderer.OrganizationAddress",
        "path": "LaboratoryReport.Orderer.OrganizationAddress",
        "short": "Address of the ordering organization",
        "definition": "Address of the ordering organization",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Element"
          }
        ],
        "mapping": [
          {
            "identity": "ChElmLaboratoryReportToFhir",
            "map": "Bundle.entry.resource.as(DiagnosticReport).basedOn.resolve().requester.resolve().organization.resolve().address"
          }
        ]
      },
      {
        "id": "LaboratoryReport.Orderer.OrganizationAddress.StreetLine",
        "path": "LaboratoryReport.Orderer.OrganizationAddress.StreetLine",
        "short": "Street name, house number",
        "definition": "Street name, house number",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "string"
          }
        ],
        "mapping": [
          {
            "identity": "ChElmLaboratoryReportToFhir",
            "map": "Bundle.entry.resource.as(DiagnosticReport).basedOn.resolve().requester.resolve().organization.resolve().address.line.extension.where(url='http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName').value"
          },
          {
            "identity": "ChElmLaboratoryReportToFhir",
            "map": "Bundle.entry.resource.as(DiagnosticReport).basedOn.resolve().requester.resolve().organization.resolve().address.line.extension.where(url='http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber').value"
          }
        ]
      },
      {
        "id": "LaboratoryReport.Orderer.OrganizationAddress.PostBox",
        "path": "LaboratoryReport.Orderer.OrganizationAddress.PostBox",
        "short": "P.O. Box number",
        "definition": "P.O. Box number",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "string"
          }
        ],
        "mapping": [
          {
            "identity": "ChElmLaboratoryReportToFhir",
            "map": "Bundle.entry.resource.as(DiagnosticReport).basedOn.resolve().requester.resolve().organization.resolve().address.line.extension.where(url='http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-postBox').value"
          }
        ]
      },
      {
        "id": "LaboratoryReport.Orderer.OrganizationAddress.ZipCode",
        "path": "LaboratoryReport.Orderer.OrganizationAddress.ZipCode",
        "short": "Zip code",
        "definition": "Zip code",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "string"
          }
        ],
        "mapping": [
          {
            "identity": "ChElmLaboratoryReportToFhir",
            "map": "Bundle.entry.resource.as(DiagnosticReport).basedOn.resolve().requester.resolve().organization.resolve().address.postalCode"
          }
        ]
      },
      {
        "id": "LaboratoryReport.Orderer.OrganizationAddress.City",
        "path": "LaboratoryReport.Orderer.OrganizationAddress.City",
        "short": "City",
        "definition": "City",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "string"
          }
        ],
        "mapping": [
          {
            "identity": "ChElmLaboratoryReportToFhir",
            "map": "Bundle.entry.resource.as(DiagnosticReport).basedOn.resolve().requester.resolve().organization.resolve().address.city"
          }
        ]
      },
      {
        "id": "LaboratoryReport.Patient",
        "path": "LaboratoryReport.Patient",
        "short": "Patient -> Anhang 3 (Angaben zur betrofenen Person)",
        "definition": "Patient -> Anhang 3 (Angaben zur betrofenen Person)",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Element"
          }
        ],
        "mapping": [
          {
            "identity": "ChElmLaboratoryReportToFhir",
            "map": "Bundle.entry[0].resource.subject.resolve()"
          }
        ]
      },
      {
        "id": "LaboratoryReport.Patient.Identifier",
        "path": "LaboratoryReport.Patient.Identifier",
        "short": "Identifier",
        "definition": "Identifier",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Identifier"
          }
        ],
        "mapping": [
          {
            "identity": "ChElmLaboratoryReportToFhir",
            "map": "Bundle.entry[0].resource.subject.resolve().identifier"
          }
        ]
      },
      {
        "id": "LaboratoryReport.Patient.Identifier.OASI",
        "path": "LaboratoryReport.Patient.Identifier.OASI",
        "short": "Switzerland: Old-age and survivors's insurance (OASI) number",
        "definition": "Switzerland: Old-age and survivors's insurance (OASI) number",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Identifier"
          }
        ],
        "mapping": [
          {
            "identity": "ChElmLaboratoryReportToFhir",
            "map": "Bundle.entry[0].resource.subject.resolve().identifier.where(system='urn:oid:2.16.756.5.32').value"
          }
        ]
      },
      {
        "id": "LaboratoryReport.Patient.Identifier.IDN",
        "path": "LaboratoryReport.Patient.Identifier.IDN",
        "short": "Liechtenstein: Identification number (IDN)",
        "definition": "Liechtenstein: Identification number (IDN)",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Identifier"
          }
        ],
        "mapping": [
          {
            "identity": "ChElmLaboratoryReportToFhir",
            "map": "Bundle.entry[0].resource.subject.resolve().identifier.where(system='urn:oid:2.16.438.10.20.10.10.1.2.1').value"
          }
        ]
      },
      {
        "id": "LaboratoryReport.Patient.Surname",
        "path": "LaboratoryReport.Patient.Surname",
        "short": "Surname (or initials)",
        "definition": "Surname (or initials)",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "string"
          }
        ],
        "mapping": [
          {
            "identity": "ChElmLaboratoryReportToFhir",
            "map": "Bundle.entry[0].resource.subject.resolve().name.given"
          }
        ]
      },
      {
        "id": "LaboratoryReport.Patient.Givenname",
        "path": "LaboratoryReport.Patient.Givenname",
        "short": "Given name (or initials)",
        "definition": "Given name (or initials)",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "string"
          }
        ],
        "mapping": [
          {
            "identity": "ChElmLaboratoryReportToFhir",
            "map": "Bundle.entry[0].resource.subject.resolve().name.family"
          }
        ]
      },
      {
        "id": "LaboratoryReport.Patient.Gender",
        "path": "LaboratoryReport.Patient.Gender",
        "short": "Gender",
        "definition": "Gender",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "code"
          }
        ],
        "mapping": [
          {
            "identity": "ChElmLaboratoryReportToFhir",
            "map": "Bundle.entry[0].resource.subject.resolve().gender"
          }
        ]
      },
      {
        "id": "LaboratoryReport.Patient.DateOfBirth",
        "path": "LaboratoryReport.Patient.DateOfBirth",
        "short": "Date of birth",
        "definition": "Date of birth",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "date"
          }
        ],
        "mapping": [
          {
            "identity": "ChElmLaboratoryReportToFhir",
            "map": "Bundle.entry[0].resource.subject.resolve().birthDate"
          }
        ]
      },
      {
        "id": "LaboratoryReport.Patient.Phone",
        "path": "LaboratoryReport.Patient.Phone",
        "short": "Phone number",
        "definition": "Phone number",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "string"
          }
        ],
        "mapping": [
          {
            "identity": "ChElmLaboratoryReportToFhir",
            "map": "Bundle.entry[0].resource.subject.resolve().telecom.where(system='phone').value"
          }
        ]
      },
      {
        "id": "LaboratoryReport.Patient.Address",
        "path": "LaboratoryReport.Patient.Address",
        "short": "Residence address",
        "definition": "Residence address",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Element"
          }
        ],
        "mapping": [
          {
            "identity": "ChElmLaboratoryReportToFhir",
            "map": "Bundle.entry[0].resource.subject.resolve().address.where(use='home')"
          }
        ]
      },
      {
        "id": "LaboratoryReport.Patient.Address.StreetLine",
        "path": "LaboratoryReport.Patient.Address.StreetLine",
        "short": "Street name, house number",
        "definition": "Street name, house number",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "string"
          }
        ],
        "mapping": [
          {
            "identity": "ChElmLaboratoryReportToFhir",
            "map": "Bundle.entry[0].resource.subject.resolve().address.where(use='home').line.extension.where(url='http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName').value"
          },
          {
            "identity": "ChElmLaboratoryReportToFhir",
            "map": "Bundle.entry[0].resource.subject.resolve().address.where(use='home').line.extension.where(url='http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber').value"
          }
        ]
      },
      {
        "id": "LaboratoryReport.Patient.Address.ZipCode",
        "path": "LaboratoryReport.Patient.Address.ZipCode",
        "short": "Zip code",
        "definition": "Zip code",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "string"
          }
        ],
        "mapping": [
          {
            "identity": "ChElmLaboratoryReportToFhir",
            "map": "Bundle.entry[0].resource.subject.resolve().address.where(use='home').postalCode"
          }
        ]
      },
      {
        "id": "LaboratoryReport.Patient.Address.City",
        "path": "LaboratoryReport.Patient.Address.City",
        "short": "City",
        "definition": "City",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "string"
          }
        ],
        "mapping": [
          {
            "identity": "ChElmLaboratoryReportToFhir",
            "map": "Bundle.entry[0].resource.subject.resolve().address.where(use='home').city"
          }
        ]
      },
      {
        "id": "LaboratoryReport.Patient.Address.Canton",
        "path": "LaboratoryReport.Patient.Address.Canton",
        "short": "Canton",
        "definition": "Canton",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "code"
          }
        ],
        "mapping": [
          {
            "identity": "ChElmLaboratoryReportToFhir",
            "map": "Bundle.entry[0].resource.subject.resolve().address.where(use='home').state"
          }
        ]
      },
      {
        "id": "LaboratoryReport.Patient.Address.Country",
        "path": "LaboratoryReport.Patient.Address.Country",
        "short": "Country",
        "definition": "Country",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "code"
          }
        ],
        "mapping": [
          {
            "identity": "ChElmLaboratoryReportToFhir",
            "map": "Bundle.entry[0].resource.subject.resolve().address.where(use='home').country.extension.where(url='http://hl7.org/fhir/StructureDefinition/iso21090-SC-coding').value.code"
          }
        ]
      },
      {
        "id": "LaboratoryReport.TestResult",
        "path": "LaboratoryReport.TestResult",
        "short": "Laboratory result -> Art. 4 Abs. 1 (Die zu meldenden laboranalytischen Befunde) - Anhang 3 (Angaben zum laboranalytischen Befund)",
        "definition": "Laboratory result -> Art. 4 Abs. 1 (Die zu meldenden laboranalytischen Befunde) - Anhang 3 (Angaben zum laboranalytischen Befund)",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Element"
          }
        ],
        "mapping": [
          {
            "identity": "ChElmLaboratoryReportToFhir",
            "map": "Bundle.entry[0].resource.section"
          }
        ]
      },
      {
        "id": "LaboratoryReport.TestResult.StudyType",
        "path": "LaboratoryReport.TestResult.StudyType",
        "short": "Laboratory study type",
        "definition": "Laboratory study type",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "code"
          }
        ],
        "mapping": [
          {
            "identity": "ChElmLaboratoryReportToFhir",
            "map": "Bundle.entry[0].resource.section.code.coding.where(system='http://loinc.org')"
          }
        ]
      },
      {
        "id": "LaboratoryReport.TestResult.ExecutionDateTime",
        "path": "LaboratoryReport.TestResult.ExecutionDateTime",
        "short": "Date (-time) of test",
        "definition": "Date (-time) of test",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "dateTime"
          }
        ],
        "mapping": [
          {
            "identity": "ChElmLaboratoryReportToFhir",
            "map": "Bundle.entry[0].resource.section.entry.resolve().effective"
          }
        ]
      },
      {
        "id": "LaboratoryReport.TestResult.Type",
        "path": "LaboratoryReport.TestResult.Type",
        "short": "Type of test",
        "definition": "Type of test",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Element"
          }
        ],
        "mapping": [
          {
            "identity": "ChElmLaboratoryReportToFhir",
            "map": "Bundle.entry[0].resource.section.entry.resolve().code.coding.where(system='http://loinc.org')"
          }
        ]
      },
      {
        "id": "LaboratoryReport.TestResult.Type.Code",
        "path": "LaboratoryReport.TestResult.Type.Code",
        "short": "Coded data",
        "definition": "Coded data",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "code"
          }
        ],
        "mapping": [
          {
            "identity": "ChElmLaboratoryReportToFhir",
            "map": "Bundle.entry[0].resource.section.entry.resolve().code.coding.where(system='http://loinc.org').code"
          }
        ]
      },
      {
        "id": "LaboratoryReport.TestResult.Type.CodeSystem",
        "path": "LaboratoryReport.TestResult.Type.CodeSystem",
        "short": "Identity fo the terminology system",
        "definition": "Identity fo the terminology system",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "uri"
          }
        ],
        "mapping": [
          {
            "identity": "ChElmLaboratoryReportToFhir",
            "map": "Bundle.entry[0].resource.section.entry.resolve().code.coding.where(system='http://loinc.org').system"
          }
        ]
      },
      {
        "id": "LaboratoryReport.TestResult.Specimen",
        "path": "LaboratoryReport.TestResult.Specimen",
        "short": "Test sample",
        "definition": "Test sample",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Element"
          }
        ],
        "mapping": [
          {
            "identity": "ChElmLaboratoryReportToFhir",
            "map": "Bundle.entry[0].resource.section.entry.resolve().specimen.resolve()"
          }
        ]
      },
      {
        "id": "LaboratoryReport.TestResult.Specimen.CollectionDateTime",
        "path": "LaboratoryReport.TestResult.Specimen.CollectionDateTime",
        "short": "Date (-time) of sample collection",
        "definition": "Date (-time) of sample collection",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "dateTime"
          }
        ],
        "mapping": [
          {
            "identity": "ChElmLaboratoryReportToFhir",
            "map": "Bundle.entry[0].resource.section.entry.resolve().specimen.resolve().collection.collected"
          }
        ]
      },
      {
        "id": "LaboratoryReport.TestResult.Specimen.Type",
        "path": "LaboratoryReport.TestResult.Specimen.Type",
        "short": "Collection material",
        "definition": "Collection material",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "code"
          }
        ],
        "mapping": [
          {
            "identity": "ChElmLaboratoryReportToFhir",
            "map": "Bundle.entry[0].resource.section.entry.resolve().specimen.resolve().type"
          }
        ]
      },
      {
        "id": "LaboratoryReport.TestResult.Specimen.Type.Code",
        "path": "LaboratoryReport.TestResult.Specimen.Type.Code",
        "short": "Coded data",
        "definition": "Coded data",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "code"
          }
        ],
        "mapping": [
          {
            "identity": "ChElmLaboratoryReportToFhir",
            "map": "Bundle.entry[0].resource.section.entry.resolve().specimen.resolve().type.coding.where(system='http://snomed.info/sct').code"
          }
        ]
      },
      {
        "id": "LaboratoryReport.TestResult.Specimen.Type.CodeSystem",
        "path": "LaboratoryReport.TestResult.Specimen.Type.CodeSystem",
        "short": "Identity fo the terminology system",
        "definition": "Identity fo the terminology system",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "uri"
          }
        ],
        "mapping": [
          {
            "identity": "ChElmLaboratoryReportToFhir",
            "map": "Bundle.entry[0].resource.section.entry.resolve().specimen.resolve().type.coding.where(system='http://snomed.info/sct').system"
          }
        ]
      },
      {
        "id": "LaboratoryReport.TestResult.Value",
        "path": "LaboratoryReport.TestResult.Value",
        "short": "Acutal test result",
        "definition": "Acutal test result",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Element"
          }
        ],
        "mapping": [
          {
            "identity": "ChElmLaboratoryReportToFhir",
            "map": "Bundle.entry[0].resource.section.entry.resolve().value.coding.where(system='http://snomed.info/sct')"
          }
        ]
      },
      {
        "id": "LaboratoryReport.TestResult.Value.Code",
        "path": "LaboratoryReport.TestResult.Value.Code",
        "short": "Coded data",
        "definition": "Coded data",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "code"
          }
        ],
        "mapping": [
          {
            "identity": "ChElmLaboratoryReportToFhir",
            "map": "Bundle.entry[0].resource.section.entry.resolve().value.coding.where(system='http://snomed.info/sct').code"
          }
        ]
      },
      {
        "id": "LaboratoryReport.TestResult.Value.CodeSystem",
        "path": "LaboratoryReport.TestResult.Value.CodeSystem",
        "short": "Identity fo the terminology system",
        "definition": "Identity fo the terminology system",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "uri"
          }
        ],
        "mapping": [
          {
            "identity": "ChElmLaboratoryReportToFhir",
            "map": "Bundle.entry[0].resource.section.entry.resolve().value.coding.where(system='http://snomed.info/sct').system"
          }
        ]
      },
      {
        "id": "LaboratoryReport.TestResult.Interpretation",
        "path": "LaboratoryReport.TestResult.Interpretation",
        "short": "Interpretation of the test result",
        "definition": "Interpretation of the test result",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Element"
          }
        ],
        "mapping": [
          {
            "identity": "ChElmLaboratoryReportToFhir",
            "map": "Bundle.entry[0].resource.section.entry.resolve().interpretation.coding.where(system='http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation')"
          }
        ]
      },
      {
        "id": "LaboratoryReport.TestResult.Interpretation.Code",
        "path": "LaboratoryReport.TestResult.Interpretation.Code",
        "short": "Coded data",
        "definition": "Coded data",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "code"
          }
        ],
        "mapping": [
          {
            "identity": "ChElmLaboratoryReportToFhir",
            "map": "Bundle.entry[0].resource.section.entry.resolve().interpretation.coding.where(system='http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation').code"
          }
        ]
      },
      {
        "id": "LaboratoryReport.TestResult.Interpretation.CodeSystem",
        "path": "LaboratoryReport.TestResult.Interpretation.CodeSystem",
        "short": "Identity fo the terminology system (HL7 ObservationInterpretation)",
        "definition": "Identity fo the terminology system (HL7 ObservationInterpretation)",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "uri"
          }
        ],
        "mapping": [
          {
            "identity": "ChElmLaboratoryReportToFhir",
            "map": "Bundle.entry[0].resource.section.entry.resolve().interpretation.coding.where(system='http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation').system"
          }
        ]
      }
    ]
  }
}