Question special

What happens if a patient is accidentally harmed (thinking very generally here: perhaps they were prescribed a medication to which they had an allergy; or the doctor misdiagnosed them and recommended a course of therapy that was incorrect) by the recommendations of a physician in another country through a telemedicine encounter? Are there similar mechanisms for patient protection and malpractice reimbursement? I would imagine this could become complicated across borders.