# text.div
This code system http://hl7.org/fhir/bundle-type defines the following codes:

Code | Display | Definition
document | Document | The bundle is a document. The first resource is a Composition.
message | Message | The bundle is a message. The first resource is a MessageHeader.
transaction | Transaction | The bundle is a transaction - intended to be processed by a server as an atomic commit.
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.
batch | Batch | The bundle is a set of actions - intended to be processed by a server as a group of independent actions.
batch-response | Batch Response | The bundle is a batch response. Note that as a batch, some responses may indicate failure and others success.
history | History List | The bundle is a list of resources from a history interaction on a server.
searchset | Search Results | The bundle is a list of resources returned as a result of a search/query interaction, operation, or message.
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.
subscription-notification | Subscription Notification | The bundle has been generated by a Subscription to communicate information to a client.

# description
Indicates the purpose of a bundle - how it is intended to be used.

# concept[].definition
The bundle is a document. The first resource is a Composition.

# concept[].definition
The bundle is a message. The first resource is a MessageHeader.

# concept[].definition
The bundle is a transaction - intended to be processed by a server as an atomic commit.

# concept[].definition
The bundle is a transaction response. Because the response is a transaction response, the transaction has succeeded, and all responses are error free.

# concept[].definition
The bundle is a set of actions - intended to be processed by a server as a group of independent actions.

# concept[].definition
The bundle is a batch response. Note that as a batch, some responses may indicate failure and others success.

# concept[].definition
The bundle is a list of resources from a history interaction on a server.

# concept[].definition
The bundle is a list of resources returned as a result of a search/query interaction, operation, or message.

# concept[].definition
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.

# concept[].definition
The bundle has been generated by a Subscription to communicate information to a client.