Invox Dictation SDK Version:

Auto Fill Templates Functions


Functions related to AI-powered template filling. The SDK can automatically extract structured information from free-form dictated text and fill it into predefined medical templates.

GetAutoFillTemplatesService

FunctionDescriptionParametersReturns
INVOX.GetAutoFillTemplatesService()Returns the Auto Fill Templates service instance.—Object

Returns a service instance that provides access to the AI template filling capabilities.

const autoFillService = INVOX.GetAutoFillTemplatesService();

AITemplateFiller

FunctionDescriptionParametersReturns
INVOX.AITemplateFiller(text, templateName, preserveDefaults?)Fills a structured template from free-form dictated text.String, String, Boolean (optional)Promise<String>

Takes a free-form text and a template name, and returns the template filled with information extracted from the text. The optional preserveDefaults parameter determines whether existing default values in the template should be kept.

const filled = await INVOX.AITemplateFiller(
    "Patient complains of chest pain since yesterday",
    "CardiacAssessment",
    false
);
console.log(filled);