Skip to main content

core.parsesearchdefinition

Home > @medplum/core > parseSearchDefinition

parseSearchDefinition() function

Warning: This API is now obsolete.

Use parseSearchRequest instead.

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.