If there is a concern of inherited genetic conditions, your doctor might suggest amniocentesis to rule them out or to prepare for treatment.