Search Aggregated Measurements entities by filter
Returns list of Aggregated Measurements, the response can be filtered, sorted and supports pagination
Each additionalProp can filter one field, inside additionalProp there are many optional conditions that can be used for filtering that field
When multiple conditions are specified, they are bundled together using logical AND operators, this means that only the items that match all filter conditions for that field will be returned
filter items possible values: [ _patient.id - eq operator only - mandatory,timestamp - from & to operators only - mandatory,attributes - in operator only - optional,binIntervalSeconds - eq operator only - mandatory ]
Results can be sorted by multiple fields, the order of the fields in the sort request governs the hierarchy of the sort
The first field is the primary sort, the second is used when two values of the first field are the same, and so forth
sort.order default value is DESC
sort.prop possible values:[ ]
If sort was not specified, the result will be sorted by: creationTime DESC
When freeTextSearch is passed, the free text search will be performed on every field except those of type Date
If used together with filters, freeTextSearch will be bundled to the filters with the logical AND operator, this means that only items that match all filters (and each filter's conditions) and the free text search will be returned
limit max number of results that will be returned for each page. If not specify, the default will be 100
page page number starting from 0. If not specify, the default will be 0
Encode the JSON object and use the encoded string as the searchRequest parameter:
The result will be sorted by the timestamp range field.
Due to the paging mechanism, the timestamp range of the last item in the array might not contain aggregation data for all attributes,
the rest of the attributes will be provided in the next page (which also means the last timestamp range will appear again in the next page as the first item with the rest of the attributes aggregation data).
If a time range has no data, nothing will be returned for this time range
|searchRequest||true||Search request parameters: filter, sort and page|
This API requires PROTECTED_API permission(s).