Hi All, I need to create two new variables (one for HIV questions and one for STD questions) that merge two questions into one. Not shown: years 2018, 2016, 2014, and 2012 over each column of questions respectively). How do I merge these variables/questions to use more years at once? Thank you in advance!

Code:
 
M/P Does your school provide the following services to students? P Q38 Q39 Q40 Q48
M HIV counseling and testing hiv_couns P . . . Q48_1
M HIV testing hiv_test P Q38_1 Q39_1 Q40_1 .
M HIV treatment (ongoing medical care for persons living with HIV) hiv_treat P Q38_2 Q39_2 Q40_2 .
M STD testing std_test P Q38_3 Q39_3 Q40_3 .
M STD treatment std_treat P Q38_4 Q39_4 Q40_4 .
M STD testing and treatment std_ P . . . Q48_2