Many places doctor patient privledge is a feature of common law not written law.
And besides, if the person not in room is not held to be spouse all the arguements vanish.
Its a Catch 22 best left to very skilled counsel
You didn't give us a clue as to why you think there are grounds for anullment.
If your spouse is gay and is impotent with members of opposite sex it might be an interesting case --but I'll bet its been argued before! No, I don't know outcome.