Embedded SVG
An abstract server used in operations within this test script in the origin element
testSystem
[0..*]
A link to the FHIR specification that this test is covering
link
[0..*]
Capabilities that must exist and are assumed to function correctly on the FHIR server being tested
capability
[1..*]
The required capability must exist and are assumed to function correctly on the FHIR server being tested
metadata
[0..1]
The scope indicates a conformance artifact that is tested by the test(s) within this test case and the expectation of the test outcome(s) as well as the intended test phase inclusion
scope
[0..*]
Fixture in the test script - by reference (uri). All fixtures are required for the test script to execute
fixture
[0..*]
Variable is set based either on element value in response body or on header field value in the response headers
variable
[0..*]
Optional named parameter(s) to provide input values to the identified common collection of actions from this or an external TestScript
parameter
[0..*]
Links or references to common collection(s) of actions in this or an external TestScript instance
common
[0..1]
Header elements would be used to set HTTP headers
requestHeader
[0..*]
The operation to perform
operation
[0..1]
Evaluates the results of previous operations to determine if the server under test behaves appropriately
assert
[0..1]
Action would contain either a common or operation or an assertion
action
[0..*]
A series of required setup operations before tests are executed
setup
[0..1]
Links or references to common collection(s) of actions in this or an external TestScript instance
common
[0..1]
An operation would involve a REST request to a server
operation
[0..1]
Evaluates the results of previous operations to determine if the server under test behaves appropriately
assert
[0..1]
Action would contain either an operation or an assertion
action
[0..*]
A test in this script
test
[0..*]
Links or references to common collection(s) of actions in this or an external TestScript instance. Action asserts SHALL be ignored for the TestScript.teardown
common
[0..1]
An operation would involve a REST request to a server
operation
[1..1]
The teardown action will only contain an operation
action
[1..*]
A series of operations required to clean up after all the tests are executed (successfully or otherwise)
teardown
[0..1]
Optional named parameter(s) to provide input values to this common collection of actions from this or an external TestScript
parameter
[0..*]
An operation would involve a REST request to a server
operation
[0..1]
Evaluates the results of previous operations to determine if the server under test behaves appropriately
assert
[0..1]
An action will contain either an operation or an assertion but not both
action
[1..*]
A common collection of actions that can be re-used in a TestScript
common
[0..*]
TestScript
(
CanonicalResource
)
id
:
id
[0..1]
meta
:
Meta
[0..1]
implicitRules
:
uri
[0..1]
language
:
code
[0..1] «
AllLanguages!
»
text
:
Narrative
[0..1]
contained
:
Resource
[0..*]
extension
:
Extension
[0..*]
modifierExtension
:
Extension
[0..*]
url
:
uri
[0..1]
identifier
:
Identifier
[0..*]
version
:
string
[0..1]
versionAlgorithm[x]
:
DataType
[0..1] «
string
|
Coding
;
VersionAlgorithm+
»
name
:
string
[1..1]
title
:
string
[0..1]
status
:
code
[1..1] «
PublicationStatus!
»
experimental
:
boolean
[0..1]
date
:
dateTime
[0..1]
publisher
:
string
[0..1]
contact
:
ContactDetail
[0..*]
description
:
markdown
[0..1]
useContext
:
UsageContext
[0..*]
jurisdiction
:
CodeableConcept
[0..*] «
JurisdictionValueSet+
»
purpose
:
markdown
[0..1]
copyright
:
markdown
[0..1]
copyrightLabel
:
string
[0..1]
profile
:
canonical
[0..*] «
StructureDefinition
»
TestScriptTestSystem
id
:
id
[0..1]
extension
:
Extension
[0..*]
modifierExtension
:
Extension
[0..*]
index
:
positiveInt
[1..1]
title
:
string
[1..1]
actor
:
canonical
[0..*] «
ActorDefinition
|
CapabilityStatement
»
description
:
markdown
[0..1]
url
:
url
[0..1]
TestScriptMetadata
id
:
id
[0..1]
extension
:
Extension
[0..*]
modifierExtension
:
Extension
[0..*]
TestScriptMetadataLink
id
:
id
[0..1]
extension
:
Extension
[0..*]
modifierExtension
:
Extension
[0..*]
url
:
uri
[1..1]
description
:
string
[0..1]
TestScriptMetadataCapability
id
:
id
[0..1]
extension
:
Extension
[0..*]
modifierExtension
:
Extension
[0..*]
required
:
boolean
[1..1]
validated
:
boolean
[1..1]
description
:
string
[0..1]
origin
:
integer
[0..*]
destination
:
integer
[0..1]
link
:
uri
[0..*]
capabilities
:
canonical
[1..1] «
CapabilityStatement
»
TestScriptScope
id
:
id
[0..1]
extension
:
Extension
[0..*]
modifierExtension
:
Extension
[0..*]
artifact
:
canonical
[1..1] «
Resource
»
conformance
:
CodeableConcept
[0..1] «
TestScriptScopeConformanceType+
»
phase
:
CodeableConcept
[0..1] «
TestScriptScopePhaseType+
»
TestScriptFixture
id
:
id
[0..1]
extension
:
Extension
[0..*]
modifierExtension
:
Extension
[0..*]
autocreate
:
boolean
[1..1]
autodelete
:
boolean
[1..1]
resource
:
Reference
[0..1] «
Resource
»
expression
:
Expression
[0..1]
TestScriptVariable
id
:
id
[0..1]
extension
:
Extension
[0..*]
modifierExtension
:
Extension
[0..*]
name
:
string
[1..1]
defaultValue
:
string
[0..1]
description
:
string
[0..1]
expression
:
Expression
[0..1]
headerField
:
string
[0..1]
hint
:
string
[0..1]
path
:
string
[0..1]
sourceId
:
id
[0..1]
TestScriptSetup
id
:
id
[0..1]
extension
:
Extension
[0..*]
modifierExtension
:
Extension
[0..*]
TestScriptSetupAction
id
:
id
[0..1]
extension
:
Extension
[0..*]
modifierExtension
:
Extension
[0..*]
TestScriptSetupActionCommon
id
:
id
[0..1]
extension
:
Extension
[0..*]
modifierExtension
:
Extension
[0..*]
testScript
:
canonical
[0..1] «
TestScript
»
keyRef
:
id
[1..1]
TestScriptSetupActionCommonParameter
id
:
id
[0..1]
extension
:
Extension
[0..*]
modifierExtension
:
Extension
[0..*]
name
:
string
[1..1]
value
:
string
[1..1]
TestScriptSetupActionOperation
id
:
id
[0..1]
extension
:
Extension
[0..*]
modifierExtension
:
Extension
[0..*]
type
:
Coding
[0..1] «
TestScriptOperationCode+
»
resource
:
uri
[0..1] «
ConcreteFHIRTypes+
»
label
:
string
[0..1]
description
:
string
[0..1]
accept
:
code
[0..1] «
SupplementedMimeTypes!
»
contentType
:
code
[0..1] «
SupplementedMimeTypes!
»
destination
:
integer
[0..1]
encodeRequestUrl
:
boolean
[1..1]
method
:
code
[0..1] «
TestScriptRequestMethodCode!
»
origin
:
integer
[0..1]
params
:
string
[0..1]
requestId
:
id
[0..1]
responseId
:
id
[0..1]
sourceId
:
id
[0..1]
targetId
:
id
[0..1]
url
:
string
[0..1]
TestScriptSetupActionOperationRequestHeader
id
:
id
[0..1]
extension
:
Extension
[0..*]
modifierExtension
:
Extension
[0..*]
field
:
string
[1..1]
value
:
string
[1..1]
TestScriptSetupActionAssert
id
:
id
[0..1]
extension
:
Extension
[0..*]
modifierExtension
:
Extension
[0..*]
label
:
string
[0..1]
key
:
id
[0..1]
evaluateBasedOn
:
id
[0..*]
description
:
string
[0..1]
direction
:
code
[0..1] «
AssertionDirectionType!
»
compareToSourceId
:
string
[0..1]
compareToSourceExpression
:
Expression
[0..1]
compareToSourcePath
:
string
[0..1]
contentType
:
code
[0..1] «
SupplementedMimeTypes!
»
defaultManualCompletion
:
code
[0..1] «
AssertionManualCompletionType!
»
expression
:
Expression
[0..1]
headerField
:
string
[0..1]
minimumId
:
string
[0..1]
navigationLinks
:
boolean
[0..1]
operator
:
code
[0..1] «
AssertionOperatorType!
»
path
:
string
[0..1]
requestMethod
:
code
[0..1] «
TestScriptRequestMethodCode!
»
requestURL
:
string
[0..1]
resource
:
uri
[0..1] «
ConcreteFHIRTypes+
»
response
:
code
[0..1] «
AssertionResponseTypes!
»
responseCode
:
string
[0..1]
sourceId
:
id
[0..1]
stopTestOnFail
:
boolean
[1..1]
validateProfileId
:
id
[0..1]
value
:
string
[0..1]
warningOnly
:
boolean
[1..1]
TestScriptSetupActionAssertRequirement
id
:
id
[0..1]
extension
:
Extension
[0..*]
modifierExtension
:
Extension
[0..*]
reference
:
canonical
[1..1] «
Requirements
»
key
:
id
[1..1]
TestScriptTest
id
:
id
[0..1]
extension
:
Extension
[0..*]
modifierExtension
:
Extension
[0..*]
name
:
string
[0..1]
description
:
string
[0..1]
TestScriptTestAction
id
:
id
[0..1]
extension
:
Extension
[0..*]
modifierExtension
:
Extension
[0..*]
TestScriptTeardown
id
:
id
[0..1]
extension
:
Extension
[0..*]
modifierExtension
:
Extension
[0..*]
TestScriptTeardownAction
id
:
id
[0..1]
extension
:
Extension
[0..*]
modifierExtension
:
Extension
[0..*]
TestScriptCommon
id
:
id
[0..1]
extension
:
Extension
[0..*]
modifierExtension
:
Extension
[0..*]
key
:
id
[1..1]
name
:
string
[0..1]
description
:
string
[0..1]
TestScriptCommonParameter
id
:
id
[0..1]
extension
:
Extension
[0..*]
modifierExtension
:
Extension
[0..*]
name
:
string
[0..1]
description
:
string
[0..1]
TestScriptCommonAction
id
:
id
[0..1]
extension
:
Extension
[0..*]
modifierExtension
:
Extension
[0..*]
External SVG