Notwithstanding any other provision of law, the board of directors of a hospital district or any affiliated nonprofit corporation may contract with a physician and surgeon or podiatrist for the rendering of professional services in the hospital, for the purpose of assuring that a physician and surgeon or podiatrist will be on duty in an outpatient emergency department maintained by the hospital, on a basis as does not result in any profit or gain to the district from the professional services of the physician and surgeon. For purposes of this section, the contract with the podiatrist shall be for those services which the podiatrist is licensed to practice pursuant to Chapter 5 (commencing with Section 2000) of Division 2 of the Business and Professions Code.