eHealth Infrastructure, published by Den telemedicinske infrastruktur (eHealth Infrastructure). This guide is not an authorized publication; it is the continuous build for version 5.0.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/fut-infrastructure/implementation-guide/ and changes regularly. See the Directory of published versions
| Official URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-actionTrigger | Version: 5.0.0 | |||
| Active as of 2025-08-11 | Computable Name: ehealth-actionTrigger | |||
Defines a reaction along with its trigger conditions.
Context of Use
This extension may be used on the following element(s)
Element    
  Usage info
Usages:
You can also check for usages in the FHIR IG Statistics
Description of Profiles, Differentials, Snapshots, and how the XML and JSON presentations work.
This structure is derived from Extension
| Name | Flags | Card. | Type | Description & Constraints    Filter:   | 
|---|---|---|---|---|
|   Extension | 0..* | Extension | Reaction and trigger conditions | |
|    id | 0..1 | string | Unique id for inter-element referencing | |
|    Slices for extension | 3..* | Extension | Extension Slice: Unordered, Open by value:url | |
|     extension:triggerCondition | 1..* | (Complex) | Conditions for a triggering action URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-triggerCondition | |
|     extension:triggerBehavior | 1..1 | Extension | Controls how multiple triggerCondition must be met | |
|      id | 0..1 | string | Unique id for inter-element referencing | |
|      extension | 0..0 | |||
|      url | 1..1 | uri | "triggerBehavior" | |
|      Slices for value[x] | 1..1 | code | Value of extension Slice: Unordered, Closed by type:$this | |
|       value[x]:valueCode | 1..1 | code | Value of extension Binding: Trigger Behavior (required) | |
|     extension:offset | 0..1 | Extension | Offset applied to timing bounds | |
|      id | 0..1 | string | Unique id for inter-element referencing | |
|      extension | 0..0 | |||
|      url | 1..1 | uri | "offset" | |
|      Slices for value[x] | 0..1 | Value of extension Slice: Unordered, Open by type:$this | ||
|       valueBase64Binary | base64Binary | |||
|       valueBoolean | boolean | |||
|       valueCanonical | canonical(Any) | |||
|       valueCode | code | |||
|       valueDate | date | |||
|       valueDateTime | dateTime | |||
|       valueDecimal | decimal | |||
|       valueId | id | |||
|       valueInstant | instant | |||
|       valueInteger | integer | |||
|       valueMarkdown | markdown | |||
|       valueOid | oid | |||
|       valuePositiveInt | positiveInt | |||
|       valueString | string | |||
|       valueTime | time | |||
|       valueUnsignedInt | unsignedInt | |||
|       valueUri | uri | |||
|       valueUrl | url | |||
|       valueUuid | uuid | |||
|       valueAddress | Address | |||
|       valueAge | Age | |||
|       valueAnnotation | Annotation | |||
|       valueAttachment | Attachment | |||
|       valueCodeableConcept | CodeableConcept | |||
|       valueCoding | Coding | |||
|       valueContactPoint | ContactPoint | |||
|       valueCount | Count | |||
|       valueDistance | Distance | |||
|       valueDuration | Duration | |||
|       valueHumanName | HumanName | |||
|       valueIdentifier | Identifier | |||
|       valueMoney | Money | |||
|       valuePeriod | Period | |||
|       valueQuantity | Quantity | |||
|       valueRange | Range | |||
|       valueRatio | Ratio | |||
|       valueReference | Reference(Any) | |||
|       valueSampledData | SampledData | |||
|       valueSignature | Signature | |||
|       valueTiming | Timing | |||
|       valueContactDetail | ContactDetail | |||
|       valueContributor | Contributor | |||
|       valueDataRequirement | DataRequirement | |||
|       valueExpression | Expression | |||
|       valueParameterDefinition | ParameterDefinition | |||
|       valueRelatedArtifact | RelatedArtifact | |||
|       valueTriggerDefinition | TriggerDefinition | |||
|       valueUsageContext | UsageContext | |||
|       valueDosage | Dosage | |||
|       valueMeta | Meta | |||
|       value[x]:valueDuration | 0..1 | Duration | Value of extension | |
|     extension:action | 1..1 | Extension | Reaction to perform on current action | |
|      id | 0..1 | string | Unique id for inter-element referencing | |
|      extension | 0..0 | |||
|      url | 1..1 | uri | "action" | |
|      Slices for value[x] | 1..1 | Coding | Value of extension Slice: Unordered, Closed by type:$this | |
|       value[x]:valueCoding | 1..1 | Coding | Value of extension Binding: Action (required) | |
|    url | 1..1 | uri | "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-actionTrigger" | |
|  Documentation for this format | ||||
This structure is derived from Extension
Summary
Complex Extension: Defines a reaction along with its trigger conditions.
Differential View
This structure is derived from Extension
Snapshot View
| Name | Flags | Card. | Type | Description & Constraints    Filter:   | 
|---|---|---|---|---|
|   Extension | 0..* | Extension | Reaction and trigger conditions | |
|    id | 0..1 | string | Unique id for inter-element referencing | |
|    Slices for extension | 3..* | Extension | Extension Slice: Unordered, Open by value:url | |
|     extension:triggerCondition | 1..* | (Complex) | Conditions for a triggering action URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-triggerCondition | |
|     extension:triggerBehavior | 1..1 | Extension | Controls how multiple triggerCondition must be met | |
|      id | 0..1 | string | Unique id for inter-element referencing | |
|      extension | 0..0 | |||
|      url | 1..1 | uri | "triggerBehavior" | |
|      Slices for value[x] | 1..1 | code | Value of extension Slice: Unordered, Closed by type:$this | |
|       value[x]:valueCode | 1..1 | code | Value of extension Binding: Trigger Behavior (required) | |
|     extension:offset | 0..1 | Extension | Offset applied to timing bounds | |
|      id | 0..1 | string | Unique id for inter-element referencing | |
|      extension | 0..0 | |||
|      url | 1..1 | uri | "offset" | |
|      Slices for value[x] | 0..1 | Value of extension Slice: Unordered, Open by type:$this | ||
|       valueBase64Binary | base64Binary | |||
|       valueBoolean | boolean | |||
|       valueCanonical | canonical(Any) | |||
|       valueCode | code | |||
|       valueDate | date | |||
|       valueDateTime | dateTime | |||
|       valueDecimal | decimal | |||
|       valueId | id | |||
|       valueInstant | instant | |||
|       valueInteger | integer | |||
|       valueMarkdown | markdown | |||
|       valueOid | oid | |||
|       valuePositiveInt | positiveInt | |||
|       valueString | string | |||
|       valueTime | time | |||
|       valueUnsignedInt | unsignedInt | |||
|       valueUri | uri | |||
|       valueUrl | url | |||
|       valueUuid | uuid | |||
|       valueAddress | Address | |||
|       valueAge | Age | |||
|       valueAnnotation | Annotation | |||
|       valueAttachment | Attachment | |||
|       valueCodeableConcept | CodeableConcept | |||
|       valueCoding | Coding | |||
|       valueContactPoint | ContactPoint | |||
|       valueCount | Count | |||
|       valueDistance | Distance | |||
|       valueDuration | Duration | |||
|       valueHumanName | HumanName | |||
|       valueIdentifier | Identifier | |||
|       valueMoney | Money | |||
|       valuePeriod | Period | |||
|       valueQuantity | Quantity | |||
|       valueRange | Range | |||
|       valueRatio | Ratio | |||
|       valueReference | Reference(Any) | |||
|       valueSampledData | SampledData | |||
|       valueSignature | Signature | |||
|       valueTiming | Timing | |||
|       valueContactDetail | ContactDetail | |||
|       valueContributor | Contributor | |||
|       valueDataRequirement | DataRequirement | |||
|       valueExpression | Expression | |||
|       valueParameterDefinition | ParameterDefinition | |||
|       valueRelatedArtifact | RelatedArtifact | |||
|       valueTriggerDefinition | TriggerDefinition | |||
|       valueUsageContext | UsageContext | |||
|       valueDosage | Dosage | |||
|       valueMeta | Meta | |||
|       value[x]:valueDuration | 0..1 | Duration | Value of extension | |
|     extension:action | 1..1 | Extension | Reaction to perform on current action | |
|      id | 0..1 | string | Unique id for inter-element referencing | |
|      extension | 0..0 | |||
|      url | 1..1 | uri | "action" | |
|      Slices for value[x] | 1..1 | Coding | Value of extension Slice: Unordered, Closed by type:$this | |
|       value[x]:valueCoding | 1..1 | Coding | Value of extension Binding: Action (required) | |
|    url | 1..1 | uri | "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-actionTrigger" | |
|  Documentation for this format | ||||
This structure is derived from Extension
Summary
Complex Extension: Defines a reaction along with its trigger conditions.
Other representations of profile: CSV, Excel, Schematron
| Path | Conformance | ValueSet | URI | 
| Extension.extension:triggerBehavior.value[x]:valueCode | required | TriggerBehavior http://ehealth.sundhed.dk/vs/trigger-behaviorFrom this IG | |
| Extension.extension:action.value[x]:valueCoding | required | Action http://ehealth.sundhed.dk/vs/actionFrom this IG | 
| Id | Grade | Path(s) | Details | Requirements | 
| ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
| ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both : extension.exists() != value.exists() |