Cross-Version Extension for TriggerDefinition.condition in R4

URLhttp://hl7.org/fhir/4.0/StructureDefinition/extension-TriggerDefinition.condition
Version
Statusactive
Description

Cross-Version Extension for TriggerDefinition.condition. Valid in versions R2, R3

This is a valid cross-version extension because it's counted as a new element

Context of Use

This extension may be used in the following contexts:


NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension 0..1ExtensionWhether the event triggers (boolean expression)
... extension ..0
... value[x] 1..Expression
... url "http://hl7.org/fhir/4.0/StructureDefinition/extension-TriggerDefinition.condition"

doco Documentation for this format

{
  "resourceType" : "StructureDefinition",
  "id" : "xv-r4-trd.condition",
  "url" : "http://hl7.org/fhir/4.0/StructureDefinition/extension-TriggerDefinition.condition",
  "name" : "XVerExtensionTriggerDefinition.conditionR4",
  "title" : "Cross-Version Extension for TriggerDefinition.condition in R4",
  "status" : "active",
  "experimental" : false,
  "publisher" : "HL7 FHIR Standard",
  "contact" : [{
    "telecom" : [{
      "system" : "url",
      "value" : "http://hl7.org/fhir"
    }]
  }],
  "description" : "Cross-Version Extension for TriggerDefinition.condition. Valid in versions R2, R3\r\n\r\nThis is a valid cross-version extension because it's counted as a new element",
  "jurisdiction" : [{
    "coding" : [{
      "system" : "http://unstats.un.org/unsd/methods/m49/m49.htm",
      "code" : "001"
    }]
  }],
  "fhirVersion" : "5.0.0",
  "kind" : "complex-type",
  "abstract" : false,
  "context" : [{
    "extension" : [{
      "extension" : [{
        "url" : "startFhirVersion",
        "valueCode" : "3.0"
      },
      {
        "url" : "endFhirVersion",
        "valueCode" : "3.0"
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/version-specific-use"
    }],
    "type" : "element",
    "expression" : "TriggerDefinition"
  },
  {
    "type" : "extension",
    "expression" : "http://hl7.org/fhir/3.0/StructureDefinition/extension-TriggerDefinition"
  },
  {
    "extension" : [{
      "extension" : [{
        "url" : "startFhirVersion",
        "valueCode" : "1.0"
      },
      {
        "url" : "endFhirVersion",
        "valueCode" : "1.0"
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/version-specific-use"
    }],
    "type" : "element",
    "expression" : "Basic"
  }],
  "type" : "Extension",
  "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
  "derivation" : "constraint",
  "differential" : {
    "element" : [{
      "path" : "Extension",
      "short" : "Whether the event triggers (boolean expression)",
      "definition" : "A boolean-valued expression that is evaluated in the context of the container of the trigger definition and returns whether or not the trigger fires.",
      "comment" : "This element can be only be specified for data type triggers and provides additional semantics for the trigger. The context available within the condition is based on the type of data event. For all events, the current resource will be available as context. In addition, for modification events, the previous resource will also be available. The expression may be inlined, or may be a simple absolute URI, which is a reference to a named expression within a logic library referenced by a library element or extension within the containing resource. If the expression is a FHIR Path expression, it evaluates in the context of a resource of one of the type identified in the data requirement, and may also refer to the variable %previous for delta comparisons on events of type data-changed, data-modified, and data-deleted which will always have the same type.",
      "requirements" : "Need to be able to formally describe the triggering criteria.",
      "min" : 0,
      "max" : "1",
      "isModifier" : false
    },
    {
      "path" : "Extension.extension",
      "max" : "0"
    },
    {
      "path" : "Extension.value[x]",
      "min" : 1,
      "type" : [{
        "code" : "Expression"
      }]
    },
    {
      "path" : "Extension.url",
      "fixedUri" : "http://hl7.org/fhir/4.0/StructureDefinition/extension-TriggerDefinition.condition"
    }]
  }
}