PackagesCanonicalsLogsProblems
    Packages
    dk.ehealth.sundhed.fhir.ig.core@5.0.1
    http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-triggerCondition
description: Conditions for a triggering action to be met for other action to be triggered.
package_name: dk.ehealth.sundhed.fhir.ig.core
derivation: constraint
name: ehealth-triggerCondition
type: Extension
elements:
  extension:
    array: true
    min: 2
    index: 0
    slicing:
      slices:
        actionId:
          match: {}
          schema:
            short: What action is triggering action
            _required: true
            index: 1
            extensions: {}
            elements:
              extension: {index: 2}
              url:
                pattern: {type: uri, value: actionId}
                type: uri
                index: 3
              value:
                choices: []
                index: 5
                slicing:
                  rules: open
                  ordered: false
                  discriminator:
                  - {path: $this, type: type}
                  min: 1
                  slices:
                    valueId:
                      match: {}
                      schema:
                        choices: [valueId]
                        _required: true
                        index: 7
                      min: 1
                      max: 1
              valueId:
                type: id
                choiceOf: value
                index: 8
                slicing:
                  slices:
                    valueId:
                      match: {}
                      schema: {type: id, choiceOf: value, _required: true, index: 8}
                      min: 1
                      max: 1
            required: [value, valueId]
        count:
          match: {}
          schema:
            short: Amount of measurements for triggering action.
            _required: true
            index: 9
            extensions: {}
            elements:
              extension: {index: 10}
              url:
                pattern: {type: uri, value: count}
                type: uri
                index: 11
              value:
                choices: []
                index: 13
                slicing:
                  rules: open
                  ordered: false
                  discriminator:
                  - {path: $this, type: type}
                  min: 1
                  slices:
                    valueInteger:
                      match: {}
                      schema:
                        choices: [valueInteger]
                        _required: true
                        index: 15
                      min: 1
                      max: 1
              valueInteger:
                type: integer
                choiceOf: value
                index: 16
                slicing:
                  slices:
                    valueInteger:
                      match: {}
                      schema: {type: integer, choiceOf: value, _required: true, index: 16}
                      min: 1
                      max: 1
            required: [value, valueInteger]
  url:
    pattern: {type: uri, value: 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-triggerCondition'}
    type: uri
    index: 17
  value:
    choices: []
    index: 19
package_version: 5.0.1
extensions:
  actionId:
    url: null
    short: What action is triggering action
    _required: true
    index: 1
    extensions: {}
    elements:
      extension: {index: 2}
      url:
        pattern: {type: uri, value: actionId}
        type: uri
        index: 3
      value:
        choices: []
        index: 5
        slicing:
          rules: open
          ordered: false
          discriminator:
          - {path: $this, type: type}
          min: 1
          slices:
            valueId:
              match: {}
              schema:
                choices: [valueId]
                _required: true
                index: 7
              min: 1
              max: 1
      valueId:
        type: id
        choiceOf: value
        index: 8
        slicing:
          slices:
            valueId:
              match: {}
              schema: {type: id, choiceOf: value, _required: true, index: 8}
              min: 1
              max: 1
    required: [value, valueId]
  count:
    url: null
    short: Amount of measurements for triggering action.
    _required: true
    index: 9
    extensions: {}
    elements:
      extension: {index: 10}
      url:
        pattern: {type: uri, value: count}
        type: uri
        index: 11
      value:
        choices: []
        index: 13
        slicing:
          rules: open
          ordered: false
          discriminator:
          - {path: $this, type: type}
          min: 1
          slices:
            valueInteger:
              match: {}
              schema:
                choices: [valueInteger]
                _required: true
                index: 15
              min: 1
              max: 1
      valueInteger:
        type: integer
        choiceOf: value
        index: 16
        slicing:
          slices:
            valueInteger:
              match: {}
              schema: {type: integer, choiceOf: value, _required: true, index: 16}
              min: 1
              max: 1
    required: [value, valueInteger]
class: extension
kind: complex-type
url: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-triggerCondition
base: http://hl7.org/fhir/StructureDefinition/Extension
version: 5.0.1