EMBRYO-68: getPeriod function moved into GreenposService