If family history or screening tests indicate an increased risk for a disorder, amniocentesis may be used to provide diagnosis for the condition.