BundleUsCore constructor

BundleUsCore({
  1. String? id,
  2. Meta? meta,
  3. Code? type,
  4. Instant? timestamp,
  5. UnsignedInt? total,
  6. List<BundleLink>? link,
  7. List<BundleEntry>? entry,
  8. Signature? signature,
})

BundleUsCore A container for a collection of resources.

id The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.

meta The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.

type Indicates the purpose of this bundle - how it is intended to be used.

timestamp The date/time that the bundle was assembled - i.e. when the resources were placed in the bundle.

total If a set of search matches, this is the total number of entries of type 'match' across all pages in the search. It does not include search.mode = 'include' or 'outcome' entries and it does not provide a count of the number of entries in the Bundle.

link A series of links that provide context to this bundle.

entry An entry in a bundle resource - will either contain a resource or information about a resource (transactions and history only).

signature Digital Signature - base64 encoded. XML-DSig or a JWT.

Implementation

factory BundleUsCore({
  /// [id] The logical id of the resource, as used in the URL for the resource.
  ///  Once assigned, this value never changes.
  String? id,

  /// [meta] The metadata about the resource. This is content that is
  /// maintained by the infrastructure. Changes to the content might not always
  ///  be associated with version changes to the resource.
  Meta? meta,

  /// [type] Indicates the purpose of this bundle - how it is intended to be
  ///  used.
  Code? type,

  /// [timestamp] The date/time that the bundle was assembled - i.e. when the
  ///  resources were placed in the bundle.
  Instant? timestamp,

  /// [total] If a set of search matches, this is the total number of entries
  /// of type 'match' across all pages in the search.  It does not include
  /// search.mode = 'include' or 'outcome' entries and it does not provide a
  ///  count of the number of entries in the Bundle.
  UnsignedInt? total,

  /// [link] A series of links that provide context to this bundle.
  List<BundleLink>? link,

  /// [entry] An entry in a bundle resource - will either contain a resource or
  ///  information about a resource (transactions and history only).
  List<BundleEntry>? entry,

  /// [signature] Digital Signature - base64 encoded. XML-DSig or a JWT.
  Signature? signature,
}) =>
    BundleUsCore._(Bundle(
      id: id,
      meta: meta,
      type: type,
      timestamp: timestamp,
      total: total,
      link: link,
      entry: entry,
      signature: signature,
    ));