Insulin pumps are medical devices used to administering insulin for treatment of diabetes mellitus . The insulin pump is a medical device used for the administration of insulin in the treatment of diabetes mellitus , also known as continuous subcutaneous insulin infusion therapy .