core.parsefhirpath
Home > @medplum/core > parseFhirPath
parseFhirPath() function
Parses a FHIRPath expression into an AST. The result can be used to evaluate the expression against a resource or other object. This method is useful if you know that you will evaluate the same expression many times against different resources.
Signature:
export declare function parseFhirPath(input: string): FhirPathAtom;
Parameters
Parameter | Type | Description |
---|---|---|
input | string | The FHIRPath expression to parse. |
Returns:
The AST representing the expression.