Touchstone FHIR Testing
2.0.0 - current International flag

Touchstone FHIR Testing v2.0.0. This is the current published version. For a full list of available versions, see the Directory of published versions

Extension: AEGISTouchstoneTestingTestScriptRuleExtension - Detailed Descriptions

Active as of 2023-06-29

Definitions for the testscript-rule extension.

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

0. Extension
Definition

TestScript rule definition used as asserts within the TestScript. The rule must define the external reference to the executable rule script file.

ShortAssert rule used within the test script
Control0..*
Is Modifierfalse
2. Extension.extension:ruleId
Slice NameruleId
Definition

The identifier for this rule used in rulesets or asserts.

ShortAssert rule unique id within TestScript
Control1..1
TypeExtension
Is Modifierfalse
Must Supporttrue
4. Extension.extension:ruleId.url
Control1..1
Typeuri
Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
Fixed ValueruleId
6. Extension.extension:ruleId.valueId
Control1..1
Typeid
Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
8. Extension.extension:path
Slice Namepath
Definition

Absolute or relative location path to the rule script.

ShortRule location path
Control1..1
TypeExtension
Is Modifierfalse
Must Supporttrue
10. Extension.extension:path.url
Control1..1
Typeuri
Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
Fixed Valuepath
12. Extension.extension:path.valueString
Control1..1
Typestring
Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
14. Extension.extension:param
Slice Nameparam
Definition

Each rule template can take one or more parameters for rule evaluation

ShortRule parameter template
Control0..*
Is Modifierfalse
16. Extension.extension:param.extension:paramName
Slice NameparamName
Definition

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

ShortParameter name matching external assert rule parameter
Control1..1
TypeExtension
Is Modifierfalse
Must Supporttrue
18. Extension.extension:param.extension:paramName.url
Control1..1
Typeuri
Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
Fixed Valuename
20. Extension.extension:param.extension:paramName.valueString
Control1..1
Typestring
Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
22. Extension.extension:param.extension:paramValue
Slice NameparamValue
Definition

The explicit or dynamic value for the parameter that will be passed on to the external rule template.

ShortParameter value defined either explicitly or dynamically
Control1..1
TypeExtension
Is Modifierfalse
Must Supporttrue
24. Extension.extension:param.extension:paramValue.url
Control1..1
Typeuri
Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
Fixed Valuevalue
26. Extension.extension:param.extension:paramValue.valueString
Control1..1
Typestring
Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
28. Extension.extension:param.url
Control1..1
Fixed Valueparam
30. Extension.extension:output
Slice Nameoutput
Definition

Each rule template can return one or more outputs for subsequent assert evaluation

ShortRule output template
Control0..*
Is Modifierfalse
32. Extension.extension:output.extension:outputName
Slice NameoutputName
Definition

Descriptive name for this output that matches the external assert rule output name.

ShortOutput name matching external assert rule output
Control1..1
TypeExtension
Is Modifierfalse
Must Supporttrue
34. Extension.extension:output.extension:outputName.url
Control1..1
Typeuri
Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
Fixed Valuename
36. Extension.extension:output.extension:outputName.valueString
Control1..1
Typestring
Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
38. Extension.extension:output.extension:outputResourceType
Slice NameoutputResourceType
Definition

The explicit or dynamic FHIR resource type value for the output that will be returned to the external rule template.

ShortOutput FHIR resource type value defined either explicitly or dynamically
Control0..1
TypeExtension
Is Modifierfalse
Must Supporttrue
40. Extension.extension:output.extension:outputResourceType.url
Control1..1
Typeuri
Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
Fixed ValueresourceType
42. Extension.extension:output.extension:outputResourceType.valueString
Control1..1
Typestring
Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
44. Extension.extension:output.extension:outputType
Slice NameoutputType
Definition

The explicit or dynamic type value for the output that will be returned to the external rule template.

ShortOutput type value defined either explicitly or dynamically
Control0..1
TypeExtension
Is Modifierfalse
Must Supporttrue
46. Extension.extension:output.extension:outputType.url
Control1..1
Typeuri
Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
Fixed Valuetype
48. Extension.extension:output.extension:outputType.valueString
Control1..1
Typestring
Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
50. Extension.extension:output.extension:outputContentType
Slice NameoutputContentType
Definition

The explicit or dynamic contentType value for the output that will be returned to the external rule template.

ShortcontentType value defined either explicitly or dynamically
Control0..1
TypeExtension
Is Modifierfalse
Must Supporttrue
52. Extension.extension:output.extension:outputContentType.url
Control1..1
Typeuri
Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
Fixed ValuecontentType
54. Extension.extension:output.extension:outputContentType.valueString
Control1..1
Typestring
Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
56. Extension.extension:output.url
Control1..1
Fixed Valueoutput
58. Extension.url
Control1..1
Fixed Valuehttp://touchstone.aegis.net/touchstone/fhir/testing/StructureDefinition/testscript-rule
60. Extension.value[x]
Control0..0