TestScript

TestScript

draftFHIR Core package4.3.0resource23 key elements

A structured set of tests against a FHIR server or client implementation to determine compliance against the FHIR specification.

Metadata

hl7.org/fhir
Canonical URL
http://hl7.org/fhir/StructureDefinition/TestScript
ID
TestScript
Type
TestScript
Base Definition
DomainResource
Derivation
specialization
Mandatory and Must-Support Elements

Elements with cardinality > 0 or marked as Must Support (S)

PathCard.TypeFlagsDescription
url1..1
uri
1+
Canonical identifier for this test script, represented as a URI (globally unique)
name1..1
string
1+
Name for this test script (computer friendly)
status1..1
code
1+
draft | active | retired | unknown
origin.index1..1
integer
1+
The index of the abstract origin server starting at 1
origin.profile1..1
Coding
1+
FHIR-Client | FHIR-SDC-FormFiller
destination.index1..1
integer
1+
The index of the abstract destination server starting at 1
destination.profile1..1
Coding
1+
FHIR-Server | FHIR-SDC-FormManager | FHIR-SDC-FormReceiver | FHIR-SDC-FormProcessor
metadata.link.url1..1
uri
1+
URL to the specification
metadata.capability1..*
BackboneElement
1+
Capabilities that are assumed to function correctly on the FHIR server being tested
metadata.capability.required1..1
boolean
1+
Are the capabilities required?
metadata.capability.validated1..1
boolean
1+
Are the capabilities validated?
metadata.capability.capabilities1..1
canonical
1+
Required Capability Statement
fixture.autocreate1..1
boolean
1+
Whether or not to implicitly create the fixture during setup
fixture.autodelete1..1
boolean
1+
Whether or not to implicitly delete the fixture during teardown
variable.name1..1
string
1+
Descriptive name for this variable
setup.action1..*
BackboneElement
1+
A setup operation or assert to perform
setup.action.operation.encodeRequestUrl1..1
boolean
1+
Whether or not to send the request url in encoded format
setup.action.operation.requestHeader.field1..1
string
1+
HTTP header field name
setup.action.operation.requestHeader.value1..1
string
1+
HTTP headerfield value
setup.action.assert.warningOnly1..1
boolean
1+
Will this assert produce a warning only on error?
test.action1..*
BackboneElement
1+
A test operation or assert to perform
teardown.action1..*
BackboneElement
1+
One or more teardown operations to perform
teardown.action.operation1..1
1+
The teardown operation to perform