Vomiting, following harsh coughing, is common, as is “passing out”; although it is miserable, and often a sign of poorly controlled asthma. The pain is suggestive of that caused by nerve compression, which usually occurs in the presence of degenerative arthritis of the spine and/or compression of more or more intervertebral discs, in response to a great rise in pressure in the spine that accompanies a hard cough. I suggest that you request a physical examination and x-rays of your spine, for evidence of arthritis or diseased discs.
Good luck.
I was seeing a lung specialist regularly, but he had a heart attack a year ago, and I didn't like his successor, so I haven't seen a doctor in a year. I'll take your advice and find another one.
Thank you very much for helping me this way.