; and (B) by adding at the end the following new subsection: (h) Application to individuals purchasing Medicaid coverage In the case of any individual who buys into Medicaid coverage under section 1902(a)(10)(A)(ii)(XXIII) of the Social Security Act, this section shall be applied with the following modifications: (1) The amount determined under subsection (b)(2)(A) shall be increased by the amount of the monthly premiums paid for such coverage. (2) Subsection (c)(2)(A)(i) shall be applied by treating coverage under the Medicaid program under title XIX of the Social Security Act in the same manner as a qualified health plan that was enrolled in through an Exchange. (3) In applying subsection (c)(2)(B)— (A) an individual shall not be considered to be eligible for minimum essential coverage described in section 5000A(f)(1)(A)(ii) by reason of eligibility for medical assistance under a State Medicaid program under section 1902(a)(10)(A)(ii)(XXIII); and (B) an individual who is not covered by minimum essential coverage described in section 5000A(f)(1)(B) shall not be considered to be eligible for such coverage. . (2) Advanced payment of credit (A) In general The Secretary of Health and Human Services, in consultation with the Secretary of the Treasury, shall establish a program under which— (i) upon request of a State agency administering a State Medicaid program under title XIX of the Social Security Act, advance determinations are made in a manner similar to advanced determination under section 1411 of the Patient Protection and Affordable Care Act with respect to the income eligibility of individuals enrolling in such program for the premium tax credit allowable under section 36B of the Internal Revenue Code of 1986 and the cost-sharing reductions under section 1402 of the Patient Protection and Affordable Care Act; (ii) the Secretary notifies— (I) the State agency administering the program and the Secretary of the Treasury of the advance determinations