IF (knee pain rating = 6 or above OR hip pain rating = 6 or above) AND (type of arthritis = osteoarthritis)  
AND ( hip pain rating = 6 or above)  
[(HeKne = [6..10] OR HeHip= [6..10]) AND (HeArt = 1) AND (HeHip IN [6..10])]  
HEHIPA  
How long has the pain in your hips been bothering you? Has it been...  
1 less than 3 months,  
2 more than 3 months but less than 6 months,  
3 more than 6 months, but less than 12 months,  
4 or more than 12 months?  
HEHIPB  
Have you done any exercise to control your hip pain?  
INTERVIEWER: This includes both supervised and unsupervised exercise.  
1 Yes  
2 No  
IF done exercise for hip pain = 1 [HeHipB = 1]  
││  
││ HEPMED  
││ Are you taking any medication for your ^[knee /hip] pain?  
││ 1 Yes  
││ 2 No  
││  
││ HEKNEF@  
││ Does your treatment, whether medication or exercise, control your knee pain?  
││ 1 Yes  
││ 2 No  
││  
││ HEHIPC  
││ Does your treatment, whether medication or exercise, control your hip pain?  
││ 1 Yes  
││ 2 No  
││  
││ IF taking medication for knee / hip pain = no [HePMed = 2]  
│││ HEPSUR@  
│││ Has a doctor or surgeon recommended that you should have surgery or joint replacement?  
│││ 1 Yes  
│││ 2 No  
│││  
│││IF surgery recommended = yes [HepSur = 1]  
││││ HEPORTH@  
││││ Did you see an orthopaedic specialist?  
││││ 1 Yes  
││││ 2 No  
││││  
│││ END OF FILTER  
│││  
││ END OF FILTER  
││  
END OF FILTER  
END OF FILTER  
93