Questions about SA

My doc wants so to get an SA done -- I'm all for it but I'm a little worried bc my husband is pretty shy/anxious about sex related stuff.  We've experienced some trouble even at home with him not being able to reach orgasm -- we've figured out how to solve the problem at home pretty well, mostly through creating a really relaxing environment. I'm worried he won't be able to produce a sample in a doctors office. What is it like?  Are they sensitive to men having this problem?  Can you bring in your sample from home?