Medical bill measure goes to N.J. Senate