BundleRequest class

BundleRequest A container for a collection of resources.

Annotations
  • @freezed

Constructors

BundleRequest({@JsonKey(name: 'id') FhirId? fhirId, @JsonKey(name: 'extension') List<FhirExtension>? extension_, List<FhirExtension>? modifierExtension, FhirCode? method, @JsonKey(name: '_method') Element? methodElement, FhirUri? url, @JsonKey(name: '_url') Element? urlElement, String? ifNoneMatch, @JsonKey(name: '_ifNoneMatch') Element? ifNoneMatchElement, FhirInstant? ifModifiedSince, @JsonKey(name: '_ifModifiedSince') Element? ifModifiedSinceElement, String? ifMatch, @JsonKey(name: '_ifMatch') Element? ifMatchElement, String? ifNoneExist, @JsonKey(name: '_ifNoneExist') Element? ifNoneExistElement})
BundleRequest A container for a collection of resources.
const
factory
BundleRequest.fromJson(Map<String, dynamic> json)
Factory constructor, accepts Map<String, dynamic> as an argument
factory
BundleRequest.fromJsonString(String source)
Acts like a constructor, returns a BundleRequest, accepts a String as an argument, mostly because I got tired of typing it out
factory
BundleRequest.fromYaml(dynamic yaml)
Factory constructor that accepts a String in YAML format as an argument
factory

Properties

copyWith → $BundleRequestCopyWith<BundleRequest>
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
ifMatch String?
ifMatch Only perform the operation if the Etag value matches. For more information, see the API section "Managing Resource Contention".
no setterinherited
ifMatchElement Element?
ifMatchElement Extensions for ifMatch
no setterinherited
ifModifiedSince FhirInstant?
ifModifiedSince Only perform the operation if the last updated date matches. See the API documentation for "Conditional Read".
no setterinherited
ifModifiedSinceElement Element?
ifModifiedSinceElement Extensions for ifModifiedSince
no setterinherited
ifNoneExist String?
ifNoneExist Instruct the server not to perform the create if a specified resource already exists. For further information, see the API documentation for "Conditional Create". This is just the query portion of the URL - what follows the "?" (not including the "?").
no setterinherited
ifNoneExistElement Element?
ifNoneExistElement Extensions for ifNoneExist
no setterinherited
ifNoneMatch String?
ifNoneMatch If the ETag values match, return a 304 Not Modified status. See the API documentation for "Conditional Read".
no setterinherited
ifNoneMatchElement Element?
ifNoneMatchElement Extensions for ifNoneMatch
no setterinherited
method FhirCode?
method In a transaction or batch, this is the HTTP action to be executed for this entry. In a history bundle, this indicates the HTTP action that occurred.
no setterinherited
methodElement Element?
methodElement 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 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
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
url FhirUri?
url The URL for this entry, relative to the root (the address to which the request is posted).
no setterinherited
urlElement Element?
urlElement 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