AEGIS Touchstone Testing Implementation Guide

This is the Version 1.6.0 Release of the Touchstone Testing Implementation Guide, based on FHIR Version 4.0.1. See the Directory of published versions

StructureDefinition-testscript-assert-variable

Scope and Usage

Formal definition of Touchstone TestScript assert variable extension

Examples

The following examples are provided to illustrate conformant resource content to this profile.

Formal Views of Profile Content

Description of Profiles, Differentials, and Snapshots.

The official URL for this profile is: http://touchstone.aegis.net/touchstone/fhir/testing/StructureDefinition/testscript-assert-variable

Published on Thu Aug 27 00:00:00 EDT 2020 as a active by AEGIS.net, Inc..

This profile builds on Extension


Summary

Mandatory: 2 elements
Fixed Value: 1 element

NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension 0..1ExtensionComparison value used within the test script assert
... url 1..1uri"http://touchstone.aegis.net/touchstone/fhir/testing/StructureDefinition/testscript-assert-variable"
... valueString 1..1stringValue of extension

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension 0..1ExtensionComparison value used within the test script assert
... id 0..1stringUnique id for inter-element referencing
... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
... url 1..1uri"http://touchstone.aegis.net/touchstone/fhir/testing/StructureDefinition/testscript-assert-variable"
... value[x] 1..1(Slice Definition)Value of extension
Slice: Unordered, Closed by type:$this
.... value[x]:valueString 1..1stringValue of extension

doco Documentation for this format

Summary

Mandatory: 2 elements
Fixed Value: 1 element

Differential View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension 0..1ExtensionComparison value used within the test script assert
... url 1..1uri"http://touchstone.aegis.net/touchstone/fhir/testing/StructureDefinition/testscript-assert-variable"
... valueString 1..1stringValue of extension

doco Documentation for this format

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension 0..1ExtensionComparison value used within the test script assert
... id 0..1stringUnique id for inter-element referencing
... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
... url 1..1uri"http://touchstone.aegis.net/touchstone/fhir/testing/StructureDefinition/testscript-assert-variable"
... value[x] 1..1(Slice Definition)Value of extension
Slice: Unordered, Closed by type:$this
.... value[x]:valueString 1..1stringValue of extension

doco Documentation for this format

Downloads: StructureDefinition: (XML, JSON), Schema: XML Schematron

Constraints

IdPathDetailsRequirements
ele-1ExtensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1ExtensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1Extension.extensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1Extension.extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1Extension.value[x]All FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Extension.value[x]:valueStringAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())