(1) If, upon the hearing, the court finds that such adoption is for the best interests of such minor child or such adult child, a decree of adoption shall be entered. No decree of adoption shall be entered unless (a) it appears that the child has resided with the person or persons petitioning for such adoption for at least six months next preceding the entering of the decree of adoption, except that such residency requirement shall not apply in an adoption of an adult child, (b) the medical histories required by subsection (2) of section 43-107 have been made a part of the court record, (c) the court record includes an affidavit or affidavits signed by the relinquishing biological parent, or parents if both are available, in which it is affirmed that, pursuant to section 43-106.02, prior to the relinquishment of the child for adoption, the relinquishing parent was, or parents if both are available were, (i) presented a copy or copies of the nonconsent form provided for in section 43-146.06 and (ii) given an explanation of the effects of filing or not filing the nonconsent form, and (d) if the child to be adopted is committed to the Department of Health and Human Services, the document required by subsection (3) of section 43-107 is a part of the court record. Subdivisions (b) and (c) of this subsection shall only apply when the relinquishment or consent for an adoption is given on or after September 1, 1988.
(2) If the adopted child was born out of wedlock, that fact shall not appear in the decree of adoption.
(3) The court may decree such change of name for the adopted child as the petitioner or petitioners may request.