WTF? I'd never even heard of this before.
http://www.usatoday.com/news/nation/2011-05-13-nra-doctors-guns_n.htm
I disagree with the laws banning doctors from asking about firearms or anything else for that matter. We don't need more government regulation of what consenting adults can or can't talk about, but I can't think of any logical reason why any doctor would need to ask about firearms in the home.
Why does my doctor need to talk to me about safety? Does my mechanic talk about my lawn? Does my financial adviser talk about my cable modem? The doctor is there to provide medical advice/service/expertise, not as a "safety" consultant.
If my doctor asked me if I had firearms in my home I'd tell him that it's none of his business and to STFU.
I can understand why a shrink might ask that question of a severely depressed or otherwise mentally ill patient. Otherwise I don't see how that information is relevant their job.