core.elementscontexttype
Home > @medplum/core > ElementsContextType
ElementsContextType type
Information for the set of elements at a given path within in a resource. This mostly exists to normalize access to elements regardless of whether they are from a profile, extension, or slice.
Signature:
export type ElementsContextType = {
path: string;
elements: Record<string, InternalSchemaElement>;
elementsByPath: Record<string, InternalSchemaElement>;
profileUrl: string | undefined;
debugMode: boolean;
};
References: InternalSchemaElement