FHIR Chat · returning search bundle with no result · implementers

Stream: implementers

Topic: returning search bundle with no result


view this post on Zulip Bartek Sarul (Jun 24 2016 at 11:51):

When search returns 0 results, the bundle.entry property should be an empty array or not present at all? I don't see any information in documentation about this. Fhirbase currently returns empty array

view this post on Zulip Lloyd McKenzie (Jun 24 2016 at 14:49):

Empty elements (arrays or strings) are not permitted.

view this post on Zulip Bartek Sarul (Jun 25 2016 at 17:36):

Currently fhir_search method of fhirbase returns json entry: [ ] - an empty array.
From what you say I understand that this is wrong and instead it should omit that json field, right?

view this post on Zulip Lloyd McKenzie (Jun 25 2016 at 19:57):

Correct


Last updated: Apr 12 2022 at 19:14 UTC