FHIR Chat · References between history versions · implementers

Stream: implementers

Topic: References between history versions


view this post on Zulip Rik Smithies (Dec 12 2018 at 12:11):

What is the current thinking about references between old version of resources?
If I retrieve an old version, is it expected that its references will point to the latest versions of other resources?
Would I need to search the history of referenced items using lastUpdated, to see what it was linked to originally?
Does anyone change references so they become version specific, when a resource becomes non-current?

view this post on Zulip Lloyd McKenzie (Dec 12 2018 at 15:09):

The decision about whether references are version-specific is made at the time of creating the instance. There's no expectation that systems will automatically update references after the fact (and doing so would break digital signatures). So, for example, you might decide that references to Patient and Practitioner are version-agnostic, while references to Condition are version-specific when you're creating a new Encounter.

view this post on Zulip Christiaan Knaap (Dec 17 2018 at 08:26):

For practical use please note that Vonk nor HAPI (afaik) saves the search index for old versions of resources, so chained search will not work very reliably for version-specific references. How do other servers handle this?


Last updated: Apr 12 2022 at 19:14 UTC