Testing Legality Of Detention

This is Article 8 of the Code of Virginia, titled “Testing Legality Of Detention.” It is part of Title 37.2, titled “Behavioral Health And Developmental Services.” It is part of Subtitle 3, titled “Admissions And Dispositions.” It is part of Chapter 8, titled “Emergency Custody And Voluntary And Involuntary Civil Admissions.” It’s comprised of the following 4 sections.

§ 37.2-844
Habeas corpus as means
§ 37.2-845
Procedure when person confined in facility or other institution
§ 37.2-846
Procedure when person not confined in facility or other institution
§ 37.2-847
Duty of attorney for Commonwealth