; and (2) collecting information that identifies responsible third parties (as defined in subsection (nn) of section 1902 of the Social Security Act ( 42 U.S.C. 1396a ), as added by subsection (a)(2)(A)) and other relevant information for ascertaining the legal responsibility of such third parties to pay for care and services available under the State plan (or under a waiver of the plan) under title XIX of the Social Security Act ( 42 U.S.C. 1396 et seq.) or under the State child health plan under title XXI of such Act ( 42 U.S.C. 1397 et seq.). (f) Effective date (1) In general Except as provided in paragraph (2), this section and the amendments made by this section (other than as specified in the preceding provisions of this section) shall take effect on October 1, 2019, and shall apply to medical assistance or child health assistance provided on or after such date. (2) Exception if State legislation required In the case of a State plan for medical assistance under title XIX of the Social Security Act ( 42 U.S.C. 1396 et seq.), or a State child health plan for child health assistance under title XXI of such Act ( 42 U.S.C. 1397aa et seq.), that the Secretary of Health and Human Services determines requires State legislation (other than legislation appropriating funds) in order for the plan to meet the additional requirement imposed by the amendments made under this section, such plan shall not be regarded as failing to comply with the requirements of such title solely on the basis of its failure to meet this additional requirement before the first day of the first calendar quarter beginning after the close of the first regular session of the State legislature that begins after the date of the enactment of this Act. For purposes of the previous sentence, in the case of a State that has a 2-year legislative session, each year of such session shall be deemed to be a separate regular session of the State legislature. 22202. Treatment of lottery winnings and other lump-sum income for purposes of income eligibility