Optimizing smart infusion pump safety with DERS