Skip to main content

core.fhirpatharrayequivalent

Home > @medplum/core > fhirPathArrayEquivalent

fhirPathArrayEquivalent() function

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

Signature:

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

Parameters

ParameterTypeDescription
xTypedValue[]The first array.
yTypedValue[]The second array.

Returns:

TypedValue[]

FHIRPath true if the arrays are equivalent.