 This cystic fibrosis-related diabetes shares characteristics that can be found in type 1 and type 2 diabetics, and is one of the principal nonpulmonary complications of CF.Vitamin D is involved in calcium and phosphate regulation.Poor uptake of vitamin D from the diet because of malabsorption can lead to the bone disease osteoporosis in which weakened bones are more susceptible to fractures.