fhirbase/fhirbase-plv8

_count=0 is not handled correctly in search

Opened this issue · 0 comments

According to fhir documentation:

if _count has the value 0, this shall be treated the same as _summary=count: the server resturns a bundle that reports the total number of matches in Bundle.total, but with no entries, and no prev/next/last links.

This doesn't happen at the moment (v1.3.0.23). Also note that _summary=count doesn't work even when set explicitly.