
            select
                XmlTemplateHtml_id as "XmlTemplateHtml_id",
                Error_Code as "Error_Code",
                Error_Message as "Error_Msg"
            from p_XmlTemplateHtml_upd (
                XmlTemplateHtml_id := '380101010548041',
                XmlTemplateHtml_HtmlTemplate := '<div class="sw-editor-page-header" contenteditable="false">@#@ШапкаОсмотра</div><div class="sw-editor-page-content">{xmltemplateinputblock_complaint}{xmltemplateinputblock_anamnesvitae}{xmltemplateinputblock_anamnesmorbi}{xmltemplateinputblock_objectivestatus}{xmltemplateinputblock_localstatus}{xmltemplateinputblock_diagnos}{xmltemplateinputblock_surveyRecommends}{xmltemplateinputblock_TreatmentPlan}<p>_______________________________________________________________________________________________________________________________</p><p style="text-align: right;" data-mce-style="text-align: right;"><span style="font-size: 12pt;" data-mce-style="font-size: 12pt;">Врач инфекционист ________________Баева С.А.</span></p></div><div class="sw-editor-page-footer" contenteditable="false">@#@СписокЛВН@#@Назначения</div>',
                pmUser_id := '416237848921'
            )
        
