pub struct Bundle {
pub id: Option<String>,
pub meta: Option<Meta>,
pub implicit_rules: Option<Uri>,
pub language: Option<Code>,
pub identifier: Option<Identifier>,
pub type: Code,
pub timestamp: Option<Instant>,
pub total: Option<UnsignedInt>,
pub link: Vec<BundleLink>,
pub entry: Vec<BundleEntry>,
pub signature: Option<Signature>,
pub issues: Option<Box<Resource>>,
}Expand description
Contains a collection of resources
A container for a collection of resources.
Fields§
§id: Option<String>Logical id of this artifact
The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.
meta: Option<Meta>Metadata about the resource
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.
implicit_rules: Option<Uri>A set of rules under which this content was created
A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.
language: Option<Code>Language of the resource content
The base language in which the resource is written.
identifier: Option<Identifier>Persistent identifier for the bundle
A persistent identifier for the bundle that won’t change as a bundle is copied from server to server.
type: Codedocument | message | transaction | transaction-response | batch | batch-response | history | searchset | collection | subscription-notification
Indicates the purpose of this bundle - how it is intended to be used.
timestamp: Option<Instant>When the bundle was assembled
The date/time that the bundle was assembled - i.e. when the resources were placed in the bundle.
total: Option<UnsignedInt>If search, the total number of matches
If a set of search matches, this is the (potentially estimated) 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: Vec<BundleLink>Links related to this Bundle
A series of links that provide context to this bundle.
entry: Vec<BundleEntry>Entry in the bundle - will have a resource or information
An entry in a bundle resource - will either contain a resource or information about a resource (transactions and history only).
signature: Option<Signature>Digital Signature
Digital Signature - base64 encoded. XML-DSig or a JWS.
issues: Option<Box<Resource>>Issues with the Bundle
Captures issues and warnings that relate to the construction of the Bundle and the content within it.