Stream: crucible
Topic: Bundle.total field for search operations
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
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.
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
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