The hip-knee flexion test is used to check whether the hip-knee joint is flexed for pain, and is used to check and determine the painful joint area.