FHIR Chat · Bundle.total field for search operations · crucible

Stream: crucible

Topic: Bundle.total field for search operations


view this post on Zulip Toby Hu (May 17 2018 at 18:53):

For search response, it seems crucible require the Bundle.total field is populated, or otherwise the test fails with "Search bundle returned does not report a total entry count" error. However, the spec says "Bundle.total may be used to return the total number of resources that match the search...", indicating the field is not mandatory: https://www.hl7.org/fhir/bundle.html#searchset

view this post on Zulip Josh Mandel (May 17 2018 at 19:00):

@Jason Walonoski may want to comment. Seems like it would be good to dial down this requirement.

view this post on Zulip Jason Walonoski (May 21 2018 at 12:31):

Technically, it may not be required, but searching and paging can be difficult as a client without numbers. Especially if you want to know the size of a cohort, for example. How many patients are there that meet these criteria? But as you say, it is not required. Attention @Robert Scanlon

view this post on Zulip Robert Scanlon (May 30 2018 at 20:33):

I agree. Same with history. Tracking here https://github.com/fhir-crucible/plan_executor/issues/140


Last updated: Apr 12 2022 at 19:14 UTC