INS and type 1 diabetes mellitus: Patients with diabetes (excluding type 1 diabetes mellitus) scheduled for elective surgery were randomly assigned to the closed-loop group (open-source hybrid closed-loop AID system) or the control group (conventional insulin pump).