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

Parameter

Type

Description

definition

SearchRequest

The search definition.

Returns:

string

Formatted URL.