; and (B) that is funded exclusively through non-Federal funds, including funds received by the State in the form of premiums for the purchase of such coverage. . (2) Coverage rule (A) In general Section 5000A(f)(1) of the Internal Revenue Code of 1986 is amended in subparagraph (A)(iii), by inserting or under a qualified CHIP look-alike program (as defined in section 2107(g) of the Social Security Act) before the comma at the end. (B) Effective date The amendment made by subparagraph (A) shall apply with respect to taxable years beginning after December 31, 2017. (h) Availability of unused fiscal year 2018 redistribution amounts Any amounts that have been redistributed to States under subsection (f) of section 2104 of the Social Security Act ( 42 U.S.C. 1397dd ) for fiscal year 2018 that are not, or will not be, expended by the end of that fiscal year shall be— (1) adjusted by the Secretary before the end of fiscal year 2018 to reflect an updated estimate of shortfalls under subsection (f)(2)(A) of such section; and (2) available for redistribution under subsection (f) of such section for subsequent fiscal years. 102. Extension of certain programs and demonstration projects (a) Childhood obesity demonstration project Section 1139A(e)(8) of the Social Security Act (42 U.S.C. 1320b–9a(e)(8)) is amended— (1) by striking and $10,000,000 and inserting , $10,000,000 ; and (2) by inserting after 2017 the following: , and $5,000,000 for fiscal year 2018 and each subsequent fiscal year . (b) Pediatric quality measures program Section 1139A(i) of the Social Security Act (42 U.S.C. 1320b–9a(i)) is amended— (1) by striking Out of any and inserting the following: (1) In general Out of any ; (2) by striking there is appropriated for each and inserting “there is appropriated— (A) for each ; (3) by striking , and there is appropriated for the period and inserting “; (B) for the period ; (4) by striking . Funds appropriated under this subsection shall remain available until expended. and inserting ; and