I know that everyone makes mistakes, but my brother is a doctor and in that profession those mistakes can be more costly than others. That's why I recommended him to buy an indemnity medical insurance. Although, medical insurance will not prevent these situations from happening, it will give you some protection when dealing with the financial and reputational repercussions.
I have found this article very helpful (https://www.guardinsurance.com.au/professional-indemnity-insurance/medical-indemnity/) in the process of choosing the right kind of medical indemnity insurance.