TestScriptOperation class
TestScriptOperation A structured set of tests against a FHIR server or client implementation to determine compliance against the FHIR specification.
- Implemented types
- Annotations
-
- @freezed
Constructors
-
TestScriptOperation.new({String? id, @JsonKey(name: 'extension') List<
FhirExtension> ? extension_, List<FhirExtension> ? modifierExtension, Coding? type, FhirUri? resource, @JsonKey(name: '_resource') PrimitiveElement? resourceElement, String? label, @JsonKey(name: '_label') PrimitiveElement? labelElement, String? description, @JsonKey(name: '_description') PrimitiveElement? descriptionElement, FhirCode? accept, @JsonKey(name: '_accept') PrimitiveElement? acceptElement, FhirCode? contentType, @JsonKey(name: '_contentType') PrimitiveElement? contentTypeElement, FhirInteger? destination, @JsonKey(name: '_destination') PrimitiveElement? destinationElement, FhirBoolean? encodeRequestUrl, @JsonKey(name: '_encodeRequestUrl') PrimitiveElement? encodeRequestUrlElement, FhirCode? method, @JsonKey(name: '_method') PrimitiveElement? methodElement, FhirInteger? origin, @JsonKey(name: '_origin') PrimitiveElement? originElement, String? params, @JsonKey(name: '_params') PrimitiveElement? paramsElement, List<TestScriptRequestHeader> ? requestHeader, FhirId? requestId, @JsonKey(name: '_requestId') PrimitiveElement? requestIdElement, FhirId? responseId, @JsonKey(name: '_responseId') PrimitiveElement? responseIdElement, FhirId? sourceId, @JsonKey(name: '_sourceId') PrimitiveElement? sourceIdElement, FhirId? targetId, @JsonKey(name: '_targetId') PrimitiveElement? targetIdElement, String? url, @JsonKey(name: '_url') PrimitiveElement? urlElement}) -
TestScriptOperation A structured set of tests against a FHIR server or
client implementation to determine compliance against the FHIR
specification.
constfactory
-
TestScriptOperation.fromJson(Map<
String, dynamic> json) -
Factory constructor, accepts Map<String, dynamic> as an argument
factory
- TestScriptOperation.fromJsonString(String source)
-
Acts like a constructor, returns a TestScriptOperation, accepts a
String as an argument, mostly because I got tired of typing it out
factory
- TestScriptOperation.fromYaml(dynamic yaml)
-
Factory constructor that accepts a String in YAML format as an argument
factory
Properties
- accept → FhirCode?
-
accept
The mime-type to use for RESTful operation in the 'Accept' header.no setterinherited - acceptElement → PrimitiveElement?
-
acceptElement
("_accept") Extensions for acceptno setterinherited -
children
→ List<
FhirBase> -
no setterinherited
- contentType → FhirCode?
-
contentType
The mime-type to use for RESTful operation in the 'Content-Type' header.no setterinherited - contentTypeElement → PrimitiveElement?
-
contentTypeElement
("_contentType") Extensions for contentTypeno setterinherited -
copyWith
→ $TestScriptOperationCopyWith<
TestScriptOperation> -
no setterinherited
- description → String?
-
description
The description would be used by test engines for tracking and reporting purposes.no setterinherited - descriptionElement → PrimitiveElement?
-
descriptionElement
("_description") Extensions for descriptionno setterinherited - destination → FhirInteger?
-
destination
The server where the request message is destined for. Must be one of the server numbers listed in TestScript.destination section.no setterinherited - destinationElement → PrimitiveElement?
-
destinationElement
("_destination") Extensions for destinationno setterinherited - encodeRequestUrl → FhirBoolean?
-
encodeRequestUrl
Whether or not to implicitly send the request url in encoded format. The default is true to match the standard RESTful client behavior. Set to false when communicating with a server that does not support encoded url paths.no setterinherited - encodeRequestUrlElement → PrimitiveElement?
-
encodeRequestUrlElement
("_encodeRequestUrl") Extensions for encodeRequestUrlno setterinherited -
extension_
→ List<
FhirExtension> ? -
extension_
("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 managable, 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 - fhirType → String
-
no setteroverride
-
formatCommentsPost
→ List<
String> -
no setterinherited
-
formatCommentsPre
→ List<
String> -
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String?
-
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 - isPrimitive → bool
-
no setterinherited
- label → String?
-
label
The label would be used for tracking/logging purposes by test engines.no setterinherited - labelElement → PrimitiveElement?
-
labelElement
("_label") Extensions for labelno setterinherited - method → FhirCode?
-
method
The HTTP method the test engine MUST use for this operation regardless of any other operation details.no setterinherited - methodElement → PrimitiveElement?
-
methodElement
("_method") Extensions for methodno 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 managable, 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 -
namedChildren
→ Map<
String, FhirBase> -
no setterinherited
- origin → FhirInteger?
-
origin
The server where the request message originates from. Must be one of the server numbers listed in TestScript.origin section.no setterinherited - originElement → PrimitiveElement?
-
originElement
("_origin") Extensions for originno setterinherited - params → String?
-
params
Path plus parameters aftertype
. Used to set parts of the request URL explicitly.no setterinherited - paramsElement → PrimitiveElement?
-
paramsElement
("_params") Extensions for paramsno setterinherited -
requestHeader
→ List<
TestScriptRequestHeader> ? -
requestHeader
Header elements would be used to set HTTP headers.no setterinherited - requestId → FhirId?
-
requestId
The fixture id (maybe new) to map to the request.no setterinherited - requestIdElement → PrimitiveElement?
-
requestIdElement
("_requestId") Extensions for requestIdno setterinherited - resource → FhirUri?
-
resource
The type of the FHIR resource. See the resource list. Data type of uri is needed when non-HL7 artifacts are identified.no setterinherited - resourceElement → PrimitiveElement?
-
resourceElement
("_resource") Extensions for resourceno setterinherited - responseId → FhirId?
-
responseId
The fixture id (maybe new) to map to the response.no setterinherited - responseIdElement → PrimitiveElement?
-
responseIdElement
("_responseId") Extensions for responseIdno setterinherited - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sourceId → FhirId?
-
sourceId
The id of the fixture used as the body of a PUT or POST request.no setterinherited - sourceIdElement → PrimitiveElement?
-
sourceIdElement
("_sourceId") Extensions for sourceIdno setterinherited - targetId → FhirId?
-
targetId
Id of fixture used for extracting theid
,type
, andvid
for GET requests.no setterinherited - targetIdElement → PrimitiveElement?
-
targetIdElement
("_targetId") Extensions for targetIdno setterinherited - type → Coding?
-
type
Server interaction or operation type.no setterinherited - url → String?
-
url
Complete request URL.no setterinherited - urlElement → PrimitiveElement?
-
urlElement
("_url") Extensions for urlno setterinherited
Methods
-
addAnnotation(
dynamic annotation) → void -
inherited
-
addPropertyChangedListener(
String property, void listener()) → void -
inherited
-
annotations(
Type type) → Iterable -
inherited
-
clearUserData(
String name) → void -
inherited
-
clone(
) → FhirBase -
inherited
-
deepCopy(
) → FhirBase -
inherited
-
getUserData(
String name) → dynamic -
inherited
-
getUserInt(
String name) → int -
inherited
-
getUserString(
String name) → String? -
inherited
-
hasFormatComment(
) → bool -
inherited
-
hasUserData(
String name) → bool -
inherited
-
isEmpty(
) → bool -
inherited
-
isExactly(
FhirBase other) → bool -
inherited
-
matches(
FhirBase other) → bool -
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
notifyPropertyChanged(
String property) → void -
inherited
-
primitiveValue(
) → String? -
inherited
-
removeAnnotations(
Type type) → void -
inherited
-
removePropertyChangedListener(
String property, void listener()) → void -
inherited
-
setUserData(
String name, dynamic value) → void -
inherited
-
toJson(
) → Map< String, dynamic> -
inherited
-
toJsonString(
) → String -
override
-
toJsonWithType(
) → dynamic -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
toYaml(
) → String -
Returns a YAML representation of the FHIR primitive.
override
-
tryGetValue(
String key, dynamic value) → bool -
inherited
-
validate(
) → List< String> -
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited