BundleRequest constructor

const BundleRequest({
  1. @JsonKey(name: 'id') String? fhirId,
  2. @JsonKey(name: 'extension') List<FhirExtension>? extension_,
  3. List<FhirExtension>? modifierExtension,
  4. FhirCode? method,
  5. @JsonKey(name: '_method') Element? methodElement,
  6. FhirUri? url,
  7. @JsonKey(name: '_url') Element? urlElement,
  8. String? ifNoneMatch,
  9. @JsonKey(name: '_ifNoneMatch') Element? ifNoneMatchElement,
  10. FhirInstant? ifModifiedSince,
  11. @JsonKey(name: '_ifModifiedSince') Element? ifModifiedSinceElement,
  12. String? ifMatch,
  13. @JsonKey(name: '_ifMatch') Element? ifMatchElement,
  14. String? ifNoneExist,
  15. @JsonKey(name: '_ifNoneExist') Element? ifNoneExistElement,
})

BundleRequest A container for a collection of resources.

id Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

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.

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).

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.

methodElement ("_method") Extensions for method

url The URL for this entry, relative to the root (the address to which the request is posted).

urlElement ("_url") Extensions for url

ifNoneMatch If the ETag values match, return a 304 Not Modified status. See the API documentation for "Conditional Read".

ifNoneMatchElement ("_ifNoneMatch") Extensions for ifNoneMatch

ifModifiedSince Only perform the operation if the last updated date matches. See the API documentation for "Conditional Read".

ifModifiedSinceElement ("_ifModifiedSince") Extensions for ifModifiedSince

ifMatch Only perform the operation if the Etag value matches. For more information, see the API section "Managing Resource Contention".

ifMatchElement ("_ifMatch") Extensions for ifMatch

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 "?").

ifNoneExistElement ("_ifNoneExist") Extensions for ifNoneExist

Implementation

const factory BundleRequest({
  /// [id] Unique id for the element within a resource (for internal
  ///  references). This may be any string value that does not contain spaces.
  @JsonKey(name: 'id') String? fhirId,

  /// [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.
  @JsonKey(name: 'extension') List<FhirExtension>? extension_,

  /// [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).
  List<FhirExtension>? modifierExtension,

  /// [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.
  FhirCode? method,

  /// [methodElement] ("_method") Extensions for method
  @JsonKey(name: '_method') Element? methodElement,

  /// [url] The URL for this entry, relative to the root (the address to
  ///  which the request is posted).
  FhirUri? url,

  /// [urlElement] ("_url") Extensions for url
  @JsonKey(name: '_url') Element? urlElement,

  /// [ifNoneMatch] If the ETag values match, return a 304 Not Modified
  ///  status. See the API documentation for ["Conditional
  ///  Read"](http.html#cread).
  String? ifNoneMatch,

  /// [ifNoneMatchElement] ("_ifNoneMatch") Extensions for ifNoneMatch
  @JsonKey(name: '_ifNoneMatch') Element? ifNoneMatchElement,

  /// [ifModifiedSince] Only perform the operation if the last updated date
  ///  matches. See the API documentation for ["Conditional
  ///  Read"](http.html#cread).
  FhirInstant? ifModifiedSince,

  /// [ifModifiedSinceElement] ("_ifModifiedSince") Extensions for
  ///  ifModifiedSince
  @JsonKey(name: '_ifModifiedSince') Element? ifModifiedSinceElement,

  /// [ifMatch] Only perform the operation if the Etag value matches. For
  ///  more information, see the API section ["Managing Resource
  ///  Contention"](http.html#concurrency).
  String? ifMatch,

  /// [ifMatchElement] ("_ifMatch") Extensions for ifMatch
  @JsonKey(name: '_ifMatch') Element? ifMatchElement,

  /// [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"](http.html#ccreate). This
  ///  is just the query portion of the URL - what follows the "?" (not
  ///  including the "?").
  String? ifNoneExist,

  /// [ifNoneExistElement] ("_ifNoneExist") Extensions for ifNoneExist
  @JsonKey(name: '_ifNoneExist') Element? ifNoneExistElement,
}) = _BundleRequest;