R.I. Gen. Laws § 40.1-5-12. Habeas corpus and other remedies.