Skip to content

Main content

Dietary Record Supplement Source Label

Label a literal dietary supplement record and information source without recommending supplementation or inferring composition.

Loading tool…

Description

Label a dietary record's supplied supplement name and source.

Dietary arithmetic depends on as-purchased versus edible mass, per-serving versus per-100-gram bases, measured versus trace states and recall periods. A recorded allergen list is not a verified allergen-free declaration. Portion counts, label intervals and mass differences use supplied assumptions rather than establishing actual intake or nutritional suitability.

Label a dietary record's supplied supplement name and source.

When to use this tool

Use Dietary Record Supplement Source Label when you already have recordId, supplementName, informationSource and need to label a dietary record's supplied supplement name and source.

How to use the tool and how it works

  1. Enter recordId, supplementName, informationSource. Use the units and conventions below.
  2. Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
  3. Read label. Use the output convention below.

Require all strings nonempty; quote supplementName with JSON.stringify and append the source.1

Input fieldMeaning and unitsAccepted input
recordIdRecord IdRequired. Text; minimum UTF-16 length 1; maximum UTF-16 length 8192.
supplementNameSupplied product wording only; no composition, dose or suitable use is inferred.Required. Text; minimum UTF-16 length 1; maximum UTF-16 length 8192.
informationSourceInformation SourceRequired. Text; minimum UTF-16 length 1; maximum UTF-16 length 8192.
Output fieldInterpretationReturned shape
labelLabelRequired. Text; maximum UTF-16 length 8192.
json
{
  "input": {
    "recordId": "R17",
    "supplementName": "Product A",
    "informationSource": "package label"
  },
  "output": {
    "label": "R17; supplement=\"Product A\" [package label]"
  }
}

Limitations and assumptions

  • No product, ingredient, dose, efficacy, interaction, quality or suitable supplement use is verified.
  • Inputs must satisfy both the field types and the cross-field conditions above. Invalid input causes an error; a successful false flag or documented placeholder is a different result.

Alternative or Complementary methods

Check original food labels, composition sources, ingredient/allergen information and dietary records before combining amounts. Use a complete appropriately interpreted dietary assessment when requirements or suitable intake matter; local scaling and source labels do not make those judgments.

References

  1. Calculation and input contract: dietetics/dietary-record-supplement-source-label — tool.io

Similar or alternative tools