.. _$_02-core-11-mathematics: ===================== Nutrition Mathematics ===================== .. _return-to-top-02-core-11-mathematics: This section addresses: .. rst:role:: USDA #3 Develop capability for checking the quality of incoming data based on general database principles and specific ARS analytics. .. rst:role:: USDA #5 Allow incorporation of ARS analytics for expanding the database. .. attention:: This section applies to :ref:`USDA prime data `, not to :ref:`USDA select data `. For explanation of USDA prime and USDA select data, see `Deposition Workflow <$_02-core-10-deposition-1-OnLine-OnMessage.html#deposition-workflow>`_ ----------------------------------- OnTask - Ontomatica workflow engine ----------------------------------- Examples of :ref:`USDA mathematics ` |_| processed by :ref:`OnTask ` |_| deposition workflow: - Validate: sum of :ref:`proximates ` |_| is less than or equal to 100. - Validate: sum of carbohydrate :ref:`fractions ` |_| is less than or equal to total :ref:`carbohydrates `. - Validate: sum of individual :ref:`fatty acids ` |_| is less than or equal to total :ref:`fat `. - Validate: sum of individual :ref:`carotenoids ` |_| times the appropriate :ref:`factors ` |_| is less than or equal to :ref:`vitamin A ` |_| value. - Validate: each food has :ref:`refuse value `. - Validate: each food has at least one :ref:`household measure `. - Compute: value of missing value for FNDDS nutrient :ref:`component `. - Compute: :ref:`retention values ` |_| based on :ref:`cooking method `. - Email: food record to :ref:`depositor ` |_| for review. --------------- Sample workflow --------------- .. figure:: $_02-core-11-mathematics-USDA-processes_.png :align: center :ref:`Return to top ` .. |_| unicode:: 0x80