Do polymerase chain reaction (PCR) analysis of amniotic fluid (for fetal infection) or of body fluids (including cerebrospinal fluid) and tissues for neonatal infection; serologic testing may also be used.