Skip to main content

core.parsecriteriaassearchrequest

Home > @medplum/core > parseCriteriaAsSearchRequest

parseCriteriaAsSearchRequest() function

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

Signature:

export declare function parseCriteriaAsSearchRequest(criteria: string): SearchRequest;

Parameters

ParameterTypeDescription
criteriastringThe FHIR criteria string.

Returns:

SearchRequest

Parsed search definition.