PackagesCanonicalsLogsProblems
    Packages
    rs/ch.fhir.ig.ch@lab-order-3.0.0-ballot
    http://fhir.ch/ig/ch-lab-order/StructureDefinition/observation-triggeredBy
description: An extension to indicate that an observation was triggered by another observation.
package_name: rs/ch.fhir.ig.ch
derivation: constraint
name: ObservationTriggeredByExtension
type: Extension
elements:
  extension:
    short: Reference to the triggering observation
    index: 0
    slicing:
      slices:
        observation:
          match: {}
          schema:
            short: Reference to the triggering observation
            index: 0
            extensions: {}
            elements:
              extension: {index: 1}
              url:
                pattern: {type: uri, value: observation}
                type: uri
                index: 2
              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/StructureDefinition/Observation']
                index: 7
                slicing:
                  slices:
                    valueReference:
                      match: {}
                      schema:
                        type: Reference
                        choiceOf: value
                        refers: ['http://hl7.org/fhir/StructureDefinition/Observation']
                        index: 7
                      min: 0
                      max: 1
        type:
          match: {}
          schema:
            short: Type of triggering
            index: 8
            extensions: {}
            elements:
              extension: {index: 9}
              url:
                pattern: {type: uri, value: type}
                type: uri
                index: 10
              value:
                choices: []
                index: 12
                slicing:
                  rules: open
                  ordered: false
                  discriminator:
                  - {path: $this, type: type}
                  min: null
                  slices:
                    valueCodeableConcept:
                      match: {}
                      schema:
                        choices: [valueCodeableConcept]
                        index: 14
                      min: 0
                      max: 1
              valueCodeableConcept:
                type: CodeableConcept
                choiceOf: value
                index: 15
                slicing:
                  slices:
                    valueCodeableConcept:
                      match: {}
                      schema: {type: CodeableConcept, choiceOf: value, index: 15}
                      min: 0
                      max: 1
        reason:
          match: {}
          schema:
            short: Reason for the trigger
            index: 16
            extensions: {}
            elements:
              extension: {index: 17}
              url:
                pattern: {type: uri, value: reason}
                type: uri
                index: 18
              value:
                choices: []
                index: 20
                slicing:
                  rules: open
                  ordered: false
                  discriminator:
                  - {path: $this, type: type}
                  min: null
                  slices:
                    valueString:
                      match: {}
                      schema:
                        choices: [valueString]
                        index: 22
                      min: 0
                      max: 1
              valueString:
                type: string
                choiceOf: value
                index: 23
                slicing:
                  slices:
                    valueString:
                      match: {}
                      schema: {type: string, choiceOf: value, index: 23}
                      min: 0
                      max: 1
  url:
    pattern: {type: uri, value: 'http://fhir.ch/ig/ch-lab-order/StructureDefinition/observation-triggeredBy'}
    type: uri
    index: 24
  value:
    choices: []
    index: 26
package_version: lab-order-3.0.0-ballot
extensions:
  observation:
    url: null
    short: Reference to the triggering observation
    index: 0
    extensions: {}
    elements:
      extension: {index: 1}
      url:
        pattern: {type: uri, value: observation}
        type: uri
        index: 2
      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/StructureDefinition/Observation']
        index: 7
        slicing:
          slices:
            valueReference:
              match: {}
              schema:
                type: Reference
                choiceOf: value
                refers: ['http://hl7.org/fhir/StructureDefinition/Observation']
                index: 7
              min: 0
              max: 1
  type:
    url: null
    short: Type of triggering
    index: 8
    extensions: {}
    elements:
      extension: {index: 9}
      url:
        pattern: {type: uri, value: type}
        type: uri
        index: 10
      value:
        choices: []
        index: 12
        slicing:
          rules: open
          ordered: false
          discriminator:
          - {path: $this, type: type}
          min: null
          slices:
            valueCodeableConcept:
              match: {}
              schema:
                choices: [valueCodeableConcept]
                index: 14
              min: 0
              max: 1
      valueCodeableConcept:
        type: CodeableConcept
        choiceOf: value
        index: 15
        slicing:
          slices:
            valueCodeableConcept:
              match: {}
              schema: {type: CodeableConcept, choiceOf: value, index: 15}
              min: 0
              max: 1
  reason:
    url: null
    short: Reason for the trigger
    index: 16
    extensions: {}
    elements:
      extension: {index: 17}
      url:
        pattern: {type: uri, value: reason}
        type: uri
        index: 18
      value:
        choices: []
        index: 20
        slicing:
          rules: open
          ordered: false
          discriminator:
          - {path: $this, type: type}
          min: null
          slices:
            valueString:
              match: {}
              schema:
                choices: [valueString]
                index: 22
              min: 0
              max: 1
      valueString:
        type: string
        choiceOf: value
        index: 23
        slicing:
          slices:
            valueString:
              match: {}
              schema: {type: string, choiceOf: value, index: 23}
              min: 0
              max: 1
class: extension
kind: complex-type
url: http://fhir.ch/ig/ch-lab-order/StructureDefinition/observation-triggeredBy
base: http://hl7.org/fhir/StructureDefinition/Extension
version: 3.0.0-ballot