Changes

Jump to navigation Jump to search
474 bytes added ,  11:48, 2 October 2023
no edit summary
Line 1: Line 1: −
This project aims to see if it's possible for OpenFoodFacts to support diets in the most generic way.
+
This project aims to see if it's possible for Open Food Facts to support diets in the most generic way.
 +
Initial exploration by @aleene, being refactored/augmented by @teolemon
    +
 +
[[Category:Diets]]
 
=== Exploring how Open Food Facts can support any dietary requirement===
 
=== Exploring how Open Food Facts can support any dietary requirement===
====Introduction====
+
==== Introduction ====
The idea for diets started with the question how vegetarian products are supported by Open Food Facts. It is clear however that these idea's can be extended to any dietary requirement. Other examples of diets are Hallal or Kosher, but also Organic can be seen as a diet.
+
The idea for diets started with the question how vegetarian products are supported by Open Food Facts. It is clear however that these idea's can be extended to any dietary requirement. Other examples of diets are Halal or Kosher, but also Organic can be seen as a diet.
   −
====Should Open Food Facts support diets?====
+
==== Should Open Food Facts support diets? ====
Open Food Facts relies on the information on the labels. Support for diets seems to imply that other information should be folded into Open Food Facts. Which would make diets a derivative project.<br />
+
* Open Food Facts relies on the information on the labels. Support for diets seems to imply that other information should be folded into Open Food Facts. Which would make diets a derivative project.<br />
However it might be that generic support for diets is so closely tied to Open Food Facts, that it should be integrated. Or, if Open Food Facts wants to support dietary requirement queries, it might have consequences for implementation of Open Food Facts (think taxonomy).</ br>
+
* However it might be that generic support for diets is so closely tied to Open Food Facts, that it should be integrated. Or, if Open Food Facts wants to support dietary requirement queries, it might have consequences for implementation of Open Food Facts (think taxonomy).</ br>
At the moment Open Food Facts already includes some derived applications, such as comparing and finding Palm-tree based products. So supporting diets is not farfetched.
+
* At the moment Open Food Facts already includes some derived applications, such as comparing and finding Palm-tree based products. So supporting diets is not farfetched.
====Diet definition====
+
==== Diet definition ====
What is a diet exactly? [https://en.wikipedia.org/wiki/Diet_(nutrition) Wikipedia] defines it as
+
* What is a diet exactly? [https://en.wikipedia.org/wiki/Diet_(nutrition) Wikipedia] defines it as
<nowiki>In nutrition, diet is the sum of food consumed by a person or other organism.</nowiki>
+
* <nowiki>In nutrition, diet is the sum of food consumed by a person or other organism.</nowiki>
This does not help us much. The [https://en.wikipedia.org/wiki/List_of_diets Wikipedia entry] on diets shows more than 50 different diets (I stopped counting). There are many different reasons and approaches, which are not relevant here. As a working defition I will use:
+
* This does not help us much. The [https://en.wikipedia.org/wiki/List_of_diets Wikipedia entry] on diets shows more than 50 different diets (I stopped counting). There are many different reasons and approaches, which are not relevant here. As a working definition I will use:
<nowiki>A Open Food Fact diet is a subselection of products in the Open Food Fact database.</nowiki>
+
* <nowiki>A Open Food Facts diet is a subselection of products in the Open Food Fact database.</nowiki>
This implies that a person who follows a certain diet is only willing to eat specific products.
+
* This implies that a person who follows a certain diet is only willing to eat specific products.
 
==== Compound Diets ====
 
==== Compound Diets ====
 
It is possible that a person adheres to multiple diets. For example vegetariansim + non-gmo + organic.
 
It is possible that a person adheres to multiple diets. For example vegetariansim + non-gmo + organic.
====Diet Listings====
+
==== Diet Listings ====
 
Wikipedia has a very large [https://en.wikipedia.org/wiki/List_of_diets listing of Diets]. I am not sure whether they are all relevant for this discussion.
 
Wikipedia has a very large [https://en.wikipedia.org/wiki/List_of_diets listing of Diets]. I am not sure whether they are all relevant for this discussion.
 
Examples of diets are (I just copied some): [[Buddhist cuisine|Buddhist diet]], [[Edenic diet]], [[Hinduism|Hindu]] and [[Jainism|Jain]] diets, [[Islamic dietary laws]], [[I-tal]], [[Kosher foods|Kosher diet]], [[Word of Wisdom]], [[Fruitarianism|Fruitarian diet]] [[Lacto vegetarianism]], [[Lacto-ovo vegetarianism]], [[Veganism|Vegan diet]], [[Flexitarianism|Flexitarian diet]], [[Kangatarian]], [[Pescetarianism|Pescetarian diet]], [[Vegetarianism|Plant-based diet]], etc.<br />
 
Examples of diets are (I just copied some): [[Buddhist cuisine|Buddhist diet]], [[Edenic diet]], [[Hinduism|Hindu]] and [[Jainism|Jain]] diets, [[Islamic dietary laws]], [[I-tal]], [[Kosher foods|Kosher diet]], [[Word of Wisdom]], [[Fruitarianism|Fruitarian diet]] [[Lacto vegetarianism]], [[Lacto-ovo vegetarianism]], [[Veganism|Vegan diet]], [[Flexitarianism|Flexitarian diet]], [[Kangatarian]], [[Pescetarianism|Pescetarian diet]], [[Vegetarianism|Plant-based diet]], etc.<br />
 
We have to analyse these diets to see how they are defined and whether they are suitable for support by Open Food Facts.
 
We have to analyse these diets to see how they are defined and whether they are suitable for support by Open Food Facts.
   −
===Which diets to support?===
+
=== Which diets to support? ===
 
We need to set some rules to define which diets Open Food Facts could support:
 
We need to set some rules to define which diets Open Food Facts could support:
 
* Open Diet - the definition of a diet and its corresponding rules should be in the public domain. (I guess this will exclude diets created by diet guru's).
 
* Open Diet - the definition of a diet and its corresponding rules should be in the public domain. (I guess this will exclude diets created by diet guru's).
Line 29: Line 32:  
* Label - there should be a label corresponding to a diet, such the vegetarian society.
 
* Label - there should be a label corresponding to a diet, such the vegetarian society.
 
* Package - ideally information whether a product is suited for a particular diet should be on the package of a product. However the advantage of Open Food Facts is that this would no longer necessary.
 
* Package - ideally information whether a product is suited for a particular diet should be on the package of a product. However the advantage of Open Food Facts is that this would no longer necessary.
===Diet Rules===
+
=== Diet Rules ===
 
In order to obtain diet rules one must look at various diets to see how they are defined. After looking at [[these diets]] some conclusions can be drawn. Products are to be excluded based on:
 
In order to obtain diet rules one must look at various diets to see how they are defined. After looking at [[these diets]] some conclusions can be drawn. Products are to be excluded based on:
 
* Ingredients created by a specific process - for instance GMO or organic;
 
* Ingredients created by a specific process - for instance GMO or organic;
Line 39: Line 42:  
===Already supported Diets ===
 
===Already supported Diets ===
 
Open Food Facts already support some support for diets.
 
Open Food Facts already support some support for diets.
====Allergens====
+
==== Vegan ====
====Labels====
+
==== Vegetarian ====
 +
==== Palm oil ====
 +
==== Allergens ====
 +
==== Labels ====
 +
 
 +
=== Potentially impactful diets ===
 +
==== Pregnant woman ====
 +
https://www.nhs.uk/pregnancy/keeping-well/foods-to-avoid/
 +
 
 +
==== Pork detection (to help Halal, Kosher apps) ====
 +
 
   −
===Implementation thoughts===
+
=== Implementation thoughts ===
 
Although it is much to early to talk about implementation, I gather some thoughts here.
 
Although it is much to early to talk about implementation, I gather some thoughts here.
 
====Product level restrictions====
 
====Product level restrictions====
Line 60: Line 73:  
==== Diet logo's ====
 
==== Diet logo's ====
 
Each supported diet requires a logo, similar to the one used for Palm fat. Maybe inspiration can be taken from the official corresponding logo's.
 
Each supported diet requires a logo, similar to the one used for Palm fat. Maybe inspiration can be taken from the official corresponding logo's.
===References===
+
=== References ===
 
* [https://www.zediet.fr/ ZeDiet] - une méthode simple, efficace et durable pour améliorer ou préserver votre forme et votre santé en vous aidant à faire de meilleurs choix alimentaires;
 
* [https://www.zediet.fr/ ZeDiet] - une méthode simple, efficace et durable pour améliorer ou préserver votre forme et votre santé en vous aidant à faire de meilleurs choix alimentaires;
* [http://www.nongmoproject.org Non GMO project] - working together to ensure the sustained availability of non-GMO food & products;
+
* [https://www.nongmoproject.org Non GMO project] - working together to ensure the sustained availability of non-GMO food & products;
* [http://www.euroveg.eu European Vegetarian Union]
+
* [https://www.euroveg.eu European Vegetarian Union]
 +
* [https://github.com/openfoodfacts/openfoodfacts-server/issues/9092 Add better support for specific diets]

Navigation menu