RI passes bill for patient safety committee, error-tracking system