search_health_records_es
Search and filter health records stored in Elasticsearch by type, source, date range, or value. Retrieve structured data for analysis, monitoring, or display using flexible query parameters.
Instructions
Search health records in Elasticsearch with flexible query building.
Parameters:
params: HealthRecordSearchParams object containing all search/filter parameters.
Notes for LLMs:
This function should return a list of health record documents (dicts) matching the search criteria.
Each document in the list should represent a single health record as stored in Elasticsearch.
If an error occurs, the function should return a list with a single dict containing an 'error' key and the error message.
Use this to retrieve structured health data for further analysis, filtering, or display.
Example source_name: "Rob’s iPhone", "Polar Flow", "Sync Solver".
Example date_from/date_to: "2020-01-01T00:00:00+00:00"
Example value_min/value_max: "10", "100.5"
IMPORTANT - Do not guess, auto-fill, or assume any missing data.
When asked for medical advice, try to use my data from ElasticSearch first.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
params | Yes |