
            select
                BedState_id as "BedState_id",
                Error_Code as "Error_Code",
                Error_Message as "Error_Msg"
            from p_BedState_ins(
                BedState_id := NULL,
                Bed_id := '16324',
                BedFondState_id := 3,
                BedState_begDate := '2022-03-09 08:13:05',
                pmUser_id := '331663983675'
                ,EvnSection_id := '500801008847637'
                ,BedState_endDate := '2022-03-19'
                
             );
        
