For practitioners · draft for review
How the intake works
One flowchart per module, generated from the question bank itself (version 2.5.2-short), so it always matches what patients see. Boxes are questions or grids of rows; diamonds are branches. Tags show what each answer feeds.
How Prakriti and Vikriti are worked out
- Prakriti (nature): 18 lifelong items, each pointing to one dosha. 12 core items for everyone; 6 tie-breakers only when the top two are within 3 points. Shown out of 100%.
- Vikriti (lately, last 30 days): at least 5 signs of each dosha being too high and too low (60 rows, after Svoboda 1992 and Ashtanga Hridaya Su. 11), weekly counts (sleep, waking, night urination, bowels, skin, tongue; after Lad) and the digestion type.
- Lately vs nature: Vikriti starts from the person's own Prakriti and is shifted by the signs. No signs means Vikriti = Prakriti (Lad: excellent health). The gap decides which dosha suggestions calm or rebuild.
- Signs of balance: 5 items from Sushruta's definition of health (refreshing sleep, appetite, easy digestion and elimination, steady energy, a calm, content mind).
- Never scored: conditions, medicines and labs. They add safety notes and block unsafe suggestions; labs are recorded with LOINC codes and compared with published guideline cut-offs (ADA, AHA/ACC, KDIGO, WHO and others:
docs/LAB_RULES.md), never as a diagnosis; urgent or doctor-level results raise the referral.
Finding imbalances: before and after (Nov 14)
Lately signs are now answered in days per week (0, 1–2, 3–4, 5–7) instead of Never/Sometimes/Often, and a dosha is flagged by how many of its signs show up, not only by its % of the maximum. Tested on simulated people built from the classical rules (scripts/sim/simulate.ts, seed 7, 4,830 simulated people (no real people)).
| Version | Mild found | Moderate found | Severe found | Healthy wrongly flagged |
|---|---|---|---|---|
| Before: Never/Sometimes/Often/Most days + % rule | 42% | 99% | 100% | 28% |
| Days per week + % rule only | 37% | 98% | 100% | 11% |
| v2.3: days per week + sign counts (5–7 signs per dosha) | 64% | 97% | 100% | 9% |
| After (v2.4, in the app now): 10 signs per dosha and direction, re-tuned cut-offs | 80% | 100% | 100% | 7% |

About you
5 questions · module “about”

Before we begin
3 questions · module “consent”

A quick safety check
2 questions · module “safety”

Your nature
18 questions · module “prakriti”

Your mind
5 questions · module “mind”

How you've been lately
74 questions · module “vikriti”

How you've been feeling
5 questions · module “mood”

Your health
27 questions · module “history”

Lab results and family health
5 questions · module “labs”

Daily habits
5 questions · module “habits”

Your goals
2 questions · module “goals”

Source: docs/FLOWCHARTS.md in the repository (regenerate with npx tsx scripts/flowcharts.ts). Back to For practitioners

