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

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

Logical Model: ChElmLaboratoryReport - JSON Profile

Draft as of 2023-09-13

JSON representation of the LaboratoryReport logical model.

Raw json | Download


{
  "resourceType" : "StructureDefinition",
  "id" : "LaboratoryReport",
  "text" : {
    "status" : "extensions",
    "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\">Placeholder</div>"
  },
  "url" : "http://fhir.ch/ig/ch-elm/StructureDefinition/LaboratoryReport",
  "version" : "1.0.0-trialuse",
  "name" : "ChElmLaboratoryReport",
  "title" : "CH ELM Laboratory Report",
  "status" : "draft",
  "date" : "2023-09-13T14:45:41+02: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" : "CHE"
        }
      ]
    }
  ],
  "copyright" : "CC0-1.0",
  "fhirVersion" : "4.0.1",
  "mapping" : [
    {
      "identity" : "rim",
      "uri" : "http://hl7.org/v3",
      "name" : "RIM Mapping"
    },
    {
      "identity" : "ChElmLaboratoryReportToFhir",
      "uri" : "hl7.org/fhir/r4",
      "name" : "CH ELM Laboratory Report to FHIR"
    }
  ],
  "kind" : "logical",
  "abstract" : false,
  "type" : "http://fhir.ch/ig/ch-elm/StructureDefinition/LaboratoryReport",
  "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Element",
  "derivation" : "specialization",
  "snapshot" : {
    "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" : "rim",
            "map" : "n/a"
          },
          {
            "identity" : "ChElmLaboratoryReportToFhir",
            "map" : "Bundle"
          }
        ]
      },
      {
        "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.OrganizationGLN",
        "path" : "LaboratoryReport.Orderer.OrganizationGLN",
        "short" : "Orderer organization Global location number (GLN) of the ordering organization",
        "definition" : "Orderer organization Global location number (GLN) of the ordering organization",
        "min" : 1,
        "max" : "1",
        "base" : {
          "path" : "LaboratoryReport.Orderer.OrganizationGLN",
          "min" : 1,
          "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.51.1.3').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.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[0]"
          }
        ]
      },
      {
        "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[1]"
          }
        ]
      },
      {
        "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.OASI",
        "path" : "LaboratoryReport.Patient.OASI",
        "short" : "Old-age and survivors's insurance (OASI) number",
        "definition" : "Old-age and survivors's insurance (OASI) number",
        "min" : 1,
        "max" : "1",
        "base" : {
          "path" : "LaboratoryReport.Patient.OASI",
          "min" : 1,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "Identifier"
          }
        ],
        "mapping" : [
          {
            "identity" : "ChElmLaboratoryReportToFhir",
            "map" : "Bundle.entry[0].resource.subject.resolve().identifier"
          }
        ]
      },
      {
        "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"
          }
        ]
      },
      {
        "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 terminolgy system (LOINC)",
        "definition" : "Identity fo the terminolgy system (LOINC)",
        "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 terminolgy system (SNOMED CT)",
        "definition" : "Identity fo the terminolgy system (SNOMED CT)",
        "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.Specimen.Type.Text",
        "path" : "LaboratoryReport.TestResult.Specimen.Type.Text",
        "short" : "Remark that material is already declared by LOINC system axis",
        "definition" : "Remark that material is already declared by LOINC system axis",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "LaboratoryReport.TestResult.Specimen.Type.Text",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "string"
          }
        ],
        "mapping" : [
          {
            "identity" : "ChElmLaboratoryReportToFhir",
            "map" : "Bundle.entry[0].resource.section.entry.resolve().specimen.resolve().type.text"
          }
        ]
      },
      {
        "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 terminolgy system (SNOMED CT)",
        "definition" : "Identity fo the terminolgy system (SNOMED CT)",
        "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 terminolgy system (HL7 ObservationInterpretation)",
        "definition" : "Identity fo the terminolgy 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.OrganizationGLN",
        "path" : "LaboratoryReport.Orderer.OrganizationGLN",
        "short" : "Orderer organization Global location number (GLN) of the ordering organization",
        "definition" : "Orderer organization Global location number (GLN) of the ordering organization",
        "min" : 1,
        "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.51.1.3').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.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[0]"
          }
        ]
      },
      {
        "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[1]"
          }
        ]
      },
      {
        "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.OASI",
        "path" : "LaboratoryReport.Patient.OASI",
        "short" : "Old-age and survivors's insurance (OASI) number",
        "definition" : "Old-age and survivors's insurance (OASI) number",
        "min" : 1,
        "max" : "1",
        "type" : [
          {
            "code" : "Identifier"
          }
        ],
        "mapping" : [
          {
            "identity" : "ChElmLaboratoryReportToFhir",
            "map" : "Bundle.entry[0].resource.subject.resolve().identifier"
          }
        ]
      },
      {
        "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"
          }
        ]
      },
      {
        "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 terminolgy system (LOINC)",
        "definition" : "Identity fo the terminolgy system (LOINC)",
        "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 terminolgy system (SNOMED CT)",
        "definition" : "Identity fo the terminolgy system (SNOMED CT)",
        "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.Specimen.Type.Text",
        "path" : "LaboratoryReport.TestResult.Specimen.Type.Text",
        "short" : "Remark that material is already declared by LOINC system axis",
        "definition" : "Remark that material is already declared by LOINC system axis",
        "min" : 0,
        "max" : "1",
        "type" : [
          {
            "code" : "string"
          }
        ],
        "mapping" : [
          {
            "identity" : "ChElmLaboratoryReportToFhir",
            "map" : "Bundle.entry[0].resource.section.entry.resolve().specimen.resolve().type.text"
          }
        ]
      },
      {
        "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 terminolgy system (SNOMED CT)",
        "definition" : "Identity fo the terminolgy system (SNOMED CT)",
        "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 terminolgy system (HL7 ObservationInterpretation)",
        "definition" : "Identity fo the terminolgy 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"
          }
        ]
      }
    ]
  }
}