Skip to main content

TestScript

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

Properties

NameCardTypeDescription
id0..1stringLogical id of this artifact
meta0..1MetaMetadata about the resource
implicitRules0..1uriA set of rules under which this content was created
language0..1codeLanguage of the resource content
text0..1NarrativeText summary of the resource, for human interpretation
contained0..*ResourceContained, inline Resources
extension0..*ExtensionAdditional content defined by implementations
modifierExtension0..*ExtensionExtensions that cannot be ignored
url1..1uriCanonical identifier for this test script, represented as a URI (globally unique)
identifier0..1IdentifierAdditional identifier for the test script
version0..1stringBusiness version of the test script
name1..1stringName for this test script (computer friendly)
title0..1stringName for this test script (human friendly)
status1..1codedraft | active | retired | unknown
experimental0..1booleanFor testing purposes, not real usage
date0..1dateTimeDate last changed
publisher0..1stringName of the publisher (organization or individual)
contact0..*ContactDetailContact details for the publisher
description0..1markdownNatural language description of the test script
useContext0..*UsageContextThe context that the content is intended to support
jurisdiction0..*CodeableConceptIntended jurisdiction for test script (if applicable)
purpose0..1markdownWhy this test script is defined
copyright0..1markdownUse and/or publishing restrictions
origin0..*BackboneElementAn abstract server representing a client or sender in a message exchange
destination0..*BackboneElementAn abstract server representing a destination or receiver in a message exchange
metadata0..1BackboneElementRequired capability that is assumed to function correctly on the FHIR server being tested
fixture0..*BackboneElementFixture in the test script - by reference (uri)
profile0..*ReferenceReference of the validation profile
variable0..*BackboneElementPlaceholder for evaluated elements
setup0..1BackboneElementA series of required setup operations before tests are executed
test0..*BackboneElementA test in this script
teardown0..1BackboneElementA series of required clean up steps

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