FHIR Chat · reconciling entities · implementers

Stream: implementers

Topic: reconciling entities


view this post on Zulip Richard Stanley (Apr 03 2018 at 17:17):

Hello. I'm curious if there are any references folks can share on how to efficiently reconcile entities in FHIR, ie. how to reconcile entities in nested (tree) data structures. An example that our team is working on different location resources that need to be reconciled. Any thoughts, prior art, research papers, tools would be great.

view this post on Zulip Lloyd McKenzie (Apr 03 2018 at 17:23):

So checking to see that tree structures on different servers are organized in the same hierarchy?

view this post on Zulip Richard Stanley (Apr 03 2018 at 18:31):

Yes. So, a use case would be that Server A needs to work with the hierarchy from Server B. After an initial share, Server A now needs to get the latest Server B location hierarchy and check for any staleness in their (Server A) version. Make sense or am I confusing it?

view this post on Zulip Lloyd McKenzie (Apr 03 2018 at 18:56):

Retrieving a hierarchy is possible if you use the :recurse hierarchy, but that brings back everything all the time. You could filter by last updated, but it's not clear how that filter interacts with _include. My reading is that it would apply to the root node, not the _included records, so that wouldn't help much. You could also grab everything from the server, filtered by last updated, but that may give you a lot of locations you don't care about. Depending on how many locations are involved, you could filter by last updated and by a list of all the location ids you care about, but that could be a pretty large query if you've got lots of location ids. (You'd update the list of ids after each query to reflect what you learned the last time)


Last updated: Apr 12 2022 at 19:14 UTC