Bronchoscopy, the procedure used to collect the sample for the test, may have some risks and complications, such as bleeding, infection, or a collapsed lung. It is important to discuss any concerns or questions with your healthcare provider before the procedure.