TestScriptVariable
A structured set of tests against a FHIR server or client implementation to determine compliance against the FHIR specification.
type TestScriptVariable implements Element {
name: String
defaultValue: String
description: String
expression: String
headerField: String
hint: String
path: String
sourceId: String
modifierExtension: [Extension]
extension: [Extension]
id: String
}
Fields
TestScriptVariable.name ● String scalar
Descriptive name for this variable.
TestScriptVariable.defaultValue ● String scalar
A default, hard-coded, or user-defined value for this variable.
TestScriptVariable.description ● String scalar
A free text natural language description of the variable and its purpose.
TestScriptVariable.expression ● String scalar
The FHIRPath expression to evaluate against the fixture body. When variables are defined, only one of either expression, headerField or path must be specified.
TestScriptVariable.headerField ● String scalar
Will be used to grab the HTTP header field value from the headers that sourceId is pointing to.
TestScriptVariable.hint ● String scalar
Displayable text string with hint help information to the user when entering a default value.
TestScriptVariable.path ● String scalar
XPath or JSONPath to evaluate against the fixture body. When variables are defined, only one of either expression, headerField or path must be specified.
TestScriptVariable.sourceId ● String scalar
Fixture to evaluate the XPath/JSONPath expression or the headerField against within this variable.
TestScriptVariable.modifierExtension ● [Extension] list object
May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element s descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).
TestScriptVariable.extension ● [Extension] list object
May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
TestScriptVariable.id ● String scalar
Interfaces
Element interface
Base definition for all elements in a resource. If the element is present, it must have a value for at least one of the defined elements, an @id referenced from the Narrative, or extensions
Member Of
TestScript object