Skip to main content

core.parsefhirpathpatchparameters

Home > @medplum/core > parseFhirPathPatchParameters

parseFhirPathPatchParameters() function

Parses a FHIRPath Patch Parameters resource into the array of operations consumed by fhirpathPatchTypedValue(). Each repeating operation parameter is decoded from its part entries (type, path, name, value, index, source, destination), where the polymorphic value[x] part becomes a TypedValue.

Signature:

export declare function parseFhirPathPatchParameters(parameters: Parameters): FhirPathPatch[];

Parameters

Parameter

Type

Description

parameters

Parameters

The FHIRPath Patch Parameters resource.

Returns:

FhirPathPatch

The parsed FHIRPath Patch operations.