PackagesCanonicalsLogsProblems
    Packages
    myhealth.eu.fhir.laboratory@9.1.1
    http://fhir.ehdsi.eu/laboratory/StructureDefinition/Composition-lab-myhealtheu
description: This profile defines how to constrain the Clinical document profile (Composition) to represent a Laboratory Report for the purpose of this guide.
package_name: myhealth.eu.fhir.laboratory
derivation: constraint
name: CompositionLabReportMyHealthEu
type: Composition
elements:
  category:
    binding: {strength: required, valueSet: 'http://terminology.ehdsi.eu/ValueSet/eHDSILabStudyType'}
    array: true
    index: 13
    slicing:
      slices:
        studyType:
          match: {}
          schema:
            binding: {strength: required, valueSet: 'http://terminology.ehdsi.eu/ValueSet/eHDSILabStudyType'}
            array: true
            index: 13
          min: 0
  date: {index: 15}
  section:
    index: 22
    elements:
      entry: {index: 23}
      section:
        type: BackboneElement
        index: 24
        elements:
          entry: {index: 25}
    slicing:
      rules: open
      ordered: false
      discriminator:
      - {path: code, type: pattern}
      min: 1
      slices:
        annotations:
          match:
            code:
              coding:
              - {code: 48767-8, system: 'http://loinc.org'}
          schema:
            short: Annotation comment
            array: true
            index: 26
            elements:
              code:
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: 48767-8, system: 'http://loinc.org'}
                index: 27
              entry: {index: 28}
              section: {index: 29}
        attachment:
          match:
            code:
              coding:
              - {code: 77599-9, system: 'http://loinc.org'}
          schema:
            short: Additional data (like images, diagrams) associated with this report
            array: true
            index: 30
            elements:
              code:
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: 77599-9, system: 'http://loinc.org'}
                index: 31
              entry:
                type: Reference
                refers: ['http://hl7.org/fhir/StructureDefinition/Binary', 'http://hl7.org/fhir/StructureDefinition/DocumentReference']
                index: 32
              section: {index: 33}
            required: [entry]
  attester:
    index: 18
    elements:
      time: {index: 19}
      party: {index: 20}
  type:
    short: Type of (Laboratory) Report
    binding: {strength: required, valueSet: 'http://terminology.ehdsi.eu/ValueSet/eHDSILaboratoryReportType'}
    index: 12
  title: {short: Laboratory Report, index: 17}
  author: {index: 16}
  extension:
    index: 2
    slicing:
      slices:
        version:
          match: {}
          schema: {index: 2}
        diagnosticReport:
          match: {}
          schema:
            index: 3
            extensions: {}
            elements:
              extension: {index: 4}
              value:
                choices: []
                index: 6
                slicing:
                  rules: open
                  ordered: false
                  discriminator:
                  - {path: $this, type: type}
                  min: 1
                  slices:
                    valueReference:
                      match: {}
                      schema:
                        choices: [valueReference]
                        _required: true
                        index: 8
                      min: 1
                      max: 1
              valueReference:
                type: Reference
                choiceOf: value
                index: 9
                slicing:
                  slices:
                    valueReference:
                      match: {}
                      schema: {type: Reference, choiceOf: value, _required: true, index: 9}
                      min: 1
                      max: 1
              value[x]:
                elements:
                  reference: {index: 10}
                required: [reference]
            required: [valueReference, value]
  custodian: {index: 21}
  language: {index: 0}
  identifier: {index: 11}
  subject: {short: Who and/or what this report is about, index: 14}
  text: {short: Narrative text, index: 1}
package_version: 9.1.1
extensions:
  version: {url: null, index: 2}
  diagnosticReport:
    url: null
    index: 3
    extensions: {}
    elements:
      extension: {index: 4}
      value:
        choices: []
        index: 6
        slicing:
          rules: open
          ordered: false
          discriminator:
          - {path: $this, type: type}
          min: 1
          slices:
            valueReference:
              match: {}
              schema:
                choices: [valueReference]
                _required: true
                index: 8
              min: 1
              max: 1
      valueReference:
        type: Reference
        choiceOf: value
        index: 9
        slicing:
          slices:
            valueReference:
              match: {}
              schema: {type: Reference, choiceOf: value, _required: true, index: 9}
              min: 1
              max: 1
      value[x]:
        elements:
          reference: {index: 10}
        required: [reference]
    required: [valueReference, value]
class: profile
kind: resource
url: http://fhir.ehdsi.eu/laboratory/StructureDefinition/Composition-lab-myhealtheu
base: http://fhir.ehdsi.eu/core/StructureDefinition/composition-myhealtheu-core
version: 9.1.1
required: [section]