The endocrine complications associated with lupus, including thyroiditis, adrenal insufficiency, and diabetes.