BundleType

public enum BundleType: String

Indicates the purpose of a bundle - how it was intended to be used.

URL: http://hl7.org/fhir/bundle-type ValueSet: http://hl7.org/fhir/ValueSet/bundle-type

  • The bundle is a document. The first resource is a Composition.

    Declaration

    Swift

    case document = "document"
  • The bundle is a message. The first resource is a MessageHeader.

    Declaration

    Swift

    case message = "message"
  • The bundle is a transaction - intended to be processed by a server as an atomic commit.

    Declaration

    Swift

    case transaction = "transaction"
  • The bundle is a transaction response. Because the response is a transaction response, the transaction has succeeded, and all responses are error free.

    Declaration

    Swift

    case transactionResponse = "transaction-response"
  • The bundle is a transaction - intended to be processed by a server as a group of actions.

    Declaration

    Swift

    case batch = "batch"
  • The bundle is a batch response. Note that as a batch, some responses may indicate failure and others success.

    Declaration

    Swift

    case batchResponse = "batch-response"
  • The bundle is a list of resources from a history interaction on a server.

    Declaration

    Swift

    case history = "history"
  • The bundle is a list of resources returned as a result of a search/query interaction, operation, or message.

    Declaration

    Swift

    case searchset = "searchset"
  • The bundle is a set of resources collected into a single package for ease of distribution.

    Declaration

    Swift

    case collection = "collection"