(i), (ii), or (iii) of paragraph (1)(B), and (iii) a Medicare supplemental policy (as defined in section 1882 of the Social Security Act). (e) Regulations The Secretary may prescribe such regulations as may be necessary to carry out this section. . (b) Deduction allowed whether or not individual itemizes other deductions Subsection (a) of section 62 is amended by inserting before the last sentence at the end the following new paragraph: (22) Standard deduction for health insurance The deduction allowed by section 224. . (c) Election To take health insurance costs credit Section 35(g) is amended by redesignating paragraphs (9), (10), and (11) as paragraphs (10), (11), and (12), respectively, and by inserting after paragraph (8) the following new paragraph: (9) Election not to claim credit This section shall not apply to a taxpayer for any taxable year if such taxpayer elects to have this section not apply for such taxable year. . (d) Clerical amendment The table of sections for part VII of subchapter B of chapter 1 is amended by striking the item relating to section 224 and adding at the end the following new items: Sec. 224. Standard deduction for health insurance. Sec. 225. Cross reference. . (e) Effective date The amendments made by this section shall apply to taxable years beginning after December 31, 2017. 202. Changes to existing tax preferences for medical coverage and costs for individuals eligible for standard deduction for health insurance (a) Exclusion for contributions by employer to accident and health plans (1) In general Section 106 is amended by adding at the end the following new subsection: (g) Subsections (a) and (c) apply only to individuals covered by Medicare, Medicaid, SCHIP, TRICARE, or grandfathered employer plans (1) In general Except as provided in paragraph (2), subsections (a) and (c) shall not apply for any taxable year with respect to which a deduction under section 224 is allowable. (2) Exception for individuals covered by Medicare, Medicaid, SCHIP, or grandfathered employer plans