After having suffered a bali kiss and a potential infection as well as bali belly during my time in Bali, I can confirm that the hospitals are safe and actually are very good despite what some people say or presume.
I have used SOSMED+ which is a local (usually 24/7) medic centre, of which there are many in the tourist areas, and offer a good service but are much more expensive than the main hospitals. For example in one visit I spent 1.6m IDR on care and medications. But they are up front about their pricing before you get the care.
I have also used Balimed which is between North Kuta + Denpasar, and once registered had excellent service multiple times and with very reasonable prices for the care, medications, and even an x-ray. I haven’t spent more than 600K on a single visit.