HLA typing can assist in the diagnosis of certain autoimmune and genetic conditions. For instance, a child presenting with symptoms of celiac disease can benefit from HLA typing to check for the presence of HLA-DQ2 or HLA-DQ8 alleles, which would support the diagnosis. Similarly, the presence of HLA-B27 in a child with chronic back pain may indicate ankylosing spondylitis.