Not really taking advantage, it's unbridled capitalism. Debt and profit.
Someone has to pay for the loans, building and equipment costs, owner and management staff and running costs, foreign management to guide the hospitals how to extract the max from patients for shareholders and investors, pay the taxes which govt want on everything.
Its always amazing when seeking a quotation for a specific medical problem that hospitals and doctors are unable to issue an approximate total estimation of the surgery or medical treatment based on all the medical interventions, computer monitoring and experience that they have at their disposal in todays society.