Skip to main content
. 2020 Aug 27;12(9):2611. doi: 10.3390/nu12092611
Total Fruits Component (total_fruits), 0–5
 IF Q1 (fruit) = 1 THEN total_fruits_Q1 = 0;
 IF Q1 (fruit) = 2 THEN total_fruits_Q1 = 2;
 IF Q1 (fruit) = 3 THEN total_fruits_Q1 = 3.5;
 IF Q1 (fruit) = 4,5,6,7 THEN total_fruits_Q1 = 5.

 IF Q2 (fruitjuice) = 1 THEN total_fruits_Q2 = 0;
 IF Q2 (fruitjuice) = 2 THEN total_fruits_Q2 = 2;
 IF Q2 (fruitjuice) = 3 THEN total_fruits_Q2 = 3.5;
 IF Q2 (fruitjuice) = 4,5,6,7 THEN total_fruits_Q2 = 5.

 total_fruits = total_fruits_Q1 + total_fruits_Q2.
 IF total_fruits > 5 THEN total_fruits = 5.
Whole Fruits Component (whole_fruits), 0–5
 IF Q1 (fruit) = 1 THEN whole_fruits = 0;
 IF Q1 (fruit) = 2 THEN whole_fruits = 2.5;
 IF Q1 (fruit) = 3,4,5,6,7 THEN whole_fruits = 5.
Total Vegetables Component (tot_veg), 0–5
 IF Q4 (greenvege) = 1 THEN tot_veg = 1.60;
 IF Q5 (startchy) = 2,3,4,5,6,7 AND Q4 (greenvege) = 2 THEN tot_veg = 2.46;
 IF Q5 (startchy) = 2,3,4,5,6,7 AND Q4 (greenvege) = 3,4,5,6,7 THEN tot_veg = 3.24;
 IF Q5 (startchy) = 1 AND Q4 (greenvege) = 2,3,4,5,6,7 THEN tot_veg = 3.56.
Greens and Beans Component (greens_beans), 0–5
 IF Q4 (greenvege) = 1 THEN greens_beans_Q7 = 0;
 IF Q4 (greenvege) = 2,3,4,5,6,7 THEN greens_beans_Q7 = 5.

 IF Q14 (beans) = 1 THEN greens_beans_Q14 = 0;
 IF Q14 (beans) = 2,3,4,5,6,7 THEN greens_beans_Q14 = 5.

 greens_beans = greens_beans_Q4 + greens_beans_Q14.
 IF greens_beans > 5 THEN greens_beans = 5.
Whole Grains Component (whole_grains), 0–10
 IF Q8 (wholegrains) = 1 THEN whole_grains = 0.51;
 IF Gender = M AND Q8 (wholegrains) = 2,3,4,5,6,7 THEN whole_grains = 2.97;
 IF Gender = F AND Q8 (wholegrains) = 2,3 THEN whole_grains = 5.20;
 IF Gender = F AND Q8 (wholegrains) = 4,5,6,7 THEN whole_grains = 6.94.
Dairy Component (Dairy), 0–10
 IF Gender = M AND Q10 (milk) = 1,2,3 THEN dairy = 3.22;
 IF Gender = F AND Q10 (milk) = 1,2,3 AND Q12 (lowfatmilk) = 1 THEN dairy = 3.32;
 IF Gender = F AND Q10 (milk) = 1,2,3 AND Q12 (lowfatmilk) = 2,3,4,5,6,7 THEN dairy = 4.81;
 IF Q10 (milk) = 4,5,6,7 THEN dairy = 6.51.
Total Protein Foods Component (tot_proteins), 0–5
 IF Gender = M AND Q16_17 (seafood_combo) = 1,2,3,4 THEN tot_proteins = 4.11;
 IF Gender = M AND Q16_17 (seafood_combo) = 5,6,7,8,9,10,11 THEN tot_proteins = 4.98;
 IF Gender = F THEN tot_proteins = 4.97.
Seafood and Plant Protein Component (Seafood_Plant), 0–5
 IF Gender = M AND Q15 (nutseeds) = 1,2 THEN seafood_plant = 0.49;
 IF Gender = F AND Q15 (nutseeds) = 1,2 THEN seafood_plant = 1.50;
 IF Q15 (nutseeds) = 3,4,5,6,7 THEN seafood_plant = 4.20.
