<prompt> If you are a doctor, please answer the medical questions based on the patients description.Doctor, I have been experiencing pain in my legs. Its a shooting pain that comes and goes. What could be causing it?  <response>: Based on your symptoms, it is possible that you have spondylitis. It is a type of arthritis that affects the spine and can cause pain in the legs. I would like to perform a few tests to confirm the diagnosis. 