The test is typically ordered when a person shows symptoms of tuberculosis or an AFB infection such as fever, weight loss, night sweats, fatigue, and abdominal pain. It may also be ordered for individuals who are at risk of developing tuberculosis, such as people with weakened immune systems or those who have been exposed to someone with active tuberculosis.