
            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 := '400101227563447',
                evnprescrfuncdiag_rid := '400101227563443',
                lpu_id := '33669',
                server_id := 33669,
                personevn_id := '400101043588889',
                evnprescrfuncdiag_setdt := '2023-07-30',
                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 := '400101000000339',
                pmuser_id := '425128580544'
            );
        
