; and (iii) in paragraph (2), by inserting before the period the following: , including analysis of comparable quality measures for children eligible for medical assistance under title XIX or child health assistance under title XXI who receive their health services through managed care, primary care case management, and fee-for-service settings or other delivery systems . (2) Effective date The amendments made by this subsection shall take effect as if included in the enactment of section 1139A of the Social Security Act, as added by section 401(a) of the Children’s Health Insurance Program Reauthorization Act of 2009 ( Public Law 111–3 ). 4. Performance bonuses for significant achievement in Medicaid and CHIP quality performance Section 1903 of the Social Security Act ( 42 U.S.C. 1396b ) is amended by adding at the end the following new subsection: (aa) Performance bonus for quality performance achievement (1) In general The Secretary shall establish a Medicaid Quality Performance Bonus fund for awarding performance bonuses to States for high attainment and improvement on a core set of quality measures related to the goals and purposes of the Medicaid program under this title. (2) Quality performance bonus methodology Not later than 3 years after the date of enactment of the Medicaid and CHIP Quality Improvement Act of 2017 , the Secretary shall establish a methodology for awarding Medicaid quality performance bonuses to States not less than annually in accordance with paragraph (3) and subject to the availability of appropriations. Medicaid quality performance bonuses shall be awarded on the basis of the annual State reports required under sections 1139A and 1139B and in accordance with regulations promulgated by the Secretary. (3) Quality performance measurement bonuses Medicaid quality performance bonuses shall be awarded to the following 10 States: (A) The top 5 States achieving the designation of superior quality performing State under criteria established by the Secretary. (B) The 5 States that— (i) are