
            select
                evnlabrequest_id as "EvnLabRequest_id",
                error_message as "Error_Msg",
                error_code as "Error_Code"
            from dbo.p_evnlabrequest_upd(
                EvnLabRequest_id := '890101023213374',
                EvnLabRequest_pid := NULL,
                EvnLabRequest_RegNum := NULL,
                --EvnLabRequest_rid := NULL,
                Lpu_id := '13101851',
                Server_id := 13101851,
                PersonEvn_id := '890101012002988',
                EvnLabRequest_setDT := NULL,
                EvnLabRequest_disDT := NULL,
                EvnLabRequest_didDT := '2022-03-24 00:00:00',
                --Evn_insDT := NULL, вычисляются в хранимых процедурах
                --Evn_updDT := NULL,
                --Evn_Index := NULL,
                --Evn_Count := NULL,
                Morbus_id := NULL,
                EvnLabRequest_IsSigned := NULL,
                pmUser_signID := NULL,
                EvnLabRequest_signDT := NULL,
                EvnStatus_id := '1',
                EvnLabRequest_statusDate := '2022-03-24 19:39:05',
                EvnDirection_id := '890101023213372',
                UslugaExecutionType_id := NULL,
                EvnLabRequest_Comment := NULL,
                PayType_id := '299',
                UslugaComplex_id := NULL,
                EvnLabRequest_Ward := NULL,
                MedService_id := '890101000001088',
                EvnLabRequest_BarCode := NULL,
                EvnLabRequest_IsCito := 1,
                MedService_sid := '890101000001370',
                EvnLabRequest_prmTime := NULL,
                Mes_id := NULL,
                Diag_id := '7847',
                TumorStage_id := NULL,
                pmUser_id := '389528695932',
                EvnLabRequest_PlanDT := NULL,
                EvnLabRequest_IsExecutionPeriodMissed := NULL
            )
            
