Primary care providers and other entities with whom a contract has been entered into pursuant to this article shall be exempt from Chapter 2.2 (commencing with Section 1340) of Division 2 of the Health and Safety Code for purposes of carrying out the contracts.