Using an endoscope inserted through the amniotic cavity through the cervix or an abdominal incision to look at the amniotic fluid and fetus.