; (3) in the heading of subsection (m), by striking sex, and inserting sex, sexual orientation, gender identity, ; and (4) by adding at the end the following: (o) (1) In this section: (A) The term employee has the meaning given the term in section 701(j)(2). (B) The term leave of general usage means leave provided under the policy or program of an employer, under which— (i) an employee may take leave by adjusting or altering the work schedule or assignment of the employee according to criteria determined by the employer; and (ii) the employee may determine the purpose for which the leave is to be utilized. (2) For purposes of determining whether an employer has committed an unlawful employment practice under this title by failing to provide a reasonable accommodation to the religious observance or practice of an employee, for an accommodation to be considered to be reasonable, the accommodation shall remove the conflict between employment requirements and the religious observance or practice of the employee. (3) An employer shall be considered to commit such a practice by failing to provide such a reasonable accommodation for an employee if the employer refuses to permit the employee to utilize leave of general usage to remove such a conflict solely because the leave will be used to accommodate the religious observance or practice of the employee. . (d) Other unlawful employment practices Section 704(b) of the Civil Rights Act of 1964 ( 42 U.S.C. 2000e–3 ) is amended— (1) in subsection (b) by inserting sexual orientation, gender identity, before national origin each place it appears; (2) in subsection (b) by striking employment. and inserting employment, if an individual is recognized as qualified in accordance with gender identity when sex is a bona fide occupational qualification.