Many countries have world-renowned health care system in terms of quality and technology, but have not adopted the legal system completely as in the western countries. For e.g Doctors in the US are required to pay medical malpractice insurance that usually cost over $100,000 annually.
Foreign doctors are required to pay medical malpractice insurance as well, but their costs are as low as $4000 annually. In addition to this insurance, certain economies are at different stages of development than the US. This absolutely does not mean that their healthcare technologies and institutions are behind the US. In fact, most of the private hospitals in India use exactly the same machines and instruments as the most advanced hospitals in the west