; and (B) by striking such individual is a Member or such officer or employee and inserting such individual is such an officer or employee . (3) Preserving authority of officers and employees of Congress to earn compensation from practicing medicine Section 13144(a) of such title is amended by striking fiduciary relationship each place it appears in paragraphs (1) and (3) and inserting fiduciary relationship, except that such an officer or employee of the House of Representatives or Senate may receive such compensation if the fiduciary relationship involves the practice of medicine . (4) Application of ban to income earned from teaching Section 13144(a)(5) of such title is amended by striking without the prior notification and inserting except that such an officer or employee may receive compensation for teaching with the prior notification . (5) Definition Section 13141 of such title is amended by adding at the end the following: (6) The term outside earned income , with respect to a Member of Congress, has the meaning given such term in clause 4(d) of rule XXV of the Rules of the House of Representatives for the One Hundred Seventeenth Congress, except that paragraph (d)(1)(D) of such clause shall not apply. Such term shall apply with respect to a Senator in the same manner as such term applies to a Member of the House of Representatives under such clause. . (b) Service on boards Section 13144(a)(4) of such title is amended to read as follows: (4) serve as an officer or member of the board of any association, corporation, or other entity, except that— (A) a Member and such an officer or employee may serve without compensation as an officer or member of the board of any nonprofit association, nonprofit corporation, or other nonprofit entity, and (B) such an officer or employee may serve without compensation as an officer or member of any other association, corporation or other entity