core.fhirpathpatch | Medplum
FhirPathPatch type [](/content/docs/sdk/core.fhirpathpatch#fhirpathpatch-type "Direct link to FhirPathPatch type"/index.html)
Signature:
export type FhirPathPatch = {
type: 'add';
path: string;
name: string;
value: TypedValue;
} | {
type: 'insert';
path: string;
value: TypedValue;
index: number;
} | {
type: 'delete';
path: string;
} | {
type: 'replace';
path: string;
value: TypedValue;
} | {
type: 'move';
path: string;
source: number;
destination: number;
};
References: TypedValue