Except as is provided in § 27A-8-10.1 , a voluntary patient eighteen years of age or over has the right to immediate discharge upon written notice of his intention to terminate inpatient treatment. Upon informing a staff member of the inpatient psychiatric facility of the intention to terminate inpatient treatment, the facility shall promptly supply the patient with the required written form. Source: SL 1975, ch 181 , § 38; SDCL Supp, § 27-4-13.2; SL 1991, ch 220 , § 56.