Skip to main content

core.fhirpathequals

Home > @medplum/core > fhirPathEquals

fhirPathEquals() function

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

Signature:

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

Parameters

Parameter

Type

Description

x

TypedValue

The first value.

y

TypedValue

The second value.

Returns:

TypedValue[]

True if equal.