Skip to main content

core.formatsearchquery

Home > @medplum/core > formatSearchQuery

formatSearchQuery() function

Formats a search definition object into a query string. Note: The return value does not include the resource type.

Signature:

export declare function formatSearchQuery(definition: SearchRequest): string;

Parameters

ParameterTypeDescription
definitionSearchRequestThe search definition.

Returns:

string

Formatted URL.