These medications are to be used in people with a body mass index ( BMI ) of at least 30 or with a BMI of 27 and obesity-related conditions such as high blood pressure , high cholesterol , coronary artery disease , type 2 diabetes and sleep apnea .