75 Pa.C.S. § 3814
(2) The defendant shall be subject to a full assessment for alcohol and drug addiction if any of the following subparagraphs apply:
(i) The defendant, within ten years prior to the offense for which sentence is being imposed, has been sentenced for an offense under:
(ii) Either:
(3) The assessment under paragraph (2) shall be conducted by one of the following:
(4) The assessment under paragraph (2) shall consider issues of public safety and shall include recommendations for all of the following:
If a defendant is convicted or pleads guilty or no contest to a violation of section 3802 (relating to driving under influence of alcohol or controlled substance), the following apply prior to sentencing:
Special Provisions in Appendix. See section 18 of Act 24 of 2003 in the appendix to this title for special provisions relating to applicability of sections 3814 and 3815.
Cross References. Section 3814 is referred to in sections 3804, 3807, 3813, 3815, 3816 of this title; section 9763 of Title 42 (Judiciary and Judicial Procedure).