; or (v) any association exclusively composed of employers exempt under subparagraphs (2)(B)(i)–(iv). (C) A claim under this subchapter against an employer described by section 702(a)(2)(B) for discrimination because of sex shall not include claims of discrimination because of sexual orientation or gender identity. This provision shall not otherwise affect claims of sex discrimination, and nothing in this provision shall prevent a person, regardless of sexual orientation or gender identity, from bringing a claim of sex discrimination. (D) No religious corporation, association, or society otherwise eligible under section (2)(B)(iv) of this section shall be ineligible because of nonrecognition under section 501(c)(3) of the Internal Revenue Code, unless such tax treatment is consistent with section 501(c)(3)(B) of that Code. (E) No employer whose primary purpose and activity is to deliver medical services shall be eligible for the exemptions under section 702(a)(2)(B). (F) Nothing in this section shall prejudice rights and defenses available under sections 702(a) and 703(e)(2). . (c) Unlawful employment practices Section 703 of such Act ( 42 U.S.C. 2000e–2 ) is amended— (1) except in subsection (e), by inserting sexual orientation, gender identity, immediately before or national origin each place it appears; (2) in subsection (e)(1), by striking enterprise, and inserting enterprise, if an individual is recognized as qualified in accordance with gender identity when sex is a bona fide occupational qualification, ; (3) in the heading of subsection (m), by striking sex, and inserting sex, sexual orientation, gender identity,