TestScriptSetupActionAssert
open class TestScriptSetupActionAssert: BackboneElement
The assertion to perform.
Evaluates the results of previous operations to determine if the server under test behaves appropriately.
-
The assertion to perform.
Evaluates the results of previous operations to determine if the server under test behaves appropriately.
Declaration
Swift
override open class var resourceType: String -
The fluentpath expression to evaluate against the source fixture.
Declaration
Swift
public var compareToSourceExpression: FHIRString? -
Id of the source fixture to be evaluated.
Declaration
Swift
public var compareToSourceId: FHIRString? -
XPath or JSONPath expression to evaluate against the source fixture.
Declaration
Swift
public var compareToSourcePath: FHIRString? -
The content-type or mime-type to use for RESTful operation in the ‘Content-Type’ header.
Declaration
Swift
public var contentType: ContentType? -
Tracking/reporting assertion description.
Declaration
Swift
public var description_fhir: FHIRString? -
The direction to use for the assertion.
Declaration
Swift
public var direction: AssertionDirectionType? -
The fluentpath expression to be evaluated.
Declaration
Swift
public var expression: FHIRString? -
HTTP header field name.
Declaration
Swift
public var headerField: FHIRString? -
Tracking/logging assertion label.
Declaration
Swift
public var label: FHIRString? -
Fixture Id of minimum content resource.
Declaration
Swift
public var minimumId: FHIRString? -
Perform validation on navigation links?.
Declaration
Swift
public var navigationLinks: FHIRBool? -
The operator type defines the conditional behavior of the assert. If not defined, the default is equals.
Declaration
Swift
public var operator_fhir: AssertionOperatorType? -
XPath or JSONPath expression.
Declaration
Swift
public var path: FHIRString? -
The request method or HTTP operation code to compare against that used by the client system under test.
Declaration
Swift
public var requestMethod: TestScriptRequestMethodCode? -
Request URL comparison value.
Declaration
Swift
public var requestURL: FHIRString? -
Resource type.
Declaration
Swift
public var resource: FHIRString? -
None
Declaration
Swift
public var response: AssertionResponseTypes? -
HTTP response code to test.
Declaration
Swift
public var responseCode: FHIRString? -
The reference to a TestScript.rule.
Declaration
Swift
public var rule: TestScriptSetupActionAssertRule? -
The reference to a TestScript.ruleset.
Declaration
Swift
public var ruleset: TestScriptSetupActionAssertRuleset? -
Fixture Id of source expression or headerField.
Declaration
Swift
public var sourceId: FHIRString? -
Profile Id of validation profile reference.
Declaration
Swift
public var validateProfileId: FHIRString? -
The value to compare to.
Declaration
Swift
public var value: FHIRString? -
Will this assert produce a warning only on error?.
Declaration
Swift
public var warningOnly: FHIRBool? -
Will this assert produce a warning only on error?.
Declaration
Swift
override open func populate(from json: FHIRJSON, context instCtx: inout FHIRInstantiationContext)Parameters
jsonThe JSON element to use to populate the receiver
contextThe instantiation context to use
-
Undocumented
Declaration
Swift
open class TestScriptSetupActionAssert: BackboneElement
View on GitHub
Install in Dash
TestScriptSetupActionAssert Class Reference