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