I'm not sure if it is found in parrots, but there is an organism that can grow in bird droppings which can cause a disease called histoplasmosis. It is a mild lung infection which may not even be noticed at the time, but later in life it can cause eye hemorrhages and retinal scarring. My mom had this as a young adult and in her 50's experienced hemorrhages in both eyes which caused retinal scars. She got it from visiting a family member who had a lot of pigeons in their barn. It is not a very common thing though, I would Google histoplasmosis to find out more about it.
What kind of infection do you have? You can get the parrot checked (or its stool) for the type of infection. Ask you doctor if it makes any difference at this time to get rid of your parrot.
Dr. O.