Software for accurately estimating the duration of infusion services