Line 251:
Line 251:
* ''assign OFF product category'' - each product should have a product category assigned, otherwise the DOF can not work;
* ''assign OFF product category'' - each product should have a product category assigned, otherwise the DOF can not work;
* ''map product category to DOF categories'' - it is attempted to map the OFF category to a DOF category:
* ''map product category to DOF categories'' - it is attempted to map the OFF category to a DOF category:
−
** success - the OFF category correspond to an existing DOF category. We can continue the analysis:
+
** ''success'' - the OFF category correspond to an existing DOF category. We can continue the analysis:
−
*** assign DOF slice - determine in which slice the product belongs;
+
*** ''assign DOF slice'' - determine in which slice the product belongs;
+
*** ''assign DOF sub-slice'' - determine the subslice of the product;
+
*** ''determine the level of the product'' - a product is either inside or outside DOF
+
**** ''inside?'' - continue with the inside analysis
+
***** limit intake
+
***** does not match nutritional rquirements
+
**** ''outside?''
** ''no success'' - each OFF category should correspond to a DOF category. As there are only a limited number of DOF categories, this can fail. The product is then unrecognised with respect to DOF. It should get the label '''unrecognised DOF category'''.
** ''no success'' - each OFF category should correspond to a DOF category. As there are only a limited number of DOF categories, this can fail. The product is then unrecognised with respect to DOF. It should get the label '''unrecognised DOF category'''.