Lung Granuloma

If there is SOB in indication. How we will code. 515 pulmonary fibrosis having SOB as it's symptom. Granuloma is incidental most of the time and it's a mostly silent condition.
I do not know the circumstances, but my understanding is that if you have a definitive diagnosis, you do not code the symptoms unless the symptoms are what prompted the visit or is the cheif complaint.