core.buildelementscontext | Medplum

buildElementsContext() function

Signature:

export declare function buildElementsContext(input: {

parentContext: ElementsContextType | undefined;

path: string;

elements: Record<string, InternalSchemaElement>;

profileUrl?: string;

debugMode?: boolean;

accessPolicyResource?: AccessPolicyResource;

}): ElementsContextType | undefined;

Parameters

Parameter Type Description
{ parentContext, path, elements, profileUrl, debugMode, accessPolicyResource, } (not declared)
input { parentContext: ElementsContextType | undefined; path: string; elements: Record<string, InternalSchemaElement >; profileUrl?: string; debugMode?: boolean; accessPolicyResource?: AccessPolicyResource; }

Returns:

ElementsContextType | undefined