The court permitted the medical procedure citing severe fetal abnormalities and mental health risks.