PackagesCanonicalsLogsProblems
    Packages
    dk.ehealth.sundhed.fhir.ig.core@3.5.1
    http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-actionTrigger
description: Defines a reaction along with its trigger conditions.
package_name: dk.ehealth.sundhed.fhir.ig.core
derivation: constraint
name: ehealth-actionTrigger
type: Extension
elements:
  extension:
    array: true
    min: 3
    index: 0
    slicing:
      slices:
        triggerCondition:
          match: {}
          schema: {type: Extension, url: 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-triggerCondition', index: 1}
          min: 1
        triggerBehavior:
          match: {}
          schema:
            short: Controls how multiple triggerCondition must be met
            _required: true
            index: 2
            extensions: {}
            elements:
              extension: {index: 3}
              url:
                pattern: {type: Uri, value: triggerBehavior}
                index: 4
              value:
                choices: []
                index: 6
                slicing:
                  rules: open
                  ordered: false
                  discriminator:
                  - {path: $this, type: type}
                  min: 1
                  slices:
                    valueCode:
                      match: {}
                      schema:
                        choices: [valueCode]
                        _required: true
                        index: 8
                      min: 1
                      max: 1
              valueCode:
                type: code
                choiceOf: value
                index: 9
                slicing:
                  slices:
                    valueCode:
                      match: {}
                      schema: {type: code, choiceOf: value, _required: true, index: 9}
                      min: 1
                      max: 1
            required: [valueCode, value]
        offset:
          match: {}
          schema:
            short: Offset applied to timing bounds
            index: 10
            extensions: {}
            elements:
              extension: {index: 11}
              url:
                pattern: {type: Uri, value: offset}
                index: 12
              value:
                choices: []
                index: 14
                slicing:
                  rules: open
                  ordered: false
                  discriminator:
                  - {path: $this, type: type}
                  min: null
                  slices:
                    valueDuration:
                      match: {}
                      schema:
                        choices: [valueDuration]
                        index: 16
                      min: 0
                      max: 1
              valueDuration:
                type: Duration
                choiceOf: value
                index: 17
                slicing:
                  slices:
                    valueDuration:
                      match: {}
                      schema: {type: Duration, choiceOf: value, index: 17}
                      min: 0
                      max: 1
        action:
          match: {}
          schema:
            short: Reaction to perform on current action
            _required: true
            index: 18
            extensions: {}
            elements:
              extension: {index: 19}
              url:
                pattern: {type: Uri, value: action}
                index: 20
              value:
                choices: []
                index: 22
                slicing:
                  rules: open
                  ordered: false
                  discriminator:
                  - {path: $this, type: type}
                  min: 1
                  slices:
                    valueCoding:
                      match: {}
                      schema:
                        choices: [valueCoding]
                        _required: true
                        index: 24
                      min: 1
                      max: 1
              valueCoding:
                type: Coding
                choiceOf: value
                index: 25
                slicing:
                  slices:
                    valueCoding:
                      match: {}
                      schema: {type: Coding, choiceOf: value, _required: true, index: 25}
                      min: 1
                      max: 1
            required: [valueCoding, value]
  url:
    pattern: {type: Uri, value: 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-actionTrigger'}
    index: 26
  value:
    choices: []
    index: 28
package_version: 3.5.1
extensions:
  triggerCondition: {url: 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-triggerCondition', min: 1, type: Extension, index: 1}
  triggerBehavior:
    url: null
    short: Controls how multiple triggerCondition must be met
    _required: true
    index: 2
    extensions: {}
    elements:
      extension: {index: 3}
      url:
        pattern: {type: Uri, value: triggerBehavior}
        index: 4
      value:
        choices: []
        index: 6
        slicing:
          rules: open
          ordered: false
          discriminator:
          - {path: $this, type: type}
          min: 1
          slices:
            valueCode:
              match: {}
              schema:
                choices: [valueCode]
                _required: true
                index: 8
              min: 1
              max: 1
      valueCode:
        type: code
        choiceOf: value
        index: 9
        slicing:
          slices:
            valueCode:
              match: {}
              schema: {type: code, choiceOf: value, _required: true, index: 9}
              min: 1
              max: 1
    required: [valueCode, value]
  offset:
    url: null
    short: Offset applied to timing bounds
    index: 10
    extensions: {}
    elements:
      extension: {index: 11}
      url:
        pattern: {type: Uri, value: offset}
        index: 12
      value:
        choices: []
        index: 14
        slicing:
          rules: open
          ordered: false
          discriminator:
          - {path: $this, type: type}
          min: null
          slices:
            valueDuration:
              match: {}
              schema:
                choices: [valueDuration]
                index: 16
              min: 0
              max: 1
      valueDuration:
        type: Duration
        choiceOf: value
        index: 17
        slicing:
          slices:
            valueDuration:
              match: {}
              schema: {type: Duration, choiceOf: value, index: 17}
              min: 0
              max: 1
  action:
    url: null
    short: Reaction to perform on current action
    _required: true
    index: 18
    extensions: {}
    elements:
      extension: {index: 19}
      url:
        pattern: {type: Uri, value: action}
        index: 20
      value:
        choices: []
        index: 22
        slicing:
          rules: open
          ordered: false
          discriminator:
          - {path: $this, type: type}
          min: 1
          slices:
            valueCoding:
              match: {}
              schema:
                choices: [valueCoding]
                _required: true
                index: 24
              min: 1
              max: 1
      valueCoding:
        type: Coding
        choiceOf: value
        index: 25
        slicing:
          slices:
            valueCoding:
              match: {}
              schema: {type: Coding, choiceOf: value, _required: true, index: 25}
              min: 1
              max: 1
    required: [valueCoding, value]
class: extension
kind: complex-type
url: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-actionTrigger
base: http://hl7.org/fhir/StructureDefinition/Extension
version: 3.5.1