physician office, the rate of payment for such service shall be the same. (B) The Secretary shall provide for a mechanism to provide payments for direct and indirect costs of graduate medical education programs without any cap on the number of residency positions for which payment may be made, including payments to hospitals for such programs and to eligible facilities for programs for population health-based residencies and for nurse practitioner post-licensure clinical training, residency, and fellowship programs. (C) The Secretary shall increase the average relative value of primary care and other mental and behavioral health and cognitive services by not less than 30 percent in order to ensure adequate access to inpatient and outpatient care. (D) As a condition of participation in the program, participating providers shall accept Medicare for America rates paid by employer-sponsored insurance plans and Medicare Advantage for America plans. (E) The Secretary shall semiannually review if the rates paid by Medicare for America are creating barriers to care. The Secretary shall have the authority to raise rates as necessary to ensure adequate access to care. (4) Increased Federal match for medicaid and the children’s health insurance program for years 2023 through 2027 The Secretary of Health and Human Services shall pay the difference between the Medicare for America rates and the Medicaid and CHIP rates during the period beginning on January 1, 2023, and ending on December 31, 2027. (c) Participating providers (1) In general A health care provider that is a participating provider of services or supplier under the Medicare program under title XVIII or the Medicaid program under title XIX on the date of enactment of this title shall remain a participating provider for Medicare for America. (2) Additional providers The Secretary shall establish a process to allow health care providers not described in paragraph (1) to become participating providers for Medicare for America. (d) Prescription drugs (1) In general