Legal and Ethical Analysis of Court-Ordered Ivermectin Treatment for COVID-19

What are the implications of a court requiring a doctor to administer a drug they do not believe is medically indicated?