Skip to main content

core.parsecriteriaassearchrequest

Home > @medplum/core > parseCriteriaAsSearchRequest

parseCriteriaAsSearchRequest() function

Warning: This API is now obsolete.

Use parseSearchRequest instead.

Parses a FHIR criteria string into a SearchRequest. FHIR criteria strings are found on resources such as Subscription.

Signature:

export declare function parseCriteriaAsSearchRequest<T extends Resource = Resource>(criteria: string): SearchRequest<T>;

Parameters

Parameter

Type

Description

criteria

string

The FHIR criteria string.

Returns:

SearchRequest<T>

Parsed search definition.