In the Nutritional values tab, xyxle implements automatic calculations of various values, which means that UOM and percentage are automatically selected by the system after adding the value.
From now on, there will be 4 tabs with different calculations:
Tab nr. | Tab name | Preparation State | Calculations |
1 | 100g | Unprepared | - Energy kcal and kJ - Percentage of RDA |
2 | Portion | Unprepared | - Nutrient quantity, Energy kcal and kJ (based on values in tab 1) - Percentage of RDA |
3 | 100g prepared | Prepared | - Energy kcal and kJ - Percentage of RDA |
4 | Portion prepared | Prepared | - Nutrient quantity, Energy kcal and kJ (based on values in tab 3) - Percentage of RDA |
Percentage of the recommended Daily Allowances (RDA)
Based on the quantity of the nutrients in the tab, the system calculates the percentage of the RDA.
Calculation: Percentage of RDA = (Quantity of Nutrient / PDA) * 100, where:
RDA: recommended Daily Allowances
PDA: person Daily Allowance
*Reference intake of an average adult (8400 kJ / 2000 kcal).
If the value for one nutrient changes, the percentage of RDA updates immediately.
Rounding rules for nutritional value
Some nutrients are assigned to groups with different special rounding rules.
Special Case: If the value of FAT is 0, you have to replace the values of all nutrients in group 4 with 0.
Tab 1: 100 g
The values for Energy kcal (M052) and Energie kJ (M053) are calculated automatically if a relevant nutrient value is filled (e.g. Fat)
Relevant for the calculation are nine nutrients that you can see in the table below.
Each nutrient has one conversion factor to convert the quantity in kJ and one conversion factor to convert the quantity in kcal.
Example for calculation Energy / 100g:
Energy kJ / 100g = 13.6 + 156.4 + 0 + 0 + 196.1 + 0 + 0 + 8.8 + 0 = 374.9 ≈ 375 kJ
Energy kcal / 100g = 3.2 + 36.8 + 0 + 0 + 47.7 + 0 + 0 + 2.2 + 0 = 89.9 ≈ 90 kcal
Tab 2: Portion
Based on the values per 100g (tab 1), the values per Portion (Tab 2) will be calculated automatically.
There is no button to start the calculation. The calculation should start immediately and automatically, if M075: Product Serving Size has been filled. The system calculates the values per portion for all values that are filled in the tab 100 g. If one or more values in Tab 1 are changed, the values per Portion will be updated.
Calculation:
Value per Portion = Value per 100g * (Size of portion (M075) / 100g)
Examples: size of portion = 300g
M057: Fat per 100g = 12g
M057: Fat per Portion = 12g * (300g/100g) = 36g
M053: Energy kJ per 100g = 375 kJ
M053: Energy kJ per Portion = 375 kJ * (300g/100g) = 1125 kJ
M052: Energy kcal per 100g = 90 kcal
M052: Energy kcal per Portion = 90 kcal * (300g/100g) = 270 kcal
Tab 3: 100 g prepared
Same calculations as in tab 1, but the calculations are based on the nutritional values of tab 3.
Tab 4: Portion prepared
Same calculations as in tab 2, but the calculations in tab 4 are based on the nutritional values of tab 3 (100g prepared).
Correct nutrient UOM as default
The correct UOM will be displayed automatically for the nutrients that are permanently (for example Energy kcal and Fat) and also for any chosen value in M067: Vitamins & Minerals and M062: Other.