inou/api/tracker_prompts/extract_nutrition.md

831 B

Extract nutrition and diet information from this medical document. Return a JSON array or null.

Each entry:

  • type: "observation", "restriction", "tolerance"
  • value: (empty)
  • summary: brief description
  • timestamp: "YYYY-MM-DD" if date mentioned
  • data: {"description": "...", "details": "..."}

Nutrition means food, diet, feeding, or dietary intake — what the patient eats or drinks. Do NOT extract:

  • Lab results or findings (anemia, candida, blood counts, urinalysis — those are labs)
  • Clinical observations about disease or pathology
  • Diagnoses or conditions
  • Anything that is not specifically about food, diet, or nutritional intake

Every entry MUST come from text explicitly present in the document. Do NOT infer or assume. Return null if no nutrition information is explicitly described.

Document: {{MARKDOWN}}