CFTR and diabetes mellitus: However, this hypothesis somewhat contradicts the fact that the remaining beta cells must produce enough insulin to prevent the development of diabetes, which suggests that CFTR intrinsically regulates insulin secretion and that the functional defect in residual beta cells causes the development of CFRD.