Fatty Acid Ratio Component (Fatty_Acid), 0–10
 IF Q10 (milk) = 4,5,6,7 THEN fatty_acid = 2.56;
 IF Q21 (satfat) = 2,3 AND Q10_11 (milk_combo) = 1,2,3,4,5,6,7
 AND Q12–13 (lowfatmilk_combo) = 1,2 THEN fatty_acid = 2.63;
 IF Q21 (satfat) = 2,3 AND Q10_11 (milk_combo) = 1,2,3,4,5,6,7
 AND Q12_13 (lowfatmilk_combo) = 3,4,5,6,7,8,9,10,11 THEN fatty_acid = 4.54;
 IF Q21 (satfat) = 1 AND Q10_11 (milk_combo) = 1,2,3,4,5,6,7 THEN fatty_acid = 5.93.
Refined Grains Component (Refined_Grains), 0–10
 IF Q4 (greenvege) = 1 THEN refined_grains = 2.13;
 IF Q6 (grains) = 3,4,5,6,7 AND Q16 (seafood) = 2,3,4,5,6,7
 AND Q4 (greenvege) = 2,3,4,5,6,7 THEN refined_grains = 2.27;
 IF Q6 (grains) = 3,4,5,6,7 AND Q15 (nutseeds) = 1,2
 AND Q16 (seafood) = 1 AND Q4 (greenvege) = 2,3,4,5,6,7
 THEN refined_grains = 4.73;
 IF Q6 (grains) = 3,4,5,6,7 AND Q15 (nutseeds) = 3,4,5,6,7
 AND Q16 (seafood) = 1 AND Q4 (greenvege) = 2,3,4,5,6,7
 THEN refined_grains = 8.45;
 IF Q6 (grains) = 1,2 AND Q4 (greenvege) = 2,3,4,5,6,7 THEN refined_grains = 9.25.
Sodium Component (Sodium), 0–10
 IF Q1 (fruit) = 1,2 AND Q6 (grains) = 3,4,5,6,7 AND Q22 (water) = 3
 THEN sodium = 0.70;
 IF Q1 (fruit) = 3,4,5,6,7 AND Q6 (grains) = 3,4,5,6,7 AND Q22 (water) = 3
 THEN sodium = 2.30;
 IF Q6 (grains) = 3,4,5,6,7 AND Q22 (water) = 1,2 THEN sodium = 4.94;
 IF Q6 (grains) = 1,2 THEN sodium = 6.07.
Added Sugars Component (Added_Sugars), 0–10
 IF Q18 (ssb) = 1 THEN sugar_calories_Q18 = 0;
 IF Q18 (ssb) = 2 THEN sugar_calories_Q18 = 156;
 IF Q18 (ssb) = 3 THEN sugar_calories_Q18 = 312;
 IF Q18 (ssb) = 4 THEN sugar_calories_Q18 = 468;
 IF Q18 (ssb) = 5 THEN sugar_calories_Q18 = 624;
 IF Q18 (ssb) = 6 THEN sugar_calories_Q18 = 780;
 IF Q18 (ssb) = 7 THEN sugar_calories_Q18 = 936.

 IF Q20 (addedsugars) = 1 THEN sugar_calories_Q20 = 130;
 IF Q20 (addedsugars) = 2 THEN sugar_calories_Q20 = 260;
 IF Q20 (addedsugars) = 3 THEN sugar_calories_Q20 = 520.

 sugar_calories = sugar_calories_Q18 + sugar_calories_Q20.
 IF sugar_calories < =130 THEN added_sugars = 10;
 IF sugar_calories > 130 AND sugar_calories < 520 THEN added_sugars = 5;
 IF sugar_calories > =520 THEN added_sugars = 0.
Saturated Fats Component (sat_fat), 0–10
 IF Q18 (ssb) = 3,4,5,6,7 THEN sat_fat = 1.82;
 IF Q6 (grains) = 1,2 AND Q18 (ssb) = 1,2 THEN sat_fat = 3.20;
 IF Q6 (grains) = 3,4,5,6,7 AND Q15 (nutseeds) = 1,2 AND Q18 (ssb) = 1,2
 THEN sat_fat = 4.64;
 IF Q6 (grains) = 3,4,5,6,7 AND Q15 (nutseeds) = 3,4,5,6,7 AND
 Q18 (ssb) = 1,2 THEN sat_fat = 6.56.
Total DQ Score (0–100)
 tot_score = total_fruits + whole_fruits + tot_veg + greens_beans + whole_grains + dairy + tot_proteins + seafood_plant + fatty_acid + refined_grains + sodium + added_sugars + sat_fat