Design and implementation of modules to take the completion date into account when determining service file deadlines