Skip to main content

core.parsesearchdefinition

Home > @medplum/core > parseSearchDefinition

parseSearchDefinition() function

Parses a URL string into a SearchRequest.

Signature:

export declare function parseSearchDefinition<T extends Resource = Resource>(url: string): SearchRequest<T>;

Parameters

ParameterTypeDescription
urlstringThe URL to parse.

Returns:

SearchRequest<T>

Parsed search definition.