If, after the person detained under § 34-20A-63 completes treatment, the administrator or an authorized designee determines that the grounds for emergency detainment no longer exist, the facility shall discharge the person, unless a petition for involuntary commitment under § 34-20A-70 has been filed.
SDCL 34-20A-68