2007 ORS § 426.380¹
Availability of writ of habeas corpus

Any individual committed pursuant to ORS 426.005 (Definitions for ORS 426.005 to 426.390) to 426.223 (Retaking persons in custody of or committed to department) and 426.241 (Payment of care, custody and treatment costs) to 426.380 (Availability of writ of habeas corpus) shall be entitled to the writ of habeas corpus upon proper petition by the individual or a friend to any court generally empowered to issue the writ of habeas corpus in the county in which the state hospital in which the person is detained is located. [1967 c.460 §6]