One common measurement is called the amniotic fluid index (AFI). To obtain this, your doctor will use ultrasound images to measure the level of amniotic fluid in four different areas in your belly.
A baby usually passes meconium after birth, but if they pass it early, the amniotic fluid may become meconium-stained. Amniotic fluid is the substance that surrounds a baby in the womb.