AEGIS Touchstone Testing Implementation Guide

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

StructureDefinition-testscript-ruleset

Scope and Usage

Formal definitions of Touchstone TestScript ruleset extensions

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-ruleset

Published on Fri Dec 14 00:00:00 EST 2018 as a active by AEGIS.net, Inc..

This profile builds on Extension


Summary

Mandatory: 12 elements (15 nested mandatory elements)
Must-Support: 9 elements
Fixed Value: 12 elements
Prohibited: 1 element

NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension 0..*ExtensionAssert ruleset used within the test script
... extension:rulesetId S1..1ExtensionAssert ruleset unique id within TestScript
.... url 1..1uri"rulesetId"
.... valueId 1..1idValue of extension
... extension:path S1..1ExtensionRuleset location path
.... url 1..1uri"path"
.... valueString 1..1stringValue of extension
... extension:rule S1..*ExtensionThe referenced rule within the ruleset
.... extension:ruleId S1..1ExtensionRule unique id within ruleset
..... url 1..1uri"ruleId"
..... valueId 1..1idValue of extension
.... extension:param 0..*ExtensionRule parameter template
..... extension:paramName S1..1ExtensionParameter name matching external assert rule parameter
...... url 1..1uri"name"
...... valueString 1..1stringValue of extension
..... extension:paramValue S1..1ExtensionParameter value defined either explicitly or dynamically
...... url 1..1uri"value"
...... valueString 1..1stringValue of extension
..... url 1..1uri"param"
.... extension:output 0..*ExtensionRule output template
..... extension:outputName S1..1ExtensionOutput name matching external assert rule output
...... url 1..1uri"name"
...... valueString 1..1stringValue of extension
..... extension:outputType S0..1ExtensionOutput type value defined either explicitly or dynamically
...... url 1..1uri"type"
...... valueString 1..1stringValue of extension
..... extension:outputContentType S0..1ExtensioncontentType value defined either explicitly or dynamically
...... url 1..1uri"contentType"
...... valueString 1..1stringValue of extension
..... url 1..1uri"output"
.... url 1..1uri"rule"
... url 1..1uri"http://touchstone.aegis.net/touchstone/fhir/testing/StructureDefinition/testscript-ruleset"
... value[x] 0..0

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension 0..*ExtensionAssert ruleset used within the test script
... id 0..1stringUnique id for inter-element referencing
... Slices for extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
... extension:rulesetId S1..1ExtensionAssert ruleset unique id within TestScript
.... id 0..1stringUnique id for inter-element referencing
.... Slices for extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
..... id 0..1stringUnique id for inter-element referencing
..... Slices for extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
..... url 1..1uriidentifies the meaning of the extension
..... value[x] 0..1Value of extension
...... valueBase64Binarybase64Binary
...... valueBooleanboolean
...... valueCanonicalcanonical(Any)
...... valueCodecode
...... valueDatedate
...... valueDateTimedateTime
...... valueDecimaldecimal
...... valueIdid
...... valueInstantinstant
...... valueIntegerinteger
...... valueMarkdownmarkdown
...... valueOidoid
...... valuePositiveIntpositiveInt
...... valueStringstring
...... valueTimetime
...... valueUnsignedIntunsignedInt
...... valueUriuri
...... valueUrlurl
...... valueUuiduuid
...... valueAddressAddress
...... valueAgeAge
...... valueAnnotationAnnotation
...... valueAttachmentAttachment
...... valueCodeableConceptCodeableConcept
...... valueCodingCoding
...... valueContactPointContactPoint
...... valueCountCount
...... valueDistanceDistance
...... valueDurationDuration
...... valueHumanNameHumanName
...... valueIdentifierIdentifier
...... valueMoneyMoney
...... valuePeriodPeriod
...... valueQuantityQuantity
...... valueRangeRange
...... valueRatioRatio
...... valueReferenceReference(Any)
...... valueSampledDataSampledData
...... valueSignatureSignature
...... valueTimingTiming
...... valueContactDetailContactDetail
...... valueContributorContributor
...... valueDataRequirementDataRequirement
...... valueExpressionExpression
...... valueParameterDefinitionParameterDefinition
...... valueRelatedArtifactRelatedArtifact
...... valueTriggerDefinitionTriggerDefinition
...... valueUsageContextUsageContext
...... valueDosageDosage
...... valueMetaMeta
.... url 1..1uri"rulesetId"
.... Slices for value[x] 1..1idValue of extension
Slice: Unordered, Closed by type:$this
..... value[x]:valueId 1..1idValue of extension
... extension:path S1..1ExtensionRuleset location path
.... id 0..1stringUnique id for inter-element referencing
.... Slices for extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
..... id 0..1stringUnique id for inter-element referencing
..... Slices for extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
..... url 1..1uriidentifies the meaning of the extension
..... value[x] 0..1Value of extension
...... valueBase64Binarybase64Binary
...... valueBooleanboolean
...... valueCanonicalcanonical(Any)
...... valueCodecode
...... valueDatedate
...... valueDateTimedateTime
...... valueDecimaldecimal
...... valueIdid
...... valueInstantinstant
...... valueIntegerinteger
...... valueMarkdownmarkdown
...... valueOidoid
...... valuePositiveIntpositiveInt
...... valueStringstring
...... valueTimetime
...... valueUnsignedIntunsignedInt
...... valueUriuri
...... valueUrlurl
...... valueUuiduuid
...... valueAddressAddress
...... valueAgeAge
...... valueAnnotationAnnotation
...... valueAttachmentAttachment
...... valueCodeableConceptCodeableConcept
...... valueCodingCoding
...... valueContactPointContactPoint
...... valueCountCount
...... valueDistanceDistance
...... valueDurationDuration
...... valueHumanNameHumanName
...... valueIdentifierIdentifier
...... valueMoneyMoney
...... valuePeriodPeriod
...... valueQuantityQuantity
...... valueRangeRange
...... valueRatioRatio
...... valueReferenceReference(Any)
...... valueSampledDataSampledData
...... valueSignatureSignature
...... valueTimingTiming
...... valueContactDetailContactDetail
...... valueContributorContributor
...... valueDataRequirementDataRequirement
...... valueExpressionExpression
...... valueParameterDefinitionParameterDefinition
...... valueRelatedArtifactRelatedArtifact
...... valueTriggerDefinitionTriggerDefinition
...... valueUsageContextUsageContext
...... valueDosageDosage
...... valueMetaMeta
.... url 1..1uri"path"
.... Slices for value[x] 1..1stringValue of extension
Slice: Unordered, Closed by type:$this
..... value[x]:valueString 1..1stringValue of extension
... extension:rule S1..*ExtensionThe referenced rule within the ruleset
.... id 0..1stringUnique id for inter-element referencing
.... Slices for extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... extension:ruleId S1..1ExtensionRule unique id within ruleset
..... id 0..1stringUnique id for inter-element referencing
..... Slices for extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
...... id 0..1stringUnique id for inter-element referencing
...... Slices for extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
...... url 1..1uriidentifies the meaning of the extension
...... value[x] 0..1Value of extension
....... valueBase64Binarybase64Binary
....... valueBooleanboolean
....... valueCanonicalcanonical(Any)
....... valueCodecode
....... valueDatedate
....... valueDateTimedateTime
....... valueDecimaldecimal
....... valueIdid
....... valueInstantinstant
....... valueIntegerinteger
....... valueMarkdownmarkdown
....... valueOidoid
....... valuePositiveIntpositiveInt
....... valueStringstring
....... valueTimetime
....... valueUnsignedIntunsignedInt
....... valueUriuri
....... valueUrlurl
....... valueUuiduuid
....... valueAddressAddress
....... valueAgeAge
....... valueAnnotationAnnotation
....... valueAttachmentAttachment
....... valueCodeableConceptCodeableConcept
....... valueCodingCoding
....... valueContactPointContactPoint
....... valueCountCount
....... valueDistanceDistance
....... valueDurationDuration
....... valueHumanNameHumanName
....... valueIdentifierIdentifier
....... valueMoneyMoney
....... valuePeriodPeriod
....... valueQuantityQuantity
....... valueRangeRange
....... valueRatioRatio
....... valueReferenceReference(Any)
....... valueSampledDataSampledData
....... valueSignatureSignature
....... valueTimingTiming
....... valueContactDetailContactDetail
....... valueContributorContributor
....... valueDataRequirementDataRequirement
....... valueExpressionExpression
....... valueParameterDefinitionParameterDefinition
....... valueRelatedArtifactRelatedArtifact
....... valueTriggerDefinitionTriggerDefinition
....... valueUsageContextUsageContext
....... valueDosageDosage
....... valueMetaMeta
..... url 1..1uri"ruleId"
..... Slices for value[x] 1..1idValue of extension
Slice: Unordered, Closed by type:$this
...... value[x]:valueId 1..1idValue of extension
.... extension:param 0..*ExtensionRule parameter template
..... id 0..1stringUnique id for inter-element referencing
..... Slices for extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
..... extension:paramName S1..1ExtensionParameter name matching external assert rule parameter
...... id 0..1stringUnique id for inter-element referencing
...... Slices for extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
....... id 0..1stringUnique id for inter-element referencing
....... Slices for extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
....... url 1..1uriidentifies the meaning of the extension
....... value[x] 0..1Value of extension
........ valueBase64Binarybase64Binary
........ valueBooleanboolean
........ valueCanonicalcanonical(Any)
........ valueCodecode
........ valueDatedate
........ valueDateTimedateTime
........ valueDecimaldecimal
........ valueIdid
........ valueInstantinstant
........ valueIntegerinteger
........ valueMarkdownmarkdown
........ valueOidoid
........ valuePositiveIntpositiveInt
........ valueStringstring
........ valueTimetime
........ valueUnsignedIntunsignedInt
........ valueUriuri
........ valueUrlurl
........ valueUuiduuid
........ valueAddressAddress
........ valueAgeAge
........ valueAnnotationAnnotation
........ valueAttachmentAttachment
........ valueCodeableConceptCodeableConcept
........ valueCodingCoding
........ valueContactPointContactPoint
........ valueCountCount
........ valueDistanceDistance
........ valueDurationDuration
........ valueHumanNameHumanName
........ valueIdentifierIdentifier
........ valueMoneyMoney
........ valuePeriodPeriod
........ valueQuantityQuantity
........ valueRangeRange
........ valueRatioRatio
........ valueReferenceReference(Any)
........ valueSampledDataSampledData
........ valueSignatureSignature
........ valueTimingTiming
........ valueContactDetailContactDetail
........ valueContributorContributor
........ valueDataRequirementDataRequirement
........ valueExpressionExpression
........ valueParameterDefinitionParameterDefinition
........ valueRelatedArtifactRelatedArtifact
........ valueTriggerDefinitionTriggerDefinition
........ valueUsageContextUsageContext
........ valueDosageDosage
........ valueMetaMeta
...... url 1..1uri"name"
...... Slices for value[x] 1..1stringValue of extension
Slice: Unordered, Closed by type:$this
....... value[x]:valueString 1..1stringValue of extension
..... extension:paramValue S1..1ExtensionParameter value defined either explicitly or dynamically
...... id 0..1stringUnique id for inter-element referencing
...... Slices for extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
....... id 0..1stringUnique id for inter-element referencing
....... Slices for extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
....... url 1..1uriidentifies the meaning of the extension
....... value[x] 0..1Value of extension
........ valueBase64Binarybase64Binary
........ valueBooleanboolean
........ valueCanonicalcanonical(Any)
........ valueCodecode
........ valueDatedate
........ valueDateTimedateTime
........ valueDecimaldecimal
........ valueIdid
........ valueInstantinstant
........ valueIntegerinteger
........ valueMarkdownmarkdown
........ valueOidoid
........ valuePositiveIntpositiveInt
........ valueStringstring
........ valueTimetime
........ valueUnsignedIntunsignedInt
........ valueUriuri
........ valueUrlurl
........ valueUuiduuid
........ valueAddressAddress
........ valueAgeAge
........ valueAnnotationAnnotation
........ valueAttachmentAttachment
........ valueCodeableConceptCodeableConcept
........ valueCodingCoding
........ valueContactPointContactPoint
........ valueCountCount
........ valueDistanceDistance
........ valueDurationDuration
........ valueHumanNameHumanName
........ valueIdentifierIdentifier
........ valueMoneyMoney
........ valuePeriodPeriod
........ valueQuantityQuantity
........ valueRangeRange
........ valueRatioRatio
........ valueReferenceReference(Any)
........ valueSampledDataSampledData
........ valueSignatureSignature
........ valueTimingTiming
........ valueContactDetailContactDetail
........ valueContributorContributor
........ valueDataRequirementDataRequirement
........ valueExpressionExpression
........ valueParameterDefinitionParameterDefinition
........ valueRelatedArtifactRelatedArtifact
........ valueTriggerDefinitionTriggerDefinition
........ valueUsageContextUsageContext
........ valueDosageDosage
........ valueMetaMeta
...... url 1..1uri"value"
...... Slices for value[x] 1..1stringValue of extension
Slice: Unordered, Closed by type:$this
....... value[x]:valueString 1..1stringValue of extension
..... url 1..1uri"param"
..... value[x] 0..1Value of extension
...... valueBase64Binarybase64Binary
...... valueBooleanboolean
...... valueCanonicalcanonical(Any)
...... valueCodecode
...... valueDatedate
...... valueDateTimedateTime
...... valueDecimaldecimal
...... valueIdid
...... valueInstantinstant
...... valueIntegerinteger
...... valueMarkdownmarkdown
...... valueOidoid
...... valuePositiveIntpositiveInt
...... valueStringstring
...... valueTimetime
...... valueUnsignedIntunsignedInt
...... valueUriuri
...... valueUrlurl
...... valueUuiduuid
...... valueAddressAddress
...... valueAgeAge
...... valueAnnotationAnnotation
...... valueAttachmentAttachment
...... valueCodeableConceptCodeableConcept
...... valueCodingCoding
...... valueContactPointContactPoint
...... valueCountCount
...... valueDistanceDistance
...... valueDurationDuration
...... valueHumanNameHumanName
...... valueIdentifierIdentifier
...... valueMoneyMoney
...... valuePeriodPeriod
...... valueQuantityQuantity
...... valueRangeRange
...... valueRatioRatio
...... valueReferenceReference(Any)
...... valueSampledDataSampledData
...... valueSignatureSignature
...... valueTimingTiming
...... valueContactDetailContactDetail
...... valueContributorContributor
...... valueDataRequirementDataRequirement
...... valueExpressionExpression
...... valueParameterDefinitionParameterDefinition
...... valueRelatedArtifactRelatedArtifact
...... valueTriggerDefinitionTriggerDefinition
...... valueUsageContextUsageContext
...... valueDosageDosage
...... valueMetaMeta
.... extension:output 0..*ExtensionRule output template
..... id 0..1stringUnique id for inter-element referencing
..... Slices for extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
..... extension:outputName S1..1ExtensionOutput name matching external assert rule output
...... id 0..1stringUnique id for inter-element referencing
...... Slices for extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
....... id 0..1stringUnique id for inter-element referencing
....... Slices for extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
....... url 1..1uriidentifies the meaning of the extension
....... value[x] 0..1Value of extension
........ valueBase64Binarybase64Binary
........ valueBooleanboolean
........ valueCanonicalcanonical(Any)
........ valueCodecode
........ valueDatedate
........ valueDateTimedateTime
........ valueDecimaldecimal
........ valueIdid
........ valueInstantinstant
........ valueIntegerinteger
........ valueMarkdownmarkdown
........ valueOidoid
........ valuePositiveIntpositiveInt
........ valueStringstring
........ valueTimetime
........ valueUnsignedIntunsignedInt
........ valueUriuri
........ valueUrlurl
........ valueUuiduuid
........ valueAddressAddress
........ valueAgeAge
........ valueAnnotationAnnotation
........ valueAttachmentAttachment
........ valueCodeableConceptCodeableConcept
........ valueCodingCoding
........ valueContactPointContactPoint
........ valueCountCount
........ valueDistanceDistance
........ valueDurationDuration
........ valueHumanNameHumanName
........ valueIdentifierIdentifier
........ valueMoneyMoney
........ valuePeriodPeriod
........ valueQuantityQuantity
........ valueRangeRange
........ valueRatioRatio
........ valueReferenceReference(Any)
........ valueSampledDataSampledData
........ valueSignatureSignature
........ valueTimingTiming
........ valueContactDetailContactDetail
........ valueContributorContributor
........ valueDataRequirementDataRequirement
........ valueExpressionExpression
........ valueParameterDefinitionParameterDefinition
........ valueRelatedArtifactRelatedArtifact
........ valueTriggerDefinitionTriggerDefinition
........ valueUsageContextUsageContext
........ valueDosageDosage
........ valueMetaMeta
...... url 1..1uri"name"
...... Slices for value[x] 1..1stringValue of extension
Slice: Unordered, Closed by type:$this
....... value[x]:valueString 1..1stringValue of extension
..... extension:outputType S0..1ExtensionOutput type value defined either explicitly or dynamically
...... id 0..1stringUnique id for inter-element referencing
...... Slices for extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
....... id 0..1stringUnique id for inter-element referencing
....... Slices for extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
....... url 1..1uriidentifies the meaning of the extension
....... value[x] 0..1Value of extension
........ valueBase64Binarybase64Binary
........ valueBooleanboolean
........ valueCanonicalcanonical(Any)
........ valueCodecode
........ valueDatedate
........ valueDateTimedateTime
........ valueDecimaldecimal
........ valueIdid
........ valueInstantinstant
........ valueIntegerinteger
........ valueMarkdownmarkdown
........ valueOidoid
........ valuePositiveIntpositiveInt
........ valueStringstring
........ valueTimetime
........ valueUnsignedIntunsignedInt
........ valueUriuri
........ valueUrlurl
........ valueUuiduuid
........ valueAddressAddress
........ valueAgeAge
........ valueAnnotationAnnotation
........ valueAttachmentAttachment
........ valueCodeableConceptCodeableConcept
........ valueCodingCoding
........ valueContactPointContactPoint
........ valueCountCount
........ valueDistanceDistance
........ valueDurationDuration
........ valueHumanNameHumanName
........ valueIdentifierIdentifier
........ valueMoneyMoney
........ valuePeriodPeriod
........ valueQuantityQuantity
........ valueRangeRange
........ valueRatioRatio
........ valueReferenceReference(Any)
........ valueSampledDataSampledData
........ valueSignatureSignature
........ valueTimingTiming
........ valueContactDetailContactDetail
........ valueContributorContributor
........ valueDataRequirementDataRequirement
........ valueExpressionExpression
........ valueParameterDefinitionParameterDefinition
........ valueRelatedArtifactRelatedArtifact
........ valueTriggerDefinitionTriggerDefinition
........ valueUsageContextUsageContext
........ valueDosageDosage
........ valueMetaMeta
...... url 1..1uri"type"
...... Slices for value[x] 1..1stringValue of extension
Slice: Unordered, Closed by type:$this
....... value[x]:valueString 1..1stringValue of extension
..... extension:outputContentType S0..1ExtensioncontentType value defined either explicitly or dynamically
...... id 0..1stringUnique id for inter-element referencing
...... Slices for extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
....... id 0..1stringUnique id for inter-element referencing
....... Slices for extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
....... url 1..1uriidentifies the meaning of the extension
....... value[x] 0..1Value of extension
........ valueBase64Binarybase64Binary
........ valueBooleanboolean
........ valueCanonicalcanonical(Any)
........ valueCodecode
........ valueDatedate
........ valueDateTimedateTime
........ valueDecimaldecimal
........ valueIdid
........ valueInstantinstant
........ valueIntegerinteger
........ valueMarkdownmarkdown
........ valueOidoid
........ valuePositiveIntpositiveInt
........ valueStringstring
........ valueTimetime
........ valueUnsignedIntunsignedInt
........ valueUriuri
........ valueUrlurl
........ valueUuiduuid
........ valueAddressAddress
........ valueAgeAge
........ valueAnnotationAnnotation
........ valueAttachmentAttachment
........ valueCodeableConcept