Skip to main content

core.applydefaultvaluestoelementwithvisitor

Home > @medplum/core > applyDefaultValuesToElementWithVisitor

applyDefaultValuesToElementWithVisitor() function

Signature:

export declare function applyDefaultValuesToElementWithVisitor(existingValue: any, path: string, element: InternalSchemaElement, elements: Record<string, InternalSchemaElement>, schema: InternalTypeSchema): any;

Parameters

ParameterTypeDescription
existingValueany
pathstring
elementInternalSchemaElement
elementsRecord<string, InternalSchemaElement>
schemaInternalTypeSchema

Returns:

any