FHIR Chat · Response for _type searches · implementers

Stream: implementers

Topic: Response for _type searches


view this post on Zulip Sumeet Shah (Apr 05 2019 at 16:14):

Hello,
I was wondering if there was a standardization on what is expected in response to searches using the "_type" parameter. If we're just searching on one type, it makes sense to just return a Bundle. However, if we're searching across multiple types, do we separate out the results of each resource type into their own Bundles and return a Bundle of Bundles? Or is it best to merge the contents of all types into one unified Bundle?

My thought is to merge everything into one Bundle to spare whatever is ingesting the result from having to go through layered Bundles.

view this post on Zulip Lloyd McKenzie (Apr 05 2019 at 16:38):

Search results always come in a single Bundle. There's no provision for "grouping" results (by type, Patient or anything else)

view this post on Zulip Sumeet Shah (Apr 05 2019 at 16:48):

Great! Thanks for the clarification!


Last updated: Apr 12 2022 at 19:14 UTC