Made it that pharmacist can set up schedule in middle of the week, so gateway looks for first cell to take each time schedule is updated.