The court or board may authorize the administration of psychotropic medication and such other medical treatment, including electroconvulsive therapy, as may be necessary for the treatment of the person's mental illness for not more than one year. The court's or board's order shall terminate if the person is judicially restored or restored by the board as competent to consent to or refuse the administration of psychotropic medication and such other medical treatment as may be necessary for the treatment of the person's mental illness or if the person's treating physician or the medical director of the facility or, if the facility does not have a medical director, a consulting psychiatrist determines that the administration of psychotropic medication and such medical treatment is no longer necessary under the criteria set forth in § 27A-12-3.13. Transfer from inpatient to outpatient treatment while the person is under an order of involuntary commitment does not, in itself, terminate the court's or board's treatment order. The necessity of treatment shall be reviewed and approved under the criteria in § 27A-12-3.13 at least every thirty days by the treating physician and the medical director of the facility or, if the facility does not have a medical director, a consulting psychiatrist after a personal examination of the person. If the consulting psychiatrist was the person's treating physician while the person was a patient at the Human Services Center, a personal examination need not take place as part of the review. If the treating physician or the medical director or consulting psychiatrist determines that the treatment ordered is no longer necessary under the criteria in § 27A-12-3.13, the treatment order shall terminate. A copy of the results of the personal examination and the determinations of the treating physician and the medical director or consulting psychiatrist shall be made part of the person's medical records.
SDCL 27A-12-3.16