No on is gaming the system. These doctors are taking the same deduction as other doctors, as permitted in the tax code.
There is no magical financial benefit to doctors being in a corporate partnership structure, they are not double dipping any kind of tax benefit. Now that they are going to be penalized for being in a partnership, they will simply dissolve the partnership and continue to claim the small business deduction