An action to establish paternity of a child may be instituted during pregnancy of the mother but shall only be filed by the mother or her representative or by the IV-D agency as set forth in chapter 119A on behalf of the mother. In the case of any complaint brought prior to the birth of the child, no final judgment on the issue of paternity shall be made until after the birth of the child; provided, however, that the court may order temporary support or health care coverage.
Mass. Gen. Laws ch. 209C, § 14