; no territory match required (a) In general Section 1935(e) of the Social Security Act ( 42 U.S.C. 1396u–5(e) ) is amended— (1) by redesignating paragraph (4) as paragraph (6); and (2) by inserting after paragraph (3) the following new paragraphs: (4) Treatment of prescription drug assistance furnished to part D eligibles Notwithstanding any other provision of this title, financial assistance for prescription drug expenses furnished under a plan established under this subsection to a part D eligible individual who would qualify as a subsidy eligible individual under section 1860D–14(a)(3) if the individual resided in one of the 50 States or the District of Columbia shall be treated as medical assistance provided by the State plan for purposes of section 1903, without regard to whether such individual otherwise qualifies for medical assistance under this title. (5) No territory match required Notwithstanding section 1905(b), with respect to medical assistance furnished to an individual by a State under a plan established under this subsection, the Federal medical assistance percentage shall be equal to 100 percent. . (b) Conforming amendment Section 1905(b) of the Social Security Act ( 42 U.S.C. 1396d(b) ) is amended in the first sentence by striking and section 1933(d) and inserting , section 1933(d), and section 1935(e)(5) . (c) Effective date The amendments made by this section shall take effect on January 1, 2018. B Additional provisions 2201. Calculation of Medicare DSH payments for IPPS hospitals in Puerto Rico Section 1886(d)(9)(D)(iii) of the Social Security Act ( 42 U.S.C. 1395ww(d)(9)(D)(iii) ) is amended to read as follows: (iii) Subparagraph (F) (relating to disproportionate share payments), including application of subsection (r), except that for this purpose— (I) the sum described in clause (ii) of this subparagraph shall be substituted for the sum referred to in paragraph (5)(F)(ii)(I)