Hi,
I am not a doctor, but I suspect, it may affect your X-ray. Pneumonia may have left some scars on your lungs. I guess it is not a reason for rejection, but you might have to undergo some additional tests.
I've heard that some people had their sputum analyzed to confirm they don't have...