Skip to content
AyurAlign

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)).

VersionMild foundModerate foundSevere foundHealthy wrongly flagged
Before: Never/Sometimes/Often/Most days + % rule42%99%100%28%
Days per week + % rule only37%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-offs80%100%100%7%
Bar chart: mild imbalances found and healthy people wrongly flagged, before and after

About you

5 questions · module “about”

Flowchart of the About you module

Before we begin

3 questions · module “consent”

Flowchart of the Before we begin module

A quick safety check

2 questions · module “safety”

Flowchart of the A quick safety check module

Your nature

18 questions · module “prakriti”

Flowchart of the Your nature module

Your mind

5 questions · module “mind”

Flowchart of the Your mind module

How you've been lately

74 questions · module “vikriti”

Flowchart of the How you've been lately module

How you've been feeling

5 questions · module “mood”

Flowchart of the How you've been feeling module

Your health

27 questions · module “history”

Flowchart of the Your health module

Lab results and family health

5 questions · module “labs”

Flowchart of the Lab results and family health module

Daily habits

5 questions · module “habits”

Flowchart of the Daily habits module

Your goals

2 questions · module “goals”

Flowchart of the Your goals module

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