
            select 
            evnprescrfuncdiag_id as "EvnPrescrFuncDiag_id",
            error_code as "Error_Code",
            error_message as "Error_Msg"
        
            from dbo.p_evnprescrfuncdiag_ins(
                evnprescrfuncdiag_id := NULL,
                evnprescrfuncdiag_pid := '70101205493679',
                lpu_id := '864904',
                server_id := 0,
                personevn_id := '70101004421505',
                evnprescrfuncdiag_setdt := '2022-02-01',
                evnprescrfuncdiag_begrecomdate := NULL,
                evnprescrfuncdiag_endrecomdate := NULL,
                prescriptiontype_id := 12,
                evnprescrfuncdiag_iscito := 1,
                prescriptionstatustype_id := 1,
                evnprescrfuncdiag_descr := NULL,
                studytarget_id := '2',
                dopdispinfoconsent_id := NULL,
                resource_id := NULL,
                medservice_id := '70101000000344',
                pmuser_id := '375134765666'
            );
        
