PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.eu.laboratory@0.1.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: hl7.fhir.eu.laboratory
derivation: constraint
name: CompositionLabReportEu
type: Composition
elements:
  category:
    type: CodeableConcept
    short: Report Category
    index: 19
    slicing:
      rules: open
      discriminator:
      - {path: $this, type: value}
      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: 20
          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: 21
          min: 0
  encounter: {short: The healthcare event which this Laboratory Report is about (when test ordered)., index: 23}
  section:
    index: 34
    elements:
      title: {index: 35}
      code: {type: CodeableConcept, index: 36}
    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: 37
            elements:
              code:
                binding: {strength: preferred, valueSet: 'http://hl7.eu/fhir/laboratory/ValueSet/lab-studyType-eu-lab'}
                index: 38
              text: {short: 'Text summary of the section, for human interpretation.', index: 39}
              entry:
                type: Reference
                refers: ['http://hl7.eu/fhir/laboratory/StructureDefinition/Observation-resultslab-eu-lab']
                index: 40
              section: {index: 41}
            required: [entry]
        lab-subsections:
          match: {}
          schema:
            short: 'Variant 2: EU Laboratory Report section with one to many subsections Laboratory Report Item'
            array: true
            index: 42
            elements:
              code:
                binding: {strength: preferred, valueSet: 'http://hl7.eu/fhir/laboratory/ValueSet/lab-studyType-eu-lab'}
                index: 43
              text: {index: 44}
              entry: {index: 45}
              section:
                type: BackboneElement
                index: 46
                elements:
                  title: {index: 47}
                  code:
                    type: CodeableConcept
                    binding: {strength: preferred, valueSet: 'http://hl7.eu/fhir/laboratory/ValueSet/lab-studyType-eu-lab'}
                    index: 48
                  text: {short: 'Text summary of the section, for human interpretation.', index: 49}
                  entry:
                    type: Reference
                    refers: ['http://hl7.eu/fhir/laboratory/StructureDefinition/Observation-resultslab-eu-lab']
                    index: 50
                  section: {index: 51}
                required: [entry, title, code]
            required: [section]
        annotations:
          match: {}
          schema:
            short: Annotation comment
            array: true
            index: 52
            elements:
              code:
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: 48767-8, system: 'http://loinc.org'}
                index: 53
              text: {index: 54}
              entry: {index: 55}
              section: {index: 56}
            required: [text]
  attester:
    short: Attests the report accuracy
    index: 26
    elements:
      mode: {short: The type of attestation, index: 27}
      time: {short: When the report was attested by the party, index: 28}
      party: {short: Who attested the report, index: 29}
  type:
    type: CodeableConcept
    short: Type of (Laboratory) Report
    binding: {strength: preferred, valueSet: 'http://hl7.eu/fhir/laboratory/ValueSet/lab-reportType-eu-lab'}
    index: 18
  title: {short: Laboratory Report, index: 25}
  author: {short: Who and/or what authored the Laboratory Report, index: 24}
  extension:
    type: Extension
    url: http://hl7.eu/fhir/StructureDefinition/composition-basedOn-order-or-requisition
    index: 1
    slicing:
      slices:
        basedOn-order-or-requisition:
          match: {}
          schema:
            type: Extension
            url: http://hl7.eu/fhir/StructureDefinition/composition-basedOn-order-or-requisition
            index: 1
            elements:
              value:
                choices: []
                index: 3
                slicing:
                  rules: open
                  ordered: false
                  discriminator:
                  - {path: $this, type: type}
                  min: null
                  slices:
                    valueReference:
                      match: {}
                      schema:
                        choices: [valueReference]
                        index: 5
                      min: 0
                      max: 1
              valueReference:
                type: Reference
                choiceOf: value
                refers: ['http://hl7.eu/fhir/laboratory/StructureDefinition/ServiceRequest-eu-lab']
                index: 6
                slicing:
                  slices:
                    valueReference:
                      match: {}
                      schema:
                        type: Reference
                        choiceOf: value
                        refers: ['http://hl7.eu/fhir/laboratory/StructureDefinition/ServiceRequest-eu-lab']
                        index: 6
                      min: 0
                      max: 1
        information-recipient:
          match: {}
          schema:
            type: Extension
            url: http://hl7.eu/fhir/StructureDefinition/information-recipient
            index: 7
            elements:
              value:
                choices: [valueReference]
                index: 9
              valueReference:
                type: Reference
                choiceOf: value
                refers: ['http://hl7.eu/fhir/laboratory/StructureDefinition/Patient-eu-lab', 'http://hl7.eu/fhir/laboratory/StructureDefinition/Practitioner-eu-lab', 'http://hl7.eu/fhir/laboratory/StructureDefinition/PractitionerRole-eu-lab', 'http://hl7.org/fhir/StructureDefinition/Device', 'http://hl7.org/fhir/StructureDefinition/Organization', 'http://hl7.org/fhir/StructureDefinition/RelatedPerson']
                index: 10
        diagnosticReport-reference:
          match: {}
          schema:
            type: Extension
            url: http://hl7.eu/fhir/laboratory/StructureDefinition/composition-diagnosticReportReference
            index: 11
            elements:
              value:
                choices: [valueReference]
                index: 13
              valueReference:
                type: Reference
                choiceOf: value
                refers: ['http://hl7.eu/fhir/laboratory/StructureDefinition/DiagnosticReport-eu-lab']
                index: 14
              value[x]:
                elements:
                  reference: {index: 15}
                required: [reference]
            required: [valueReference, value]
  event:
    short: The laboratory service(s) being documented
    index: 30
    elements:
      code: {short: Code(s) that apply to the laboratory service(s) being documented, index: 31}
      period: {short: Period of time covered by the documentation, index: 32}
      detail: {short: The laboratory service(s) being documented, index: 33}
  status: {short: Status of the Report, index: 17}
  identifier: {short: Report identifier, index: 16}
  subject:
    type: Reference
    short: Who and/or what this report is about
    refers: ['http://hl7.eu/fhir/laboratory/StructureDefinition/Patient-animal-eu-lab', 'http://hl7.eu/fhir/laboratory/StructureDefinition/Patient-eu-lab', 'http://hl7.org/fhir/StructureDefinition/Device', 'http://hl7.org/fhir/StructureDefinition/Group', 'http://hl7.org/fhir/StructureDefinition/Location']
    index: 22
  text: {short: Narrative text, index: 0}
