Properties

NameRequiredTypeDescription
urlYesuriCanonical identifier for this test script, represented as a URI (globally unique)
identifierNoIdentifierAdditional identifier for the test script
versionNostringBusiness version of the test script
nameYesstringName for this test script (computer friendly)
titleNostringName for this test script (human friendly)
statusYescodedraft / active / retired / unknown
experimentalNobooleanFor testing purposes, not real usage
dateNodateTimeDate last changed
publisherNostringName of the publisher (organization or individual)
contactNoContactDetail[]Contact details for the publisher
descriptionNomarkdownNatural language description of the test script
useContextNoUsageContext[]The context that the content is intended to support
jurisdictionNoCodeableConcept[]Intended jurisdiction for test script (if applicable)
purposeNomarkdownWhy this test script is defined
copyrightNomarkdownUse and/or publishing restrictions
originNoTestScriptOriginAn abstract server representing a client or sender in a message exchange
- idNostringUnique id for inter-element referencing
- extensionNoExtension[]Additional content defined by implementations
- modifierExtensionNoExtension[]Extensions that cannot be ignored even if unrecognized
- indexYesintegerThe index of the abstract origin server starting at 1
- profileYesCodingFHIR-Client / FHIR-SDC-FormFiller
destinationNoTestScriptDestinationAn abstract server representing a destination or receiver in a message exchange
- idNostringUnique id for inter-element referencing
- extensionNoExtension[]Additional content defined by implementations
- modifierExtensionNoExtension[]Extensions that cannot be ignored even if unrecognized
- indexYesintegerThe index of the abstract destination server starting at 1
- profileYesCodingFHIR-Server / FHIR-SDC-FormManager / FHIR-SDC-FormReceiver / FHIR-SDC-FormProcessor
metadataNoTestScriptMetadataRequired capability that is assumed to function correctly on the FHIR server being tested
- idNostringUnique id for inter-element referencing
- extensionNoExtension[]Additional content defined by implementations
- modifierExtensionNoExtension[]Extensions that cannot be ignored even if unrecognized
- linkNoTestScriptMetadataLinkLinks to the FHIR specification
- idNostringUnique id for inter-element referencing
- extensionNoExtension[]Additional content defined by implementations
- modifierExtensionNoExtension[]Extensions that cannot be ignored even if unrecognized
- urlYesuriURL to the specification
- descriptionNostringShort description
- capabilityYesTestScriptMetadataCapabilityCapabilities that are assumed to function correctly on the FHIR server being tested
- idNostringUnique id for inter-element referencing
- extensionNoExtension[]Additional content defined by implementations
- modifierExtensionNoExtension[]Extensions that cannot be ignored even if unrecognized
- requiredYesbooleanAre the capabilities required?
- validatedYesbooleanAre the capabilities validated?
- descriptionNostringThe expected capabilities of the server
- originNointeger[]Which origin server these requirements apply to
- destinationNointegerWhich server these requirements apply to
- linkNouri[]Links to the FHIR specification
- capabilitiesYescanonicalRequired Capability Statement
fixtureNoTestScriptFixtureFixture in the test script - by reference (uri)
- idNostringUnique id for inter-element referencing
- extensionNoExtension[]Additional content defined by implementations
- modifierExtensionNoExtension[]Extensions that cannot be ignored even if unrecognized
- autocreateYesbooleanWhether or not to implicitly create the fixture during setup
- autodeleteYesbooleanWhether or not to implicitly delete the fixture during teardown
- resourceNoReference<Resource>Reference of the resource
profileNoReference<Resource>[]Reference of the validation profile
variableNoTestScriptVariablePlaceholder for evaluated elements
- idNostringUnique id for inter-element referencing
- extensionNoExtension[]Additional content defined by implementations
- modifierExtensionNoExtension[]Extensions that cannot be ignored even if unrecognized
- nameYesstringDescriptive name for this variable
- defaultValueNostringDefault, hard-coded, or user-defined value for this variable
- descriptionNostringNatural language description of the variable
- expressionNostringThe FHIRPath expression against the fixture body
- headerFieldNostringHTTP header field name for source
- hintNostringHint help text for default value to enter
- pathNostringXPath or JSONPath against the fixture body
- sourceIdNoidFixture Id of source expression or headerField within this variable
setupNoTestScriptSetupA series of required setup operations before tests are executed
- idNostringUnique id for inter-element referencing
- extensionNoExtension[]Additional content defined by implementations
- modifierExtensionNoExtension[]Extensions that cannot be ignored even if unrecognized
- actionYesTestScriptSetupActionA setup operation or assert to perform
- idNostringUnique id for inter-element referencing
- extensionNoExtension[]Additional content defined by implementations
- modifierExtensionNoExtension[]Extensions that cannot be ignored even if unrecognized
- operationNoTestScriptSetupActionOperationThe setup operation to perform
- idNostringUnique id for inter-element referencing
- extensionNoExtension[]Additional content defined by implementations
- modifierExtensionNoExtension[]Extensions that cannot be ignored even if unrecognized
- typeNoCodingThe operation code type that will be executed
- resourceNocodeResource type
- labelNostringTracking/logging operation label
- descriptionNostringTracking/reporting operation description
- acceptNocodeMime type to accept in the payload of the response, with charset etc.
- contentTypeNocodeMime type of the request payload contents, with charset etc.
- destinationNointegerServer responding to the request
- encodeRequestUrlYesbooleanWhether or not to send the request url in encoded format
- methodNocodedelete / get / options / patch / post / put / head
- originNointegerServer initiating the request
- paramsNostringExplicitly defined path parameters
- requestHeaderNoTestScriptSetupActionOperationRequestHeaderEach operation can have one or more header elements
- idNostringUnique id for inter-element referencing
- extensionNoExtension[]Additional content defined by implementations
- modifierExtensionNoExtension[]Extensions that cannot be ignored even if unrecognized
- fieldYesstringHTTP header field name
- valueYesstringHTTP headerfield value
- requestIdNoidFixture Id of mapped request
- responseIdNoidFixture Id of mapped response
- sourceIdNoidFixture Id of body for PUT and POST requests
- targetIdNoidId of fixture used for extracting the [id], [type], and [vid] for GET requests
- urlNostringRequest URL
- assertNoTestScriptSetupActionAssertThe assertion to perform
- idNostringUnique id for inter-element referencing
- extensionNoExtension[]Additional content defined by implementations
- modifierExtensionNoExtension[]Extensions that cannot be ignored even if unrecognized
- labelNostringTracking/logging assertion label
- descriptionNostringTracking/reporting assertion description
- directionNocoderesponse / request
- compareToSourceIdNostringId of the source fixture to be evaluated
- compareToSourceExpressionNostringThe FHIRPath expression to evaluate against the source fixture
- compareToSourcePathNostringXPath or JSONPath expression to evaluate against the source fixture
- contentTypeNocodeMime type to compare against the ‘Content-Type’ header
- expressionNostringThe FHIRPath expression to be evaluated
- headerFieldNostringHTTP header field name
- minimumIdNostringFixture Id of minimum content resource
- navigationLinksNobooleanPerform validation on navigation links?
- operatorNocodeequals / notEquals / in / notIn / greaterThan / lessThan / empty / notEmpty / contains / notContains / eval
- pathNostringXPath or JSONPath expression
- requestMethodNocodedelete / get / options / patch / post / put / head
- requestURLNostringRequest URL comparison value
- resourceNocodeResource type
- responseNocodeokay / created / noContent / notModified / bad / forbidden / notFound / methodNotAllowed / conflict / gone / preconditionFailed / unprocessable
- responseCodeNostringHTTP response code to test
- sourceIdNoidFixture Id of source expression or headerField
- validateProfileIdNoidProfile Id of validation profile reference
- valueNostringThe value to compare to
- warningOnlyYesbooleanWill this assert produce a warning only on error?
testNoTestScriptTestA test in this script
- idNostringUnique id for inter-element referencing
- extensionNoExtension[]Additional content defined by implementations
- modifierExtensionNoExtension[]Extensions that cannot be ignored even if unrecognized
- nameNostringTracking/logging name of this test
- descriptionNostringTracking/reporting short description of the test
- actionYesTestScriptTestActionA test operation or assert to perform
- idNostringUnique id for inter-element referencing
- extensionNoExtension[]Additional content defined by implementations
- modifierExtensionNoExtension[]Extensions that cannot be ignored even if unrecognized
- operationNoThe setup operation to perform
- assertNoThe setup assertion to perform
teardownNoTestScriptTeardownA series of required clean up steps
- idNostringUnique id for inter-element referencing
- extensionNoExtension[]Additional content defined by implementations
- modifierExtensionNoExtension[]Extensions that cannot be ignored even if unrecognized
- actionYesTestScriptTeardownActionOne or more teardown operations to perform
- idNostringUnique id for inter-element referencing
- extensionNoExtension[]Additional content defined by implementations
- modifierExtensionNoExtension[]Extensions that cannot be ignored even if unrecognized
- operationYesThe teardown operation to perform

