TestScriptVariable class

TestScriptVariable A structured set of tests against a FHIR server or

Annotations
  • @freezed

Constructors

TestScriptVariable({@JsonKey(name: 'id') FhirId? fhirId, @JsonKey(name: 'extension') List<FhirExtension>? extension_, List<FhirExtension>? modifierExtension, String? name, @JsonKey(name: '_name') Element? nameElement, String? defaultValue, @JsonKey(name: '_defaultValue') Element? defaultValueElement, String? description, @JsonKey(name: '_description') Element? descriptionElement, String? expression, @JsonKey(name: '_expression') Element? expressionElement, String? headerField, @JsonKey(name: '_headerField') Element? headerFieldElement, String? hint, @JsonKey(name: '_hint') Element? hintElement, String? path, @JsonKey(name: '_path') Element? pathElement, FhirId? sourceId, @JsonKey(name: '_sourceId') Element? sourceIdElement})
TestScriptVariable A structured set of tests against a FHIR server or client implementation to determine compliance against the FHIR specification.
const
factory
TestScriptVariable.fromJson(Map<String, dynamic> json)
Factory constructor, accepts Map<String, dynamic> as an argument
factory
TestScriptVariable.fromJsonString(String source)
Acts like a constructor, returns a TestScriptVariable, accepts a String as an argument, mostly because I got tired of typing it out
factory
TestScriptVariable.fromYaml(dynamic yaml)
Factory constructor that accepts a String in YAML format as an argument
factory

Properties

copyWith → $TestScriptVariableCopyWith<TestScriptVariable>
no setterinherited
defaultValue String?
defaultValue A default, hard-coded, or user-defined value for this variable.
no setterinherited
defaultValueElement Element?
defaultValueElement Extensions for defaultValue
no setterinherited
description String?
description A free text natural language description of the variable and its purpose.
no setterinherited
descriptionElement Element?
descriptionElement Extensions for description
no setterinherited
expression String?
expression The FHIRPath expression to evaluate against the fixture body. When variables are defined, only one of either expression, headerField or path must be specified.
no setterinherited
expressionElement Element?
expressionElement Extensions for expression
no setterinherited
extension_ List<FhirExtension>?
extension_ 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.
no setterinherited
fhirId FhirId?
id Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
headerField String?
headerField Will be used to grab the HTTP header field value from the headers that sourceId is pointing to.
no setterinherited
headerFieldElement Element?
headerFieldElement Extensions for headerField
no setterinherited
hint String?
hint Displayable text string with hint help information to the user when entering a default value.
no setterinherited
hintElement Element?
hintElement Extensions for hint
no setterinherited
modifierExtension List<FhirExtension>?
modifierExtension 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).
no setterinherited
name String?
name Descriptive name for this variable.
no setterinherited
nameElement Element?
nameElement Extensions for name
no setterinherited
path String?
path XPath or JSONPath to evaluate against the fixture body. When variables are defined, only one of either expression, headerField or path must be specified.
no setterinherited
pathElement Element?
pathElement Extensions for path
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sourceId FhirId?
sourceId Fixture to evaluate the XPath/JSONPath expression or the headerField against within this variable.
no setterinherited
sourceIdElement Element?
sourceIdElement Extensions for sourceId
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
inherited
toJsonString() String
Another convenience method because more and more I'm transmitting FHIR data as a String and not a Map
toString() String
A string representation of this object.
inherited
toYaml() String
Produces a Yaml formatted String version of the object

Operators

operator ==(Object other) bool
The equality operator.
inherited