Ankylosing spondylitis as a more serious rheumatic disease, it often causes greater pain to the patient. Therefore, when it comes to examination and diagnosis, it can be done mainly through the following: 1. genetic testing: such as the detection of human leukocyte antigen HLA-B27, if it is positive, there is a possibility of the onset of the disease; 2. inflammatory mediator testing: such as blood sedimentation, C-reactive protein, immunoglobulin, etc.; 3. sacroiliac joint imaging: such as X-rays, CT or even MRI, for the diagnosis of ankylosing spondylitis are helpful . On X-rays, the main manifestation is ankylosing hyperplasia of the entire spine and changes in the shape of the vertebrae, such as square vertebrae. The bone bridges in the middle of each vertebra may form connections and undergo bamboo-like changes. Of course, if compulsory spondylitis has caused problems in the cervical and lumbar spine, there are some corresponding tests that need to be done. There are no fixed tests, so it is important to consult your doctor and ask for his opinion on what tests to do.