PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.eu.laboratory@0.1.0-ballot
    http://hl7.eu/fhir/laboratory/StructureDefinition/Bundle-eu-lab
description: Clinical document used to represent a Laboratory Report for the scope of the HL7 Europe project.
package_name: hl7.fhir.eu.laboratory
derivation: constraint
name: BundleLabReportEu
type: Bundle
elements:
  identifier: {short: Business identifier for this Laboratory Report, index: 0}
  type:
    pattern: {type: Code, value: document}
    index: 1
  timestamp: {index: 2}
  total: {index: 3}
  link: {index: 4}
  entry:
    array: true
    min: 2
    index: 5
    elements:
      link: {index: 6}
      fullUrl: {index: 7}
      resource: {index: 8}
      search: {index: 9}
      request: {index: 10}
      response: {index: 11}
    required: [resource, fullUrl]
    slicing:
      rules: open
      ordered: false
      discriminator:
      - {path: resource, type: type}
      min: 2
      slices:
        patient:
          match: {}
          schema:
            index: 16
            elements:
              resource: {type: Patient, index: 17}
        encounter:
          match: {}
          schema:
            array: true
            index: 30
            elements:
              resource: {type: Encounter, index: 31}
        practitionerRole:
          match: {}
          schema:
            array: true
            index: 28
            elements:
              resource: {type: PractitionerRole, index: 29}
        specimen:
          match: {}
          schema:
            array: true
            index: 20
            elements:
              resource: {type: Specimen, index: 21}
        observation:
          match: {}
          schema:
            array: true
            index: 18
            elements:
              resource: {type: Observation, index: 19}
        organization:
          match: {}
          schema:
            array: true
            index: 24
            elements:
              resource: {type: Organization, index: 25}
        diagnosticReport:
          match: {}
          schema:
            _required: true
            index: 14
            elements:
              resource: {type: DiagnosticReport, index: 15}
        serviceRequest:
          match: {}
          schema:
            array: true
            index: 22
            elements:
              resource: {type: ServiceRequest, index: 23}
        provenance:
          match: {}
          schema:
            array: true
            index: 34
            elements:
              resource: {type: Provenance, index: 35}
        practitioner:
          match: {}
          schema:
            array: true
            index: 26
            elements:
              resource: {type: Practitioner, index: 27}
        composition:
          match: {}
          schema:
            _required: true
            index: 12
            elements:
              resource: {type: Composition, index: 13}
        location:
          match: {}
          schema:
            array: true
            index: 32
            elements:
              resource: {type: Location, index: 33}
  signature: {short: Digital Signature of this report, index: 36}
package_version: 0.1.0-ballot
class: profile
kind: resource
url: http://hl7.eu/fhir/laboratory/StructureDefinition/Bundle-eu-lab
base: http://hl7.org/fhir/StructureDefinition/Bundle
version: 0.1.0-ballot
required: [timestamp, identifier]