Generated Narrative: StructureDefinition ext-R5-TriggerDefinition.condition Name Flags Card. Type Description & Constraints Extension 0..1 Extension R5: Whether the event triggers (boolean expression) (new) #xD; Slices for extension 0..* Extension Extension Slice: Unordered, Open by value:url #xD; extension:_datatype 1..1 Extension DataType slice for a FHIR R5 `Expression` value #xD; url 1..1 uri "http://hl7.org/fhir/StructureDefinition/_datatype" #xD; value[x] 1..1 string Value of extension Fixed Value: Expression #xD; extension:description 0..1 Extension R5: Natural language description of the condition (new) #xD; url 1..1 uri "description" #xD; value[x] 0..1 string Natural language description of the condition #xD; extension:name 0..1 Extension R5: Short name assigned to expression for reuse (new) #xD; url 1..1 uri "name" #xD; value[x] 0..1 code Short name assigned to expression for reuse #xD; extension:language 0..1 Extension R5: text/cql | text/fhirpath | application/x-fhir-query | etc. (new) #xD; url 1..1 uri "language" #xD; value[x] 0..1 code text/cql | text/fhirpath | application/x-fhir-query | etc. #xD; extension:expression 0..1 Extension R5: Expression in specified language (new) #xD; url 1..1 uri "expression" #xD; value[x] 0..1 string Expression in specified language #xD; extension:reference 0..1 Extension R5: Where the expression is found (new) #xD; url 1..1 uri "reference" #xD; value[x] 0..1 uri Where the expression is found #xD; url 1..1 uri "http://hl7.org/fhir/5.0/StructureDefinition/extension-TriggerDefinition.condition" #xD; value[x] 0..0 Value of extension #xD; Documentation for this format
R5: Whether the event triggers (boolean expression) (new)
R5: `TriggerDefinition.condition` (new:Expression)
This extension is part of the cross-version definitions generated to enable use of the element `TriggerDefinition.condition` as defined in FHIR R5 in FHIR STU3. The source element is defined as: `TriggerDefinition.condition` 0..1 `Expression` Across FHIR versions, the element set has been mapped as: * R5: `TriggerDefinition.condition` 0..1 `Expression` * R4B: `TriggerDefinition.condition` 0..1 `Expression` * R4: `TriggerDefinition.condition` 0..1 `Expression` Following are the generation technical comments: Element `TriggerDefinition.condition` has a context of TriggerDefinition based on following the parent source element upwards and mapping to `TriggerDefinition`. Element `TriggerDefinition.condition` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element).
Element `TriggerDefinition.condition` has a context of TriggerDefinition based on following the parent source element upwards and mapping to `TriggerDefinition`. Element `TriggerDefinition.condition` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element). 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.
All FHIR elements must have a @value or children
hasValue() | (children().count() > id.count())
Must have either extensions or value[x], not both
exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])
unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
Extensions are always sliced by (at least) url
DataType slice for a FHIR R5 `Expression` value
Slice to indicate the presence of a R5 `Expression` in FHIR STU3
Additional Content defined by implementations
May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
Source of the definition for the extension code - a logical name or a URL.
The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.
Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).
R5: Natural language description of the condition (new)
R5: `Expression.description` (new:string)
Element `Expression.description` is not mapped to FHIR STU3, since FHIR R5 `Expression` is not mapped. Element `Expression.description` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element).
Natural language description of the condition
A brief, natural language description of the condition that effectively communicates the intended semantics.
R5: Short name assigned to expression for reuse (new)
Element `Expression.name` is not mapped to FHIR STU3, since FHIR R5 `Expression` is not mapped. Element `Expression.name` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element).
Short name assigned to expression for reuse
A short name assigned to the expression to allow for multiple reuse of the expression in the context where it is defined.
R5: text/cql | text/fhirpath | application/x-fhir-query | etc. (new)
Element matches Basic element path `Basic.language` (`Resource.language`), use that element instead. Element `Expression.language` is not mapped to FHIR STU3, since FHIR R5 `Expression` is not mapped. Element `Expression.language` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element).
The cardinality of this element is optional to allow text only as part of the authoring process. However, in order to be executable, the expression element must be specified. Element matches Basic element path `Basic.language` (`Resource.language`), use that element instead. Element `Expression.language` is not mapped to FHIR STU3, since FHIR R5 `Expression` is not mapped. Element `Expression.language` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element).
text/cql | text/fhirpath | application/x-fhir-query | etc.
The media type of the language for the expression.
R5: Expression in specified language (new)
R5: `Expression.expression` (new:string)
Element `Expression.expression` is not mapped to FHIR STU3, since FHIR R5 `Expression` is not mapped. Element `Expression.expression` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element). If Expression.expression and Expression.reference are both present, the Expression.expression might just be a name pointing something within the referenced content.
Element `Expression.expression` is not mapped to FHIR STU3, since FHIR R5 `Expression` is not mapped. Element `Expression.expression` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element).
An expression in the specified language that returns a value.
If Expression.expression and Expression.reference are both present, the Expression.expression might just be a name pointing something within the referenced content.
Element `Expression.reference` is not mapped to FHIR STU3, since FHIR R5 `Expression` is not mapped. Element `Expression.reference` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element). If both a reference and an expression is found, the reference SHALL point to the same expression.
Element `Expression.reference` is not mapped to FHIR STU3, since FHIR R5 `Expression` is not mapped. Element `Expression.reference` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element).
A URI that defines where the expression is found.
If both a reference and an expression is found, the reference SHALL point to the same expression.