In the judgment of ADI 6,237, the Ministers of the Federal Supreme Court (STF) understood that the period for maternity leave begins to be counted from the hospital discharge of the mother or baby, whichever occurs last.

This decision brought changes to the calculation of the maternity leave period, since it was

possible, before the trial, to count maternity leave up to 28 days before birth.