Can a pregnant woman undergo a test to see if her baby has diabetes and if it does, may she abort?

Fatwa, posted 4.22.2010, from Iraq, in:
Religious Authority: 
Ali al-Sistanti
Fatwa Question or Essay Title: 
Can a pregnant woman undergo a test to see if her baby has diabetes and if it does, may she abort?

The test is not allowed if it requires touching. It is permissible to have an abortion if the soul has not been created; otherwise, it is not permissible.