The legislation addresses several pressure points for patients struggling with medical bills.