Clinics, Dietitians & Healthcare SaaS

Clinical-Grade Nutrition API for Healthcare & Dietitians

Ground patient dietary monitoring, diabetic carbohydrate counting, and therapeutic nutrition plans with verified USDA FoodData Central chemical reference profiles.

Clinical Rigor

Why Unanchored AI Models are Unsafe for Patient Care

In medical nutrition therapy, a 20-gram carbohydrate calculation error can cause dangerous insulin dosing mistakes. FoodVivo provides the deterministic guardrails clinical platforms require.

USDA FDC Laboratory Grounding

Every food prediction is anchored to official USDA FoodData Central chemical nutrient profiles with verified database IDs.

Diabetic Net Carbohydrates

Isolates non-digestible fiber and sugar alcohols with 99.8% precision, enabling accurate insulin-to-carbohydrate calculations.

Audit Trails & Privacy

Complete telemetry logs with AES-256 encryption, TLS 1.3 in transit, and automatic 30-day image expiration in private R2 storage.

Clinical Audit Payload

Verifiable FDC Reference IDs on Every Nutrient

FoodVivo returns official USDA FDC IDs, data types (Foundation, SR Legacy, FNDDS), and glycemic load metrics for EHR documentation.

Includes Sodium, Potassium, and Calcium micronutrients
Calculates Glycemic Load and Net Carbohydrate impact
Provides full audit trail timestamp for compliance records
Clinical Record • JSON200 OK
{
  "success": true,
  "data": {
    "meal_title": "Steel-Cut Oatmeal with Blueberries & Chia Seeds",
    "thought_process": "Calculated patient meal: 175g cooked steel-cut oats, 75g fresh blueberries, 12g chia seeds, and 120ml unsweetened almond milk. Grounded against USDA FoodData Central SR Legacy and Foundation Food databases with Atwater mathematical consistency.",
    "foods": [
      {
        "name": "Steel Cut Oats (Cooked)",
        "quantity": 1,
        "serving_size": 1,
        "serving_unit": "cup (175g)",
        "weight_g": 175,
        "calories": 150,
        "protein_g": 5,
        "carbs_g": 27,
        "fat_g": 2.5,
        "fiber_g": 4,
        "sugar_g": 1,
        "sodium_mg": 5,
        "allergens": [],
        "dietary": [
          "vegetarian",
          "vegan",
          "heart_healthy"
        ],
        "confidence": 0.99
      },
      {
        "name": "Fresh Blueberries",
        "quantity": 0.5,
        "serving_size": 0.5,
        "serving_unit": "cup (75g)",
        "weight_g": 75,
        "calories": 43,
        "protein_g": 0.6,
        "carbs_g": 10.9,
        "fat_g": 0.2,
        "fiber_g": 1.8,
        "sugar_g": 7.5,
        "sodium_mg": 1,
        "allergens": [],
        "dietary": [
          "vegan",
          "gluten_free"
        ],
        "confidence": 0.99
      },
      {
        "name": "Chia Seeds",
        "quantity": 1,
        "serving_size": 1,
        "serving_unit": "tbsp (12g)",
        "weight_g": 12,
        "calories": 58,
        "protein_g": 2,
        "carbs_g": 5,
        "fat_g": 3.7,
        "fiber_g": 4.1,
        "sugar_g": 0,
        "sodium_mg": 2,
        "allergens": [],
        "dietary": [
          "vegan",
          "keto_friendly",
          "gluten_free"
        ],
        "confidence": 0.98
      }
    ],
    "totals": {
      "calories": 251,
      "protein_g": 7.6,
      "carbs_g": 42.9,
      "fat_g": 6.4,
      "fiber_g": 9.9,
      "sugar_g": 8.5,
      "sodium_mg": 8
    },
    "macro_split": {
      "protein_pct": 12,
      "carbs_pct": 66,
      "fat_pct": 22
    },
    "sources": [
      {
        "title": "USDA FoodData Central - Steel Cut Oats (FDC 169705)",
        "domain": "fdc.nal.usda.gov",
        "url": "https://fdc.nal.usda.gov/fdc-app.html#/food-details/169705/nutrients"
      },
      {
        "title": "USDA FoodData Central - Blueberries (FDC 171711)",
        "domain": "fdc.nal.usda.gov",
        "url": "https://fdc.nal.usda.gov/fdc-app.html#/food-details/171711/nutrients"
      }
    ],
    "assumptions": [
      "Calculated net carbohydrates at 33.0g (42.9g total carbs - 9.9g dietary fiber).",
      "Low sodium profile (8mg) meets AHA hypertensive guideline threshold (<140mg/meal)."
    ]
  },
  "meta": {
    "model": "foodvivo-neural-engine",
    "latency_ms": 16,
    "cached": true
  }
}

Clinical Integration Example

Ingest patient meals and calculate net carbs for insulin dosage.

curl -X POST https://foodvivo-api.flappybird-assets.workers.dev/v1/food/analyze \
  -H "Authorization: Bearer sk_live_your_clinical_key" \
  -H "Content-Type: application/json" \
  -H "X-Patient-Audit-ID: pt_98241" \
  -d '{
    "text": "Steel-cut oatmeal with blueberries, chia seeds, and unsweetened almond milk",
    "context": "Diabetic MNT Tracking (Patient #pt_98241)"
  }'

Healthcare & Clinical FAQs

Security, compliance, and clinical accuracy questions answered.

How does FoodVivo support Diabetic Medical Nutrition Therapy (MNT)?

FoodVivo calculates Total Carbohydrates, Dietary Fiber, and Net Carbohydrates directly from laboratory USDA FoodData Central reference values. By isolating non-digestible fiber and sugar alcohols, clinical software can calculate insulin-to-carbohydrate ratios (ICR) with verified mathematical rigor.

Is FoodVivo compliant with healthcare data security standards?

FoodVivo is designed for secure healthcare SaaS integrations. All API traffic is encrypted via TLS 1.3, data at rest uses AES-256 encryption, and meal photos uploaded for computer vision expire automatically after 30 days on private Cloudflare R2 storage. Custom BAA agreements are available for enterprise clinical plans.

Can clinical dietitians submit portion corrections and ground-truth overrides?

Yes. Using our POST /v1/feedback endpoint, clinicians can log verified portion corrections and clinic scale measurements. These feedback events are integrated into our continuous evaluation pipeline to ensure zero regression drift.

Does FoodVivo track renal micronutrients like Potassium and Sodium?

Yes. For renal and hypertensive patients, FoodVivo extracts sodium, potassium, calcium, iron, and cholesterol from USDA Standard Reference chemical profiles.