(B) Certain medical expenses incurred before establishment of account treated as qualified An expense shall not fail to be treated as a qualified medical expense solely because such expense was incurred before the establishment of the health savings account if such expense was incurred— (i) during either— (I) the taxable year in which the health savings account was established, or (II) the preceding taxable year, in the case of a health savings account established after the taxable year in which such expense was incurred but before the time prescribed by law for filing the return for such taxable year (not including extensions thereof), and (ii) for medical care which (but for the fact that it was incurred before the establishment of the account) otherwise meets the requirements of the preceding subparagraphs. . (b) Effective date The amendment made by this section shall apply to taxable years beginning after the date of the enactment of this Act. 216. Administrative error correction before due date of return (a) In general Paragraph (3) of section 223(f) of the Internal Revenue Code of 1986, as in effect on the day before the date of the enactment of this Act, is amended by adding at the end the following new subparagraph: (D) Exception for administrative errors corrected before due date of return Subparagraph (A) shall not apply if any payment or distribution is made to correct an administrative, clerical, or payroll contribution error and if— (i) such distribution is received by the individual on or before the last day prescribed by law (including extensions of time) for filing such individual's return for such taxable year, and (ii) such distribution is accompanied by the amount of net income attributable to such contribution. Any net income described in clause (ii) shall be included in the gross income of the individual for the taxable year in which it is received. . (b) Effective date The amendment made by this section shall take effect on the date of the enactment of this Act. 217. Allowing HSA rollover