0.0.1 - ci-build
TestScriptEngineIG - Local Development build (v0.0.1). See the Directory of published versions
Official URL: https://fhir-crucible.github.io/testscript-engine-ig/StructureDefinition/assert-subtest | Version: 0.0.1 | |||
Active as of 2022-12-29 | Computable Name: AssertSubtest |
Execute a TestScript instance as a subtest
Context of Use
This extension may be used on the following element(s):
This complex extension is used within a TestScript assert action. It tells the engine to determine whether the assertion passed based on whether the specified TestScript passes. It optionally includes variable bindings, tying the value of specific variables in the TestScript making the invocation to variables in the target TestScript. Once execution of the invoked TestScript completes, a TestReport instance is generated with a extension flagging that it was a subtest and another extension indicating that it needed to pass, and the engine continues with execution of the invoking TestScript.
Usage info
Usage:
Description of Profiles, Differentials, Snapshots, and how the XML and JSON presentations work.
This structure is derived from Extension
This structure is derived from Extension
Name | Flags | Card. | Type | Description & Constraints![]() |
---|---|---|---|---|
![]() ![]() | 0..* | Extension | Extension | |
![]() ![]() ![]() | 1..* | Extension | Extension | |
![]() ![]() ![]() | 1..1 | Extension | Name of the TestScript to execute | |
![]() ![]() ![]() ![]() | 0..0 | |||
![]() ![]() ![]() ![]() | 1..1 | uri | "testName" | |
![]() ![]() ![]() ![]() | 0..1 | string | Value of extension | |
![]() ![]() ![]() | 0..* | Extension | Binding of a source TestScript variable to a target TestScript variable | |
![]() ![]() ![]() ![]() | 2..* | Extension | Extension | |
![]() ![]() ![]() ![]() | 1..1 | Extension | Executing TestScript variable name that provides the value | |
![]() ![]() ![]() ![]() ![]() | 0..0 | |||
![]() ![]() ![]() ![]() ![]() | 1..1 | uri | "bindSource" | |
![]() ![]() ![]() ![]() ![]() | 0..1 | string | Value of extension | |
![]() ![]() ![]() ![]() | 1..1 | Extension | Executed TestScript variable name that receives the value | |
![]() ![]() ![]() ![]() ![]() | 0..0 | |||
![]() ![]() ![]() ![]() ![]() | 1..1 | uri | "bindTarget" | |
![]() ![]() ![]() ![]() ![]() | 0..1 | string | Value of extension | |
![]() ![]() ![]() ![]() | 1..1 | uri | "bindVariable" | |
![]() ![]() ![]() ![]() | 0..0 | |||
![]() ![]() ![]() | 1..1 | uri | "https://fhir-crucible.github.io/testscript-engine-ig/StructureDefinition/assert-subtest" | |
![]() ![]() ![]() | 0..0 | |||
![]() |
Name | Flags | Card. | Type | Description & Constraints![]() |
---|---|---|---|---|
![]() ![]() | 0..* | Extension | Extension | |
![]() ![]() ![]() | 0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() | 1..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() | 1..1 | Extension | Name of the TestScript to execute | |
![]() ![]() ![]() ![]() | 0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() ![]() | 0..0 | |||
![]() ![]() ![]() ![]() | 1..1 | uri | "testName" | |
![]() ![]() ![]() ![]() | 0..1 | string | Value of extension | |
![]() ![]() ![]() | 0..* | Extension | Binding of a source TestScript variable to a target TestScript variable | |
![]() ![]() ![]() ![]() | 0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() ![]() | 2..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() | 1..1 | Extension | Executing TestScript variable name that provides the value | |
![]() ![]() ![]() ![]() ![]() | 0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() ![]() ![]() | 0..0 | |||
![]() ![]() ![]() ![]() ![]() | 1..1 | uri | "bindSource" | |
![]() ![]() ![]() ![]() ![]() | 0..1 | string | Value of extension | |
![]() ![]() ![]() ![]() | 1..1 | Extension | Executed TestScript variable name that receives the value | |
![]() ![]() ![]() ![]() ![]() | 0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() ![]() ![]() | 0..0 | |||
![]() ![]() ![]() ![]() ![]() | 1..1 | uri | "bindTarget" | |
![]() ![]() ![]() ![]() ![]() | 0..1 | string | Value of extension | |
![]() ![]() ![]() ![]() | 1..1 | uri | "bindVariable" | |
![]() ![]() ![]() | 1..1 | uri | "https://fhir-crucible.github.io/testscript-engine-ig/StructureDefinition/assert-subtest" | |
![]() |
This structure is derived from Extension
Differential View
This structure is derived from Extension
Name | Flags | Card. | Type | Description & Constraints![]() |
---|---|---|---|---|
![]() ![]() | 0..* | Extension | Extension | |
![]() ![]() ![]() | 1..* | Extension | Extension | |
![]() ![]() ![]() | 1..1 | Extension | Name of the TestScript to execute | |
![]() ![]() ![]() ![]() | 0..0 | |||
![]() ![]() ![]() ![]() | 1..1 | uri | "testName" | |
![]() ![]() ![]() ![]() | 0..1 | string | Value of extension | |
![]() ![]() ![]() | 0..* | Extension | Binding of a source TestScript variable to a target TestScript variable | |
![]() ![]() ![]() ![]() | 2..* | Extension | Extension | |
![]() ![]() ![]() ![]() | 1..1 | Extension | Executing TestScript variable name that provides the value | |
![]() ![]() ![]() ![]() ![]() | 0..0 | |||
![]() ![]() ![]() ![]() ![]() | 1..1 | uri | "bindSource" | |
![]() ![]() ![]() ![]() ![]() | 0..1 | string | Value of extension | |
![]() ![]() ![]() ![]() | 1..1 | Extension | Executed TestScript variable name that receives the value | |
![]() ![]() ![]() ![]() ![]() | 0..0 | |||
![]() ![]() ![]() ![]() ![]() | 1..1 | uri | "bindTarget" | |
![]() ![]() ![]() ![]() ![]() | 0..1 | string | Value of extension | |
![]() ![]() ![]() ![]() | 1..1 | uri | "bindVariable" | |
![]() ![]() ![]() ![]() | 0..0 | |||
![]() ![]() ![]() | 1..1 | uri | "https://fhir-crucible.github.io/testscript-engine-ig/StructureDefinition/assert-subtest" | |
![]() ![]() ![]() | 0..0 | |||
![]() |
Snapshot View
Name | Flags | Card. | Type | Description & Constraints![]() |
---|---|---|---|---|
![]() ![]() | 0..* | Extension | Extension | |
![]() ![]() ![]() | 0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() | 1..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() | 1..1 | Extension | Name of the TestScript to execute | |
![]() ![]() ![]() ![]() | 0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() ![]() | 0..0 | |||
![]() ![]() ![]() ![]() | 1..1 | uri | "testName" | |
![]() ![]() ![]() ![]() | 0..1 | string | Value of extension | |
![]() ![]() ![]() | 0..* | Extension | Binding of a source TestScript variable to a target TestScript variable | |
![]() ![]() ![]() ![]() | 0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() ![]() | 2..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() | 1..1 | Extension | Executing TestScript variable name that provides the value | |
![]() ![]() ![]() ![]() ![]() | 0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() ![]() ![]() | 0..0 | |||
![]() ![]() ![]() ![]() ![]() | 1..1 | uri | "bindSource" | |
![]() ![]() ![]() ![]() ![]() | 0..1 | string | Value of extension | |
![]() ![]() ![]() ![]() | 1..1 | Extension | Executed TestScript variable name that receives the value | |
![]() ![]() ![]() ![]() ![]() | 0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() ![]() ![]() | 0..0 | |||
![]() ![]() ![]() ![]() ![]() | 1..1 | uri | "bindTarget" | |
![]() ![]() ![]() ![]() ![]() | 0..1 | string | Value of extension | |
![]() ![]() ![]() ![]() | 1..1 | uri | "bindVariable" | |
![]() ![]() ![]() | 1..1 | uri | "https://fhir-crucible.github.io/testscript-engine-ig/StructureDefinition/assert-subtest" | |
![]() |
Other representations of profile: CSV, Excel, Schematron
Id | Grade | Path(s) | Details | Requirements |
ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both : extension.exists() != value.exists() |