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