"Developmental disability" means the same as that term is defined in § 37.2-100.
"Intellectual disability" means the same as that term is defined in § 37.2-100.
"Mental illness" means a disorder of thought, mood, perception, or orientation that significantly impairs judgment or capacity to recognize reality.
If a defendant intends to introduce evidence pursuant to this section, he, or his counsel, shall give notice in writing to the attorney for the Commonwealth, at least 60 days prior to his trial in circuit court, or at least 21 days prior to trial in general district court or juvenile and domestic relations district court, or at least 14 days if the trial date is set within 21 days of last court appearance, of his intention to present such evidence. In the event that such notice is not given, and the person proffers such evidence at his trial as a defense, then the court may in its discretion either allow the Commonwealth a continuance or, under appropriate circumstances, bar the defendant from presenting such evidence. The period of any such continuance shall not be counted for speedy trial purposes under § 19.2-243.
If a defendant intends to introduce expert testimony pursuant to this section, the defendant shall provide the Commonwealth with (a) any written report of the expert witness setting forth the witness's opinions and the bases and reasons for those opinions, or, if there is no such report, a written summary of the expected expert testimony setting forth the witness's opinions and bases and reasons for those opinions, and (b) the witness's qualifications and contact information.
Va. Code § 19.2-271.6