As the self-pay patient population has expanded, so has the financial risk to hospitals.