FHIR Chat · Bundle.link invariant · conformance

Stream: conformance

Topic: Bundle.link invariant


view this post on Zulip Ardon Toonstra (Nov 16 2020 at 12:35):

The Search spec states that servers SHALL return the parameters that were used in a search through the self link in the Bundle. The Bundle resource does not contain an invariant for this. Are there reasons why this isn't a constraint in the Bundle?

view this post on Zulip Grahame Grieve (Nov 16 2020 at 12:53):

I don't ever remember any discussion about this, so probably oversight?

view this post on Zulip Ardon Toonstra (Nov 16 2020 at 12:59):

We noticed that some vendors miss implementing this part of the Bundle. I think that an invariant in the Bundle will help. I will create a ticket if it was indeed oversight.

view this post on Zulip Jason Walonoski (Nov 16 2020 at 13:49):

Not all Bundles are search results... so that may be why there is no invariant.

view this post on Zulip Lloyd McKenzie (Nov 16 2020 at 13:50):

It can be tied to the Bundle.type being search-set

view this post on Zulip Ardon Toonstra (Nov 16 2020 at 14:01):

Something like: type = 'searchset' implies link.where(relation = 'self' and url.exists()).exists()

view this post on Zulip Ardon Toonstra (Nov 16 2020 at 14:02):

Created https://jira.hl7.org/browse/FHIR-29699

view this post on Zulip Lloyd McKenzie (Nov 16 2020 at 14:06):

I think the URL has to exist within link, so can drop and url.exists()


Last updated: Apr 12 2022 at 19:14 UTC