Testing for HLA B27 is usually done through a blood test. The blood sample is analyzed in a laboratory to determine whether the HLA B27 antigen is present. This test is often ordered when a child shows symptoms that suggest an HLA B27-associated condition.