The law does prohibit insurance companies from denying insurance based on firearm ownership or from charging higher premiums based on firearms ownership. Firearm ownership is treated like a pre-existing condition. Which means the PPACA guarantees we all have to pay for the actuarially important probability that you're going to accidentally shoot yourself or one of your kids.
There is another section that (quite inexplicably) prohibits prevention and wellness programs from collecting information on gun ownership as part of their quality control activities.
‘‘(c) PROTECTION OF SECOND AMENDMENT GUN RIGHTS.—
‘‘(1) WELLNESS AND PREVENTION PROGRAMS.—A wellness
and health promotion activity implemented under subsection
(a)(1)(D) may not require the disclosure or collection of any
information relating to—
‘‘(A) the presence or storage of a lawfully-possessed
firearm or ammunition in the residence or on the property
of an individual; or
‘‘(B) the lawful use, possession, or storage of a firearm
or ammunition by an individual.
‘‘(2) LIMITATION ON DATA COLLECTION.—None of the
authorities provided to the Secretary under the Patient Protection
and Affordable Care Act or an amendment made by that
Act shall be construed to authorize or may be used for the
collection of any information relating to—
‘‘(A) the lawful ownership or possession of a firearm
‘‘(B) the lawful use of a firearm or ammunition; or
‘‘(C) the lawful storage of a firearm or ammunition.