2013 ORS § 161.329¹
Order of discharge

Following the entry of a judgment pursuant to ORS 161.319 (Form of verdict on guilty except for insanity), the court shall order that the person be discharged from custody if:

(1) The court finds that the person is no longer affected by mental disease or defect, or, if so affected, no longer presents a substantial danger to others and is not in need of care, supervision or treatment; or

(2)(a) Each offense for which the person is found guilty except for insanity is a misdemeanor; and

(b) The court finds that the person does not present a substantial danger to others that requires commitment. [1971 c.743 §45; 1977 c.380 §6; 1981 c.711 §4; 2011 c.724 §5]