Managing care errors in the wards