
            select
                XmlTemplateHtml_id as "XmlTemplateHtml_id",
                Error_Code as "Error_Code",
                Error_Message as "Error_Msg"
            from p_XmlTemplateHtml_upd (
                XmlTemplateHtml_id := '380101010548156',
                XmlTemplateHtml_HtmlTemplate := '<div class="sw-editor-page-header" contenteditable="false">@#@ШапкаОсмотра</div><div class="sw-editor-page-content"><p><br></p>{xmltemplateinputblock_complaint}{xmltemplateinputblock_anamnesvitae}{xmltemplateinputblock_anamnesmorbi}{xmltemplateinputblock_objectivestatus}{xmltemplateinputblock_diagnos}{xmltemplateinputblock_recommendations}<p><br></p></div><div class="sw-editor-page-footer" contenteditable="false">@#@СписокЛВН@#@Назначения</div>',
                pmUser_id := '417357242134'
            )
        
