FHIR Chat · BundleType when using "_include" · implementers

Stream: implementers

Topic: BundleType when using "_include"


view this post on Zulip Mona O (Jul 03 2019 at 22:46):

When performing a search on a resource and utilizing "_include" what should the Bundle.Type be? I originally thought "searchset", but based on the definition should "collection" be used instead or could "batch" be interpreted as an option?.

searchset- The bundle is a list of resources returned as a result of a search/query interaction, operation, or message.
collection - The bundle is a set of resources collected into a single package for ease of distribution that imposes no processing obligations or behavioral rules beyond persistence.
batch - The bundle is a set of actions - intended to be processed by a server as a group of independent actions.

view this post on Zulip Lloyd McKenzie (Jul 03 2019 at 22:48):

Was there a question?

view this post on Zulip Mona O (Jul 03 2019 at 22:52):

Was there a question?

Sorry I accidentally hit "send". I've updated my entry with my question.

view this post on Zulip Andy Stechishin (Jul 03 2019 at 23:12):

I would recommend searchset (you are responding to a search/query)

view this post on Zulip Lloyd McKenzie (Jul 04 2019 at 00:06):

If you're executing a search, the only permitted Bundle.type in the response is "searchset". Searches can't return collections or batches. The Bundle.entry.search.mode indicates whether a given resource is part of the primary result set or is present because of an _include or _revinclude


Last updated: Apr 12 2022 at 19:14 UTC