Skip to main content

core.buildelementscontext

Home > @medplum/core > buildElementsContext

buildElementsContext() function

Signature:

export declare function buildElementsContext({ parentContext, path, elements, profileUrl, debugMode, }: {
parentContext: ElementsContextType | undefined;
path: string;
elements: Record<string, InternalSchemaElement>;
profileUrl?: string;
debugMode?: boolean;
}): ElementsContextType | undefined;

Parameters

Parameter

Type

Description

{ parentContext, path, elements, profileUrl, debugMode, }

{ parentContext: ElementsContextType | undefined; path: string; elements: Record<string, InternalSchemaElement>; profileUrl?: string; debugMode?: boolean; }

Returns:

ElementsContextType | undefined