Base StructureDefinition for TestScript Resource

TestScript
url
Logical URI to reference this test script (globally unique)
identifier
Additional identifier for the test script
version
Business version of the test script
name
Name for this test script (computer friendly)
title
Name for this test script (human friendly)
status
draft | active | retired | unknown
experimental
For testing purposes, not real usage
date
Date this was last changed
publisher
Name of the publisher (organization or individual)
contact
Contact details for the publisher
description
Natural language description of the test script
useContext
Context the content is intended to support
jurisdiction
Intended jurisdiction for test script (if applicable)
purpose
Why this test script is defined
origin
An abstract server representing a client or sender in a message exchange
index
The index of the abstract origin server starting at 1
profile
FHIR-Client | FHIR-SDC-FormFiller
destination
An abstract server representing a destination or receiver in a message exchange
index
The index of the abstract destination server starting at 1
profile
FHIR-Server | FHIR-SDC-FormManager | FHIR-SDC-FormReceiver | FHIR-SDC-FormProcessor
metadata
Required capability that is assumed to function correctly on the FHIR server being tested
capability
Capabilities that are assumed to function correctly on the FHIR server being tested
required
Are the capabilities required?
validated
Are the capabilities validated?
description
The expected capabilities of the server
origin
Which origin server these requirements apply to
destination
Which server these requirements apply to
capabilities
Required Capability Statement
fixture
Fixture in the test script - by reference (uri)
autocreate
Whether or not to implicitly create the fixture during setup
autodelete
Whether or not to implicitly delete the fixture during teardown
resource
Reference of the resource
profile
Reference of the validation profile
variable
Placeholder for evaluated elements
name
Descriptive name for this variable
defaultValue
Default, hard-coded, or user-defined value for this variable
description
Natural language description of the variable
expression
The fluentpath expression against the fixture body
headerField
HTTP header field name for source
hint
Hint help text for default value to enter
path
XPath or JSONPath against the fixture body
sourceId
Fixture Id of source expression or headerField within this variable
rule
Assert rule used within the test script
resource
Assert rule resource reference
param
Rule parameter template
name
Parameter name matching external assert rule parameter
value
Parameter value defined either explicitly or dynamically
ruleset
Assert ruleset used within the test script
resource
Assert ruleset resource reference
rule
The referenced rule within the ruleset
ruleId
Id of referenced rule within the ruleset
param
Ruleset rule parameter template
name
Parameter name matching external assert ruleset rule parameter
value
Parameter value defined either explicitly or dynamically
setup
A series of required setup operations before tests are executed
action
A setup operation or assert to perform
operation
The setup operation to perform
type
The operation code type that will be executed
resource
Resource type
label
Tracking/logging operation label
description
Tracking/reporting operation description
accept
xml | json | ttl | none
contentType
xml | json | ttl | none
destination
Server responding to the request
encodeRequestUrl
Whether or not to send the request url in encoded format
origin
Server initiating the request
params
Explicitly defined path parameters
requestHeader
Each operation can have one or more header elements
field
HTTP header field name
value
HTTP headerfield value
requestId
Fixture Id of mapped request
responseId
Fixture Id of mapped response
sourceId
Fixture Id of body for PUT and POST requests
targetId
Id of fixture used for extracting the [id], [type], and [vid] for GET requests
url
Request URL
assert
The assertion to perform
label
Tracking/logging assertion label
description
Tracking/reporting assertion description
direction
response | request
compareToSourceId
Id of the source fixture to be evaluated
compareToSourceExpression
The fluentpath expression to evaluate against the source fixture
compareToSourcePath
XPath or JSONPath expression to evaluate against the source fixture
contentType
xml | json | ttl | none
expression
The fluentpath expression to be evaluated
headerField
HTTP header field name
minimumId
Fixture Id of minimum content resource
operator
equals | notEquals | in | notIn | greaterThan | lessThan | empty | notEmpty | contains | notContains | eval
path
XPath or JSONPath expression
requestMethod
delete | get | options | patch | post | put
requestURL
Request URL comparison value
resource
Resource type
response
okay | created | noContent | notModified | bad | forbidden | notFound | methodNotAllowed | conflict | gone | preconditionFailed | unprocessable
responseCode
HTTP response code to test
rule
The reference to a TestScript.rule
ruleId
Id of the TestScript.rule
param
Rule parameter template
name
Parameter name matching external assert rule parameter
value
Parameter value defined either explicitly or dynamically
ruleset
The reference to a TestScript.ruleset
rulesetId
Id of the TestScript.ruleset
rule
The referenced rule within the ruleset
ruleId
Id of referenced rule within the ruleset
param
Rule parameter template
name
Parameter name matching external assert ruleset rule parameter
value
Parameter value defined either explicitly or dynamically
sourceId
Fixture Id of source expression or headerField
validateProfileId
Profile Id of validation profile reference
value
The value to compare to
warningOnly
Will this assert produce a warning only on error?
test
A test in this script
name
Tracking/logging name of this test
description
Tracking/reporting short description of the test
action
A test operation or assert to perform
operation
The setup operation to perform
assert
The setup assertion to perform
teardown
A series of required clean up steps
action
One or more teardown operations to perform
operation
The teardown operation to perform