On occasion, your healthcare provider may recommend insulin detemir for something other than the uses discussed in this article. Using the drug to treat type 2 diabetes in children is an off-label insulin detemir use, as is using the medication to treat gestational diabetes.