Skip to main content
Get event log entries for the patient with optional time, type, trace, and JMESPath projection filters.

Parameters

query examples

clinical_note payloads include Medications, History Of Present Illness, and Social History sections that are typically 200–700 characters each and nearly identical across notes. Always pass a query that projects only the sections you need when fetching clinical notes; this can reduce response size by 80–95%.
Case-insensitive matching: the built-in JMESPath contains() is case-sensitive. Because clinical entity names are typically Title-Case (e.g. "Chemotherapy (procedure)"), the server also provides three custom functions in query expressions: lower(str), upper(str), and icontains(haystack, needle): a case-insensitive, null-safe substring test. Prefer icontains(field, 'value') (or contains(lower(field), 'value')) for any name/text filter. These functions are available on both get_logs and get_view_block queries.

Example output

Illustrative: format: raw returns structured records in the logs array; a query replaces logs with the projected result.