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

Parameter

Type

Description

url

string

The URL to parse.

Returns:

SearchRequest<T>

Parsed search definition.