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: AEGIS Touchstone Testing TestScript Rule Extension

Official URL: http://touchstone.aegis.net/touchstone/fhir/testing/StructureDefinition/testscript-rule Version: 2.0.0
Active as of 2023-06-29 Computable Name: AEGISTouchstoneTestingTestScriptRuleExtension

Formal definitions of Touchstone TestScript rule extensions

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

Context of Use

This extension may be used on the following element(s):

  • Element ID TestScript

Scope and Usage

This Complex Extension for testscript-rule defines the reference to the external rule file and allows zero or more rule parameter name and value pairs.

Usage info

Usage:

Formal Views of Extension Content

Description of Profiles, Differentials, Snapshots, and how the XML and JSON presentations work.

This structure is derived from Extension

Summary

Complex Extension: Formal definitions of Touchstone TestScript rule extensions

  • ruleId: id: The identifier for this rule used in rulesets or asserts.
  • path: string: Absolute or relative location path to the rule script.
  • paramName: string: Descriptive name for this parameter that matches the external assert rule parameter name.
  • paramValue: string: The explicit or dynamic value for the parameter that will be passed on to the external rule template.
  • outputName: string: Descriptive name for this output that matches the external assert rule output name.
  • outputResourceType: string: The explicit or dynamic FHIR resource type value for the output that will be returned to the external rule template.
  • outputType: string: The explicit or dynamic type value for the output that will be returned to the external rule template.
  • outputContentType: string: The explicit or dynamic contentType value for the output that will be returned to the external rule template.

This structure is derived from Extension

NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension 0..*ExtensionAssert rule used within the test script
... extension:ruleId S1..1ExtensionAssert rule unique id within TestScript
.... url 1..1uri"ruleId"
.... valueId 1..1idValue of extension
... extension:path S1..1ExtensionRule location path
.... url 1..1uri"path"
.... valueString 1..1stringValue 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:outputResourceType S0..1ExtensionOutput FHIR resource type value defined either explicitly or dynamically
..... url 1..1uri"resourceType"
..... 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"http://touchstone.aegis.net/touchstone/fhir/testing/StructureDefinition/testscript-rule"
... value[x] 0..0

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension 0..*ExtensionAssert rule used within the test script
... id 0..1stringUnique id for inter-element referencing
... Slices for extension 2..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
... extension:ruleId S1..1ExtensionAssert rule unique id within TestScript
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... 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:path S1..1ExtensionRule location path
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... 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:param 0..*ExtensionRule parameter template
.... id 0..1stringUnique id for inter-element referencing
.... Slices for extension 2..*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
..... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
..... 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
..... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
..... 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 1..*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
..... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
..... 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:outputResourceType S0..1ExtensionOutput FHIR resource type value defined either explicitly or dynamically
..... id 0..1stringUnique id for inter-element referencing
..... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
..... url 1..1uri"resourceType"
..... 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
..... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
..... 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
..... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
..... url 1..1uri"contentType"
..... Slices for value[x] 1..1stringValue of extension
Slice: Unordered, Closed by type:$this
...... value[x]:valueString 1..1stringValue of extension
.... url 1..1uri"output"
.... 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"http://touchstone.aegis.net/touchstone/fhir/testing/StructureDefinition/testscript-rule"

doco Documentation for this format

This structure is derived from Extension

Summary

Complex Extension: Formal definitions of Touchstone TestScript rule extensions

  • ruleId: id: The identifier for this rule used in rulesets or asserts.
  • path: string: Absolute or relative location path to the rule script.
  • paramName: string: Descriptive name for this parameter that matches the external assert rule parameter name.
  • paramValue: string: The explicit or dynamic value for the parameter that will be passed on to the external rule template.
  • outputName: string: Descriptive name for this output that matches the external assert rule output name.
  • outputResourceType: string: The explicit or dynamic FHIR resource type value for the output that will be returned to the external rule template.
  • outputType: string: The explicit or dynamic type value for the output that will be returned to the external rule template.
  • outputContentType: string: The explicit or dynamic contentType value for the output that will be returned to the external rule template.

Differential View

This structure is derived from Extension

NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension 0..*ExtensionAssert rule used within the test script
... extension:ruleId S1..1ExtensionAssert rule unique id within TestScript
.... url 1..1uri"ruleId"
.... valueId 1..1idValue of extension
... extension:path S1..1ExtensionRule location path
.... url 1..1uri"path"
.... valueString 1..1stringValue 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:outputResourceType S0..1ExtensionOutput FHIR resource type value defined either explicitly or dynamically
..... url 1..1uri"resourceType"
..... 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"http://touchstone.aegis.net/touchstone/fhir/testing/StructureDefinition/testscript-rule"
... value[x] 0..0

doco Documentation for this format

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension 0..*ExtensionAssert rule used within the test script
... id 0..1stringUnique id for inter-element referencing
... Slices for extension 2..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
... extension:ruleId S1..1ExtensionAssert rule unique id within TestScript
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... 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:path S1..1ExtensionRule location path
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... 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:param 0..*ExtensionRule parameter template
.... id 0..1stringUnique id for inter-element referencing
.... Slices for extension 2..*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
..... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
..... 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
..... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
..... 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 1..*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
..... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
..... 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:outputResourceType S0..1ExtensionOutput FHIR resource type value defined either explicitly or dynamically
..... id 0..1stringUnique id for inter-element referencing
..... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
..... url 1..1uri"resourceType"
..... 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
..... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
..... 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
..... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
..... url 1..1uri"contentType"
..... Slices for value[x] 1..1stringValue of extension
Slice: Unordered, Closed by type:$this
...... value[x]:valueString 1..1stringValue of extension
.... url 1..1uri"output"
.... 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"http://touchstone.aegis.net/touchstone/fhir/testing/StructureDefinition/testscript-rule"

doco Documentation for this format

 

Other representations of profile: CSV, Excel, Schematron