pub enum BundleType {
Batch,
BatchResponse,
Collection,
Document,
History,
Message,
Searchset,
SubscriptionNotification,
Transaction,
TransactionResponse,
}Expand description
BundleType. Indicates the purpose of a bundle - how it is intended to be used.
FHIR version: 5.0.0.
Variants§
Batch
batch
Batch. The bundle is a set of actions - intended to be processed by a server as a group of independent actions.
BatchResponse
batch-response
Batch Response. The bundle is a batch response. Note that as a batch, some responses may indicate failure and others success.
Collection
collection
Collection. The bundle is a set of resources collected into a single package for ease of distribution that imposes no processing obligations or behavioral rules beyond persistence.
Document
document
Document. The bundle is a document. The first resource is a Composition.
History
history
History List. The bundle is a list of resources from a history interaction on a server.
Message
message
Message. The bundle is a message. The first resource is a MessageHeader.
Searchset
searchset
Search Results. The bundle is a list of resources returned as a result of a search/query interaction, operation, or message.
SubscriptionNotification
subscription-notification
Subscription Notification. The bundle has been generated by a Subscription to communicate information to a client.
Transaction
transaction
Transaction. The bundle is a transaction - intended to be processed by a server as an atomic commit.
TransactionResponse
transaction-response
Transaction Response. The bundle is a transaction response. Because the response is a transaction response, the transaction has succeeded, and all responses are error free.
Trait Implementations§
Source§impl AsRef<str> for BundleType
impl AsRef<str> for BundleType
Source§impl Clone for BundleType
impl Clone for BundleType
Source§fn clone(&self) -> BundleType
fn clone(&self) -> BundleType
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for BundleType
impl Debug for BundleType
Source§impl<'de> Deserialize<'de> for BundleType
impl<'de> Deserialize<'de> for BundleType
Source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Source§impl Display for BundleType
impl Display for BundleType
Source§impl From<BundleType> for CodeableConcept
impl From<BundleType> for CodeableConcept
Source§fn from(code: BundleType) -> Self
fn from(code: BundleType) -> Self
Source§impl From<BundleType> for Coding
impl From<BundleType> for Coding
Source§fn from(code: BundleType) -> Self
fn from(code: BundleType) -> Self
Source§impl FromStr for BundleType
impl FromStr for BundleType
Source§impl Hash for BundleType
impl Hash for BundleType
Source§impl PartialEq for BundleType
impl PartialEq for BundleType
Source§fn eq(&self, other: &BundleType) -> bool
fn eq(&self, other: &BundleType) -> bool
self and other values to be equal, and is used by ==.