There are some use cases for which it is a helpful optimisation to group the search results based on some criteria, and then return only a limited number of those results.
An existing example of this is the $lastn operation.
More general grouping behaviour can be achieved by using the custom $group operation (for supported endpoints).
The supported search parameters match those for Observation search.
By default, this query will group results by day, and return only one result per day.
PKB customer sites: deploy | developer | information governance | procurement | manual
© Patients Know Best, Ltd. Registered in England and Wales Number: 6517382. VAT Number: GB 944 9739 67.
This API specification and design is licensed under a Creative Commons Attribution 4.0 International License.