The use of the words doctor, patient, and bronchial in the setup lead the listener to assume that the man is seeking medical advice.
the punchline, the doctor's wife's response along with her description, reveals the man's true intent.