> 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).

# Va. Code Ann. § 37.2-811 — Emergency treatment of inmates in the custody of local correctional facilities

- **Citation**: Va. Code Ann. § 37.2-811
- **Node Type**: section
- **Jurisdiction**: Virginia (state)
- **Code Body**: Code of Virginia (Aug. 2026 snapshot) (Va. Code Ann.)
- **Official Source**: [https://law.lis.virginia.gov/vacode/37.2-811/](https://law.lis.virginia.gov/vacode/37.2-811/)
- **Canonical URL**: [https://corpuslaw.us/codes/virginia/title-37-2/chapter-8/section-37-2-811](https://corpuslaw.us/codes/virginia/title-37-2/chapter-8/section-37-2-811)
- **Semantic URL**: [https://corpuslaw.us/codes/virginia/title-37-2/chapter-8/section-37-2-811](https://corpuslaw.us/codes/virginia/title-37-2/chapter-8/section-37-2-811)

## Hierarchy

Title 37.2 > Chapter 8

## Text

A. In any case in which temporary detention is ordered pursuant to § 37.2-809 upon petition of a person having custody of an inmate in accordance with subdivision A 2 of § 19.2-169.6 , the magistrate executing the temporary detention order shall place the person in a hospital designated by the Commissioner as appropriate for treatment and evaluation of persons under a criminal charge or, if such facility is not available, the inmate shall be detained in a local correctional facility or other place of confinement for persons charged with criminal offenses and shall be transferred to such hospital as soon as possible thereafter.

B. The hearing shall be held, upon notice to the attorney for the inmate, either (i) before the court having jurisdiction over the inmate's case or (ii) before a district court judge or special justice in accordance with the provisions of § 37.2-820 , in which case the inmate shall be represented by counsel as specified in § 37.2-814 .

1974, c. 351, § 37.1-67.1; 1975, cc. 237, 433; 1976, c. 671; 1980, c. 582; 1981, c. 463; 1986, cc. 478, 629; 1987, c. 96; 1988, c. 98; 1989, c. 716; 1990, cc. 429, 728; 1991, c. 159; 1992, c. 566; 1995, c. 844 ; 1996, cc. 343 , 893 ; 1998, cc. 37 , 594 , 611 ; 2004, c. 737 ; 2005, c. 716 ; 2010, cc. 340 , 406 .
