Establishing a diagnosis of cystic fibrosis