; (2) in subsection (g)(2), in the matter preceding subparagraph (A), by inserting subsection (h) after subject to ; and (3) by adding at the end the following new subsection: (h) Sunset of Medicaid funding limitations for Puerto Rico, the Virgin Islands of the United States, Guam, the Northern Mariana Islands, and American Samoa Subsections (f) and (g) shall not apply to Puerto Rico, the Virgin Islands of the United States, Guam, the Northern Mariana Islands, and American Samoa beginning with fiscal year 2019. . (b) Conforming amendments (1) Section 1902(j) of the Social Security Act ( 42 U.S.C. 1396a(j) ) is amended by striking , the limitation in section 1108(f), . (2) Section 1903(u) of the Social Security Act ( 42 U.S.C. 1396b(u) ) is amended by striking paragraph (4). (3) Section 1323(c)(1) of the Patient Protection and Affordable Care Act ( 42 U.S.C. 18043(c)(1) ) is amended by striking 2019 and inserting 2018 . (c) Effective date The amendments made by this section shall apply beginning with fiscal year 2019. 202. Elimination of specific Federal medical assistance percentage (FMAP) limitation for territories; temporarily increasing the FMAP for Puerto Rico and the Virgin Islands to 100 percent Section 1905(b) of the Social Security Act ( 42 U.S.C. 1396d(b) ) is amended— (1) in clause (2), by inserting for fiscal years before fiscal year 2019 after American Samoa ; and (2) by adding at the end the following new sentence: Notwithstanding the first sentence of this subsection, for each of fiscal years 2018 and 2019, the Federal medical assistance percentage for Puerto Rico and the Virgin Islands shall be 100 percent. . 203. Application of Medicaid waiver authority to all of the territories (a) In general Section 1902(j) of the Social Security Act ( 42 U.S.C. 1396a(j) ) is amended— (1) by striking American Samoa and the Northern Mariana Islands and inserting Puerto Rico, the Virgin Islands of the United States, Guam, the Northern Mariana Islands, and American Samoa