Cordocentesis, also known as percutaneous umbilical blood sampling (PUBS), is a prenatal diagnostic test that involves taking a sample of the fetal blood from the umbilical cord. This procedure is generally performed when other prenatal tests such as amniocentesis and chorionic villus sampling (CVS) do not provide sufficient information.