; (D) is a custodial parent; (E) (i) is suffering from a serious illness, other than a substance abuse disorder; and (ii) provides documentation of the illness described in clause (i) with a letter of diagnosis from a medical provider; (F) is pregnant; or (G) is in compliance with the terms of the sentence imposed on the individual for the conviction. ; (2) in subsection (d), by striking the date of the enactment of this Act each place that term appears and inserting the date of enactment of the Record Expungement Designed to Enhance Employment Act of 2017 ; (3) by striking subsection (e) and inserting the following: (e) Definitions For purposes of this section— (1) the term certified substance abuse treatment program means a course of substance abuse disorder treatment prescribed by a qualified behavioral health provider; (2) the term custodial parent means an individual who has custody of, and lives in the same household as— (A) a dependent child who is less than 18 years of age; or (B) a disabled child of the individual who is not less than 18 years of age; (3) the term State has the meaning given the term— (A) in section 419(5) of the Social Security Act, when referring to assistance provided under a State program funded under part A of title IV of the Social Security Act; and (B) in section 3 of the Food and Nutrition Act of 2008 ( 7 U.S.C. 2012 ), when referring to the supplemental nutrition assistance program (as defined in that section) or any State program carried out under that Act; and (4) the term successfully completed , with respect to an individual who participates in a certified substance abuse treatment program, means the individual has completed the prescribed course of treatment for a substance abuse disorder.