core.parsefhirpathpatchparameters | Medplum

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 [​](/content/docs/sdk/core.parsefhirpathpatchparameters#parameters "Direct link to Parameters"/index.html)

Parameter Type Description
parameters Parameters The FHIRPath Patch Parameters resource.

Returns:

FhirPathPatch
The parsed FHIRPath Patch operations.