package_version: 0.1.1
extensions:
  basedOn-order-or-requisition:
    url: http://hl7.eu/fhir/StructureDefinition/composition-basedOn-order-or-requisition
    type: Extension
    index: 1
    elements:
      value:
        choices: []
        index: 3
        slicing:
          rules: open
          ordered: false
          discriminator:
          - {path: $this, type: type}
          min: null
          slices:
            valueReference:
              match: {}
              schema:
                choices: [valueReference]
                index: 5
              min: 0
              max: 1
      valueReference:
        type: Reference
        choiceOf: value
        refers: ['http://hl7.eu/fhir/laboratory/StructureDefinition/ServiceRequest-eu-lab']
        index: 6
        slicing:
          slices:
            valueReference:
              match: {}
              schema:
                type: Reference
                choiceOf: value
                refers: ['http://hl7.eu/fhir/laboratory/StructureDefinition/ServiceRequest-eu-lab']
                index: 6
              min: 0
              max: 1
  information-recipient:
    url: http://hl7.eu/fhir/StructureDefinition/information-recipient
    type: Extension
    index: 7
    elements:
      value:
        choices: [valueReference]
        index: 9
      valueReference:
        type: Reference
        choiceOf: value
        refers: ['http://hl7.eu/fhir/laboratory/StructureDefinition/Patient-eu-lab', 'http://hl7.eu/fhir/laboratory/StructureDefinition/Practitioner-eu-lab', 'http://hl7.eu/fhir/laboratory/StructureDefinition/PractitionerRole-eu-lab', 'http://hl7.org/fhir/StructureDefinition/Device', 'http://hl7.org/fhir/StructureDefinition/Organization', 'http://hl7.org/fhir/StructureDefinition/RelatedPerson']
        index: 10
  diagnosticReport-reference:
    url: http://hl7.eu/fhir/laboratory/StructureDefinition/composition-diagnosticReportReference
    type: Extension
    index: 11
    elements:
      value:
        choices: [valueReference]
        index: 13
      valueReference:
        type: Reference
        choiceOf: value
        refers: ['http://hl7.eu/fhir/laboratory/StructureDefinition/DiagnosticReport-eu-lab']
        index: 14
      value[x]:
        elements:
          reference: {index: 15}
        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
version: 0.1.1
required: [section, subject]