Mass. Gen. Laws ch. 209C, § 27
(d) A person who consents to assisted reproduction with the intent to be a parent of the child conceived by said assisted reproduction shall be a parent of the child. Consent to assisted reproduction may be established by:
(i) a record signed by the person giving birth to a child conceived by assisted reproduction and by an intended parent before, on or after the birth of the child; or (ii) a finding by the court, by a preponderance of the evidence, that:
(e)
(g)
(i)
(i) Genetic testing, including genetic marker testing pursuant to section 11, shall not be used to:
(j)
(1) A person giving birth or a person who is or claims to be a parent pursuant to this section may commence a proceeding prior to or after the birth of a child by assisted reproduction to obtain a judgment: