; and (B) is expected to become eligible for the Medicare program under title XVIII of such Act during the subsequent 12-month period. 1005. Medicaid drug review and utilization (a) Medicaid drug utilization review (1) State plan requirement Section 1902(a) of the Social Security Act ( 42 U.S.C. 1396a(a) ), as amended by section 101, is further amended— (A) in paragraph (83), at the end, by striking and ; (B) in paragraph (84), at the end, by striking the period and inserting ; and ; and (C) by inserting after paragraph (84) the following new paragraph: (85) provide that the State is in compliance with the drug review and utilization requirements under subsection (oo)(1). . (2) Drug review and utilization requirements Section 1902 of the Social Security Act ( 42 U.S.C. 1396a ), as amended by section 101, is further amended by adding at the end the following new subsection: (oo) Drug review and utilization requirements (1) In general For purposes of subsection (a)(85), the drug review and utilization requirements under this subsection are, subject to paragraph (3) and beginning October 1, 2019, the following: (A) Claims review limitations (i) In general The State has in place— (I) safety edits (as specified by the State) for subsequent fills for opioids and a claims review automated process (as designed and implemented by the State) that indicates when an individual enrolled under the State plan (or under a waiver of the State plan) is prescribed a subsequent fill of opioids in excess of any limitation that may be identified by the State