Except as otherwise provided in this chapter, an action to establish parentage of a child may be instituted during pregnancy but shall only be filed by the person who is to give birth to the child or such person's representative or by the IV-D agency as set forth in chapter 119A on behalf of the person who is to give birth. In the case of any complaint brought prior to the birth of the child, no final judgment on the issue of parentage 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, § 209C:14