CD40LG and cytomegalovirus infection: Diagnosis of CMV infection and the type of infection is based on a combination of tests, including tests that measure or detect IgM, IgG, or IgG avidity.