FHIR Chat · Handling of Updates · implementers

Stream: implementers

Topic: Handling of Updates


view this post on Zulip Caitlin Voegele (Feb 04 2022 at 22:32):

Quick question on handling of updates. If you go to update a resource and all of the data is the same, could you simply update the lastUpdated date and version and not store the whole new resource? Basically looking at how we could reduce data store size by not rewriting millions of rows and instead simply silently accept.

view this post on Zulip Michele Mottini (Feb 05 2022 at 00:50):

If nothing changes don't do anything at all

view this post on Zulip Josh Mandel (Feb 05 2022 at 04:00):

Indeed, given how we define lastUpsated:

If populated, this value changes each time the content of the resource changes.

It seems perfectly fine to leave this and the version ID untouched if a client requests an update but does not provide any actual changed content (i.e., 200 response and no change to the resource at all).


Last updated: Apr 12 2022 at 19:14 UTC