FHIR Chat · Ref integrity on versioned references · implementers

Stream: implementers

Topic: Ref integrity on versioned references


view this post on Zulip Paul Church (Jun 07 2021 at 21:08):

@Grahame Grieve The Google implementation supports ref integrity on versioned references. We check the existence of the target version when the reference is created/updated. It could be the current version, or a history version - works the same way. If it's the current version, you can later update/delete that target resource and the reference will point into the history.

We don't block deletion of the target version through $purge on the grounds that anyone using $purge probably has good reasons to make the data go away, but unless that happens the reference will always remain valid.


Last updated: Apr 12 2022 at 19:14 UTC