It depends on what you mean by unpleasant conditions. I had difficulty giving people bad news initially and remember being very tearful when telling someone seriously jaundiced that he had inoperable cancer because no-one else had bothered to tell him his test results, I had never met him before but was on call and he was about to get an ambulance back to the hospital he had come from. I felt someone in our hospital should tell him before he left, especially as he had asked to see a doctor but felt I wasn't the "right" doctor and it was all very rushed and upsetting. I also had a toddler die on Easter Sunday when I did paeds and was very upset about that. The general goryness of medicine doesn't bother me though, although i hate unpleasant smells especially faeces and couldn't be a pathologist. I can now have 3 people in a row come in and see me and burst into tears and not get too emotionally involved.
I think remembering the quotation for The House of God "the patient is the one with the disease" helps. They have an unpleasant disease not me, my job is to help them deal with it, not pretend/ imagine I have the disease. You can overempathise in medicine.