I wouldn't write it down anywhere, but I would mention it to the doctor if you felt it might in anyway affect what you're going in for. Like I wouldn't fess up for a broken leg, but maybe if I had a bad respiratory illness.

Theoretically you are protected by doctor/patient privilege ... but that's in theory.