
            select
                evnuslugapar_id as "EvnUslugaPar_id",
                error_code as "Error_Code",
                error_message as "Error_Msg"
            from dbo.p_EvnUslugaPar_upd(
                Evnuslugapar_id := '500801016250987',
                Evnuslugapar_pid := '500801016250169',
                Evnuslugapar_setDT := '2022-05-08',
                Lpu_id := '13100903',
                MedPersonal_id := '91027',
                MedPersonal_sid := NULL,
                MedStaffFact_id := '57822',
                MedStaffFact_sid := NULL,
                LpuSection_uid := '99560025913',
                Server_id := '0',
                PersonEvn_id := '47435484',
                UslugaComplex_id := '224021',
                Mes_id := NULL,
                Diag_id := NULL,
                TumorStage_id := NULL,
                EvnDirection_id := '500801016250984',
                Usluga_id := NULL,
                PayType_id := '201',
                UslugaPlace_id := '1',
                EvnUslugaPar_Kolvo := '1',
                EvnUslugaPar_Result := NULL,
                RefValues_id := NULL,
                Unit_id := NULL,
                EvnUslugaPar_Comment := NULL,
                EvnUslugaPar_IndexRep := 0,
                EvnLabSample_id := '500801016250986',
                EvnPrescrTimetable_id := null,
                EvnPrescr_id := '500801016250981',
                PrehospDirect_id := NULL,
                pmUser_id := '386958269228',
                EvnUslugaPar_IsSigned := NULL,
                pmUser_signID := NULL,
                EvnUslugaPar_signDT := NULL
                
            )
        
