Bundles and Transactions

In this lesson, we dive into a powerful FHIR resource type, the Bundle. These resources are useful to group together multiple resources for exchange and share them in a single API call. For example, Bundles are used for IOT devices to send an Observation along with Patient.

The transaction type ensures that all resources in the bundle are processed together - that is they either all succeed or all fail.

We will

  • Create a bundle
  • Learn to work with temporary IDs
  • POST the bundle to a FHIR server
  • Use conditional PUT for updating resources
  • Cover practical debugging of common issues