Extensions for Using Data Elements from FHIR R5 in FHIR STU3
0.1.0 - STU International flag

Extensions for Using Data Elements from FHIR R5 in FHIR STU3 - Downloaded Version null See the Directory of published versions

Extension: ExtensionTriggerDefinition_Condition - Detailed Descriptions

Page standards status: Trial-use Maturity Level: 0

Definitions for the ext-R5-TriggerDefinition.condition extension.

Guidance on how to interpret the contents of this table can be foundhere

0. Extension
Definition

R5: TriggerDefinition.condition (new:Expression)


Optional Extension Element - found in all resources.

ShortR5: Whether the event triggers (boolean expression) (new)Optional Extensions Element
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). 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.

Control0..1*
This element is affected by the following invariants: ele-1
Is Modifierfalse
Invariantsele-1: All FHIR elements must have a @value or children (hasValue() | (children().count() > id.count()))
ext-1: Must have either extensions or value[x], not both (extension.exists() != value.exists())
ele-1: All FHIR elements must have a @value or children (hasValue() | (children().count() > id.count()))
ext-1: Must have either extensions or value[x], not both (extension.exists() != value.exists())
2. Extension.extension
Definition

An Extension


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.

ShortExtensionAdditional Content defined by implementations
Comments

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.

Control0..*
TypeExtension
Alternate Namesextensions, user content
SlicingThis element introduces a set of slices on Extension.extension. The slices areUnordered and Open, and can be differentiated using the following discriminators:
  • value @ url
  • 4. Extension.extension:_datatype
    Slice Name_datatype
    Definition

    Slice to indicate the presence of a R5 Expression in FHIR STU3

    ShortDataType slice for a FHIR R5 `Expression` valueAdditional Content defined by implementations
    Control10..1*
    TypeExtension
    6. Extension.extension:_datatype.url
    Definition

    Source of the definition for the extension code - a logical name or a URL.

    Shortidentifies the meaning of the extension
    Comments

    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.

    Control1..1
    Typeuri
    Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
    XML FormatIn the XML format, this property is represented as an attribute.
    Fixed Valuehttp://hl7.org/fhir/StructureDefinition/_datatype
    8. Extension.extension:_datatype.value[x]
    Definition

    Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).

    ShortValue of extension
    Comments

    Must be: Expression

    Control10..1
    Typestring, date, dateTime, Meta, code, Address, Attachment, integer, oid, Count, instant, ContactPoint, HumanName, Money, Identifier, Coding, markdown, SampledData, Ratio, id, positiveInt, Age, Distance, Reference, Period, Quantity, Duration, Range, uri, Annotation, boolean, base64Binary, Signature, unsignedInt, time, Timing, decimal, CodeableConcept
    [x] NoteSeeChoice of Data Typesfor further information about how to use [x]
    Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
    Fixed ValueExpression
    10. Extension.extension:description
    Slice Namedescription
    Definition

    R5: Expression.description (new:string)

    ShortR5: Natural language description of the condition (new)Additional Content defined by implementations
    Comments

    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).

    Control0..1*
    TypeExtension
    Requirements

    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).

    12. Extension.extension:description.url
    Definition

    Source of the definition for the extension code - a logical name or a URL.

    Shortidentifies the meaning of the extension
    Comments

    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.

    Control1..1
    Typeuri
    Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
    XML FormatIn the XML format, this property is represented as an attribute.
    Fixed Valuedescription
    14. Extension.extension:description.value[x]
    Definition

    A brief, natural language description of the condition that effectively communicates the intended semantics.


    Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).

    ShortNatural language description of the conditionValue of extension
    Control0..1
    Typestring, date, dateTime, Meta, code, Address, Attachment, integer, oid, Count, instant, ContactPoint, HumanName, Money, Identifier, Coding, markdown, SampledData, Ratio, id, positiveInt, Age, Distance, Reference, Period, Quantity, Duration, Range, uri, Annotation, boolean, base64Binary, Signature, unsignedInt, time, Timing, decimal, CodeableConcept
    [x] NoteSeeChoice of Data Typesfor further information about how to use [x]
    Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
    16. Extension.extension:name
    Slice Namename
    Definition

    R5: Expression.name (new:code)

    ShortR5: Short name assigned to expression for reuse (new)Additional Content defined by implementations
    Comments

    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).

    Control0..1*
    TypeExtension
    Requirements

    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).

    18. Extension.extension:name.url
    Definition

    Source of the definition for the extension code - a logical name or a URL.

    Shortidentifies the meaning of the extension
    Comments

    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.

    Control1..1
    Typeuri
    Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
    XML FormatIn the XML format, this property is represented as an attribute.
    Fixed Valuename
    20. Extension.extension:name.value[x]
    Definition

    A short name assigned to the expression to allow for multiple reuse of the expression in the context where it is defined.


    Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).

    ShortShort name assigned to expression for reuseValue of extension
    Control0..1
    Typecode, date, dateTime, Meta, string, Address, Attachment, integer, oid, Count, instant, ContactPoint, HumanName, Money, Identifier, Coding, markdown, SampledData, Ratio, id, positiveInt, Age, Distance, Reference, Period, Quantity, Duration, Range, uri, Annotation, boolean, base64Binary, Signature, unsignedInt, time, Timing, decimal, CodeableConcept
    [x] NoteSeeChoice of Data Typesfor further information about how to use [x]
    Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
    22. Extension.extension:language
    Slice Namelanguage
    Definition

    R5: Expression.language (new:code)

    ShortR5: text/cql | text/fhirpath | application/x-fhir-query | etc. (new)Additional Content defined by implementations
    Comments

    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).

    Control0..1*
    TypeExtension
    Requirements

    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).

    24. Extension.extension:language.url
    Definition

    Source of the definition for the extension code - a logical name or a URL.

    Shortidentifies the meaning of the extension
    Comments

    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.

    Control1..1
    Typeuri
    Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
    XML FormatIn the XML format, this property is represented as an attribute.
    Fixed Valuelanguage
    26. Extension.extension:language.value[x]
    Definition

    The media type of the language for the expression.


    Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).

    Shorttext/cql | text/fhirpath | application/x-fhir-query | etc.Value of extension
    Control0..1
    Typecode, date, dateTime, Meta, string, Address, Attachment, integer, oid, Count, instant, ContactPoint, HumanName, Money, Identifier, Coding, markdown, SampledData, Ratio, id, positiveInt, Age, Distance, Reference, Period, Quantity, Duration, Range, uri, Annotation, boolean, base64Binary, Signature, unsignedInt, time, Timing, decimal, CodeableConcept
    [x] NoteSeeChoice of Data Typesfor further information about how to use [x]
    Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
    28. Extension.extension:expression
    Slice Nameexpression
    Definition

    R5: Expression.expression (new:string)

    ShortR5: Expression in specified language (new)Additional Content defined by implementations
    Comments

    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.

    Control0..1*
    TypeExtension
    Requirements

    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).

    30. Extension.extension:expression.url
    Definition

    Source of the definition for the extension code - a logical name or a URL.

    Shortidentifies the meaning of the extension
    Comments

    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.

    Control1..1
    Typeuri
    Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
    XML FormatIn the XML format, this property is represented as an attribute.
    Fixed Valueexpression
    32. Extension.extension:expression.value[x]
    Definition

    An expression in the specified language that returns a value.


    Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).

    ShortExpression in specified languageValue of extension
    Comments

    If Expression.expression and Expression.reference are both present, the Expression.expression might just be a name pointing something within the referenced content.

    Control0..1
    Typestring, date, dateTime, Meta, code, Address, Attachment, integer, oid, Count, instant, ContactPoint, HumanName, Money, Identifier, Coding, markdown, SampledData, Ratio, id, positiveInt, Age, Distance, Reference, Period, Quantity, Duration, Range, uri, Annotation, boolean, base64Binary, Signature, unsignedInt, time, Timing, decimal, CodeableConcept
    [x] NoteSeeChoice of Data Typesfor further information about how to use [x]
    Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
    34. Extension.extension:reference
    Slice Namereference
    Definition

    R5: Expression.reference (new:uri)

    ShortR5: Where the expression is found (new)Additional Content defined by implementations
    Comments

    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.

    Control0..1*
    TypeExtension
    Requirements

    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).

    36. Extension.extension:reference.url
    Definition

    Source of the definition for the extension code - a logical name or a URL.

    Shortidentifies the meaning of the extension
    Comments

    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.

    Control1..1
    Typeuri
    Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
    XML FormatIn the XML format, this property is represented as an attribute.
    Fixed Valuereference
    38. Extension.extension:reference.value[x]
    Definition

    A URI that defines where the expression is found.


    Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).

    ShortWhere the expression is foundValue of extension
    Comments

    If both a reference and an expression is found, the reference SHALL point to the same expression.

    Control0..1
    Typeuri, date, dateTime, Meta, code, string, Address, Attachment, integer, oid, Count, instant, ContactPoint, HumanName, Money, Identifier, Coding, markdown, SampledData, Ratio, id, positiveInt, Age, Distance, Reference, Period, Quantity, Duration, Range, Annotation, boolean, base64Binary, Signature, unsignedInt, time, Timing, decimal, CodeableConcept
    [x] NoteSeeChoice of Data Typesfor further information about how to use [x]
    Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
    40. Extension.url
    Definition

    Source of the definition for the extension code - a logical name or a URL.

    Shortidentifies the meaning of the extension
    Comments

    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.

    Control1..1
    Typeuri
    Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
    XML FormatIn the XML format, this property is represented as an attribute.
    Fixed Valuehttp://hl7.org/fhir/5.0/StructureDefinition/extension-TriggerDefinition.condition
    42. Extension.value[x]
    Definition

    Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).

    ShortValue of extension
    Control0..01
    TypeChoice of: base64Binary, boolean, code, date, dateTime, decimal, id, instant, integer, markdown, oid, positiveInt, string, time, unsignedInt, uri, Address, Age, Annotation, Attachment, CodeableConcept, Coding, ContactPoint, Count, Distance, Duration, HumanName, Identifier, Money, Period, Quantity, Range, Ratio, Reference, SampledData, Signature, Timing, Meta
    Primitive ValueThis primitive element may be present, or absent, or replaced by an extension

    Guidance on how to interpret the contents of this table can be foundhere

    0. Extension
    Definition

    R5: TriggerDefinition.condition (new:Expression)

    ShortR5: Whether the event triggers (boolean expression) (new)
    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). 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.

    Control0..1
    Is Modifierfalse
    2. Extension.extension
    Control0..*
    SlicingThis element introduces a set of slices on Extension.extension. The slices areUnordered and Open, and can be differentiated using the following discriminators:
    • value @ url
    • 4. Extension.extension:_datatype
      Slice Name_datatype
      Definition

      Slice to indicate the presence of a R5 Expression in FHIR STU3

      ShortDataType slice for a FHIR R5 `Expression` value
      Control1..1
      6. Extension.extension:_datatype.url
      Control1..1
      Fixed Valuehttp://hl7.org/fhir/StructureDefinition/_datatype
      8. Extension.extension:_datatype.value[x]
      Comments

      Must be: Expression

      Control1..1
      Typestring
      [x] NoteSeeChoice of Data Typesfor further information about how to use [x]
      Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
      Fixed ValueExpression
      10. Extension.extension:description
      Slice Namedescription
      Definition

      R5: Expression.description (new:string)

      ShortR5: Natural language description of the condition (new)
      Comments

      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).

      Control0..1
      Requirements

      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).

      12. Extension.extension:description.url
      Control1..1
      Fixed Valuedescription
      14. Extension.extension:description.value[x]
      Definition

      A brief, natural language description of the condition that effectively communicates the intended semantics.

      ShortNatural language description of the condition
      Control0..1
      Typestring
      [x] NoteSeeChoice of Data Typesfor further information about how to use [x]
      Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
      16. Extension.extension:name
      Slice Namename
      Definition

      R5: Expression.name (new:code)

      ShortR5: Short name assigned to expression for reuse (new)
      Comments

      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).

      Control0..1
      Requirements

      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).

      18. Extension.extension:name.url
      Control1..1
      Fixed Valuename
      20. Extension.extension:name.value[x]
      Definition

      A short name assigned to the expression to allow for multiple reuse of the expression in the context where it is defined.

      ShortShort name assigned to expression for reuse
      Control0..1
      Typecode
      [x] NoteSeeChoice of Data Typesfor further information about how to use [x]
      Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
      22. Extension.extension:language
      Slice Namelanguage
      Definition

      R5: Expression.language (new:code)

      ShortR5: text/cql | text/fhirpath | application/x-fhir-query | etc. (new)
      Comments

      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).

      Control0..1
      Requirements

      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).

      24. Extension.extension:language.url
      Control1..1
      Fixed Valuelanguage
      26. Extension.extension:language.value[x]
      Definition

      The media type of the language for the expression.

      Shorttext/cql | text/fhirpath | application/x-fhir-query | etc.
      Control0..1
      Typecode
      [x] NoteSeeChoice of Data Typesfor further information about how to use [x]
      Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
      28. Extension.extension:expression
      Slice Nameexpression
      Definition

      R5: Expression.expression (new:string)

      ShortR5: Expression in specified language (new)
      Comments

      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.

      Control0..1
      Requirements

      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).

      30. Extension.extension:expression.url
      Control1..1
      Fixed Valueexpression
      32. Extension.extension:expression.value[x]
      Definition

      An expression in the specified language that returns a value.

      ShortExpression in specified language
      Comments

      If Expression.expression and Expression.reference are both present, the Expression.expression might just be a name pointing something within the referenced content.

      Control0..1
      Typestring
      [x] NoteSeeChoice of Data Typesfor further information about how to use [x]
      Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
      34. Extension.extension:reference
      Slice Namereference
      Definition

      R5: Expression.reference (new:uri)

      ShortR5: Where the expression is found (new)
      Comments

      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.

      Control0..1
      Requirements

      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).

      36. Extension.extension:reference.url
      Control1..1
      Fixed Valuereference
      38. Extension.extension:reference.value[x]
      Definition

      A URI that defines where the expression is found.

      ShortWhere the expression is found
      Comments

      If both a reference and an expression is found, the reference SHALL point to the same expression.

      Control0..1
      Typeuri
      [x] NoteSeeChoice of Data Typesfor further information about how to use [x]
      Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
      40. Extension.url
      Control1..1
      Fixed Valuehttp://hl7.org/fhir/5.0/StructureDefinition/extension-TriggerDefinition.condition
      42. Extension.value[x]
      Control0..0

      Guidance on how to interpret the contents of this table can be foundhere

      0. Extension
      Definition

      R5: TriggerDefinition.condition (new:Expression)

      ShortR5: Whether the event triggers (boolean expression) (new)
      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). 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.

      Control0..1
      This element is affected by the following invariants: ele-1
      Is Modifierfalse
      Invariantsele-1: All FHIR elements must have a @value or children (hasValue() | (children().count() > id.count()))
      ext-1: Must have either extensions or value[x], not both (extension.exists() != value.exists())
      2. Extension.id
      Definition

      unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

      Shortxml:id (or equivalent in JSON)
      Control0..1
      Typestring
      Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
      XML FormatIn the XML format, this property is represented as an attribute.
      4. Extension.extension
      Definition

      An Extension

      ShortExtension
      Control0..*
      TypeExtension
      SlicingThis element introduces a set of slices on Extension.extension. The slices areUnordered and Open, and can be differentiated using the following discriminators:
      • value @ url
      • 6. Extension.extension:_datatype
        Slice Name_datatype
        Definition

        Slice to indicate the presence of a R5 Expression in FHIR STU3

        ShortDataType slice for a FHIR R5 `Expression` value
        Control1..1
        TypeExtension
        8. Extension.extension:_datatype.id
        Definition

        unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

        Shortxml:id (or equivalent in JSON)
        Control0..1
        Typestring
        Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
        XML FormatIn the XML format, this property is represented as an attribute.
        10. Extension.extension:_datatype.extension
        Definition

        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.

        ShortAdditional Content defined by implementations
        Comments

        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.

        Control0..*
        TypeExtension
        Alternate Namesextensions, user content
        SlicingThis element introduces a set of slices on Extension.extension.extension. The slices areUnordered and Open, and can be differentiated using the following discriminators:
        • value @ url
        • 12. Extension.extension:_datatype.url
          Definition

          Source of the definition for the extension code - a logical name or a URL.

          Shortidentifies the meaning of the extension
          Comments

          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.

          Control1..1
          Typeuri
          Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
          XML FormatIn the XML format, this property is represented as an attribute.
          Fixed Valuehttp://hl7.org/fhir/StructureDefinition/_datatype
          14. Extension.extension:_datatype.value[x]
          Definition

          Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).

          ShortValue of extension
          Comments

          Must be: Expression

          Control1..1
          Typestring
          [x] NoteSeeChoice of Data Typesfor further information about how to use [x]
          Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
          Fixed ValueExpression
          16. Extension.extension:description
          Slice Namedescription
          Definition

          R5: Expression.description (new:string)

          ShortR5: Natural language description of the condition (new)
          Comments

          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).

          Control0..1
          TypeExtension
          Requirements

          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).

          18. Extension.extension:description.id
          Definition

          unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

          Shortxml:id (or equivalent in JSON)
          Control0..1
          Typestring
          Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
          XML FormatIn the XML format, this property is represented as an attribute.
          20. Extension.extension:description.extension
          Definition

          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.

          ShortAdditional Content defined by implementations
          Comments

          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.

          Control0..*
          TypeExtension
          Alternate Namesextensions, user content
          SlicingThis element introduces a set of slices on Extension.extension.extension. The slices areUnordered and Open, and can be differentiated using the following discriminators:
          • value @ url
          • 22. Extension.extension:description.url
            Definition

            Source of the definition for the extension code - a logical name or a URL.

            Shortidentifies the meaning of the extension
            Comments

            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.

            Control1..1
            Typeuri
            Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
            XML FormatIn the XML format, this property is represented as an attribute.
            Fixed Valuedescription
            24. Extension.extension:description.value[x]
            Definition

            A brief, natural language description of the condition that effectively communicates the intended semantics.

            ShortNatural language description of the condition
            Control0..1
            Typestring
            [x] NoteSeeChoice of Data Typesfor further information about how to use [x]
            Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
            26. Extension.extension:name
            Slice Namename
            Definition

            R5: Expression.name (new:code)

            ShortR5: Short name assigned to expression for reuse (new)
            Comments

            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).

            Control0..1
            TypeExtension
            Requirements

            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).

            28. Extension.extension:name.id
            Definition

            unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

            Shortxml:id (or equivalent in JSON)
            Control0..1
            Typestring
            Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
            XML FormatIn the XML format, this property is represented as an attribute.
            30. Extension.extension:name.extension
            Definition

            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.

            ShortAdditional Content defined by implementations
            Comments

            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.

            Control0..*
            TypeExtension
            Alternate Namesextensions, user content
            SlicingThis element introduces a set of slices on Extension.extension.extension. The slices areUnordered and Open, and can be differentiated using the following discriminators:
            • value @ url
            • 32. Extension.extension:name.url
              Definition

              Source of the definition for the extension code - a logical name or a URL.

              Shortidentifies the meaning of the extension
              Comments

              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.

              Control1..1
              Typeuri
              Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
              XML FormatIn the XML format, this property is represented as an attribute.
              Fixed Valuename
              34. Extension.extension:name.value[x]
              Definition

              A short name assigned to the expression to allow for multiple reuse of the expression in the context where it is defined.

              ShortShort name assigned to expression for reuse
              Control0..1
              Typecode
              [x] NoteSeeChoice of Data Typesfor further information about how to use [x]
              Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
              36. Extension.extension:language
              Slice Namelanguage
              Definition

              R5: Expression.language (new:code)

              ShortR5: text/cql | text/fhirpath | application/x-fhir-query | etc. (new)
              Comments

              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).

              Control0..1
              TypeExtension
              Requirements

              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).

              38. Extension.extension:language.id
              Definition

              unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

              Shortxml:id (or equivalent in JSON)
              Control0..1
              Typestring
              Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
              XML FormatIn the XML format, this property is represented as an attribute.
              40. Extension.extension:language.extension
              Definition

              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.

              ShortAdditional Content defined by implementations
              Comments

              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.

              Control0..*
              TypeExtension
              Alternate Namesextensions, user content
              SlicingThis element introduces a set of slices on Extension.extension.extension. The slices areUnordered and Open, and can be differentiated using the following discriminators:
              • value @ url
              • 42. Extension.extension:language.url
                Definition

                Source of the definition for the extension code - a logical name or a URL.

                Shortidentifies the meaning of the extension
                Comments

                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.

                Control1..1
                Typeuri
                Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                XML FormatIn the XML format, this property is represented as an attribute.
                Fixed Valuelanguage
                44. Extension.extension:language.value[x]
                Definition

                The media type of the language for the expression.

                Shorttext/cql | text/fhirpath | application/x-fhir-query | etc.
                Control0..1
                Typecode
                [x] NoteSeeChoice of Data Typesfor further information about how to use [x]
                Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                46. Extension.extension:expression
                Slice Nameexpression
                Definition

                R5: Expression.expression (new:string)

                ShortR5: Expression in specified language (new)
                Comments

                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.

                Control0..1
                TypeExtension
                Requirements

                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).

                48. Extension.extension:expression.id
                Definition

                unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

                Shortxml:id (or equivalent in JSON)
                Control0..1
                Typestring
                Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                XML FormatIn the XML format, this property is represented as an attribute.
                50. Extension.extension:expression.extension
                Definition

                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.

                ShortAdditional Content defined by implementations
                Comments

                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.

                Control0..*
                TypeExtension
                Alternate Namesextensions, user content
                SlicingThis element introduces a set of slices on Extension.extension.extension. The slices areUnordered and Open, and can be differentiated using the following discriminators:
                • value @ url
                • 52. Extension.extension:expression.url
                  Definition

                  Source of the definition for the extension code - a logical name or a URL.

                  Shortidentifies the meaning of the extension
                  Comments

                  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.

                  Control1..1
                  Typeuri
                  Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                  XML FormatIn the XML format, this property is represented as an attribute.
                  Fixed Valueexpression
                  54. Extension.extension:expression.value[x]
                  Definition

                  An expression in the specified language that returns a value.

                  ShortExpression in specified language
                  Comments

                  If Expression.expression and Expression.reference are both present, the Expression.expression might just be a name pointing something within the referenced content.

                  Control0..1
                  Typestring
                  [x] NoteSeeChoice of Data Typesfor further information about how to use [x]
                  Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                  56. Extension.extension:reference
                  Slice Namereference
                  Definition

                  R5: Expression.reference (new:uri)

                  ShortR5: Where the expression is found (new)
                  Comments

                  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.

                  Control0..1
                  TypeExtension
                  Requirements

                  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).

                  58. Extension.extension:reference.id
                  Definition

                  unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

                  Shortxml:id (or equivalent in JSON)
                  Control0..1
                  Typestring
                  Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                  XML FormatIn the XML format, this property is represented as an attribute.
                  60. Extension.extension:reference.extension
                  Definition

                  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.

                  ShortAdditional Content defined by implementations
                  Comments

                  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.

                  Control0..*
                  TypeExtension
                  Alternate Namesextensions, user content
                  SlicingThis element introduces a set of slices on Extension.extension.extension. The slices areUnordered and Open, and can be differentiated using the following discriminators:
                  • value @ url
                  • 62. Extension.extension:reference.url
                    Definition

                    Source of the definition for the extension code - a logical name or a URL.

                    Shortidentifies the meaning of the extension
                    Comments

                    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.

                    Control1..1
                    Typeuri
                    Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                    XML FormatIn the XML format, this property is represented as an attribute.
                    Fixed Valuereference
                    64. Extension.extension:reference.value[x]
                    Definition

                    A URI that defines where the expression is found.

                    ShortWhere the expression is found
                    Comments

                    If both a reference and an expression is found, the reference SHALL point to the same expression.

                    Control0..1
                    Typeuri
                    [x] NoteSeeChoice of Data Typesfor further information about how to use [x]
                    Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                    66. Extension.url
                    Definition

                    Source of the definition for the extension code - a logical name or a URL.

                    Shortidentifies the meaning of the extension
                    Comments

                    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.

                    Control1..1
                    Typeuri
                    Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                    XML FormatIn the XML format, this property is represented as an attribute.
                    Fixed Valuehttp://hl7.org/fhir/5.0/StructureDefinition/extension-TriggerDefinition.condition
                    68. Extension.value[x]
                    Definition

                    Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).

                    ShortValue of extension
                    Control0..0
                    TypeChoice of: base64Binary, boolean, code, date, dateTime, decimal, id, instant, integer, markdown, oid, positiveInt, string, time, unsignedInt, uri, Address, Age, Annotation, Attachment, CodeableConcept, Coding, ContactPoint, Count, Distance, Duration, HumanName, Identifier, Money, Period, Quantity, Range, Ratio, Reference, SampledData, Signature, Timing, Meta
                    Primitive ValueThis primitive element may be present, or absent, or replaced by an extension