State representatives pass Nurse and Patient Safety Act