TestScriptOperation class
TestScriptOperation A structured set of tests against a FHIR server or client implementation to determine compliance against the FHIR specification.
- Annotations
-
- @freezed
Constructors
-
TestScriptOperation({@JsonKey(name: 'id') String? fhirId, @JsonKey(name: 'extension') List<
FhirExtension> ? extension_, List<FhirExtension> ? modifierExtension, Coding? type, FhirUri? resource, @JsonKey(name: '_resource') Element? resourceElement, String? label, @JsonKey(name: '_label') Element? labelElement, String? description, @JsonKey(name: '_description') Element? descriptionElement, FhirCode? accept, @JsonKey(name: '_accept') Element? acceptElement, FhirCode? contentType, @JsonKey(name: '_contentType') Element? contentTypeElement, FhirInteger? destination, @JsonKey(name: '_destination') Element? destinationElement, FhirBoolean? encodeRequestUrl, @JsonKey(name: '_encodeRequestUrl') Element? encodeRequestUrlElement, FhirCode? method, @JsonKey(name: '_method') Element? methodElement, FhirInteger? origin, @JsonKey(name: '_origin') Element? originElement, String? params, @JsonKey(name: '_params') Element? paramsElement, List<TestScriptRequestHeader> ? requestHeader, FhirId? requestId, @JsonKey(name: '_requestId') Element? requestIdElement, FhirId? responseId, @JsonKey(name: '_responseId') Element? responseIdElement, FhirId? sourceId, @JsonKey(name: '_sourceId') Element? sourceIdElement, FhirId? targetId, @JsonKey(name: '_targetId') Element? targetIdElement, String? url, @JsonKey(name: '_url') Element? 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 → Element?
-
acceptElement ("_accept") Extensions for accept
no setterinherited
- contentType → FhirCode?
-
contentType The mime-type to use for RESTful operation in the
'Content-Type' header.
no setterinherited
- contentTypeElement → Element?
-
contentTypeElement ("_contentType") Extensions for contentType
no 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 → Element?
-
descriptionElement ("_description") Extensions for description
no 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 → Element?
-
destinationElement ("_destination") Extensions for destination
no 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 → Element?
-
encodeRequestUrlElement ("_encodeRequestUrl") Extensions for
encodeRequestUrl
no 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
- fhirId → 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
- hashCode → int
-
The hash code for this object.
no setterinherited
- label → String?
-
label The label would be used for tracking/logging purposes by test
engines.
no setterinherited
- labelElement → Element?
-
labelElement ("_label") Extensions for label
no setterinherited
- method → FhirCode?
-
method The HTTP method the test engine MUST use for this operation
regardless of any other operation details.
no setterinherited
- methodElement → Element?
-
methodElement ("_method") Extensions for method
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 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
- 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 → Element?
-
originElement ("_origin") Extensions for origin
no setterinherited
- params → String?
-
params Path plus parameters after type. Used to set parts of the
request URL explicitly.
no setterinherited
- paramsElement → Element?
-
paramsElement ("_params") Extensions for params
no 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 → Element?
-
requestIdElement ("_requestId") Extensions for requestId
no 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 → Element?
-
resourceElement ("_resource") Extensions for resource
no setterinherited
- responseId → FhirId?
-
responseId The fixture id (maybe new) to map to the response.
no setterinherited
- responseIdElement → Element?
-
responseIdElement ("_responseId") Extensions for responseId
no 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 → Element?
-
sourceIdElement ("_sourceId") Extensions for sourceId
no setterinherited
- targetId → FhirId?
-
targetId Id of fixture used for extracting the id, type, and
vid
for GET requests.no setterinherited - targetIdElement → Element?
-
targetIdElement ("_targetId") Extensions for targetId
no setterinherited
- type → Coding?
-
type Server interaction or operation type.
no setterinherited
- url → String?
-
url Complete request URL.
no setterinherited
- urlElement → Element?
-
urlElement ("_url") Extensions for url
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