Diagnosis of HIV/AIDSHIV tests are used to detect the presence of the human immunodeficiency virus (HIV), the virus that causes acquired immunodeficiency syndrome (AIDS), in serum, saliva, or urine. Such tests may detect antibodies, antigens, or RNA. AIDS-defining clinical condition AIDS is diagnosed separately from HIV. The window period is the time from infection until a test can detect any change. The average window period with HIV-1 antibody tests is 25 days for subtype B.