PackagesCanonicalsLogsProblems
    Packages
    lt.hl7.fhir.eu@0.0.1
    http://hl7.eu/fhir/laboratory/StructureDefinition/Composition-eu-lab
description: Clinical document used to represent a Laboratory Report for the scope of the HL7 Europe project.
package_name: lt.hl7.fhir.eu
derivation: constraint
name: CompositionLabReportEu
type: Composition
elements:
  category:
    type: CodeableConcept
    short: Report Category
    index: 14
    slicing:
      rules: open
      discriminator:
      - {path: $this, type: pattern}
      min: null
      slices:
        studyType:
          match: {}
          schema:
            short: The way of grouping of the test results into clinically meaningful domains (e.g. hematology study, microbiology study, etc.)
            array: true
            binding: {strength: required, valueSet: 'http://hl7.eu/fhir/laboratory/ValueSet/lab-studyType-eu-lab'}
            index: 15
          min: 0
        specialty:
          match: {}
          schema:
            short: The clinical domain of the laboratory performing the observation (e.g. microbiology, toxicology, chemistry)
            array: true
            binding: {strength: required, valueSet: 'http://hl7.eu/fhir/laboratory/ValueSet/lab-specialty-eu-lab'}
            index: 16
          min: 0
  encounter: {short: The healthcare event which this Laboratory Report is about (when test ordered)., index: 18}
  section:
    index: 28
    elements:
      title: {index: 29}
      code: {type: CodeableConcept, index: 30}
    required: [title, code]
    slicing:
      rules: open
      ordered: false
      discriminator:
      - {path: $this.section, type: exists}
      - {path: $this.entry, type: exists}
      min: 1
      slices:
        lab-no-subsections:
          match: {}
          schema:
            short: 'Variant 1: EU Laboratory Report section with entries and no sub-sections'
            array: true
            index: 31
            elements:
              code:
                binding: {strength: preferred, valueSet: 'http://hl7.eu/fhir/laboratory/ValueSet/lab-studyType-eu-lab'}
                index: 32
              text: {short: 'Text summary of the section, for human interpretation.', index: 33}
              entry:
                type: Reference
                refers: ['http://hl7.eu/fhir/laboratory/StructureDefinition/Observation-resultslab-eu-lab|0.2.0-ci']
                index: 34
              section: {index: 35}
            required: [entry]
        lab-subsections:
          match: {}
          schema:
            short: 'Variant 2: EU Laboratory Report section with one to many subsections Laboratory Report Item'
            array: true
            index: 36
            elements:
              code:
                binding: {strength: preferred, valueSet: 'http://hl7.eu/fhir/laboratory/ValueSet/lab-studyType-eu-lab'}
                index: 37
              text: {index: 38}
              entry: {index: 39}
              section:
                type: BackboneElement
                index: 40
                elements:
                  title: {index: 41}
                  code:
                    type: CodeableConcept
                    binding: {strength: preferred, valueSet: 'http://hl7.eu/fhir/laboratory/ValueSet/lab-studyType-eu-lab'}
                    index: 42
                  text: {short: 'Text summary of the section, for human interpretation.', index: 43}
                  entry:
                    type: Reference
                    refers: ['http://hl7.eu/fhir/laboratory/StructureDefinition/Observation-resultslab-eu-lab|0.2.0-ci']
                    index: 44
                  section: {index: 45}
                required: [entry, title, code]
            required: [section]
        annotations:
          match: {}
          schema:
            short: Annotation comment
            array: true
            index: 46
            elements:
              code:
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: 48767-8, system: 'http://loinc.org'}
                index: 47
              text: {index: 48}
              entry: {index: 49}
              section: {index: 50}
            required: [text]
  attester:
    short: Attests the report accuracy
    index: 21
    elements:
      mode: {short: The type of attestation, index: 22}
      time: {short: When the report was attested by the party, index: 23}
      party: {short: Who attested the report, index: 24}
  type:
    type: CodeableConcept
    short: Type of (Laboratory) Report
    binding: {strength: preferred, valueSet: 'http://hl7.eu/fhir/laboratory/ValueSet/lab-reportType-eu-lab'}
    index: 13
  title: {short: Laboratory Report, index: 20}
  author: {short: Who and/or what authored the Laboratory Report, index: 19}
  extension:
    index: 1
    slicing:
      rules: open
      ordered: false
      discriminator:
      - {path: url, type: value}
      min: 1
      slices:
        information-recipient:
          match: {url: null}
          schema:
            type: Extension
            url: http://hl7.eu/fhir/StructureDefinition/information-recipient|0.1.1
            index: 2
            elements:
              value:
                choices: [valueReference]
                index: 4
              valueReference:
                type: Reference
                choiceOf: value
                refers: ['http://hl7.eu/fhir/base-r5/StructureDefinition/patient-eu|0.1.0', 'http://hl7.eu/fhir/base-r5/StructureDefinition/practitioner-eu|0.1.0', 'http://hl7.eu/fhir/base-r5/StructureDefinition/practitionerRole-eu|0.1.0', 'http://hl7.org/fhir/StructureDefinition/Device|5.0.0', 'http://hl7.org/fhir/StructureDefinition/Organization|5.0.0', 'http://hl7.org/fhir/StructureDefinition/RelatedPerson|5.0.0']
                index: 5
        diagnosticReport-reference:
          match: {url: null}
          schema:
            type: Extension
            url: http://hl7.eu/fhir/laboratory/StructureDefinition/composition-diagnosticReportReference|0.2.0-ci
            index: 6
            elements:
              value:
                choices: [valueReference]
                index: 8
              valueReference:
                type: Reference
                choiceOf: value
                refers: ['http://hl7.eu/fhir/laboratory/StructureDefinition/DiagnosticReport-eu-lab|0.2.0-ci']
                index: 9
              value[x]:
                elements:
                  reference: {index: 10}
                required: [reference]
            required: [valueReference, value]
  event:
    short: The laboratory service(s) being documented
    index: 25
    elements:
      period: {short: Period of time covered by the documentation, index: 26}
      detail: {short: The laboratory service(s) being documented, index: 27}
  status: {short: Status of the Report, index: 12}
  identifier: {short: Report identifier, index: 11}
  subject:
    type: Reference
    short: Who and/or what this report is about
    refers: ['http://hl7.eu/fhir/base-r5/StructureDefinition/patient-animal-eu-core|0.1.0', 'http://hl7.eu/fhir/base-r5/StructureDefinition/patient-eu|0.1.0', 'http://hl7.org/fhir/StructureDefinition/Device|5.0.0', 'http://hl7.org/fhir/StructureDefinition/Group|5.0.0', 'http://hl7.org/fhir/StructureDefinition/Location|5.0.0']
    index: 17
  text: {short: Narrative text, index: 0}
