FHIR Chat · Support for Versions for entities in a Bundle · implementers

Stream: implementers

Topic: Support for Versions for entities in a Bundle


view this post on Zulip Jonas Toft (Mar 16 2021 at 14:02):

Is there any support for versioned-update of entities within a Bundle?

In my case I am reading a number of entities and then updating them (Patient, Encounter, Observation) by adding them to a Bundle and running a transaction. Any of these entities may have been updated, hence have a different version number. I want the transaction to fail in this case.

I have looked into the if-match header here: https://www.hl7.org/fhir/http.html#versions, and also tried it out successfully for single entity updates, but I have not seen any documentation that a similar concept for Bundles exists.

view this post on Zulip Lloyd McKenzie (Mar 16 2021 at 14:04):

Bundle.request.ifMatch exists for specifically this purpose.

view this post on Zulip Jonas Toft (Mar 16 2021 at 14:36):

Found it right under my nose: https://www.hl7.org/fhir/bundle-definitions.html#Bundle.entry.request.ifMatch


Last updated: Apr 12 2022 at 19:14 UTC