Skip to main content

core.getsearchparameters

Home > @medplum/core > getSearchParameters

getSearchParameters() function

Returns the search parameters for the resource type indexed by search code.

Signature:

export declare function getSearchParameters(resourceType: string): Record<string, SearchParameter> | undefined;

Parameters

ParameterTypeDescription
resourceTypestringThe resource type.

Returns:

Record<string, SearchParameter> | undefined

The search parameters for the resource type indexed by search code.