under section 520(g) of the Federal Food, Drug, and Cosmetic Act (or regulations issued under such section), (ii) which is related only to such use as a qualified rapid infectious diseases diagnostic test, (iii) which occurs before the date on which an application with respect to such device receives premarket approval, if required, under section 515 of such Act, or receives clearance, if required, under section 510(k) of such Act, and (iv) which is conducted by or on behalf of the taxpayer to whom the exemption under section 520(g) of such Act was granted. (c) Coordination with credit for increasing research expenditures (1) In general Except as provided in paragraph (2), any qualified clinical testing expenses for a taxable year to which an election under this section applies shall not be taken into account for purposes of determining the credit allowable under section 41 for such taxable year. (2) Expenses included in determining base period research expenses Any qualified clinical testing expenses for any taxable year which are qualified research expenses (within the meaning of section 41(b)) shall be taken into account in determining base period research expenses for purposes of applying section 41 to subsequent taxable years. (d) Definitions and special rules (1) Qualified rapid infectious diseases diagnostic test For purposes of this section, the term qualified rapid infectious diseases diagnostic test means an in-vitro diagnostic (IVD) device that provides results in less than four hours and that is used to identify or detect the presence, concentration, or characteristics of a serious or life-threatening infection, including those caused by (1) an antibacterial or antifungal resistant pathogen, including novel or emerging infectious pathogens or (2) qualifying pathogens listed by the Secretary of Health and Human Services under Chapter V ( 21 U.S.C. 351 et seq.) section 505E(f). (2) Special limitation on foreign testing (A) In general No credit shall be allowed under this section with respect to any