Update the gestation period calculation

If the baby is born then it will have a delivery date. In this case we
statically calculate the gestation using the difference between EDD and
baby delivery_date_time