Search Parameters

NameTypeDescriptionExpression
contexttokenA use context assigned to the test scriptTestScript.useContext.value
context-quantityquantityA quantity- or range-valued use context assigned to the test scriptTestScript.useContext.value
context-typetokenA type of use context assigned to the test scriptTestScript.useContext.code
datedateThe test script publication dateTestScript.date
descriptionstringThe description of the test scriptTestScript.description
identifiertokenExternal identifier for the test scriptTestScript.identifier
jurisdictiontokenIntended jurisdiction for the test scriptTestScript.jurisdiction
namestringComputationally friendly name of the test scriptTestScript.name
publisherstringName of the publisher of the test scriptTestScript.publisher
statustokenThe current status of the test scriptTestScript.status
testscript-capabilitystringTestScript required and validated capabilityTestScript.metadata.capability.description
titlestringThe human-friendly name of the test scriptTestScript.title
urluriThe uri that identifies the test scriptTestScript.url
versiontokenThe business version of the test scriptTestScript.version
context-type-quantitycompositeA use context type and quantity- or range-based value assigned to the test scriptTestScript.useContext
context-type-valuecompositeA use context type and value assigned to the test scriptTestScript.useContext

Inherited Properties

NameRequiredTypeDescription
idNostringLogical id of this artifact
metaNoMetaMetadata about the resource
implicitRulesNouriA set of rules under which this content was created
languageNocodeLanguage of the resource content
textNoNarrativeText summary of the resource, for human interpretation
containedNoResource[]Contained, inline Resources
extensionNoExtension[]Additional content defined by implementations
modifierExtensionNoExtension[]Extensions that cannot be ignored

To view the FHIR specification for this resource, see TestScript.