Aren’t hospitals being nonprofit just in name only? They do it for tax purpose, not for charity.
Non-profits are required to provide community benefits to preserve their tax free status.
Community benefits for hospitals are about promoting community health.
https://www.irs.gov/charities-non-profits/charitable-hospita...