> For AI agents: read the machine-readable documentation index at [https://corpuslaw.us/llms.txt](https://corpuslaw.us/llms.txt) or the single-file full reference at [https://corpuslaw.us/llms-full.txt](https://corpuslaw.us/llms-full.txt).

# Iowa Code § 226.31 — Examination by court — notice.

- **Citation**: Iowa Code § 226.31
- **Node Type**: section
- **Jurisdiction**: Iowa (state)
- **Code Body**: Iowa Code (2026 edition) (Iowa Code)
- **Official Source**: [https://www.legis.iowa.gov/docs/code/2026/226.31.pdf](https://www.legis.iowa.gov/docs/code/2026/226.31.pdf)
- **Canonical URL**: [https://corpuslaw.us/codes/iowa/title-vi/chapter-226/subchapter-i/section-226-31](https://corpuslaw.us/codes/iowa/title-vi/chapter-226/subchapter-i/section-226-31)
- **Semantic URL**: [https://corpuslaw.us/codes/iowa/title-vi/chapter-226/subchapter-i/section-226-31](https://corpuslaw.us/codes/iowa/title-vi/chapter-226/subchapter-i/section-226-31)

## Hierarchy

Title VI — HUMAN SERVICES > Chapter 226 — STATE MENTAL HEALTH INSTITUTES > Subchapter I — GENERAL PROVISIONS

## Text

226.31. Examination by court — notice.

Before granting the order authorized in section 226.30, the court or judge shall investigate the allegations of the petition and before proceeding to a hearing on the allegations shall require notice to be served on the attorney who represented the patient in any prior proceedings under sections 229.6 through 229.15 or the advocate appointed under section 229.19, or in the case of a patient who entered the hospital voluntarily, on any relative, friend, or guardian of the person in question of the filing of the application. At the hearing the court or judge shall appoint a guardian ad litem for the person, if the court or judge deems such action necessary to protect the rights of the person. The guardian ad litem shall be a practicing attorney.

[C24, 27, 31, 35, 39, §3513; C46, 50, 54, 58, 62, 66, 71, 73, 75, 77, 79, 81, §226.31] 90 Acts, ch 1271, §1503; 2020 Acts, ch 1063, §84
