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

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

Extension: ExtensionTestScript_Ruleset - Detailed Descriptions

Page standards status: Trial-use Maturity Level: 0

Definitions for the ext-R3-TestScript.ruleset extension.

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

0. Extension
Definition

STU3: TestScript.ruleset (new:BackboneElement)


Optional Extension Element - found in all resources.

ShortSTU3: Assert ruleset used within the test script (new)Optional Extensions Element
Comments

Element TestScript.ruleset has a context of TestScript based on following the parent source element upwards and mapping to TestScript. Element TestScript.ruleset has no mapping targets in FHIR R5. Typically, this is because the element has been added (is a new element). Each rule within a ruleset should be treated by test engines as one assertion regardless of how many assertions are contained within the external rule template. The impact of negative rule evaluation on test script execution is the same as an assertion failure which is described elsewhere in the TestScript resource.

Control0..*
Is Modifierfalse
Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (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() or (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. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can 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.

Control20..*
TypeExtension
Is Modifierfalse
Summaryfalse
Alternate Namesextensions, user content
Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (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() or (children().count() > id.count()))
ext-1: Must have either extensions or value[x], not both (extension.exists() != value.exists())
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:resource
    Slice Nameresource
    Definition

    STU3: TestScript.ruleset.resource (new:Reference(Resource))

    ShortSTU3: Assert ruleset resource reference (new)Additional content defined by implementations
    Comments

    Element TestScript.ruleset.resource is part of an existing definition because parent element TestScript.ruleset requires a cross-version extension. Element TestScript.ruleset.resource has a context of TestScript based on following the parent source element upwards and mapping to TestScript. Element TestScript.ruleset.resource has no mapping targets in FHIR R5. Typically, this is because the element has been added (is a new element).

    Control10..1*
    TypeExtension
    Is Modifierfalse
    Summaryfalse
    Requirements

    Element TestScript.ruleset.resource is part of an existing definition because parent element TestScript.ruleset requires a cross-version extension. Element TestScript.ruleset.resource has a context of TestScript based on following the parent source element upwards and mapping to TestScript. Element TestScript.ruleset.resource has no mapping targets in FHIR R5. Typically, this is because the element has been added (is a new element).

    Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (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() or (children().count() > id.count()))
    ext-1: Must have either extensions or value[x], not both (extension.exists() != value.exists())
    6. Extension.extension:resource.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
    Is Modifierfalse
    XML FormatIn the XML format, this property is represented as an attribute.
    Summaryfalse
    Fixed Valueresource
    8. Extension.extension:resource.value[x]
    Definition

    Reference to the resource (containing the contents of the ruleset needed for assertions).


    Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

    ShortAssert ruleset resource referenceValue of extension
    Control10..1
    This element is affected by the following invariants: ext-1
    TypeReference(Cross-version Profile for STU3.Resource for use in FHIR R5, Resource), date, Meta, Address, Attachment, integer, Count, DataRequirement, Dosage, uuid, Identifier, RatioRange, Coding, SampledData, id, positiveInt, Distance, Availability, integer64, Period, Duration, canonical, Range, RelatedArtifact, base64Binary, UsageContext, Timing, decimal, ExtendedContactDetail, CodeableConcept, ParameterDefinition, dateTime, code, string, oid, instant, ContactPoint, HumanName, Money, markdown, Ratio, Age, TriggerDefinition, Quantity, uri, url, Annotation, ContactDetail, boolean, Expression, CodeableReference, Signature, unsignedInt, time
    [x] NoteSeeChoice of Data Typesfor further information about how to use [x]
    Is Modifierfalse
    Summaryfalse
    Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
    ele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
    10. Extension.extension:rule
    Slice Namerule
    Definition

    STU3: TestScript.ruleset.rule (new:BackboneElement)

    ShortSTU3: The referenced rule within the ruleset (new)Additional content defined by implementations
    Comments

    Element TestScript.ruleset.rule is part of an existing definition because parent element TestScript.ruleset requires a cross-version extension. Element TestScript.ruleset.rule has a context of TestScript based on following the parent source element upwards and mapping to TestScript. Element TestScript.ruleset.rule has no mapping targets in FHIR R5. Typically, this is because the element has been added (is a new element). This qualifies each param name so that a parameter with the same name can be used differently by the different rules with the ruleset.

    Control10..*
    TypeExtension
    Is Modifierfalse
    Summaryfalse
    Requirements

    Element TestScript.ruleset.rule is part of an existing definition because parent element TestScript.ruleset requires a cross-version extension. Element TestScript.ruleset.rule has a context of TestScript based on following the parent source element upwards and mapping to TestScript. Element TestScript.ruleset.rule has no mapping targets in FHIR R5. Typically, this is because the element has been added (is a new element).

    Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (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() or (children().count() > id.count()))
    ext-1: Must have either extensions or value[x], not both (extension.exists() != value.exists())
    12. Extension.extension:rule.extension
    Definition

    An Extension


    May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can 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.

    Control10..*
    TypeExtension
    Is Modifierfalse
    Summaryfalse
    Alternate Namesextensions, user content
    Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (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() or (children().count() > id.count()))
    ext-1: Must have either extensions or value[x], not both (extension.exists() != value.exists())
    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
    • 14. Extension.extension:rule.extension:ruleId
      Slice NameruleId
      Definition

      STU3: TestScript.ruleset.rule.ruleId (new:id)

      ShortSTU3: Id of referenced rule within the ruleset (new)Additional content defined by implementations
      Comments

      Element TestScript.ruleset.rule.ruleId is part of an existing definition because parent element TestScript.ruleset.rule requires a cross-version extension. Element TestScript.ruleset.rule.ruleId has a context of TestScript based on following the parent source element upwards and mapping to TestScript. Element TestScript.ruleset.rule.ruleId has no mapping targets in FHIR R5. Typically, this is because the element has been added (is a new element).

      Control10..1*
      TypeExtension
      Is Modifierfalse
      Summaryfalse
      Requirements

      Element TestScript.ruleset.rule.ruleId is part of an existing definition because parent element TestScript.ruleset.rule requires a cross-version extension. Element TestScript.ruleset.rule.ruleId has a context of TestScript based on following the parent source element upwards and mapping to TestScript. Element TestScript.ruleset.rule.ruleId has no mapping targets in FHIR R5. Typically, this is because the element has been added (is a new element).

      Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (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() or (children().count() > id.count()))
      ext-1: Must have either extensions or value[x], not both (extension.exists() != value.exists())
      16. Extension.extension:rule.extension:ruleId.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
      Is Modifierfalse
      XML FormatIn the XML format, this property is represented as an attribute.
      Summaryfalse
      Fixed ValueruleId
      18. Extension.extension:rule.extension:ruleId.value[x]
      Definition

      Id of the referenced rule within the external ruleset template.


      Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

      ShortId of referenced rule within the rulesetValue of extension
      Control10..1
      This element is affected by the following invariants: ext-1
      Typeid, date, Meta, Address, Attachment, integer, Count, DataRequirement, Dosage, uuid, Identifier, RatioRange, Coding, SampledData, positiveInt, Distance, Availability, integer64, Period, Duration, canonical, Range, RelatedArtifact, base64Binary, UsageContext, Timing, decimal, ExtendedContactDetail, CodeableConcept, ParameterDefinition, dateTime, code, string, oid, instant, ContactPoint, HumanName, Money, markdown, Ratio, Age, Reference, TriggerDefinition, Quantity, uri, url, Annotation, ContactDetail, boolean, Expression, CodeableReference, Signature, unsignedInt, time
      [x] NoteSeeChoice of Data Typesfor further information about how to use [x]
      Is Modifierfalse
      Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
      Summaryfalse
      Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
      ele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
      20. Extension.extension:rule.extension:param
      Slice Nameparam
      Definition

      STU3: TestScript.ruleset.rule.param (new:BackboneElement)

      ShortSTU3: Ruleset rule parameter template (new)Additional content defined by implementations
      Comments

      Element TestScript.ruleset.rule.param is part of an existing definition because parent element TestScript.ruleset.rule requires a cross-version extension. Element TestScript.ruleset.rule.param has a context of TestScript based on following the parent source element upwards and mapping to TestScript. Element TestScript.ruleset.rule.param has no mapping targets in FHIR R5. Typically, this is because the element has been added (is a new element). The parameter value can be dynamic at runtime.

      Control0..*
      TypeExtension
      Is Modifierfalse
      Summaryfalse
      Requirements

      Element TestScript.ruleset.rule.param is part of an existing definition because parent element TestScript.ruleset.rule requires a cross-version extension. Element TestScript.ruleset.rule.param has a context of TestScript based on following the parent source element upwards and mapping to TestScript. Element TestScript.ruleset.rule.param has no mapping targets in FHIR R5. Typically, this is because the element has been added (is a new element).

      Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (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() or (children().count() > id.count()))
      ext-1: Must have either extensions or value[x], not both (extension.exists() != value.exists())
      22. Extension.extension:rule.extension:param.extension
      Definition

      An Extension


      May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can 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.

      Control10..*
      TypeExtension
      Is Modifierfalse
      Summaryfalse
      Alternate Namesextensions, user content
      Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (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() or (children().count() > id.count()))
      ext-1: Must have either extensions or value[x], not both (extension.exists() != value.exists())
      SlicingThis element introduces a set of slices on Extension.extension.extension.extension. The slices areUnordered and Open, and can be differentiated using the following discriminators:
      • value @ url
      • 24. Extension.extension:rule.extension:param.extension:name
        Slice Namename
        Definition

        STU3: TestScript.ruleset.rule.param.name (new:string)

        ShortSTU3: Parameter name matching external assert ruleset rule parameter (new)Additional content defined by implementations
        Comments

        Element TestScript.ruleset.rule.param.name is part of an existing definition because parent element TestScript.ruleset.rule.param requires a cross-version extension. Element TestScript.ruleset.rule.param.name has a context of TestScript based on following the parent source element upwards and mapping to TestScript. Element TestScript.ruleset.rule.param.name has no mapping targets in FHIR R5. Typically, this is because the element has been added (is a new element). The external rule template would be looking for the parameter by this name.

        Control10..1*
        TypeExtension
        Is Modifierfalse
        Summaryfalse
        Requirements

        Element TestScript.ruleset.rule.param.name is part of an existing definition because parent element TestScript.ruleset.rule.param requires a cross-version extension. Element TestScript.ruleset.rule.param.name has a context of TestScript based on following the parent source element upwards and mapping to TestScript. Element TestScript.ruleset.rule.param.name has no mapping targets in FHIR R5. Typically, this is because the element has been added (is a new element).

        Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (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() or (children().count() > id.count()))
        ext-1: Must have either extensions or value[x], not both (extension.exists() != value.exists())
        26. Extension.extension:rule.extension:param.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
        Is Modifierfalse
        XML FormatIn the XML format, this property is represented as an attribute.
        Summaryfalse
        Fixed Valuename
        28. Extension.extension:rule.extension:param.extension:name.value[x]
        Definition

        Descriptive name for this parameter that matches the external assert ruleset rule parameter name.


        Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

        ShortParameter name matching external assert ruleset rule parameterValue of extension
        Comments

        The external rule template would be looking for the parameter by this name.

        Control10..1
        This element is affected by the following invariants: ext-1
        Typestring, date, Meta, Address, Attachment, integer, Count, DataRequirement, Dosage, uuid, Identifier, RatioRange, Coding, SampledData, id, positiveInt, Distance, Availability, integer64, Period, Duration, canonical, Range, RelatedArtifact, base64Binary, UsageContext, Timing, decimal, ExtendedContactDetail, CodeableConcept, ParameterDefinition, dateTime, code, oid, instant, ContactPoint, HumanName, Money, markdown, Ratio, Age, Reference, TriggerDefinition, Quantity, uri, url, Annotation, ContactDetail, boolean, Expression, CodeableReference, Signature, unsignedInt, time
        [x] NoteSeeChoice of Data Typesfor further information about how to use [x]
        Is Modifierfalse
        Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
        Summaryfalse
        Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
        ele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
        30. Extension.extension:rule.extension:param.extension:value
        Slice Namevalue
        Definition

        STU3: TestScript.ruleset.rule.param.value (new:string)

        ShortSTU3: Parameter value defined either explicitly or dynamically (new)Additional content defined by implementations
        Comments

        Element TestScript.ruleset.rule.param.value is part of an existing definition because parent element TestScript.ruleset.rule.param requires a cross-version extension. Element TestScript.ruleset.rule.param.value has a context of TestScript based on following the parent source element upwards and mapping to TestScript. Element TestScript.ruleset.rule.param.value has no mapping targets in FHIR R5. Typically, this is because the element has been added (is a new element). This value can be overwritten by the assert.ruleset.rule.param.value i.e. TestScript.ruleset.rule.param.value will be used if assert.ruleset.rule.param.value is not specified. The param value can be a string-representation of a number, string, or boolean that is expected. Test engines do have to look for placeholders (${}) and replace the variable placeholders with the variable values at runtime before supplying this value to the external rule template.

        Control0..1*
        TypeExtension
        Is Modifierfalse
        Summaryfalse
        Requirements

        Element TestScript.ruleset.rule.param.value is part of an existing definition because parent element TestScript.ruleset.rule.param requires a cross-version extension. Element TestScript.ruleset.rule.param.value has a context of TestScript based on following the parent source element upwards and mapping to TestScript. Element TestScript.ruleset.rule.param.value has no mapping targets in FHIR R5. Typically, this is because the element has been added (is a new element).

        Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (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() or (children().count() > id.count()))
        ext-1: Must have either extensions or value[x], not both (extension.exists() != value.exists())
        32. Extension.extension:rule.extension:param.extension:value.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
        Is Modifierfalse
        XML FormatIn the XML format, this property is represented as an attribute.
        Summaryfalse
        Fixed Valuevalue
        34. Extension.extension:rule.extension:param.extension:value.value[x]
        Definition

        The value for the parameter that will be passed on to the external ruleset rule template.


        Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

        ShortParameter value defined either explicitly or dynamicallyValue of extension
        Comments

        This value can be overwritten by the assert.ruleset.rule.param.value i.e. TestScript.ruleset.rule.param.value will be used if assert.ruleset.rule.param.value is not specified. The param value can be a string-representation of a number, string, or boolean that is expected. Test engines do have to look for placeholders (${}) and replace the variable placeholders with the variable values at runtime before supplying this value to the external rule template.

        Control0..1
        This element is affected by the following invariants: ext-1
        Typestring, date, Meta, Address, Attachment, integer, Count, DataRequirement, Dosage, uuid, Identifier, RatioRange, Coding, SampledData, id, positiveInt, Distance, Availability, integer64, Period, Duration, canonical, Range, RelatedArtifact, base64Binary, UsageContext, Timing, decimal, ExtendedContactDetail, CodeableConcept, ParameterDefinition, dateTime, code, oid, instant, ContactPoint, HumanName, Money, markdown, Ratio, Age, Reference, TriggerDefinition, Quantity, uri, url, Annotation, ContactDetail, boolean, Expression, CodeableReference, Signature, unsignedInt, time
        [x] NoteSeeChoice of Data Typesfor further information about how to use [x]
        Is Modifierfalse
        Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
        Summaryfalse
        Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
        ele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
        36. Extension.extension:rule.extension:param.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
        Is Modifierfalse
        XML FormatIn the XML format, this property is represented as an attribute.
        Summaryfalse
        Fixed Valueparam
        38. Extension.extension:rule.extension:param.value[x]
        Definition

        Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

        ShortValue of extension
        Control0..01
        This element is affected by the following invariants: ext-1
        TypeChoice of: base64Binary, boolean, canonical, code, date, dateTime, decimal, id, instant, integer, integer64, markdown, oid, positiveInt, string, time, unsignedInt, uri, url, uuid, Address, Age, Annotation, Attachment, CodeableConcept, CodeableReference, Coding, ContactPoint, Count, Distance, Duration, HumanName, Identifier, Money, Period, Quantity, Range, Ratio, RatioRange, Reference, SampledData, Signature, Timing, ContactDetail, DataRequirement, Expression, ParameterDefinition, RelatedArtifact, TriggerDefinition, UsageContext, Availability, ExtendedContactDetail, Dosage, Meta
        Is Modifierfalse
        Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
        Summaryfalse
        Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
        ele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
        40. Extension.extension:rule.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
        Is Modifierfalse
        XML FormatIn the XML format, this property is represented as an attribute.
        Summaryfalse
        Fixed Valuerule
        42. Extension.extension:rule.value[x]
        Definition

        Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

        ShortValue of extension
        Control0..01
        This element is affected by the following invariants: ext-1
        TypeChoice of: base64Binary, boolean, canonical, code, date, dateTime, decimal, id, instant, integer, integer64, markdown, oid, positiveInt, string, time, unsignedInt, uri, url, uuid, Address, Age, Annotation, Attachment, CodeableConcept, CodeableReference, Coding, ContactPoint, Count, Distance, Duration, HumanName, Identifier, Money, Period, Quantity, Range, Ratio, RatioRange, Reference, SampledData, Signature, Timing, ContactDetail, DataRequirement, Expression, ParameterDefinition, RelatedArtifact, TriggerDefinition, UsageContext, Availability, ExtendedContactDetail, Dosage, Meta
        Is Modifierfalse
        Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
        Summaryfalse
        Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
        ele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
        44. 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
        Is Modifierfalse
        XML FormatIn the XML format, this property is represented as an attribute.
        Summaryfalse
        Fixed Valuehttp://hl7.org/fhir/3.0/StructureDefinition/extension-TestScript.ruleset
        46. Extension.value[x]
        Definition

        Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

        ShortValue of extension
        Control0..01
        This element is affected by the following invariants: ext-1
        TypeChoice of: base64Binary, boolean, canonical, code, date, dateTime, decimal, id, instant, integer, integer64, markdown, oid, positiveInt, string, time, unsignedInt, uri, url, uuid, Address, Age, Annotation, Attachment, CodeableConcept, CodeableReference, Coding, ContactPoint, Count, Distance, Duration, HumanName, Identifier, Money, Period, Quantity, Range, Ratio, RatioRange, Reference, SampledData, Signature, Timing, ContactDetail, DataRequirement, Expression, ParameterDefinition, RelatedArtifact, TriggerDefinition, UsageContext, Availability, ExtendedContactDetail, Dosage, Meta
        Is Modifierfalse
        Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
        Summaryfalse
        Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
        ele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))

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

        0. Extension
        Definition

        STU3: TestScript.ruleset (new:BackboneElement)

        ShortSTU3: Assert ruleset used within the test script (new)
        Comments

        Element TestScript.ruleset has a context of TestScript based on following the parent source element upwards and mapping to TestScript. Element TestScript.ruleset has no mapping targets in FHIR R5. Typically, this is because the element has been added (is a new element). Each rule within a ruleset should be treated by test engines as one assertion regardless of how many assertions are contained within the external rule template. The impact of negative rule evaluation on test script execution is the same as an assertion failure which is described elsewhere in the TestScript resource.

        Control0..*
        Is Modifierfalse
        2. Extension.extension
        Control2..*
        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:resource
          Slice Nameresource
          Definition

          STU3: TestScript.ruleset.resource (new:Reference(Resource))

          ShortSTU3: Assert ruleset resource reference (new)
          Comments

          Element TestScript.ruleset.resource is part of an existing definition because parent element TestScript.ruleset requires a cross-version extension. Element TestScript.ruleset.resource has a context of TestScript based on following the parent source element upwards and mapping to TestScript. Element TestScript.ruleset.resource has no mapping targets in FHIR R5. Typically, this is because the element has been added (is a new element).

          Control1..1
          Requirements

          Element TestScript.ruleset.resource is part of an existing definition because parent element TestScript.ruleset requires a cross-version extension. Element TestScript.ruleset.resource has a context of TestScript based on following the parent source element upwards and mapping to TestScript. Element TestScript.ruleset.resource has no mapping targets in FHIR R5. Typically, this is because the element has been added (is a new element).

          6. Extension.extension:resource.url
          Control1..1
          Fixed Valueresource
          8. Extension.extension:resource.value[x]
          Definition

          Reference to the resource (containing the contents of the ruleset needed for assertions).

          ShortAssert ruleset resource reference
          Control1..1
          TypeReference(Cross-version Profile for STU3.Resource for use in FHIR R5, Resource)
          [x] NoteSeeChoice of Data Typesfor further information about how to use [x]
          10. Extension.extension:rule
          Slice Namerule
          Definition

          STU3: TestScript.ruleset.rule (new:BackboneElement)

          ShortSTU3: The referenced rule within the ruleset (new)
          Comments

          Element TestScript.ruleset.rule is part of an existing definition because parent element TestScript.ruleset requires a cross-version extension. Element TestScript.ruleset.rule has a context of TestScript based on following the parent source element upwards and mapping to TestScript. Element TestScript.ruleset.rule has no mapping targets in FHIR R5. Typically, this is because the element has been added (is a new element). This qualifies each param name so that a parameter with the same name can be used differently by the different rules with the ruleset.

          Control1..*
          Requirements

          Element TestScript.ruleset.rule is part of an existing definition because parent element TestScript.ruleset requires a cross-version extension. Element TestScript.ruleset.rule has a context of TestScript based on following the parent source element upwards and mapping to TestScript. Element TestScript.ruleset.rule has no mapping targets in FHIR R5. Typically, this is because the element has been added (is a new element).

          12. Extension.extension:rule.extension
          Control1..*
          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
          • 14. Extension.extension:rule.extension:ruleId
            Slice NameruleId
            Definition

            STU3: TestScript.ruleset.rule.ruleId (new:id)

            ShortSTU3: Id of referenced rule within the ruleset (new)
            Comments

            Element TestScript.ruleset.rule.ruleId is part of an existing definition because parent element TestScript.ruleset.rule requires a cross-version extension. Element TestScript.ruleset.rule.ruleId has a context of TestScript based on following the parent source element upwards and mapping to TestScript. Element TestScript.ruleset.rule.ruleId has no mapping targets in FHIR R5. Typically, this is because the element has been added (is a new element).

            Control1..1
            Requirements

            Element TestScript.ruleset.rule.ruleId is part of an existing definition because parent element TestScript.ruleset.rule requires a cross-version extension. Element TestScript.ruleset.rule.ruleId has a context of TestScript based on following the parent source element upwards and mapping to TestScript. Element TestScript.ruleset.rule.ruleId has no mapping targets in FHIR R5. Typically, this is because the element has been added (is a new element).

            16. Extension.extension:rule.extension:ruleId.url
            Control1..1
            Fixed ValueruleId
            18. Extension.extension:rule.extension:ruleId.value[x]
            Definition

            Id of the referenced rule within the external ruleset template.

            ShortId of referenced rule within the ruleset
            Control1..1
            Typeid
            [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
            20. Extension.extension:rule.extension:param
            Slice Nameparam
            Definition

            STU3: TestScript.ruleset.rule.param (new:BackboneElement)

            ShortSTU3: Ruleset rule parameter template (new)
            Comments

            Element TestScript.ruleset.rule.param is part of an existing definition because parent element TestScript.ruleset.rule requires a cross-version extension. Element TestScript.ruleset.rule.param has a context of TestScript based on following the parent source element upwards and mapping to TestScript. Element TestScript.ruleset.rule.param has no mapping targets in FHIR R5. Typically, this is because the element has been added (is a new element). The parameter value can be dynamic at runtime.

            Control0..*
            Requirements

            Element TestScript.ruleset.rule.param is part of an existing definition because parent element TestScript.ruleset.rule requires a cross-version extension. Element TestScript.ruleset.rule.param has a context of TestScript based on following the parent source element upwards and mapping to TestScript. Element TestScript.ruleset.rule.param has no mapping targets in FHIR R5. Typically, this is because the element has been added (is a new element).

            22. Extension.extension:rule.extension:param.extension
            Control1..*
            SlicingThis element introduces a set of slices on Extension.extension.extension.extension. The slices areUnordered and Open, and can be differentiated using the following discriminators:
            • value @ url
            • 24. Extension.extension:rule.extension:param.extension:name
              Slice Namename
              Definition

              STU3: TestScript.ruleset.rule.param.name (new:string)

              ShortSTU3: Parameter name matching external assert ruleset rule parameter (new)
              Comments

              Element TestScript.ruleset.rule.param.name is part of an existing definition because parent element TestScript.ruleset.rule.param requires a cross-version extension. Element TestScript.ruleset.rule.param.name has a context of TestScript based on following the parent source element upwards and mapping to TestScript. Element TestScript.ruleset.rule.param.name has no mapping targets in FHIR R5. Typically, this is because the element has been added (is a new element). The external rule template would be looking for the parameter by this name.

              Control1..1
              Requirements

              Element TestScript.ruleset.rule.param.name is part of an existing definition because parent element TestScript.ruleset.rule.param requires a cross-version extension. Element TestScript.ruleset.rule.param.name has a context of TestScript based on following the parent source element upwards and mapping to TestScript. Element TestScript.ruleset.rule.param.name has no mapping targets in FHIR R5. Typically, this is because the element has been added (is a new element).

              26. Extension.extension:rule.extension:param.extension:name.url
              Control1..1
              Fixed Valuename
              28. Extension.extension:rule.extension:param.extension:name.value[x]
              Definition

              Descriptive name for this parameter that matches the external assert ruleset rule parameter name.

              ShortParameter name matching external assert ruleset rule parameter
              Comments

              The external rule template would be looking for the parameter by this name.

              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
              30. Extension.extension:rule.extension:param.extension:value
              Slice Namevalue
              Definition

              STU3: TestScript.ruleset.rule.param.value (new:string)

              ShortSTU3: Parameter value defined either explicitly or dynamically (new)
              Comments

              Element TestScript.ruleset.rule.param.value is part of an existing definition because parent element TestScript.ruleset.rule.param requires a cross-version extension. Element TestScript.ruleset.rule.param.value has a context of TestScript based on following the parent source element upwards and mapping to TestScript. Element TestScript.ruleset.rule.param.value has no mapping targets in FHIR R5. Typically, this is because the element has been added (is a new element). This value can be overwritten by the assert.ruleset.rule.param.value i.e. TestScript.ruleset.rule.param.value will be used if assert.ruleset.rule.param.value is not specified. The param value can be a string-representation of a number, string, or boolean that is expected. Test engines do have to look for placeholders (${}) and replace the variable placeholders with the variable values at runtime before supplying this value to the external rule template.

              Control0..1
              Requirements

              Element TestScript.ruleset.rule.param.value is part of an existing definition because parent element TestScript.ruleset.rule.param requires a cross-version extension. Element TestScript.ruleset.rule.param.value has a context of TestScript based on following the parent source element upwards and mapping to TestScript. Element TestScript.ruleset.rule.param.value has no mapping targets in FHIR R5. Typically, this is because the element has been added (is a new element).

              32. Extension.extension:rule.extension:param.extension:value.url
              Control1..1
              Fixed Valuevalue
              34. Extension.extension:rule.extension:param.extension:value.value[x]
              Definition

              The value for the parameter that will be passed on to the external ruleset rule template.

              ShortParameter value defined either explicitly or dynamically
              Comments

              This value can be overwritten by the assert.ruleset.rule.param.value i.e. TestScript.ruleset.rule.param.value will be used if assert.ruleset.rule.param.value is not specified. The param value can be a string-representation of a number, string, or boolean that is expected. Test engines do have to look for placeholders (${}) and replace the variable placeholders with the variable values at runtime before supplying this value to the external rule template.

              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
              36. Extension.extension:rule.extension:param.url
              Control1..1
              Fixed Valueparam
              38. Extension.extension:rule.extension:param.value[x]
              Control0..0
              40. Extension.extension:rule.url
              Control1..1
              Fixed Valuerule
              42. Extension.extension:rule.value[x]
              Control0..0
              44. Extension.url
              Control1..1
              Fixed Valuehttp://hl7.org/fhir/3.0/StructureDefinition/extension-TestScript.ruleset
              46. Extension.value[x]
              Control0..0

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

              0. Extension
              Definition

              STU3: TestScript.ruleset (new:BackboneElement)

              ShortSTU3: Assert ruleset used within the test script (new)
              Comments

              Element TestScript.ruleset has a context of TestScript based on following the parent source element upwards and mapping to TestScript. Element TestScript.ruleset has no mapping targets in FHIR R5. Typically, this is because the element has been added (is a new element). Each rule within a ruleset should be treated by test engines as one assertion regardless of how many assertions are contained within the external rule template. The impact of negative rule evaluation on test script execution is the same as an assertion failure which is described elsewhere in the TestScript resource.

              Control0..*
              Is Modifierfalse
              Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (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.

              ShortUnique id for inter-element referencing
              Control0..1
              This element is affected by the following invariants: ele-1
              Typeid
              Is Modifierfalse
              XML FormatIn the XML format, this property is represented as an attribute.
              Summaryfalse
              4. Extension.extension
              Definition

              An Extension

              ShortExtension
              Control2..*
              TypeExtension
              Is Modifierfalse
              Summaryfalse
              Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
              ext-1: Must have either extensions or value[x], not both (extension.exists() != value.exists())
              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:resource
                Slice Nameresource
                Definition

                STU3: TestScript.ruleset.resource (new:Reference(Resource))

                ShortSTU3: Assert ruleset resource reference (new)
                Comments

                Element TestScript.ruleset.resource is part of an existing definition because parent element TestScript.ruleset requires a cross-version extension. Element TestScript.ruleset.resource has a context of TestScript based on following the parent source element upwards and mapping to TestScript. Element TestScript.ruleset.resource has no mapping targets in FHIR R5. Typically, this is because the element has been added (is a new element).

                Control1..1
                TypeExtension
                Is Modifierfalse
                Summaryfalse
                Requirements

                Element TestScript.ruleset.resource is part of an existing definition because parent element TestScript.ruleset requires a cross-version extension. Element TestScript.ruleset.resource has a context of TestScript based on following the parent source element upwards and mapping to TestScript. Element TestScript.ruleset.resource has no mapping targets in FHIR R5. Typically, this is because the element has been added (is a new element).

                Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                ext-1: Must have either extensions or value[x], not both (extension.exists() != value.exists())
                8. Extension.extension:resource.id
                Definition

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

                ShortUnique id for inter-element referencing
                Control0..1
                This element is affected by the following invariants: ele-1
                Typeid
                Is Modifierfalse
                XML FormatIn the XML format, this property is represented as an attribute.
                Summaryfalse
                10. Extension.extension:resource.extension
                Definition

                May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can 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
                Is Modifierfalse
                Summaryfalse
                Alternate Namesextensions, user content
                Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                ext-1: Must have either extensions or value[x], not both (extension.exists() != value.exists())
                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:resource.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
                  Is Modifierfalse
                  XML FormatIn the XML format, this property is represented as an attribute.
                  Summaryfalse
                  Fixed Valueresource
                  14. Extension.extension:resource.value[x]
                  Definition

                  Reference to the resource (containing the contents of the ruleset needed for assertions).

                  ShortAssert ruleset resource reference
                  Control1..1
                  This element is affected by the following invariants: ext-1
                  TypeReference(Cross-version Profile for STU3.Resource for use in FHIR R5, Resource)
                  [x] NoteSeeChoice of Data Typesfor further information about how to use [x]
                  Is Modifierfalse
                  Summaryfalse
                  Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                  16. Extension.extension:rule
                  Slice Namerule
                  Definition

                  STU3: TestScript.ruleset.rule (new:BackboneElement)

                  ShortSTU3: The referenced rule within the ruleset (new)
                  Comments

                  Element TestScript.ruleset.rule is part of an existing definition because parent element TestScript.ruleset requires a cross-version extension. Element TestScript.ruleset.rule has a context of TestScript based on following the parent source element upwards and mapping to TestScript. Element TestScript.ruleset.rule has no mapping targets in FHIR R5. Typically, this is because the element has been added (is a new element). This qualifies each param name so that a parameter with the same name can be used differently by the different rules with the ruleset.

                  Control1..*
                  TypeExtension
                  Is Modifierfalse
                  Summaryfalse
                  Requirements

                  Element TestScript.ruleset.rule is part of an existing definition because parent element TestScript.ruleset requires a cross-version extension. Element TestScript.ruleset.rule has a context of TestScript based on following the parent source element upwards and mapping to TestScript. Element TestScript.ruleset.rule has no mapping targets in FHIR R5. Typically, this is because the element has been added (is a new element).

                  Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                  ext-1: Must have either extensions or value[x], not both (extension.exists() != value.exists())
                  18. Extension.extension:rule.id
                  Definition

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

                  ShortUnique id for inter-element referencing
                  Control0..1
                  This element is affected by the following invariants: ele-1
                  Typeid
                  Is Modifierfalse
                  XML FormatIn the XML format, this property is represented as an attribute.
                  Summaryfalse
                  20. Extension.extension:rule.extension
                  Definition

                  An Extension

                  ShortExtension
                  Control1..*
                  TypeExtension
                  Is Modifierfalse
                  Summaryfalse
                  Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                  ext-1: Must have either extensions or value[x], not both (extension.exists() != value.exists())
                  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:rule.extension:ruleId
                    Slice NameruleId
                    Definition

                    STU3: TestScript.ruleset.rule.ruleId (new:id)

                    ShortSTU3: Id of referenced rule within the ruleset (new)
                    Comments

                    Element TestScript.ruleset.rule.ruleId is part of an existing definition because parent element TestScript.ruleset.rule requires a cross-version extension. Element TestScript.ruleset.rule.ruleId has a context of TestScript based on following the parent source element upwards and mapping to TestScript. Element TestScript.ruleset.rule.ruleId has no mapping targets in FHIR R5. Typically, this is because the element has been added (is a new element).

                    Control1..1
                    TypeExtension
                    Is Modifierfalse
                    Summaryfalse
                    Requirements

                    Element TestScript.ruleset.rule.ruleId is part of an existing definition because parent element TestScript.ruleset.rule requires a cross-version extension. Element TestScript.ruleset.rule.ruleId has a context of TestScript based on following the parent source element upwards and mapping to TestScript. Element TestScript.ruleset.rule.ruleId has no mapping targets in FHIR R5. Typically, this is because the element has been added (is a new element).

                    Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                    ext-1: Must have either extensions or value[x], not both (extension.exists() != value.exists())
                    24. Extension.extension:rule.extension:ruleId.id
                    Definition

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

                    ShortUnique id for inter-element referencing
                    Control0..1
                    This element is affected by the following invariants: ele-1
                    Typeid
                    Is Modifierfalse
                    XML FormatIn the XML format, this property is represented as an attribute.
                    Summaryfalse
                    26. Extension.extension:rule.extension:ruleId.extension
                    Definition

                    May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can 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
                    Is Modifierfalse
                    Summaryfalse
                    Alternate Namesextensions, user content
                    Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                    ext-1: Must have either extensions or value[x], not both (extension.exists() != value.exists())
                    SlicingThis element introduces a set of slices on Extension.extension.extension.extension. The slices areUnordered and Open, and can be differentiated using the following discriminators:
                    • value @ url
                    • 28. Extension.extension:rule.extension:ruleId.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
                      Is Modifierfalse
                      XML FormatIn the XML format, this property is represented as an attribute.
                      Summaryfalse
                      Fixed ValueruleId
                      30. Extension.extension:rule.extension:ruleId.value[x]
                      Definition

                      Id of the referenced rule within the external ruleset template.

                      ShortId of referenced rule within the ruleset
                      Control1..1
                      This element is affected by the following invariants: ext-1
                      Typeid
                      [x] NoteSeeChoice of Data Typesfor further information about how to use [x]
                      Is Modifierfalse
                      Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                      Summaryfalse
                      Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                      32. Extension.extension:rule.extension:param
                      Slice Nameparam
                      Definition

                      STU3: TestScript.ruleset.rule.param (new:BackboneElement)

                      ShortSTU3: Ruleset rule parameter template (new)
                      Comments

                      Element TestScript.ruleset.rule.param is part of an existing definition because parent element TestScript.ruleset.rule requires a cross-version extension. Element TestScript.ruleset.rule.param has a context of TestScript based on following the parent source element upwards and mapping to TestScript. Element TestScript.ruleset.rule.param has no mapping targets in FHIR R5. Typically, this is because the element has been added (is a new element). The parameter value can be dynamic at runtime.

                      Control0..*
                      TypeExtension
                      Is Modifierfalse
                      Summaryfalse
                      Requirements

                      Element TestScript.ruleset.rule.param is part of an existing definition because parent element TestScript.ruleset.rule requires a cross-version extension. Element TestScript.ruleset.rule.param has a context of TestScript based on following the parent source element upwards and mapping to TestScript. Element TestScript.ruleset.rule.param has no mapping targets in FHIR R5. Typically, this is because the element has been added (is a new element).

                      Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                      ext-1: Must have either extensions or value[x], not both (extension.exists() != value.exists())
                      34. Extension.extension:rule.extension:param.id
                      Definition

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

                      ShortUnique id for inter-element referencing
                      Control0..1
                      This element is affected by the following invariants: ele-1
                      Typeid
                      Is Modifierfalse
                      XML FormatIn the XML format, this property is represented as an attribute.
                      Summaryfalse
                      36. Extension.extension:rule.extension:param.extension
                      Definition

                      An Extension

                      ShortExtension
                      Control1..*
                      TypeExtension
                      Is Modifierfalse
                      Summaryfalse
                      Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                      ext-1: Must have either extensions or value[x], not both (extension.exists() != value.exists())
                      SlicingThis element introduces a set of slices on Extension.extension.extension.extension. The slices areUnordered and Open, and can be differentiated using the following discriminators:
                      • value @ url
                      • 38. Extension.extension:rule.extension:param.extension:name
                        Slice Namename
                        Definition

                        STU3: TestScript.ruleset.rule.param.name (new:string)

                        ShortSTU3: Parameter name matching external assert ruleset rule parameter (new)
                        Comments

                        Element TestScript.ruleset.rule.param.name is part of an existing definition because parent element TestScript.ruleset.rule.param requires a cross-version extension. Element TestScript.ruleset.rule.param.name has a context of TestScript based on following the parent source element upwards and mapping to TestScript. Element TestScript.ruleset.rule.param.name has no mapping targets in FHIR R5. Typically, this is because the element has been added (is a new element). The external rule template would be looking for the parameter by this name.

                        Control1..1
                        TypeExtension
                        Is Modifierfalse
                        Summaryfalse
                        Requirements

                        Element TestScript.ruleset.rule.param.name is part of an existing definition because parent element TestScript.ruleset.rule.param requires a cross-version extension. Element TestScript.ruleset.rule.param.name has a context of TestScript based on following the parent source element upwards and mapping to TestScript. Element TestScript.ruleset.rule.param.name has no mapping targets in FHIR R5. Typically, this is because the element has been added (is a new element).

                        Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                        ext-1: Must have either extensions or value[x], not both (extension.exists() != value.exists())
                        40. Extension.extension:rule.extension:param.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.

                        ShortUnique id for inter-element referencing
                        Control0..1
                        This element is affected by the following invariants: ele-1
                        Typeid
                        Is Modifierfalse
                        XML FormatIn the XML format, this property is represented as an attribute.
                        Summaryfalse
                        42. Extension.extension:rule.extension:param.extension:name.extension
                        Definition

                        May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can 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
                        Is Modifierfalse
                        Summaryfalse
                        Alternate Namesextensions, user content
                        Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                        ext-1: Must have either extensions or value[x], not both (extension.exists() != value.exists())
                        SlicingThis element introduces a set of slices on Extension.extension.extension.extension.extension. The slices areUnordered and Open, and can be differentiated using the following discriminators:
                        • value @ url
                        • 44. Extension.extension:rule.extension:param.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
                          Is Modifierfalse
                          XML FormatIn the XML format, this property is represented as an attribute.
                          Summaryfalse
                          Fixed Valuename
                          46. Extension.extension:rule.extension:param.extension:name.value[x]
                          Definition

                          Descriptive name for this parameter that matches the external assert ruleset rule parameter name.

                          ShortParameter name matching external assert ruleset rule parameter
                          Comments

                          The external rule template would be looking for the parameter by this name.

                          Control1..1
                          This element is affected by the following invariants: ext-1
                          Typestring
                          [x] NoteSeeChoice of Data Typesfor further information about how to use [x]
                          Is Modifierfalse
                          Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                          Summaryfalse
                          Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                          48. Extension.extension:rule.extension:param.extension:value
                          Slice Namevalue
                          Definition

                          STU3: TestScript.ruleset.rule.param.value (new:string)

                          ShortSTU3: Parameter value defined either explicitly or dynamically (new)
                          Comments

                          Element TestScript.ruleset.rule.param.value is part of an existing definition because parent element TestScript.ruleset.rule.param requires a cross-version extension. Element TestScript.ruleset.rule.param.value has a context of TestScript based on following the parent source element upwards and mapping to TestScript. Element TestScript.ruleset.rule.param.value has no mapping targets in FHIR R5. Typically, this is because the element has been added (is a new element). This value can be overwritten by the assert.ruleset.rule.param.value i.e. TestScript.ruleset.rule.param.value will be used if assert.ruleset.rule.param.value is not specified. The param value can be a string-representation of a number, string, or boolean that is expected. Test engines do have to look for placeholders (${}) and replace the variable placeholders with the variable values at runtime before supplying this value to the external rule template.

                          Control0..1
                          TypeExtension
                          Is Modifierfalse
                          Summaryfalse
                          Requirements

                          Element TestScript.ruleset.rule.param.value is part of an existing definition because parent element TestScript.ruleset.rule.param requires a cross-version extension. Element TestScript.ruleset.rule.param.value has a context of TestScript based on following the parent source element upwards and mapping to TestScript. Element TestScript.ruleset.rule.param.value has no mapping targets in FHIR R5. Typically, this is because the element has been added (is a new element).

                          Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                          ext-1: Must have either extensions or value[x], not both (extension.exists() != value.exists())
                          50. Extension.extension:rule.extension:param.extension:value.id
                          Definition

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

                          ShortUnique id for inter-element referencing
                          Control0..1
                          This element is affected by the following invariants: ele-1
                          Typeid
                          Is Modifierfalse
                          XML FormatIn the XML format, this property is represented as an attribute.
                          Summaryfalse
                          52. Extension.extension:rule.extension:param.extension:value.extension
                          Definition

                          May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can 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
                          Is Modifierfalse
                          Summaryfalse
                          Alternate Namesextensions, user content
                          Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                          ext-1: Must have either extensions or value[x], not both (extension.exists() != value.exists())
                          SlicingThis element introduces a set of slices on Extension.extension.extension.extension.extension. The slices areUnordered and Open, and can be differentiated using the following discriminators:
                          • value @ url
                          • 54. Extension.extension:rule.extension:param.extension:value.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
                            Is Modifierfalse
                            XML FormatIn the XML format, this property is represented as an attribute.
                            Summaryfalse
                            Fixed Valuevalue
                            56. Extension.extension:rule.extension:param.extension:value.value[x]
                            Definition

                            The value for the parameter that will be passed on to the external ruleset rule template.

                            ShortParameter value defined either explicitly or dynamically
                            Comments

                            This value can be overwritten by the assert.ruleset.rule.param.value i.e. TestScript.ruleset.rule.param.value will be used if assert.ruleset.rule.param.value is not specified. The param value can be a string-representation of a number, string, or boolean that is expected. Test engines do have to look for placeholders (${}) and replace the variable placeholders with the variable values at runtime before supplying this value to the external rule template.

                            Control0..1
                            This element is affected by the following invariants: ext-1
                            Typestring
                            [x] NoteSeeChoice of Data Typesfor further information about how to use [x]
                            Is Modifierfalse
                            Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                            Summaryfalse
                            Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                            58. Extension.extension:rule.extension:param.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
                            Is Modifierfalse
                            XML FormatIn the XML format, this property is represented as an attribute.
                            Summaryfalse
                            Fixed Valueparam
                            60. Extension.extension:rule.extension:param.value[x]
                            Definition

                            Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

                            ShortValue of extension
                            Control0..0
                            This element is affected by the following invariants: ext-1
                            TypeChoice of: base64Binary, boolean, canonical, code, date, dateTime, decimal, id, instant, integer, integer64, markdown, oid, positiveInt, string, time, unsignedInt, uri, url, uuid, Address, Age, Annotation, Attachment, CodeableConcept, CodeableReference, Coding, ContactPoint, Count, Distance, Duration, HumanName, Identifier, Money, Period, Quantity, Range, Ratio, RatioRange, Reference, SampledData, Signature, Timing, ContactDetail, DataRequirement, Expression, ParameterDefinition, RelatedArtifact, TriggerDefinition, UsageContext, Availability, ExtendedContactDetail, Dosage, Meta
                            Is Modifierfalse
                            Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                            Summaryfalse
                            Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                            62. Extension.extension:rule.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
                            Is Modifierfalse
                            XML FormatIn the XML format, this property is represented as an attribute.
                            Summaryfalse
                            Fixed Valuerule
                            64. Extension.extension:rule.value[x]
                            Definition

                            Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

                            ShortValue of extension
                            Control0..0
                            This element is affected by the following invariants: ext-1
                            TypeChoice of: base64Binary, boolean, canonical, code, date, dateTime, decimal, id, instant, integer, integer64, markdown, oid, positiveInt, string, time, unsignedInt, uri, url, uuid, Address, Age, Annotation, Attachment, CodeableConcept, CodeableReference, Coding, ContactPoint, Count, Distance, Duration, HumanName, Identifier, Money, Period, Quantity, Range, Ratio, RatioRange, Reference, SampledData, Signature, Timing, ContactDetail, DataRequirement, Expression, ParameterDefinition, RelatedArtifact, TriggerDefinition, UsageContext, Availability, ExtendedContactDetail, Dosage, Meta
                            Is Modifierfalse
                            Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                            Summaryfalse
                            Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                            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
                            Is Modifierfalse
                            XML FormatIn the XML format, this property is represented as an attribute.
                            Summaryfalse
                            Fixed Valuehttp://hl7.org/fhir/3.0/StructureDefinition/extension-TestScript.ruleset
                            68. Extension.value[x]
                            Definition

                            Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

                            ShortValue of extension
                            Control0..0
                            This element is affected by the following invariants: ext-1
                            TypeChoice of: base64Binary, boolean, canonical, code, date, dateTime, decimal, id, instant, integer, integer64, markdown, oid, positiveInt, string, time, unsignedInt, uri, url, uuid, Address, Age, Annotation, Attachment, CodeableConcept, CodeableReference, Coding, ContactPoint, Count, Distance, Duration, HumanName, Identifier, Money, Period, Quantity, Range, Ratio, RatioRange, Reference, SampledData, Signature, Timing, ContactDetail, DataRequirement, Expression, ParameterDefinition, RelatedArtifact, TriggerDefinition, UsageContext, Availability, ExtendedContactDetail, Dosage, Meta
                            Is Modifierfalse
                            Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                            Summaryfalse
                            Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))