Skip to main content

core.fhirpathequivalent

Home > @medplum/core > fhirPathEquivalent

fhirPathEquivalent() function

Determines if two values are equivalent according to FHIRPath equality rules.

Signature:

export declare function fhirPathEquivalent(x: TypedValue, y: TypedValue): TypedValue[];

Parameters

ParameterTypeDescription
xTypedValueThe first value.
yTypedValueThe second value.

Returns:

TypedValue[]

True if equivalent.