The most reliable way to diagnose cystic fibrosis is to analyze the chloride (salt) contained in sweat. It is important to have a sweat test using the method approved by the Cystic Fibrosis Foundation for both collection and analysis. "Screening tests" may be unreliable.