Has anyone had a non-pregnancy related illness (like not morning sickness) that they got really sick with during their pregnancy?

I think I must have bronchitis or something. I've had a cough from hell for the last week and I took a turn for the worse today. I was coughing up blood yesterday, but not today. I'm worried about the baby and that I'll somehow go into early labor because of this. That's crazy, right?

I did see a doctor a week ago, who wasn't helpful (she tested me for a blood clot. For a cough). I have a midwife appointment tomorrow.