Notwithstanding the provisions of the Medical Practice Act, the board of directors of a hospital district or any affiliated nonprofit corporation may contract with physicians and surgeons, podiatrists, health care provider groups, and nonprofit corporations for the rendering of professional health services on a basis as does not result in any profit or gain to the district from the services so rendered and as allows the board to ensure that fees and charges, if any, are reasonable, fair, and consistent with the basic commitment of the district to provide adequate health care to all residents within its boundaries.