Va. Code Ann. § 19.2-299.2
A. When a person is convicted of any offense committed on or after January 1, 2000, under Article 1 (§ 18.2-247 et seq.) or Article 1.1 (§ 18.2-265.1 et seq.) of Chapter 7 of Title 18.2, and such offense is punishable as a Class 1 misdemeanor, or when a person is convicted for a second offense of petit larceny, the court shall order the person to undergo a substance abuse screening as part of the sentence if the defendant's sentence includes probation supervision by a local community-based probation services agency established pursuant to Article 9 (§ 9.1-173 et seq.) of Chapter 1 of Title 9.1 or participation in a local alcohol safety action program. Whenever a court requires a person to enter into and successfully complete an alcohol safety action program pursuant to § 18.2-271.1 for a second offense of the type described therein, or orders an evaluation of a person to be conducted by an alcohol safety action program pursuant to any provision of § 46.2-391, the alcohol safety action program shall assess such person's degree of alcohol abuse before determining the appropriate level of treatment to be provided or to be recommended for such person being evaluated pursuant to § 46.2-391.
The court may order such screening upon conviction as part of the sentence of any other Class 1 misdemeanor if the defendant's sentence includes probation supervision by a local community-based probation services agency established pursuant to Article 9 (§ 9.1-173 et seq.) of Chapter 1 of Title 9.1, participation in a local alcohol safety action program or any other sanction and the court has reason to believe the defendant has a substance abuse or dependence problem.
1998, cc. 783, 840; 1999, cc. 891, 913; 2000, cc. 958, 980, 1040; 2007, c. 133; 2008, c. 762.