The period of mandatory outpatient treatment shall begin upon discharge of the person from involuntary inpatient treatment, either upon expiration of the order for inpatient treatment pursuant to subsection C of § 37.2-817 or pursuant to § 37.2-837 or 37.2-838. The duration of mandatory outpatient treatment shall be determined by the court on the basis of recommendations of the community services board, and the maximum period of mandatory outpatient treatment shall not exceed 180 days; in prescribing the terms of the order, including its length, the judge or special justice shall consider the impact on the person's opportunities and obligations, including education and employment.
The treating physician and facility staff shall develop the comprehensive mandatory outpatient treatment plan in conjunction with the community services board and the person. The comprehensive mandatory outpatient treatment plan shall include all of the components described in, and shall be filed with the court and incorporated into, the order for mandatory outpatient treatment following a period of involuntary inpatient treatment in accordance with subsection G. The community services board where the person resides upon discharge shall monitor the person's progress and adherence to the comprehensive mandatory outpatient treatment plan. Upon expiration of the order for mandatory outpatient treatment following a period of involuntary inpatient treatment, the person shall be released unless the order is continued in accordance with § 37.2-817.4.
Va. Code § 37.2-817.01