HCSL Software Repository

Enteral Nutrition Design

Chatzimichail T. Enteral Nutrition Design: A Software Tool for Enteral Nutrition Design. Ver. 1.0.0. Drama: Hellenic Complex Systems Laboratory, 2021.


This is a software tool, developed to assist nutrition design. It includes data of 2371 foods of the 2021 version of the Composition of Foods Integrated Dataset (CoFID), published by Public Health England (PHE). It can be used for the design of patient-specific enteral nutritional formulae of blended foods. The foods are selected with seven pairs of nested menus. The quantities of the selected foods are calculated, to comply with user-defined specifications: total required calories (10-5000), fraction of protein calories (0.15-0.40), fraction of carbohydrate calories (0.15-0.40), maximum total water (1-3000 ml), sodium (1-3000 mg), potassium (1-6000 mg), calcium (1-4000 mg), magnesium (1-600 mg) and phosphorus (1-5000 mg) content of the foods. If the system of the linear equations derived from the user-defined specifications and the composition of the selected foods is solvable, then a nutritional formula is designed and a table of the quantities of the foods and their total proteins, fats, saturated fatty acids, carbohydrates, sugars, water, sodium, potassium, calcium, magnesium and phosphorus is generated.

Source code


Related publications

Software Requirements

Operating Systems: Microsoft Windows, Linux, Apple iOS

Programming language: Wolfram Language

Software source code file format: Wolfram Notebook

Other software requirements: Wolfram Player (freely available) or Wolfram Mathematica

Recommended system: Intel Core i7 or equivalent CPU and 16GB+ of RAM

Software license: Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License