package_version: 0.0.1
extensions:
  information-recipient:
    url: http://hl7.eu/fhir/StructureDefinition/information-recipient|0.1.1
    type: Extension
    index: 2
    elements:
      value:
        choices: [valueReference]
        index: 4
      valueReference:
        type: Reference
        choiceOf: value
        refers: ['http://hl7.eu/fhir/base-r5/StructureDefinition/patient-eu|0.1.0', 'http://hl7.eu/fhir/base-r5/StructureDefinition/practitioner-eu|0.1.0', 'http://hl7.eu/fhir/base-r5/StructureDefinition/practitionerRole-eu|0.1.0', 'http://hl7.org/fhir/StructureDefinition/Device|5.0.0', 'http://hl7.org/fhir/StructureDefinition/Organization|5.0.0', 'http://hl7.org/fhir/StructureDefinition/RelatedPerson|5.0.0']
        index: 5
  diagnosticReport-reference:
    url: http://hl7.eu/fhir/laboratory/StructureDefinition/composition-diagnosticReportReference|0.2.0-ci
    type: Extension
    index: 6
    elements:
      value:
        choices: [valueReference]
        index: 8
      valueReference:
        type: Reference
        choiceOf: value
        refers: ['http://hl7.eu/fhir/laboratory/StructureDefinition/DiagnosticReport-eu-lab|0.2.0-ci']
        index: 9
      value[x]:
        elements:
          reference: {index: 10}
        required: [reference]
    required: [valueReference, value]
class: profile
kind: resource
url: http://hl7.eu/fhir/laboratory/StructureDefinition/Composition-eu-lab
base: http://hl7.org/fhir/StructureDefinition/clinicaldocument|5.0.0
version: 0.2.0-ci
required: [extension, section, subject]