The provisions of the Alabama Business Corporation Law shall apply to professional corporations, domestic and foreign, except to the extent the provisions are inconsistent with the provisions of this chapter; provided, however, that in the case of nonprofit professional corporations, domestic or foreign, the provisions of the Alabama Nonprofit Corporation Law shall apply except to the extent the provisions are inconsistent with the provisions of this chapter.