The 3.8% Medicare Surtax is outlined in IRC Sec. 1411 under Chapter 2A. In addition to Code Sec. 1411, this past December the IRS also released proposed regulations to aid and guide taxpayers effected by this new tax.
FORBES: What the New 3.8% Medicare Surtax Means for You And Your Investments