Circulatory system
Before birth
The heart and blood vessels of the circulatory system, form relatively early during embryonic development, but continue to grow and develop in complexity in the growing fetus. A functional circulatory system is a biological necessity, since mammalian tissues can not grow more than a few cell layers thick without an active blood supply. The prenatal circulation of blood is different from postnatal circulation, mainly because the lungs are not in use. The fetus obtains oxygen and nutrients from the mother through the placenta and the umbilical cord.Blood from the placenta is carried to the fetus by the umbilical vein. About half of this enters the fetal ductus venosus and is carried to the inferior vena cava, while the other half enters the liver proper from the inferior border of the liver. The branch of the umbilical vein that supplies the right lobe of the liver first joins with the portal vein. The blood then moves to the right atrium of the heart. In the fetus, there is an opening between the right and left atrium (the foramen ovale), and most of the blood flows from the right into the left atrium, thus bypassing pulmonary circulation. The majority of blood flow is into the left ventricle from where it is pumped through the aorta into the body.
X-rays are known to have possible adverse effects on the development of the fetus, and the risks need to be weighed against the benefits.Congenital disorders are acquired before birth. Infants with certain congenital heart defects can survive only as long as the ductus remains open: in such cases the closure of the ductus can be delayed by the administration of prostaglandins to permit sufficient time for the surgical correction of the anomalies. Conversely, in cases of patent ductus arteriosus, where the ductus does not properly close, drugs that inhibit prostaglandin synthesis can be used to encourage its closure, so that surgery can be avoided. Other heart birth defects include ventricular septal defect,  pulmonary atresia, and tetralogy of Fallot. An abdominal pregnancy can result in the death of the fetus and where this is rarely not resolved it can lead to its formation into a lithopedion. Fetal pain
Fetal pain, its existence and its implications are debated politically and academically. According to the conclusions of a review published in 2005, "Evidence regarding the capacity for fetal pain is limited but indicates that fetal perception of pain is unlikely before the third trimester." However, developmental neurobiologists argue that the establishment of thalamocortical connections (at about 6+1⁄2 months) is an essential event with regard to fetal perception of pain. Nevertheless, the perception of pain involves sensory, emotional and cognitive factors and it is "impossible to know" when pain is experienced, even if it is known when thalamocortical connections are established.