Final answer:
Amniocentesis is the test used to assess lung maturity, detect congenital abnormalities, and diagnose fetal hemolytic disease. RhoGAM is recommended after the procedure to prevent complications. Ultrasound is done prior to locate a pocket of fluid.
Step-by-step explanation:
The test used to assess for lung maturity, detect congenital abnormalities, and diagnose fetal hemolytic disease is Amniocentesis. RhoGAM is advised after this procedure as there is a potential for fetal red blood cells to enter the maternal blood circulation. Possible complications include preterm labor and miscarriage, so it is important to report any abdominal tightness following the procedure. It is recommended to do an ultrasound prior to the procedure to locate a pocket of fluid.