On this page

core.fhirpathpatch

Home > @medplum/core > FhirPathPatch

FhirPathPatch type​

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