; (F) that, in the case of a State that elects an option described in clause (i) or (ii) of subparagraph (E) with respect to a health insurer (including a group health plan, as defined in section 607(1) of the Employee Retirement Income Security Act of 1974, a self-insured plan, a fully-insured plan , a service benefit plan, a managed care organization, a pharmacy benefit manager, and any other health plan determined appropriate by the Secretary), the State shall provide assurances to the Secretary that the State laws referred to in subparagraph (I) confer to the health insurer the authority of the State with respect to the requirements specified in clauses (i) through (iv) of such subparagraph; . (2) Treatment of collected amounts Section 1903(d)(2)(B) of the Social Security Act ( 42 U.S.C. 1396b(d)(2)(B) ) is amended by adding at the end the following: For purposes of this subparagraph, reimbursements made by a responsible third party to health insurers (including group health plans, as defined in section 607(1) of the Employee Retirement Income Security Act of 1974, self-insured plans, fully-insured plans, service benefit plans, managed care organizations, pharmacy benefit managers, and any other health plan determined appropriate by the Secretary) pursuant to section 1902(a)(25)(E) shall be treated in the same manner as reimbursements made to a State under the previous sentence. . (3) Effective date The amendments made by this subsection shall take effect as if enacted on October 1, 2017. (d) Increasing State flexibility with respect to third party liability Section 1902(a)(25)(I) of the Social Security Act ( 42 U.S.C. 1396a(a)(25)(I) ) is amended— (1) in clause (i), by striking medical assistance under the State plan and inserting medical assistance under a State plan (or under a waiver of the plan)