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

Parameter

Type

Description

x

TypedValue

The first value.

y

TypedValue

The second value.

Returns:

TypedValue[]

True if equivalent.