Except as provided for in §§ 27A-12-3.11 and 27A-12-3.15, any adult person who is admitted as an inpatient or an outpatient or who is involuntarily committed or who is detained on a mental illness hold prior to a commitment hearing has the right to refuse to be subjected to research and experimental or intrusive procedures and may also refuse any treatment including electroconvulsive therapy and psychotropic medication. If an involuntarily committed person refuses treatment, then psychotropic medication, electroconvulsive therapy, and such other medical treatment as may be necessary for the treatment of the person's mental illness may be administered if it is ordered by the court or the board under the criteria in § 27A-12-3.15.
SDCL 27A-12-3.12