TestScriptVariable

open class TestScriptVariable: BackboneElement

Placeholder for evaluated elements.

Variable is set based either on element value in response body or on header field value in the response headers.

  • Placeholder for evaluated elements.

    Variable is set based either on element value in response body or on header field value in the response headers.

    Declaration

    Swift

    override open class var resourceType: String
  • Default, hard-coded, or user-defined value for this variable.

    Declaration

    Swift

    public var defaultValue: FHIRString?
  • Natural language description of the variable.

    Declaration

    Swift

    public var description_fhir: FHIRString?
  • The fluentpath expression against the fixture body.

    Declaration

    Swift

    public var expression: FHIRString?
  • HTTP header field name for source.

    Declaration

    Swift

    public var headerField: FHIRString?
  • Hint help text for default value to enter.

    Declaration

    Swift

    public var hint: FHIRString?
  • Descriptive name for this variable.

    Declaration

    Swift

    public var name: FHIRString?
  • XPath or JSONPath against the fixture body.

    Declaration

    Swift

    public var path: FHIRString?
  • Fixture Id of source expression or headerField within this variable.

    Declaration

    Swift

    public var sourceId: FHIRString?
  • Convenience initializer, taking all required properties as arguments.

    Declaration

    Swift

    public convenience init(name: FHIRString)
  • Convenience initializer, taking all required properties as arguments.

    Declaration

    Swift

    override open func populate(from json: FHIRJSON, context instCtx: inout FHIRInstantiationContext)

    Parameters

    json

    The JSON element to use to populate the receiver

    context

    The instantiation context to use

  • Undocumented

    Declaration

    Swift

    open class TestScriptVariable: BackboneElement