
            select
                EvnPrescrTreat_id as "EvnPrescrTreat_id",
                Error_Code as "Error_Code",
                Error_Message as "Error_Msg"
            from dbo.p_EvnPrescrTreat_ins (
                EvnPrescrTreat_id := NULL,
                EvnPrescrTreat_pid := '140101025381032',
                EvnCourse_id := '140101028711038',
                PrescriptionType_id := 5,
                PrescriptionStatusType_id := 1,
                Lpu_id := '140101000000021',
                Server_id := 140101000000001,
                PersonEvn_id := '140101009824917',
                EvnPrescrTreat_setDT := '2022-03-19 00:00',
                EvnPrescrTreat_PrescrCount := 2,
                EvnPrescrTreat_IsCito := 1,
                EvnPrescrTreat_Descr := '1 уп., Приемов в сутки: 2, пероральное введение, до еды, Продолжительность: 1000',
                pmUser_id := '364583038101',
                EvnPrescrTreat_IsExec := 1
                )
        
