Bundle
The Bundle resource is a container for a collection of resources and optionally additional info
Please start a discussion or contact us if you have questions, feedback, or suggestions.
The Bundle resource has a variety of different applications. Usage of bundles by different endpoints:
POST /
Accepts bundles of certain types and executes REST requests contained in them. Returns bundles withtransaction-response
orbatch-response
types.POST /Bundle
,PUT /Bundle/<id>
Accepts a bundle and saves it as a regular resource regardless of its type. Returns the saved resource.GET /<resourceType>
Searches for resources of specified resource type. Returns bundle ofsearchset
type.GET /<resourceType>/_history
,GET /<resourceType>/<id>/_history
Searches for previous versions of the specified resource or resource type Returns bundle ofhistory
type.
POST /
endpoint
POST /
endpointAidbox supports FHIR batch/transaction interaction, as well as some additional options to this endpoint.
Behavior of the endpoint depends on the type
of a bundle resource provided in a request body.
Supported type
values:
transaction
Executes provided rest requests in a transaction. In case of an entry execution error the whole transaction is rolled back and the error is returned in the response. Returnstransaction-response
type bundle.batch
Executes provided rest requests, execution doesn't stop on error, all results and errors are returned in the response. Returnsbatch-response
type bundle.collection
Works the same way as thebatch
type, but doesPUT /<resourceType>/<id>
for each resource in entry. Returnsbatch-response
type bundle.
Last updated