An observational study to analyse Rasa , Meda and Asthi dhatu dushti in patients with Hypothyroidism

Reading File
Finding Sources
Searching PubMed

hypothyroidism AND "Ayurveda" AND dhatu

Searching the Web

Rasa Meda Asthi dhatu dushti hypothyroidism Ayurveda observational study

Reading Web Page

https://jaims.in/jaims/article/download/1947/2230?inline=1

Searching PubMed

hypothyroidism AND Ayurveda AND "bone metabolism"

Finding Sources
Searching the Web

Asthi dhatu dushti hypothyroidism bone loss osteoporosis Ayurveda clinical study

Searching PubMed

hypothyroidism AND "bone mineral density" AND dyslipidemia

Finding Sources
Finding Sources
Searching PubMed

hypothyroidism AND dyslipidemia AND "bone mineral density"

Now I have sufficient information to provide a comprehensive, structured answer on this topic. Let me compile it.

Observational Study: Rasa, Meda and Asthi Dhatu Dushti in Hypothyroidism

Background and Conceptual Framework

Hypothyroidism is a systemic endocrine disorder characterized by decreased production of thyroid hormones (T3/T4), resulting in slowed metabolism, weight gain, fatigue, dry skin, constipation, cold intolerance, and proximal muscle weakness. From the Ayurvedic perspective, these multisystemic manifestations can be understood through the lens of Samprapti (pathogenesis) involving vitiation of specific Dhatus (body tissues).
The three Dhatus most commonly implicated are:
  • Rasa Dhatu (plasma/lymph/nutritional fluid)
  • Meda Dhatu (adipose/fat tissue)
  • Asthi Dhatu (bone tissue)

Ayurvedic Samprapti (Pathogenesis)

Nidana (Causative Factors)

TypeExamples
Aharaja (dietary)Abhishyandi (heavy, unctuous, cold foods), Guru Ahara, excessive Kapha-aggravating diet
Viharaja (lifestyle)Sedentary lifestyle, Divasvapna (day sleep), Ati Sthaulya
ManasikaChinta (stress), Shoka (grief), Bhaya (fear) - directly vitiate Rasavaha Srotas
AgantujaVegadharana (suppression of natural urges), Bharaharana

Dosha Involvement

  • Kapha Vriddhi - primary dosha (mirroring TSH-driven sluggishness, mucoid edema, weight gain)
  • Vata Prakopa - secondary (causing dryness, constipation, bone depletion, neuromuscular symptoms)
  • Pitta Kshaya - reduced metabolic fire (Agni mandya)

Agni Dushti

  • Jataragni Mandya - reduced digestive fire at the gut level
  • Dhatwagni Mandya - impaired tissue-level metabolism (particularly Rasa Dhatwagni, Meda Dhatwagni)
  • This leads to Ama formation - the undigested metabolic byproduct that vitiates Srotas and Dhatus

1. Rasa Dhatu Dushti

Ayurvedic Concept

Rasa Dhatu is the first and most fundamental tissue formed from digested food (Ahara Rasa). Its Dushti leads to impaired nourishment of all downstream Dhatus.
Classical Lakshanas of Rasa Dhatu Dushti (Charaka Sutra 28):
  • Hrillasa (nausea/palpitations)
  • Aruchi (loss of appetite/taste)
  • Asya Vairasya
  • Gaurava (heaviness)
  • Tandra (drowsiness, fatigue)
  • Alasya (lethargy)
  • Pandu (pallor/anemia)
  • Agnisada (digestive impairment)
  • Sroto Avarodha (channel obstruction)

Correlation with Hypothyroidism

Hypothyroid FeatureRasa Dhatu Dushti Equivalent
Fatigue, lethargyAlasya, Tandra
Facial/peripheral puffiness (myxedema)Shotha (edema from Rasa Sroto dushti)
Pallor, anemiaPandu (Rasa-Rakta Dushti)
Loss of appetiteAruchi, Agnisada
Cold intoleranceSheeta Lakshana from Kapha-dominant Rasa
Dry skinTwak Parushyata (Heena Rasa nourishing Twak)
BradycardiaHrillasa/Hridaya-related Rasa Dushti
Study Parameter: Percentage of patients exhibiting Rasa Dhatu Dushti Lakshanas. Published observational data (JAIMS study, n=100) found Rasa Dhatu involved in 43% of hypothyroid cases.

2. Meda Dhatu Dushti

Ayurvedic Concept

Meda Dhatu represents adipose/fat tissue and is formed from Mamsa Dhatu by Meda Dhatwagni. When Meda Dhatwagni is impaired, excess fat accumulates (Meda Vriddhi).
Classical Lakshanas of Meda Dushti (Vriddhi):
  • Sthaulya (obesity/overweight)
  • Udara Vriddhi (abdominal enlargement)
  • Shramena Shwasa (exertional dyspnea)
  • Atisvedana (excessive sweating) OR Swedabhava (absent sweating)
  • Snigdha Twak (oily skin)
  • Durgandha (body odor from ama-laden Meda)
  • Daurbalya (weakness despite apparent bulk)
  • Medavaha Sroto Dushti
Meda Dushti via Kshaya (depletion):
  • Kshama (emaciation in severe cases)
  • Pleeha/Granthi (swellings from Meda stagnation)

Correlation with Hypothyroidism

Hypothyroid FeatureMeda Dhatu Dushti Equivalent
Weight gain / obesitySthaulya (Meda Vriddhi)
Dyslipidemia (elevated LDL, triglycerides)Meda Dushti/ama in Medovaha Srotas
Pericardial effusionMeda accumulation in Hridaya region
Fatty liver (NAFLD in hypothyroid)Yaka-ashrita Meda Dushti
Metabolic syndromeSroto Avarodha from Ama+Meda
Non-pitting edemaMeda + Kapha accumulation in Twak
The link is mechanistically strong: reduced thyroid hormone decreases lipolysis and increases LDL-cholesterol by impairing LDL-receptor expression - the exact modern parallel to Meda Vriddhi and Medovaha Sroto Dushti.
Study Parameter: Meda Dhatu Dushti was the most frequently involved Dhatu, found in 78.2% of hypothyroid cases in the published JAIMS observational study - the highest of all Dhatus assessed.

3. Asthi Dhatu Dushti

Ayurvedic Concept

Asthi Dhatu (bone tissue) is the 5th Dhatu in the sequential Dhatu Poshana chain. It is formed from Meda Dhatu by Meda Dhatwagni. Vata Dosha resides in Asthi Dhatu (Ashraya-Ashrayi Bhava) - hence Vata and Asthi are reciprocally dependent.
Classical Lakshanas of Asthi Kshaya (Depletion):
  • Asthishula (bone pain)
  • Asthisphotana (crackling of joints)
  • Kesha-Nakha Bhanga (hair fall, brittle nails)
  • Danta Bhanjana (dental decay/loosening)
  • Sandhi Shaithilya (joint laxity)
  • Asthi Daurbalya (bone fragility)
Asthi Dushti (vitiation):
  • Asthisaushirya (porosity/osteopenia)
  • Adhidanta, Atidanta (dental abnormalities)
  • Keshatimatra (excess hair growth as Asthi Vriddhi sign)

Correlation with Hypothyroidism

Thyroid hormones directly regulate bone remodeling. Hypothyroidism in adults causes:
Hypothyroid FeatureAsthi Dhatu Dushti Equivalent
Reduced bone turnover, osteopeniaAsthi Kshaya / Asthisaushirya
Joint stiffness, arthralgiaAsthishula, Sandhi Shotha
Brittle nails, hair fallAsthi Mala Kshaya (Kesha-Nakha are Mala of Asthi)
Carpal tunnel syndromeMajja Dushti secondary to Asthi Dushti
Delayed fracture healingAsthi Daurbalya
Low BMD (especially prolonged hypothyroidism)Asthisaushirya
Key Ayurvedic Pathway:
Meda Dhatwagni Mandya → impaired Meda → reduced substrate for Asthi formation → Asthi Dhatu Kshaya
This is the crucial sequential link: Meda Dushti directly compromises Asthi formation, explaining why patients with hypothyroid dyslipidemia also tend to have reduced bone mineral density.

Proposed Samprapti (Pathogenesis Flow)

Nidana (diet/lifestyle/stress)
        ↓
Jataragni Mandya + Kapha Vriddhi
        ↓
Ama formation → Rasavaha Srotas Dushti
        ↓
Rasa Dhatu Dushti (Sama Rasa - qualitatively poor)
        ↓
Rasa Dhatwagni Mandya → Rakta Dhatu Dushti (pallor)
        ↓
Mamsa Dhatu → Meda Dhatwagni Mandya
        ↓
Meda Vriddhi + Medovaha Sroto Dushti (Sanga type)
        ↓
Impaired substrate for Asthi formation
        ↓
Asthi Dhatu Kshaya / Dushti + Vata Prakopa
        ↓
Majja Dhatu affected (Sandhi symptoms, neurological features)
Vyakta Sthana: Sarva Shareera (whole body - explains multisystemic presentation) Srotas involved: Rasavaha, Medovaha, Asthivaha, Annavaha, Udakavaha, Swedavaha

Study Design Recommendations

Inclusion Criteria

  • Age 18-60 years, either sex
  • Diagnosed hypothyroidism (TSH >5.0 mIU/L, low/normal T4)
  • Primary hypothyroidism (autoimmune/idiopathic)
  • Written informed consent

Exclusion Criteria

  • Secondary/central hypothyroidism
  • Graves' disease or hyperthyroidism
  • Active malignancy, pregnancy
  • Known metabolic bone disease, corticosteroid use
  • Patients on thyroid hormone replacement for <6 months

Assessment Parameters

For Rasa Dhatu Dushti:
  • Clinical: Fatigue (VAS), pallor, edema grading, cold intolerance
  • Lab: Hemoglobin, serum albumin, serum protein
  • Scoring: Rasa Dhatu Dushti Lakshana checklist (Charaka criteria)
For Meda Dhatu Dushti:
  • Clinical: BMI, waist circumference, skin fold thickness
  • Lab: Fasting lipid profile (LDL, HDL, triglycerides, total cholesterol)
  • USG: Fatty liver grading (Medovaha Sroto Dushti)
  • Scoring: Meda Dushti Lakshana scale
For Asthi Dhatu Dushti:
  • Clinical: Bone pain (NRS), hair fall (Sinclair scale), nail brittleness, joint crepitus
  • Lab: Serum calcium, phosphorus, alkaline phosphatase, Vitamin D, PTH, serum osteocalcin
  • Imaging: DEXA scan (BMD T-score and Z-score) for Asthisaushirya
  • Scoring: Asthi Kshaya Lakshana checklist

Statistical Analysis

  • Descriptive statistics (mean, SD, frequency, percentage)
  • Pearson/Spearman correlation between TSH levels and Dhatu Dushti scores
  • Chi-square test for categorical parameters
  • ANOVA/Kruskal-Wallis for group comparisons

Published Evidence Summary

A JAIMS observational study (n=100, age 16-70 years) exploring Samprapti Ghatakas in hypothyroidism found:
DhatuInvolvement
Meda78.2% (most frequent)
Rasa43.0%
Majja31.6%
Mamsa18.5%
Rakta5.5%
Key findings from that study:
  • Kapha and Vata are the primary Doshas in Samprapti
  • Dhatwagnimandya (especially Meda and Rasa Dhatwagni) is the core mechanism
  • Sanga type of Srotodushti is the predominant form
  • Udbhava Sthana: Amashaya; Vyakta Sthana: Sarva Shareera
The JAIMS study on Samprapti Ghatakas in hypothyroidism is the most directly relevant published observational data for this topic.
A registered clinical trial (CTRI/2025/09/095053) at Rishikul Campus, UAU is also currently studying Rasa, Rakta, Mamsa and Meda Dhatu Vaishamya in hypothyroidism - confirming the active academic interest in this exact research area.

Why Asthi Dhatu Must Be Included

The specific inclusion of Asthi Dhatu (beyond the commonly studied Rasa and Meda) is clinically meaningful for several reasons:
  1. Sequential formation logic: Meda Dushti (most common in hypothyroidism) directly impairs Asthi formation via Medo Dhatwagni Mandya.
  2. Hypothyroid bone disease: Even subclinical hypothyroidism is associated with reduced bone turnover and increased fracture risk in long-term studies.
  3. Vata-Asthi relationship: Hypothyroidism causes secondary Vata Prakopa (via Kapha Avarana), and Vata aggravation depletes Asthi Dhatu.
  4. Asthi Mala markers: Hair fall and nail brittleness - common in hypothyroidism - are classical Asthi Dhatu Mala manifestations (Kesha and Nakha).
  5. Unmet research gap: Unlike Rasa and Meda, Asthi Dhatu Dushti in hypothyroidism has not been systematically quantified in published Ayurvedic observational studies.

This study design bridges the Ayurvedic understanding of tissue-level pathogenesis with objective biomarkers, providing a validated framework for future Ayurvedic therapeutic trials in hypothyroidism.

for the above given topic of thesis give me literature review in terms of :functional anatomy of thyroid gland , Physiology of thyroid gland , causes , clinical features , investigations of Hypothyroidism and rasa dhatu ,medo dhatu and asthi dhatu vruddhi and kshaya lakshanas with interpretation

Finding Sources
Finding Sources
Finding Sources
Searching the Web

Rasa dhatu Meda dhatu Asthi dhatu vriddhi kshaya lakshanas classical Ayurveda Charaka Sushruta

Reading File
Finding Sources
Finding Sources
Reading Web Page

https://www.ijfmr.com/papers/2023/5/7478.pdf

Reading File
Reading File
Finding Sources
Finding Sources
Reading File
Reading File
Searching PubMed

hypothyroidism AND "lipid metabolism" AND "bone mineral density"

Reading File
Searching the Web

Meda dhatu vriddhi kshaya lakshanas Charaka Samhita Sushruta classical text interpretation

Reading File
Finding Sources
Reading File
Loading Image
Loading Image

LITERATURE REVIEW

Thesis Title: An Observational Study to Analyse Rasa, Meda and Asthi Dhatu Dushti in Patients with Hypothyroidism


PART A: MODERN REVIEW


I. FUNCTIONAL ANATOMY OF THE THYROID GLAND

1.1 Gross Anatomy

The thyroid gland is a butterfly-shaped endocrine organ located in the anterior neck, lying inferior to the larynx and anterior to the trachea. It consists of two lateral lobes connected by a central isthmus. An additional pyramidal lobe may extend upward from the isthmus in approximately 50% of individuals. In adults, the normal thyroid weighs 20-30 grams and is richly vascularized - receiving a blood flow approximately five times its own weight per minute, comparable in supply density only to the adrenal cortex.
Blood supply:
  • Superior thyroid artery (from external carotid artery)
  • Inferior thyroid artery (from thyrocervical trunk of subclavian artery)
  • Venous drainage via superior, middle, and inferior thyroid veins into the internal jugular and brachiocephalic veins
Nerve supply: Sympathetic fibers from the superior and middle cervical ganglia regulate blood flow to the gland.
Lymphatic drainage: To pretracheal, paratracheal, and deep cervical lymph nodes.
Anatomy and microscopic appearance of the thyroid gland showing follicles, cuboidal epithelium, colloid, and C cells
Fig. 1 - Anatomy and microscopic appearance of the thyroid gland (Guyton & Hall Textbook of Medical Physiology)

1.2 Microscopic Anatomy

The thyroid gland is composed of numerous closed follicles (100-300 micrometers in diameter) lined by cuboidal follicular epithelial cells (thyrocytes). The interior of each follicle is filled with colloid, a viscous substance whose major constituent is thyroglobulin - the large glycoprotein that stores thyroid hormones.
Cell types:
Cell TypeLocationFunction
Follicular (thyrocyte) cellsFollicle liningSynthesis and secretion of T3 and T4
Parafollicular (C cells)Between folliclesSecretion of calcitonin - regulates plasma calcium
When the gland is active, follicular cells become tall columnar; in an inactive state, they flatten to squamous morphology. The colloid becomes more fluid when hormones are being reabsorbed.
(Guyton and Hall Textbook of Medical Physiology)

II. PHYSIOLOGY OF THE THYROID GLAND

2.1 Thyroid Hormone Synthesis

Thyroid hormone synthesis involves a complex multi-step process requiring iodine, the enzyme thyroid peroxidase (TPO), and the protein thyroglobulin. Approximately 50 mg of dietary iodine per year (about 1 mg/week) is required for normal thyroxine production.
Steps in hormone synthesis:
Step 1 - Iodide Trapping (Iodide Pump): The basal membrane of the thyrocyte contains a Sodium-Iodide Symporter (NIS) that co-transports one iodide ion (I⁻) with two sodium ions (Na⁺) into the cell. Energy comes from the Na⁺-K⁺ ATPase pump. In a normal gland, iodide is concentrated to about 30 times its plasma concentration; in a maximally stimulated gland, this ratio rises to 250:1.
Step 2 - Oxidation of Iodide: Inside the follicle, iodide is oxidized to iodine by the enzyme thyroid peroxidase (TPO), using hydrogen peroxide generated by NADPH oxidase (DUOX2).
Step 3 - Organification: Iodine is incorporated onto tyrosine residues of thyroglobulin to form:
  • MIT (Monoiodotyrosine) - one iodine
  • DIT (Diiodotyrosine) - two iodines
Step 4 - Coupling: Two DIT molecules couple to form T4 (Thyroxine); one MIT + one DIT forms T3 (Triiodothyronine). T4 is the predominant secreted form (approximately 80%); T3 is more biologically potent.
Step 5 - Storage: Iodinated thyroglobulin is stored in colloid within the follicular lumen. The thyroid can store several weeks' supply.
Step 6 - Secretion: TSH stimulation causes follicular cells to endocytose colloid droplets, which are digested by lysosomal proteases, releasing T3 and T4 into the bloodstream.
Step 7 - Peripheral Conversion: In peripheral tissues (liver, kidney, muscle), the enzyme 5'-deiodinase converts T4 (the prohormone) to the active T3. More than 90% of thyroid hormone that binds nuclear receptors is T3.
(Guyton and Hall Textbook of Medical Physiology; Costanzo Physiology 7th Edition)

2.2 Transport in Blood

  • 99.97% of T4 and 99.7% of T3 in the plasma are protein-bound
  • Binding proteins: Thyroxine-binding globulin (TBG) (major carrier), thyroxine-binding prealbumin (transthyretin), and albumin
  • Only the free (unbound) fraction is biologically active

2.3 Mechanism of Action of Thyroid Hormones

Thyroid hormones enter target cells via carrier-mediated, ATP-dependent transport. Inside the cell:
  1. T4 is deiodinated to T3
  2. T3 binds to thyroid hormone receptors (THR) - nuclear transcription factors bound to thyroid hormone response elements (TRE) on DNA, usually as a heterodimer with retinoid X receptor (RXR)
  3. T3-THR complex activates gene transcription → formation of mRNA → new intracellular proteins → altered cellular function
The net result is a generalized increase in functional activity throughout the body - increased oxygen consumption, increased protein synthesis, and increased metabolic rate.
Key physiological effects of T3/T4:
  • Metabolism: Increase basal metabolic rate, calorigenic effect, increase carbohydrate and fat catabolism
  • Growth: Essential for normal bone and brain development
  • Cardiovascular: Increase heart rate, cardiac contractility, and cardiac output
  • CNS: Required for normal brain maturation in fetus; cognitive function in adults
  • Lipid metabolism: Upregulate LDL receptors → reduce total cholesterol and LDL-C
  • Muscle: Increase contractility, regulate sarcolemmal gene expression
  • Bone: Regulate bone remodeling - both osteoblast and osteoclast activity
(Guyton and Hall Textbook of Medical Physiology)

2.4 Regulation of Thyroid Hormone Secretion (HPT Axis)

Hypothalamic-Pituitary-Thyroid axis regulation diagram
Fig. 2 - Regulation of thyroid hormone secretion via the HPT axis (Costanzo Physiology)
The Hypothalamic-Pituitary-Thyroid (HPT) axis is the master regulatory system:
  1. TRH (Thyrotropin-Releasing Hormone): Secreted by paraventricular nuclei of hypothalamus. A tripeptide that acts on thyrotrophs of anterior pituitary to stimulate TSH gene transcription and TSH secretion.
  2. TSH (Thyroid-Stimulating Hormone): Glycoprotein secreted by anterior pituitary thyrotrophs. Exerts a trophic effect (growth stimulus) on the thyroid and stimulates all steps of hormone synthesis and secretion - iodide trapping, thyroglobulin synthesis, TPO activity, endocytosis of colloid, and hormone release.
  3. Negative Feedback: Free T3 (converted from T4 by pituitary deiodinase) down-regulates TRH receptors on thyrotrophs, reducing TSH secretion. This feedback loop maintains steady-state thyroid hormone levels.
Factors inhibiting thyroid hormone secretion:
  • Iodine deficiency or excess (Wolff-Chaikoff effect)
  • Propylthiouracil (inhibits TPO)
  • Perchlorate/thiocyanate (inhibits NIS)
  • Lithium, amiodarone
  • Decreased TBG (liver disease)
(Costanzo Physiology 7th Edition)

III. HYPOTHYROIDISM

3.1 Definition

Hypothyroidism is a clinical syndrome resulting from deficiency of thyroid hormones (T3/T4), leading to slowing of all metabolic processes. It is classified as:
  • Primary hypothyroidism: Failure of the thyroid gland itself (elevated TSH, low T4/T3) - most common (>95% of cases)
  • Secondary hypothyroidism: Failure of TSH secretion from pituitary (low TSH, low T4)
  • Tertiary hypothyroidism: Failure of TRH secretion from hypothalamus
  • Overt hypothyroidism: TSH elevated (>20 mIU/L) with low free T4 and symptomatic disease
  • Subclinical hypothyroidism: Elevated TSH (4.5-20 mIU/L) with normal free T4 - often asymptomatic
(Harrison's Principles of Internal Medicine 22E; Goldman-Cecil Medicine)

3.2 Causes of Hypothyroidism

(Harrison's Principles of Internal Medicine, Table 395-1)
A. Primary Hypothyroidism:
CategorySpecific Causes
AutoimmuneHashimoto's thyroiditis (most common in iodine-sufficient regions), Atrophic thyroiditis
IatrogenicRadioiodine (¹³¹I) therapy, thyroidectomy (subtotal/total), external neck irradiation
DrugsIodine excess (contrast media, amiodarone), lithium, antithyroid drugs (PTU, carbimazole), interferon-α, immune checkpoint inhibitors (ipilimumab, nivolumab, pembrolizumab), tyrosine kinase inhibitors (sunitinib)
NutritionalIodine deficiency (most common worldwide), selenium deficiency
CongenitalThyroid agenesis/ectopia (65%), dyshormonogenesis (30%), TSH-R mutation (5%)
InfiltrativeAmyloidosis, sarcoidosis, hemochromatosis, scleroderma, Riedel's thyroiditis
B. Transient Hypothyroidism:
  • Silent/postpartum thyroiditis
  • Subacute (de Quervain's) thyroiditis
  • After thyroidectomy/radioiodine for Graves' disease
C. Secondary (Central) Hypothyroidism:
  • Pituitary disease (adenoma, surgery, Sheehan's syndrome)
  • Hypothalamic tumors, trauma, infiltrative disorders, Prader-Willi syndrome
  • Isolated TSH deficiency (rare)
  • Drugs: bexarotene, mitotane
Hashimoto's Thyroiditis - The Most Common Cause: Hashimoto's thyroiditis is an autoimmune disease first described by Dr. Hakaru Hashimoto in 1912. It involves both cell-mediated (CD8⁺ cytotoxic T-cell destruction of thyrocytes) and humoral (anti-TPO and anti-thyroglobulin antibodies) immune mechanisms. The thyroid undergoes progressive lymphocytic infiltration, follicular destruction, and fibrotic replacement - leading to gradual and irreversible thyroid failure. It is more common in women (8:1 female-to-male ratio) and those with other autoimmune conditions.
(Harrison's Principles of Internal Medicine 22E; Robbins, Cotran & Kumar Pathologic Basis of Disease)

3.3 Clinical Features of Hypothyroidism

The onset is insidious. Clinical features result from reduced metabolic activity and accumulation of glycosaminoglycans (hyaluronic acid) in tissues causing myxedema.
(Harrison's Principles of Internal Medicine 22E; Frameworks for Internal Medicine; The Washington Manual of Medical Therapeutics)
A. Constitutional:
  • Fatigue, lethargy, weakness
  • Cold intolerance (due to reduced thermogenesis)
  • Weight gain (despite poor appetite - mainly fluid retention)
  • Hoarse, deep voice
B. Skin and Appendages:
  • Dry, rough, cool, pale skin (decreased blood flow)
  • Non-pitting edema / myxedema (glycosaminoglycan accumulation)
  • Puffy face with periorbital edema
  • Hair: Dry, brittle, thinning, diffuse alopecia; loss of outer-third eyebrows
  • Nails: Retarded growth, brittle
  • Yellow tinge (carotene accumulation)
C. Cardiovascular:
  • Bradycardia
  • Reduced cardiac output, stroke volume
  • Diastolic hypertension (increased peripheral resistance)
  • Pericardial effusion (in up to 30% of patients)
  • Dyslipidemia: Elevated total cholesterol, LDL-C, triglycerides - proatherogenic
D. Neuromuscular:
  • Mental slowness, cognitive impairment, depression
  • Proximal muscle weakness
  • Delayed deep tendon reflex relaxation (classic sign)
  • Carpal tunnel syndrome, paresthesias
  • Cerebellar ataxia (in severe cases)
E. Gastrointestinal:
  • Constipation
  • Decreased appetite
F. Reproductive:
  • Decreased libido
  • Oligomenorrhea or amenorrhea (long-standing disease), or menorrhagia (early stage)
  • Reduced fertility, increased miscarriage risk
  • Hyperprolactinemia (galactorrhea)
G. Metabolic:
  • Hypercholesterolemia, hypertriglyceridemia (Meda Dushti analog)
  • Hyponatremia (in severe cases)
H. Skeletal (relevant to Asthi Dhatu):
  • Reduced bone turnover (both osteoblast and osteoclast activity suppressed)
  • Reduced BMD in severe or prolonged hypothyroidism
  • Joint effusions, arthralgia
  • Carpal tunnel compression
(Robbins, Cotran & Kumar Pathologic Basis of Disease)

3.4 Investigations of Hypothyroidism

(Robbins, Cotran & Kumar Pathologic Basis of Disease; The Washington Manual of Medical Therapeutics; Harrison's Principles 22E)
A. First-Line / Screening Test:
TestInterpretation
Serum TSHMost sensitive test. Elevated (>4.5 mIU/L) in primary hypothyroidism. Normal or low in secondary hypothyroidism
Free T4 (FT4)Decreased in overt hypothyroidism. Normal in subclinical hypothyroidism. Directly measures active hormone
Free T3 (FT3)Usually decreased; helps assess severity
Classification by Lab Values:
  • Overt hypothyroidism: TSH >20 mIU/L + low FT4 + symptoms
  • Subclinical hypothyroidism: TSH 4.5-20 mIU/L + normal FT4
B. Autoimmune Markers:
  • Anti-TPO antibodies (anti-thyroid peroxidase): Elevated in 95% of Hashimoto's thyroiditis - confirms autoimmune etiology
  • Anti-thyroglobulin antibodies: Elevated in ~60% of Hashimoto's
  • TSH receptor antibodies (TRAb/TSI): To distinguish from Graves' disease and identify blocking antibodies
C. Imaging:
  • Thyroid ultrasound: Assesses gland size, echogenicity (heterogeneous/hypoechoic in Hashimoto's), nodules
  • Thyroid scan (¹²³I or ⁹⁹ᵐTc): Assesses functional status, ectopic tissue
D. Secondary Investigations (for Dhatu Dushti assessment):
ParameterWhat It Reflects
CBC with peripheral smearAnemia (Rasa-Rakta Dushti)
Serum albumin, total proteinRasa Dhatu quality
Fasting lipid profile (LDL, HDL, TG, TC)Meda Dhatu Dushti
Blood glucose / insulin resistanceMeda-Medovaha Sroto Dushti
Serum calcium, phosphorus, ALPAsthi Dhatu status
Vitamin D (25-OH D3), PTHAsthi Dhatwagni function
Serum osteocalcin, bone-specific ALPBone formation markers
DEXA scan (T-score, Z-score)Quantitative Asthi Kshaya
Liver function testsHepatic Meda accumulation
ECGCardiovascular effects of Rasa Dushti
Serum CK, LDHMuscle involvement (Mamsa Dushti)

PART B: AYURVEDIC REVIEW


IV. RASA DHATU - VRIDDHI AND KSHAYA LAKSHANAS WITH INTERPRETATION

4.1 Introduction to Rasa Dhatu

Rasa Dhatu is the first and most fundamental of the Sapta Dhatus. The word "Rasa" literally means juice, sap, essence, or liquid. It is formed from the digested food (Ahara Rasa) by the action of Rasa Dhatwagni. Rasa Dhatu circulates continuously through the body via Rasavaha Srotas and nourishes all subsequent Dhatus in the sequential Dhatu Poshana Krama.
Functions (Karma) of Rasa Dhatu:
  • Preetih - provides satisfaction and contentment to the mind and body
  • Tarpana - nourishes all other Dhatus sequentially
  • Jivana - sustains life
Upadhatu (secondary tissue) of Rasa: Stanya (breast milk), Aartava (menstrual fluid) Mala (waste product) of Rasa: Kapha
Dosha relationship: Rasa Dhatu is intimately related to Kapha Dosha - increases and decreases in Kapha directly impact Rasa Dhatu.
(Charaka Samhita, Sutra Sthana 28; Vimana Sthana 5/17)

4.2 Rasa Dhatu Kshaya (Depletion) - Lakshanas

Reference: Charaka Samhita, Sutra Sthana 17/62-63
A decrease in Rasa Dhatu signifies malnourishment and dehydration. The classical lakshanas are:
Sanskrit TermEnglish MeaningModern Correlation in Hypothyroidism
HridravaPalpitations, cardiac painReflects impaired cardiac nourishment by Rasa
Sahate Shabdam NaIntolerance to loud noisesNeurosensory depletion
GhattateRestlessness, anxietyCNS under-nourishment
Hridayam TamyatiCardiac fatigue even with minimal exertionReduced cardiac output in hypothyroidism
Shrama (Alpacheshtasyapi)Fatigue even with minimal activityClassic hypothyroid fatigue
Ruksha TwakDry skinReduced plasma fluids nourishing skin
PanduPallor, anemiaReduced Rakta formation from deficient Rasa
DaurbalyaGeneral weaknessSystemic nutritional deficiency
Interpretation: In hypothyroidism, reduced metabolic activity leads to impaired Ahara Paka (digestion), resulting in poor-quality Ahara Rasa. This, combined with Ama formation (undigested metabolic waste), produces Sama Rasa Dhatu - qualitatively deficient Rasa that fails to nourish downstream Dhatus. This explains the pallor, dry skin, fatigue, and cardiac features seen in hypothyroid patients.

4.3 Rasa Dhatu Vriddhi (Excess) - Lakshanas

Reference: Charaka Samhita, Sutra Sthana 17; Ashtanga Hridayam, Sutra Sthana 11
Increased Rasa Dhatu causes features resembling Kapha Vriddhi. The lakshanas are:
Sanskrit TermEnglish MeaningModern Correlation in Hypothyroidism
AgnisadanaImpaired digestion, poor appetiteHypothyroid gut dysmotility
PrasekaExcessive salivationMucosal edema
AlasyaSluggishness, lethargyClassic hypothyroid feature
GauravaHeaviness of the bodyMyxedema, weight gain
ShvaithyaPallor, white discoloration of skinSkin changes in hypothyroidism
ShaithyaColdness (of body parts)Cold intolerance in hypothyroidism
ShlathangatvaLooseness of body parts, flaccidityMuscle weakness
ShwasaDyspnea, breathlessnessPleural effusion, myopathy
KasaCoughMyxedematous pharyngeal edema
AtinidrataExcessive sleep, hypersomniaClassic hypothyroid symptom
Interpretation: The features of Rasa Vriddhi - Gaurava, Shaithya, Alasya, Atinidrata, Shlathangatva - map almost perfectly onto the cardinal symptoms of hypothyroidism. This confirms that hypothyroidism, from the Ayurvedic lens, involves Kapha-dominant Rasa Dhatu Vriddhi/Dushti where both quality and quantity are impaired. The Sama Rasa (Rasa mixed with Ama) produces Sroto Avarodha (channel obstruction), which is the basis of myxedematous tissue infiltration.
(Charaka Samhita, Sutra Sthana 17; IJFMR Review, 2023)

V. MEDA DHATU - VRIDDHI AND KSHAYA LAKSHANAS WITH INTERPRETATION

5.1 Introduction to Meda Dhatu

Meda Dhatu represents the adipose/fat tissue of the body. It is the 4th Dhatu in the sequential chain, formed from Mamsa Dhatu by Meda Dhatwagni. The word "Meda" derives from the root "mid" meaning "to be unctuous/greasy."
Functions (Karma) of Meda Dhatu:
  • Sneha - provides unctuousness (oleation) to all body parts
  • Svedana - governs perspiration
  • Dridhatva - gives firmness and compactness to the body
  • Balya - nourishes Asthi Dhatu (the next in sequence)
Upadhatu: Snayu (tendons/ligaments) Mala: Sweda (sweat) Seat: Vrikkha (kidneys), Vapa (omentum), Kati (waist), Udara (abdomen)
Dosha relationship: Meda Dhatu is primarily governed by Kapha Dosha and is especially susceptible to vitiation when Kapha is aggravated by Abhishyandi Ahara (heavy, fatty foods) and sedentary lifestyle.
(Charaka Samhita, Sutra Sthana 28; Sushruta Samhita, Sutra Sthana 14/13)

5.2 Meda Dhatu Kshaya (Depletion) - Lakshanas

Reference: Charaka Samhita, Sutra Sthana 17/65
Sanskrit TermEnglish MeaningModern Correlation
Sphik, Udara, Stana ShushkataEmaciation of buttocks, abdomen, breastsLoss of subcutaneous fat
Parvakam GrahaCrackling/stiffness of small jointsJoint degeneration due to lack of synovial lubrication
ShramaFatigue, exhaustionMetabolic depletion
AtishramaExcessive fatigue even with light activityReduced energy reserves
ShoshaEmaciationSevere wasting
Pleeha VriddhiSplenomegalyLymphoid hyperplasia
Interpretation: Meda Kshaya is less common in hypothyroidism, which predominantly features Meda Vriddhi. However, in cases of severe prolonged hypothyroidism with cardiac cachexia or myxedema coma, Meda Kshaya features may be observed. Reduced Meda also impairs Asthi formation in the Dhatu chain.

5.3 Meda Dhatu Vriddhi (Excess) - Lakshanas

Reference: Charaka Samhita, Sutra Sthana 17; Ashtanga Hridayam, Sutra Sthana 11
Meda Vriddhi is the most prevalent Dhatu Dushti in hypothyroidism (found in 78.2% of cases in published observational studies).
Sanskrit TermEnglish MeaningModern Correlation in Hypothyroidism
SthoulyaObesity, overweightWeight gain due to reduced lipolysis
Udara VriddhiAbdominal enlargementCentral adiposity
Shramena ShwasaExertional dyspneaObesity-related breathlessness
Kshudra ShwasaDyspnea on mild exertion
AtisvedanaExcessive sweating(Or conversely, reduced sweating in hypothyroid)
DaurgandhyaFoul body odorAma-mixed Meda
DaurbalyaWeaknessDespite apparent bulk
Medavaha Sroto DushtiObstruction in fat-carrying channelsDyslipidemia (elevated LDL, TG)
Yaka-ashrita MedaFat accumulation in liverNon-alcoholic fatty liver (NAFLD)
KanduItchingSkin changes from Meda Dushti
Modern Parallel - Dyslipidemia in Hypothyroidism: T3 normally upregulates hepatic LDL receptors, accelerating LDL clearance. In hypothyroidism, decreased T3 reduces LDL receptor expression → elevated LDL-cholesterol and total cholesterol. Additionally, reduced lipoprotein lipase activity raises triglycerides, while HDL may be reduced. This dyslipidemia is the modern counterpart of Medovaha Sroto Dushti with Sanga (obstruction) - the most common Srotodushti type in hypothyroid patients.
"Thyroid dysfunction is well established as a modifiable factor in dyslipidemia, with a direct, linear relationship observed between increasing TSH levels and total cholesterol, LDL-C, and triglycerides. Thyroid hormones, particularly T3, upregulate LDL receptors."
  • Fitzpatrick's Dermatology, Vol. 1
Interpretation: In hypothyroidism, Meda Dhatwagni Mandya leads to impaired processing of Mamsa-derived nutrients, resulting in accumulation of unprocessed Meda. This produces Sthaulya, Medovaha Sroto Dushti, and ultimately impairs the formation of the next Dhatu in the chain - Asthi.
(Charaka Samhita, Sutra Sthana 17; JAIMS Observational Study, n=100; Fitzpatrick's Dermatology)

VI. ASTHI DHATU - VRIDDHI AND KSHAYA LAKSHANAS WITH INTERPRETATION

6.1 Introduction to Asthi Dhatu

Asthi Dhatu represents the bone tissue - the structural framework of the body. It is the 5th Dhatu, formed from Meda Dhatu by Meda Dhatwagni and specifically nourished by Asthivaha Srotas. Asthi Dhatu is uniquely described as the seat (Ashraya) of Vata Dosha - the two share an inverse (Ashraya-Ashrayi) relationship: increase in Vata depletes Asthi; decrease in Vata increases Asthi.
Functions (Karma) of Asthi Dhatu:
  • Deha Dharana - provides structural support and framework to the body
  • Mamsadhara - supports muscle tissue
  • Protection of vital organs (brain, heart, lungs)
  • Enables movement via Sandhi (joints)
Upadhatu: Danta (teeth) Mala (waste products): Kesha (scalp hair), Loma (body hair), Nakha (nails), Shmashru (beard) Seat: Asthivaha Srotas, Purisha (the large intestine's Purishadhara Kala is functionally linked)
Dosha relationship: Vata Dosha and Asthi Dhatu are reciprocally related. Asthi Dhatu specifically depends on Meda Dhatwagni for its formation - thus impaired Meda Dhatwagni directly reduces Asthi Dhatu formation.
(Charaka Samhita, Sharira Sthana 7/15; Sushruta Samhita, Sutra Sthana 14/10)

6.2 Asthi Dhatu Kshaya (Depletion) - Lakshanas

Reference: Charaka Samhita, Sutra Sthana 17/66; Ashtanga Hridayam, Sutra Sthana 11
Sanskrit TermEnglish MeaningModern Correlation in Hypothyroidism
Kesha PatanaHair fall, scalp hair lossHair loss is a cardinal symptom of hypothyroidism
Loma PatanaLoss of body hair
Nakha Patana/BhangaBrittle nails, nail lossBrittle, slow-growing nails in hypothyroidism
Shmashru PatanaLoss of beard/facial hair
Dvija Patana (Danta Bhanjana)Tooth loss, dental fragility
AsthishulaBone pain, achingArthralgia and musculoskeletal pain
AsthisphotanaCrackling of bones/jointsCrepitus in hypothyroid arthropathy
Sandhi ShaithilyaJoint laxity, loosenessLigamentous laxity in hypothyroid myxedema
ShramaFatigueSystemic
Asthi DaurbalyaBone fragilityOsteopenia/osteoporosis in prolonged hypothyroidism
Interpretation of Hair Loss and Nails as Asthi Mala: The classical Ayurvedic understanding that Kesha (hair) and Nakha (nails) are the Mala (waste products) of Asthi Dhatu finds its modern parallel in:
  • Hair follicle cycling is regulated by thyroid hormones; hypothyroidism causes telogen effluvium and diffuse alopecia
  • Nail growth depends on matrix cell proliferation driven by thyroid hormones; hypothyroidism produces brittle, ridged, slow-growing nails
  • Both are widely recognized clinical features of hypothyroidism
This provides a direct clinical bridge: Asthi Mala Kshaya (reduced Kesha, Nakha) = early marker of Asthi Dhatu Kshaya in hypothyroid patients, even before bone density changes become measurable on DEXA.
Bone Metabolism in Hypothyroidism: T3 directly stimulates osteoblasts and osteoclasts. In hypothyroidism:
  • Bone turnover is reduced (both formation and resorption are slowed)
  • In prolonged hypothyroidism, net bone mass decreases
  • In subclinical hypothyroidism, BMD may be subtly reduced, especially in trabecular bone
  • Hypothyroid myxedema can cause joint effusions resembling Sandhi Shotha
  • Carpal tunnel syndrome (a recognized hypothyroid complication) corresponds to Asthi-Majja Dushti affecting the wrist canal
(Charaka Samhita, Sutra Sthana 17; IJRAP Pilot Study on Asthi Dhatu Kshaya and BMD)

6.3 Asthi Dhatu Vriddhi (Excess) - Lakshanas

Reference: Charaka Samhita, Sutra Sthana 17; Sushruta Samhita
Asthi Vriddhi is less commonly encountered in hypothyroidism and is mainly seen in conditions of excess calcium deposition or pathological bone growth.
Sanskrit TermEnglish MeaningModern Correlation
AdhyasthiExtra bone development/calcification (exostosis)Periosteal new bone, heterotopic ossification
AdhidantaExtra teeth (hyperdontia), calcified dental structuresDental calcification
KeshatimatraExcessive hair growthHirsutism (not typically hypothyroid)
Interpretation: In hypothyroidism, Asthi Vriddhi lakshanas are not typically seen. The predominant pattern is Asthi Kshaya secondary to upstream Meda Dhatwagni Mandya. Adhyasthi may theoretically appear in cases of compensatory mineral deposition, but clinically, hypothyroidism is associated with reduced, not increased, bone remodeling.

VII. INTERCONNECTION: DHATU POSHANA KRAMA AND HYPOTHYROIDISM

The sequential Dhatu Poshana chain provides the theoretical basis for understanding why all three Dhatus are simultaneously affected in hypothyroidism:
Hypothyroidism → Jataragni/Dhatwagni Mandya
        ↓
Impaired Ahara Paka → Ama formation
        ↓
RASA DHATU DUSHTI (Sama Rasa - poor quality)
[Lakshanas: Gaurava, Alasya, Shaithya, Atinidrata, Shwasa]
        ↓
Impaired nourishment of Mamsa Dhatu
        ↓
MEDA DHATWAGNI MANDYA → MEDA VRIDDHI + MEDA DUSHTI
[Lakshanas: Sthoulya, Medovaha Sroto Dushti, Daurgandhya]
        ↓
Impaired Meda → Reduced substrate for Asthi formation
        ↓
ASTHI DHATU KSHAYA
[Lakshanas: Kesha/Nakha Patana, Asthishula, Sandhi Shaithilya, BMD ↓]
Published Evidence: An observational study of 100 hypothyroid patients (JAIMS, Journal of Ayurveda and Integrative Medical Sciences) found:
  • Meda Dhatu Dushti: 78.2% (most frequent)
  • Rasa Dhatu Dushti: 43%
  • Majja Dhatu: 31.6%
  • Mamsa Dhatu: 18.5%
This strongly validates the Ayurvedic construct of sequential Dhatu involvement, and supports the rationale for specifically studying Asthi Dhatu Dushti - which remains underexplored compared to Rasa and Meda, despite its direct mechanistic connection to Meda Dushti.

SUMMARY TABLE: Dhatu Lakshanas in Hypothyroidism

DhatuLakshana (Ayurvedic)Clinical Feature (Modern)Lab/Investigation
Rasa Kshaya/DushtiHridrava, Pandu, Alasya, Gaurava, ShaithyaFatigue, pallor, cold intolerance, edemaLow Hb, low albumin
Rasa VriddhiAtinidrata, Shvaithya, Shlathangatva, ShwasaExcessive sleep, pallor, flaccidityTSH elevated, bradycardia
Meda Vriddhi/DushtiSthoulya, Shrama, Medovaha Sroto DushtiWeight gain, dyslipidemia, NAFLDElevated LDL, TG, TC; USG liver
Meda KshayaSphik-Udara Shushkata, AtishramaEmaciation (severe cases)Low BMI (rare)
Asthi KshayaKesha/Nakha Patana, Asthishula, Sandhi ShaithilyaHair fall, brittle nails, bone pain, joint laxityLow DEXA T-score, low Vit D, high PTH
Asthi VriddhiAdhyasthi, AdhidantaCalcification (not typical in hypothyroid)X-ray

Key References:

Generate a presentation summarizing the literature review framework

Reading File
Reading File
Reading File
Running Command

ls /home/daytona/workspace/ 2>/dev/null || echo "workspace empty or not found"

Running Command

mkdir -p /home/daytona/workspace/hypothyroid-pptx

Writing File

~/hypothyroid-pptx/build.js

const pptxgen = require("pptxgenjs");

const pres = new pptxgen();
pres.layout = "LAYOUT_16x9";
pres.title = "Rasa, Meda & Asthi Dhatu Dushti in Hypothyroidism";
pres.author = "Literature Review Presentation";

// ─── COLOUR PALETTE ───────────────────────────────────────────────────────
const C = {
  darkBg:    "0D1B2A",   // deep navy – title / section dividers
  midBg:     "1B3A4B",   // teal-navy – accent bg
  accent1:   "E8A838",   // warm amber – primary accent / highlights
  accent2:   "5BB8D4",   // sky teal  – secondary accent
  ayur:      "2E7D32",   // deep green – Ayurvedic slides
  ayurLight: "E8F5E9",   // pale green – Ayurvedic card bg
  white:     "FFFFFF",
  offWhite:  "F4F6F8",
  lightGray: "E0E6EC",
  textDark:  "0D1B2A",
  textGray:  "4A5568",
  rasaCol:   "1565C0",   // blue  – Rasa
  medaCol:   "6A1B9A",   // purple – Meda
  asthiCol:  "BF360C",   // burnt orange – Asthi
};

// ─── HELPER: section divider ──────────────────────────────────────────────
function sectionDivider(pres, label, sub, colorBg) {
  const s = pres.addSlide();
  s.addShape(pres.shapes.RECTANGLE, { x: 0, y: 0, w: 10, h: 5.625, fill: { color: colorBg }, line: { type: "none" } });
  // accent bar
  s.addShape(pres.shapes.RECTANGLE, { x: 0, y: 2.5, w: 0.12, h: 0.8, fill: { color: C.accent1 }, line: { type: "none" } });
  s.addText(label, { x: 0.35, y: 2.35, w: 9, h: 0.7, fontSize: 30, bold: true, color: C.white, fontFace: "Calibri", margin: 0 });
  if (sub) s.addText(sub, { x: 0.35, y: 3.1, w: 9, h: 0.5, fontSize: 14, color: C.accent1, fontFace: "Calibri", margin: 0 });
}

// ─── HELPER: card box ─────────────────────────────────────────────────────
function card(slide, pres, x, y, w, h, title, body, accentColor) {
  slide.addShape(pres.shapes.RECTANGLE, { x, y, w, h, fill: { color: C.white }, line: { color: C.lightGray, pt: 1 }, shadow: { type: "outer", color: "000000", blur: 8, offset: 3, angle: 135, opacity: 0.1 } });
  slide.addShape(pres.shapes.RECTANGLE, { x, y, w, h: 0.08, fill: { color: accentColor }, line: { type: "none" } });
  slide.addText(title, { x: x + 0.15, y: y + 0.12, w: w - 0.3, h: 0.38, fontSize: 11, bold: true, color: accentColor, fontFace: "Calibri", margin: 0 });
  slide.addText(body, { x: x + 0.15, y: y + 0.52, w: w - 0.3, h: h - 0.65, fontSize: 9.5, color: C.textDark, fontFace: "Calibri", valign: "top", margin: 0 });
}

// ─────────────────────────────────────────────────────────────────────────
// SLIDE 1 – TITLE
// ─────────────────────────────────────────────────────────────────────────
{
  const s = pres.addSlide();
  // full dark bg
  s.addShape(pres.shapes.RECTANGLE, { x: 0, y: 0, w: 10, h: 5.625, fill: { color: C.darkBg }, line: { type: "none" } });
  // amber band top
  s.addShape(pres.shapes.RECTANGLE, { x: 0, y: 0, w: 10, h: 0.18, fill: { color: C.accent1 }, line: { type: "none" } });
  // amber band bottom
  s.addShape(pres.shapes.RECTANGLE, { x: 0, y: 5.45, w: 10, h: 0.18, fill: { color: C.accent1 }, line: { type: "none" } });
  // teal side accent
  s.addShape(pres.shapes.RECTANGLE, { x: 0, y: 0.18, w: 0.45, h: 5.27, fill: { color: C.midBg }, line: { type: "none" } });

  s.addText("LITERATURE REVIEW", { x: 0.7, y: 0.7, w: 9, h: 0.45, fontSize: 13, bold: true, color: C.accent1, charSpacing: 5, fontFace: "Calibri", margin: 0 });
  s.addText("Rasa, Meda & Asthi Dhatu Dushti\nin Hypothyroidism", {
    x: 0.7, y: 1.25, w: 8.8, h: 1.7, fontSize: 30, bold: true, color: C.white, fontFace: "Calibri", margin: 0
  });
  s.addShape(pres.shapes.RECTANGLE, { x: 0.7, y: 3.05, w: 2.8, h: 0.05, fill: { color: C.accent2 }, line: { type: "none" } });
  s.addText("An Observational Study Framework", { x: 0.7, y: 3.2, w: 9, h: 0.4, fontSize: 13, color: C.accent2, fontFace: "Calibri", italic: true, margin: 0 });
  s.addText("Dept. of Kayachikitsa / Kriya Shareera  ·  Ayurveda College", { x: 0.7, y: 4.0, w: 9, h: 0.35, fontSize: 11, color: "8899AA", fontFace: "Calibri", margin: 0 });
  s.addText("2026", { x: 0.7, y: 4.4, w: 2, h: 0.35, fontSize: 11, color: "8899AA", fontFace: "Calibri", margin: 0 });
}

// ─────────────────────────────────────────────────────────────────────────
// SLIDE 2 – OVERVIEW / OUTLINE
// ─────────────────────────────────────────────────────────────────────────
{
  const s = pres.addSlide();
  s.addShape(pres.shapes.RECTANGLE, { x: 0, y: 0, w: 10, h: 5.625, fill: { color: C.offWhite }, line: { type: "none" } });
  s.addShape(pres.shapes.RECTANGLE, { x: 0, y: 0, w: 10, h: 0.72, fill: { color: C.darkBg }, line: { type: "none" } });
  s.addText("PRESENTATION OVERVIEW", { x: 0.4, y: 0.15, w: 9, h: 0.42, fontSize: 18, bold: true, color: C.white, fontFace: "Calibri", margin: 0 });

  const sections = [
    ["01", "Functional Anatomy\nof Thyroid Gland",   C.accent2],
    ["02", "Physiology of\nThyroid Gland",           C.accent1],
    ["03", "Hypothyroidism –\nCauses, Features,\nInvestigations", "E53935"],
    ["04", "Rasa Dhatu –\nVriddhi & Kshaya\nLakshanas",           C.rasaCol],
    ["05", "Medo Dhatu –\nVriddhi & Kshaya\nLakshanas",           C.medaCol],
    ["06", "Asthi Dhatu –\nVriddhi & Kshaya\nLakshanas",          C.asthiCol],
    ["07", "Dhatu Dushti &\nHypothyroidism –\nCorrelation",       C.ayur],
  ];

  const cols = [0.25, 1.7, 3.15, 4.6, 6.05, 7.5, 8.95];
  sections.forEach(([num, title, col], i) => {
    const x = cols[i];
    s.addShape(pres.shapes.RECTANGLE, { x, y: 0.9, w: 1.35, h: 4.55, fill: { color: col }, line: { type: "none" } });
    s.addText(num, { x, y: 0.95, w: 1.35, h: 0.5, fontSize: 22, bold: true, color: "FFFFFF", align: "center", fontFace: "Calibri", margin: 0 });
    s.addText(title, { x: x + 0.07, y: 1.55, w: 1.21, h: 3.8, fontSize: 11, color: "FFFFFF", align: "center", fontFace: "Calibri", valign: "top", margin: 0 });
  });
}

// ─────────────────────────────────────────────────────────────────────────
// SECTION DIVIDER – ANATOMY
// ─────────────────────────────────────────────────────────────────────────
sectionDivider(pres, "PART A: MODERN REVIEW", "Functional Anatomy · Physiology · Hypothyroidism", C.midBg);

// ─────────────────────────────────────────────────────────────────────────
// SLIDE 4 – FUNCTIONAL ANATOMY
// ─────────────────────────────────────────────────────────────────────────
{
  const s = pres.addSlide();
  s.addShape(pres.shapes.RECTANGLE, { x: 0, y: 0, w: 10, h: 5.625, fill: { color: C.offWhite }, line: { type: "none" } });
  s.addShape(pres.shapes.RECTANGLE, { x: 0, y: 0, w: 10, h: 0.72, fill: { color: C.midBg }, line: { type: "none" } });
  s.addShape(pres.shapes.RECTANGLE, { x: 0, y: 0.72, w: 10, h: 0.06, fill: { color: C.accent2 }, line: { type: "none" } });
  s.addText("01  FUNCTIONAL ANATOMY OF THE THYROID GLAND", { x: 0.3, y: 0.15, w: 9.4, h: 0.42, fontSize: 14, bold: true, color: C.white, fontFace: "Calibri", margin: 0 });

  // Gross anatomy card
  s.addShape(pres.shapes.RECTANGLE, { x: 0.2, y: 0.95, w: 4.5, h: 2.35, fill: { color: C.white }, line: { color: C.lightGray, pt: 1 } });
  s.addShape(pres.shapes.RECTANGLE, { x: 0.2, y: 0.95, w: 4.5, h: 0.07, fill: { color: C.accent2 }, line: { type: "none" } });
  s.addText("GROSS ANATOMY", { x: 0.35, y: 1.05, w: 4.2, h: 0.35, fontSize: 11, bold: true, color: C.accent2, fontFace: "Calibri", margin: 0 });
  s.addText([
    { text: "• ", options: { bold: true } }, { text: "Location:", options: { bold: true } }, { text: " Anterior neck; inferior to larynx, anterior to trachea\n", options: {} },
    { text: "• ", options: { bold: true } }, { text: "Structure:", options: { bold: true } }, { text: " Two lateral lobes + isthmus (± pyramidal lobe)\n", options: {} },
    { text: "• ", options: { bold: true } }, { text: "Weight:", options: { bold: true } }, { text: " 20–30 g in adults\n", options: {} },
    { text: "• ", options: { bold: true } }, { text: "Blood supply:", options: { bold: true } }, { text: " Superior thyroid a. (ext. carotid), Inferior thyroid a. (thyrocervical trunk)\n", options: {} },
    { text: "• ", options: { bold: true } }, { text: "Blood flow:", options: { bold: true } }, { text: " 5× gland weight/minute — one of the highest in the body", options: {} },
  ], { x: 0.35, y: 1.42, w: 4.2, h: 1.8, fontSize: 10, color: C.textDark, fontFace: "Calibri", valign: "top", margin: 0 });

  // Microscopic anatomy card
  s.addShape(pres.shapes.RECTANGLE, { x: 5.0, y: 0.95, w: 4.7, h: 2.35, fill: { color: C.white }, line: { color: C.lightGray, pt: 1 } });
  s.addShape(pres.shapes.RECTANGLE, { x: 5.0, y: 0.95, w: 4.7, h: 0.07, fill: { color: C.accent1 }, line: { type: "none" } });
  s.addText("MICROSCOPIC ANATOMY", { x: 5.15, y: 1.05, w: 4.4, h: 0.35, fontSize: 11, bold: true, color: C.accent1, fontFace: "Calibri", margin: 0 });
  s.addText([
    { text: "Follicles", options: { bold: true } }, { text: " (100–300 µm): closed sacs lined by cuboidal thyrocytes\n", options: {} },
    { text: "Colloid", options: { bold: true } }, { text: ": interior filled with thyroglobulin (T3/T4 storage)\n", options: {} },
    { text: "Follicular cells", options: { bold: true } }, { text: ": cuboidal → columnar when active\n", options: {} },
    { text: "C cells", options: { bold: true } }, { text: " (parafollicular): secrete ", options: {} }, { text: "calcitonin", options: { bold: true } }, { text: " → regulates plasma Ca²⁺\n", options: {} },
    { text: "Active gland", options: { bold: true, italic: true } }, { text: ": tall columnar cells, pale fluid colloid", options: { italic: true } },
  ], { x: 5.15, y: 1.42, w: 4.4, h: 1.8, fontSize: 10, color: C.textDark, fontFace: "Calibri", valign: "top", margin: 0 });

  // Lymph / nerve
  s.addShape(pres.shapes.RECTANGLE, { x: 0.2, y: 3.45, w: 9.5, h: 1.95, fill: { color: C.white }, line: { color: C.lightGray, pt: 1 } });
  s.addShape(pres.shapes.RECTANGLE, { x: 0.2, y: 3.45, w: 9.5, h: 0.07, fill: { color: "546E7A" }, line: { type: "none" } });
  s.addText("NEUROVASCULAR & LYMPHATICS", { x: 0.35, y: 3.55, w: 9.2, h: 0.3, fontSize: 10, bold: true, color: "546E7A", fontFace: "Calibri", margin: 0 });
  s.addText([
    { text: "Nerve supply: ", options: { bold: true } }, { text: "Sympathetic fibers from superior & middle cervical ganglia (regulate blood flow)    ", options: {} },
    { text: "Venous drainage: ", options: { bold: true } }, { text: "Superior, middle & inferior thyroid veins → internal jugular & brachiocephalic veins\n", options: {} },
    { text: "Lymphatic drainage: ", options: { bold: true } }, { text: "Pretracheal, paratracheal & deep cervical lymph nodes", options: {} },
  ], { x: 0.35, y: 3.87, w: 9.2, h: 1.45, fontSize: 10, color: C.textDark, fontFace: "Calibri", valign: "top", margin: 0 });

  s.addText("Source: Guyton & Hall Textbook of Medical Physiology", { x: 0.2, y: 5.45, w: 9, h: 0.17, fontSize: 7.5, color: "AAAAAA", italic: true, fontFace: "Calibri", margin: 0 });
}

// ─────────────────────────────────────────────────────────────────────────
// SLIDE 5 – THYROID HORMONE SYNTHESIS
// ─────────────────────────────────────────────────────────────────────────
{
  const s = pres.addSlide();
  s.addShape(pres.shapes.RECTANGLE, { x: 0, y: 0, w: 10, h: 5.625, fill: { color: C.offWhite }, line: { type: "none" } });
  s.addShape(pres.shapes.RECTANGLE, { x: 0, y: 0, w: 10, h: 0.72, fill: { color: C.midBg }, line: { type: "none" } });
  s.addShape(pres.shapes.RECTANGLE, { x: 0, y: 0.72, w: 10, h: 0.06, fill: { color: C.accent2 }, line: { type: "none" } });
  s.addText("02  PHYSIOLOGY – THYROID HORMONE SYNTHESIS", { x: 0.3, y: 0.15, w: 9.4, h: 0.42, fontSize: 14, bold: true, color: C.white, fontFace: "Calibri", margin: 0 });

  // Step boxes
  const steps = [
    ["1", "Iodide Trapping", "NIS (Na⁺-I⁻ symporter) concentrates I⁻ 30× plasma; up to 250× when maximally stimulated", C.accent2],
    ["2", "Oxidation", "Thyroid peroxidase (TPO) oxidises I⁻ → I₂ using H₂O₂ from DUOX2", C.accent1],
    ["3", "Organification", "I₂ added to tyrosine residues on thyroglobulin → MIT & DIT", "E53935"],
    ["4", "Coupling", "DIT + DIT → T4 (thyroxine)  |  MIT + DIT → T3 (triiodothyronine)", "7B1FA2"],
    ["5", "Storage", "Iodinated thyroglobulin stored in follicular colloid (weeks supply)", "00695C"],
    ["6", "Secretion", "TSH stimulates endocytosis of colloid → lysosomal cleavage → T3 & T4 released", C.midBg],
    ["7", "Conversion", "Peripheral 5'-deiodinase converts T4 → T3; >90% of nuclear-bound hormone is T3", "6D4C41"],
  ];

  steps.forEach(([num, title, body, col], i) => {
    const row = Math.floor(i / 4);
    const col_i = i % 4;
    const x = 0.2 + col_i * 2.4;
    const y = 0.95 + row * 2.3;
    const w = 2.25;
    const h = 2.0;
    if (i === 6) { // last one centered
      const cx = 0.2 + 1.5 * 2.4;
      s.addShape(pres.shapes.RECTANGLE, { x: cx, y, w, h, fill: { color: C.white }, line: { color: C.lightGray, pt: 1 } });
      s.addShape(pres.shapes.RECTANGLE, { x: cx, y, w, h: 0.07, fill: { color: col }, line: { type: "none" } });
      s.addText(`STEP ${num}`, { x: cx + 0.1, y: y + 0.12, w: w - 0.2, h: 0.28, fontSize: 9, bold: true, color: col, fontFace: "Calibri", margin: 0 });
      s.addText(title, { x: cx + 0.1, y: y + 0.42, w: w - 0.2, h: 0.38, fontSize: 11, bold: true, color: C.textDark, fontFace: "Calibri", margin: 0 });
      s.addText(body, { x: cx + 0.1, y: y + 0.82, w: w - 0.2, h: 1.05, fontSize: 9.5, color: C.textGray, fontFace: "Calibri", valign: "top", margin: 0 });
    } else {
      s.addShape(pres.shapes.RECTANGLE, { x, y, w, h, fill: { color: C.white }, line: { color: C.lightGray, pt: 1 } });
      s.addShape(pres.shapes.RECTANGLE, { x, y, w, h: 0.07, fill: { color: col }, line: { type: "none" } });
      s.addText(`STEP ${num}`, { x: x + 0.1, y: y + 0.12, w: w - 0.2, h: 0.28, fontSize: 9, bold: true, color: col, fontFace: "Calibri", margin: 0 });
      s.addText(title, { x: x + 0.1, y: y + 0.42, w: w - 0.2, h: 0.38, fontSize: 11, bold: true, color: C.textDark, fontFace: "Calibri", margin: 0 });
      s.addText(body, { x: x + 0.1, y: y + 0.82, w: w - 0.2, h: 1.05, fontSize: 9.5, color: C.textGray, fontFace: "Calibri", valign: "top", margin: 0 });
    }
  });
  s.addText("Source: Guyton & Hall Textbook of Medical Physiology; Costanzo Physiology 7th Ed.", { x: 0.2, y: 5.45, w: 9, h: 0.17, fontSize: 7.5, color: "AAAAAA", italic: true, fontFace: "Calibri", margin: 0 });
}

// ─────────────────────────────────────────────────────────────────────────
// SLIDE 6 – HPT AXIS REGULATION
// ─────────────────────────────────────────────────────────────────────────
{
  const s = pres.addSlide();
  s.addShape(pres.shapes.RECTANGLE, { x: 0, y: 0, w: 10, h: 5.625, fill: { color: C.offWhite }, line: { type: "none" } });
  s.addShape(pres.shapes.RECTANGLE, { x: 0, y: 0, w: 10, h: 0.72, fill: { color: C.midBg }, line: { type: "none" } });
  s.addShape(pres.shapes.RECTANGLE, { x: 0, y: 0.72, w: 10, h: 0.06, fill: { color: C.accent2 }, line: { type: "none" } });
  s.addText("02  PHYSIOLOGY – HPT AXIS & REGULATION", { x: 0.3, y: 0.15, w: 9.4, h: 0.42, fontSize: 14, bold: true, color: C.white, fontFace: "Calibri", margin: 0 });

  // HPT axis diagram (drawn with shapes)
  const boxes = [
    { label: "HYPOTHALAMUS", sub: "Paraventricular nucleus\n→ Secretes TRH", x: 3.5, y: 0.9, col: C.midBg },
    { label: "ANTERIOR PITUITARY", sub: "Thyrotrophs\n→ Secretes TSH", x: 3.5, y: 2.3, col: "37474F" },
    { label: "THYROID GLAND", sub: "Follicular cells\n→ Secretes T3 & T4", x: 3.5, y: 3.7, col: "4CAF50" },
  ];
  boxes.forEach(({ label, sub, x, y, col }) => {
    s.addShape(pres.shapes.RECTANGLE, { x, y, w: 3, h: 1.1, fill: { color: col }, line: { type: "none" }, shadow: { type: "outer", color: "000000", blur: 6, offset: 2, angle: 135, opacity: 0.2 } });
    s.addText(label, { x, y: y + 0.1, w: 3, h: 0.4, fontSize: 11, bold: true, color: C.white, align: "center", fontFace: "Calibri", margin: 0 });
    s.addText(sub, { x, y: y + 0.52, w: 3, h: 0.5, fontSize: 9.5, color: "E0E0E0", align: "center", fontFace: "Calibri", margin: 0 });
  });
  // arrows between boxes
  s.addShape(pres.shapes.RECTANGLE, { x: 4.95, y: 2.0, w: 0.1, h: 0.32, fill: { color: C.accent1 }, line: { type: "none" } });
  s.addShape(pres.shapes.RECTANGLE, { x: 4.95, y: 3.4, w: 0.1, h: 0.32, fill: { color: C.accent1 }, line: { type: "none" } });
  s.addText("TRH", { x: 5.15, y: 2.0, w: 1, h: 0.3, fontSize: 11, bold: true, color: C.accent1, fontFace: "Calibri", margin: 0 });
  s.addText("TSH", { x: 5.15, y: 3.4, w: 1, h: 0.3, fontSize: 11, bold: true, color: C.accent1, fontFace: "Calibri", margin: 0 });
  // feedback label
  s.addText("(-) Negative\nFeedback", { x: 1.8, y: 2.5, w: 1.5, h: 0.7, fontSize: 10, bold: true, color: "E53935", align: "center", fontFace: "Calibri", margin: 0 });
  s.addShape(pres.shapes.RECTANGLE, { x: 3.3, y: 2.8, w: 0.2, h: 0.05, fill: { color: "E53935" }, line: { type: "none" } });

  // Physiological effects right column
  const effects = [
    ["METABOLIC", "↑ BMR, calorigenic effect\n↑ carbohydrate & fat catabolism", "E53935"],
    ["CARDIOVASCULAR", "↑ HR, contractility, cardiac output\n↓ peripheral resistance", C.accent2],
    ["LIPID", "Upregulates LDL receptors\n↓ Total cholesterol & LDL-C", C.medaCol],
    ["BONE", "Regulates osteoblast & osteoclast\nNormal bone remodeling", C.asthiCol],
  ];
  effects.forEach(([title, body, col], i) => {
    const ey = 0.9 + i * 1.18;
    s.addShape(pres.shapes.RECTANGLE, { x: 7.0, y: ey, w: 2.75, h: 1.0, fill: { color: C.white }, line: { color: C.lightGray, pt: 1 } });
    s.addShape(pres.shapes.RECTANGLE, { x: 7.0, y: ey, w: 0.08, h: 1.0, fill: { color: col }, line: { type: "none" } });
    s.addText(title, { x: 7.18, y: ey + 0.08, w: 2.5, h: 0.3, fontSize: 9, bold: true, color: col, fontFace: "Calibri", margin: 0 });
    s.addText(body, { x: 7.18, y: ey + 0.4, w: 2.5, h: 0.55, fontSize: 9.5, color: C.textDark, fontFace: "Calibri", valign: "top", margin: 0 });
  });

  s.addText("Source: Costanzo Physiology 7th Ed.; Guyton & Hall", { x: 0.2, y: 5.45, w: 9, h: 0.17, fontSize: 7.5, color: "AAAAAA", italic: true, fontFace: "Calibri", margin: 0 });
}

// ─────────────────────────────────────────────────────────────────────────
// SLIDE 7 – CAUSES OF HYPOTHYROIDISM
// ─────────────────────────────────────────────────────────────────────────
{
  const s = pres.addSlide();
  s.addShape(pres.shapes.RECTANGLE, { x: 0, y: 0, w: 10, h: 5.625, fill: { color: C.offWhite }, line: { type: "none" } });
  s.addShape(pres.shapes.RECTANGLE, { x: 0, y: 0, w: 10, h: 0.72, fill: { color: "B71C1C" }, line: { type: "none" } });
  s.addShape(pres.shapes.RECTANGLE, { x: 0, y: 0.72, w: 10, h: 0.06, fill: { color: C.accent1 }, line: { type: "none" } });
  s.addText("03  HYPOTHYROIDISM – CAUSES & CLASSIFICATION", { x: 0.3, y: 0.15, w: 9.4, h: 0.42, fontSize: 14, bold: true, color: C.white, fontFace: "Calibri", margin: 0 });

  const causes = [
    {
      title: "PRIMARY (>95%)", col: "B71C1C",
      items: "• Autoimmune: Hashimoto's thyroiditis (most common in iodine-sufficient regions), Atrophic thyroiditis\n• Iatrogenic: ¹³¹I therapy, thyroidectomy, neck irradiation\n• Drugs: Amiodarone, lithium, PTU, carbimazole, immune checkpoint inhibitors\n• Nutritional: Iodine deficiency (most common worldwide), selenium deficiency\n• Infiltrative: Amyloidosis, sarcoidosis, hemochromatosis, Riedel's thyroiditis\n• Congenital: Thyroid agenesis (65%), dyshormonogenesis (30%), TSH-R mutation (5%)"
    },
    {
      title: "TRANSIENT", col: C.accent1,
      items: "• Silent/postpartum thyroiditis\n• Subacute (de Quervain's) thyroiditis\n• Withdrawal of supraphysiologic T4 therapy"
    },
    {
      title: "SECONDARY (Central)", col: C.midBg,
      items: "• Pituitary disease: adenoma, surgery, Sheehan's syndrome\n• Hypothalamic disorders: tumors, trauma, Prader-Willi syndrome\n• Drugs: bexarotene, mitotane\n• Isolated TSH deficiency (rare)"
    },
  ];

  const xs = [0.2, 0.2, 6.8];
  const ys = [0.9, 3.4, 0.9];
  const ws = [6.4, 6.4, 3.0];
  const hs = [2.3, 2.1, 4.6];

  causes.forEach(({ title, col, items }, i) => {
    s.addShape(pres.shapes.RECTANGLE, { x: xs[i], y: ys[i], w: ws[i], h: hs[i], fill: { color: C.white }, line: { color: C.lightGray, pt: 1 } });
    s.addShape(pres.shapes.RECTANGLE, { x: xs[i], y: ys[i], w: ws[i], h: 0.07, fill: { color: col }, line: { type: "none" } });
    s.addText(title, { x: xs[i] + 0.15, y: ys[i] + 0.12, w: ws[i] - 0.3, h: 0.35, fontSize: 11, bold: true, color: col, fontFace: "Calibri", margin: 0 });
    s.addText(items, { x: xs[i] + 0.15, y: ys[i] + 0.52, w: ws[i] - 0.3, h: hs[i] - 0.65, fontSize: 9.5, color: C.textDark, fontFace: "Calibri", valign: "top", margin: 0 });
  });

  // Hashimoto highlight box
  s.addShape(pres.shapes.RECTANGLE, { x: 6.8, y: 4.85, w: 3.0, h: 0.6, fill: { color: "FFEBEE" }, line: { color: "B71C1C", pt: 1 } });
  s.addText("★ Hashimoto's: CD8⁺ T-cell + anti-TPO Ab mediated progressive thyroid destruction | F:M = 8:1", { x: 6.9, y: 4.9, w: 2.8, h: 0.5, fontSize: 8.5, color: "B71C1C", fontFace: "Calibri", valign: "middle", margin: 0 });

  s.addText("Source: Harrison's Principles of Internal Medicine 22E (2025); Robbins, Cotran & Kumar Pathologic Basis of Disease", { x: 0.2, y: 5.46, w: 9, h: 0.16, fontSize: 7.5, color: "AAAAAA", italic: true, fontFace: "Calibri", margin: 0 });
}

// ─────────────────────────────────────────────────────────────────────────
// SLIDE 8 – CLINICAL FEATURES
// ─────────────────────────────────────────────────────────────────────────
{
  const s = pres.addSlide();
  s.addShape(pres.shapes.RECTANGLE, { x: 0, y: 0, w: 10, h: 5.625, fill: { color: C.offWhite }, line: { type: "none" } });
  s.addShape(pres.shapes.RECTANGLE, { x: 0, y: 0, w: 10, h: 0.72, fill: { color: "B71C1C" }, line: { type: "none" } });
  s.addShape(pres.shapes.RECTANGLE, { x: 0, y: 0.72, w: 10, h: 0.06, fill: { color: C.accent1 }, line: { type: "none" } });
  s.addText("03  HYPOTHYROIDISM – CLINICAL FEATURES", { x: 0.3, y: 0.15, w: 9.4, h: 0.42, fontSize: 14, bold: true, color: C.white, fontFace: "Calibri", margin: 0 });

  const systems = [
    { sys: "Constitutional", col: "78909C", items: "Fatigue · lethargy · cold intolerance\nWeight gain · hoarse voice" },
    { sys: "Skin & Hair", col: "E53935", items: "Dry skin · non-pitting myxedema\nPuffy face · diffuse alopecia\nBrittle nails · outer eyebrow loss" },
    { sys: "Cardiovascular", col: C.accent2, items: "Bradycardia · reduced cardiac output\nDiastolic HTN · pericardial effusion\nDyslipidemia (↑ LDL, TG)" },
    { sys: "Neuromuscular", col: C.medaCol, items: "Cognitive slowing · depression\nProximal muscle weakness\nDelayed DTR relaxation · CTS" },
    { sys: "GI / Repro", col: "00796B", items: "Constipation · poor appetite\nOligomenorrhea / amenorrhea\nHyperprolactinemia · infertility" },
    { sys: "Skeletal (Asthi)", col: C.asthiCol, items: "Reduced bone turnover\nReduced BMD (prolonged hT)\nJoint effusions · arthralgia" },
  ];

  const positions = [
    [0.2, 0.88], [3.45, 0.88], [6.7, 0.88],
    [0.2, 2.82], [3.45, 2.82], [6.7, 2.82],
  ];

  systems.forEach(({ sys, col, items }, i) => {
    const [x, y] = positions[i];
    s.addShape(pres.shapes.RECTANGLE, { x, y, w: 3.1, h: 1.78, fill: { color: C.white }, line: { color: C.lightGray, pt: 1 } });
    s.addShape(pres.shapes.RECTANGLE, { x, y, w: 3.1, h: 0.07, fill: { color: col }, line: { type: "none" } });
    s.addText(sys.toUpperCase(), { x: x + 0.12, y: y + 0.12, w: 2.86, h: 0.3, fontSize: 10, bold: true, color: col, fontFace: "Calibri", margin: 0 });
    s.addText(items, { x: x + 0.12, y: y + 0.48, w: 2.86, h: 1.22, fontSize: 10, color: C.textDark, fontFace: "Calibri", valign: "top", margin: 0 });
  });

  s.addText("Source: Harrison's Principles of Internal Medicine 22E; The Washington Manual of Medical Therapeutics; Frameworks for Internal Medicine", { x: 0.2, y: 5.46, w: 9, h: 0.16, fontSize: 7.5, color: "AAAAAA", italic: true, fontFace: "Calibri", margin: 0 });
}

// ─────────────────────────────────────────────────────────────────────────
// SLIDE 9 – INVESTIGATIONS
// ─────────────────────────────────────────────────────────────────────────
{
  const s = pres.addSlide();
  s.addShape(pres.shapes.RECTANGLE, { x: 0, y: 0, w: 10, h: 5.625, fill: { color: C.offWhite }, line: { type: "none" } });
  s.addShape(pres.shapes.RECTANGLE, { x: 0, y: 0, w: 10, h: 0.72, fill: { color: "B71C1C" }, line: { type: "none" } });
  s.addShape(pres.shapes.RECTANGLE, { x: 0, y: 0.72, w: 10, h: 0.06, fill: { color: C.accent1 }, line: { type: "none" } });
  s.addText("03  HYPOTHYROIDISM – INVESTIGATIONS", { x: 0.3, y: 0.15, w: 9.4, h: 0.42, fontSize: 14, bold: true, color: C.white, fontFace: "Calibri", margin: 0 });

  // First-line tests
  s.addShape(pres.shapes.RECTANGLE, { x: 0.2, y: 0.9, w: 4.5, h: 2.0, fill: { color: C.white }, line: { color: C.lightGray, pt: 1 } });
  s.addShape(pres.shapes.RECTANGLE, { x: 0.2, y: 0.9, w: 4.5, h: 0.07, fill: { color: "B71C1C" }, line: { type: "none" } });
  s.addText("FIRST-LINE / THYROID FUNCTION", { x: 0.35, y: 1.0, w: 4.2, h: 0.32, fontSize: 10, bold: true, color: "B71C1C", fontFace: "Calibri", margin: 0 });
  s.addText(
    "Serum TSH — most sensitive screening test\n  Primary hT: TSH >4.5 mIU/L  |  Overt: TSH >20 mIU/L\n  Secondary hT: TSH low/normal\nFree T4 (FT4) — decreased in overt hT; normal in subclinical\nFree T3 (FT3) — severity assessment",
    { x: 0.35, y: 1.35, w: 4.2, h: 1.48, fontSize: 9.5, color: C.textDark, fontFace: "Calibri", valign: "top", margin: 0 }
  );

  // Autoimmune markers
  s.addShape(pres.shapes.RECTANGLE, { x: 5.1, y: 0.9, w: 4.6, h: 2.0, fill: { color: C.white }, line: { color: C.lightGray, pt: 1 } });
  s.addShape(pres.shapes.RECTANGLE, { x: 5.1, y: 0.9, w: 4.6, h: 0.07, fill: { color: C.accent2 }, line: { type: "none" } });
  s.addText("AUTOIMMUNE & IMAGING", { x: 5.25, y: 1.0, w: 4.3, h: 0.32, fontSize: 10, bold: true, color: C.accent2, fontFace: "Calibri", margin: 0 });
  s.addText(
    "Anti-TPO antibodies — elevated in 95% of Hashimoto's\nAnti-thyroglobulin antibodies — elevated ~60%\nTSH receptor antibodies (TRAb) — distinguish Graves'\nThyroid USG — echogenicity, nodules, gland size\nThyroid scan (¹²³I / ⁹⁹ᵐTc) — functional assessment",
    { x: 5.25, y: 1.35, w: 4.3, h: 1.48, fontSize: 9.5, color: C.textDark, fontFace: "Calibri", valign: "top", margin: 0 }
  );

  // Dhatu assessment table
  s.addShape(pres.shapes.RECTANGLE, { x: 0.2, y: 3.05, w: 9.5, h: 2.42, fill: { color: C.white }, line: { color: C.lightGray, pt: 1 } });
  s.addShape(pres.shapes.RECTANGLE, { x: 0.2, y: 3.05, w: 9.5, h: 0.07, fill: { color: "546E7A" }, line: { type: "none" } });
  s.addText("SECONDARY INVESTIGATIONS FOR DHATU DUSHTI ASSESSMENT", { x: 0.35, y: 3.15, w: 9.2, h: 0.3, fontSize: 10, bold: true, color: "546E7A", fontFace: "Calibri", margin: 0 });

  const invRows = [
    ["RASA DHATU", "CBC, Hb, serum albumin, total protein, ECG (bradycardia), RFT", C.rasaCol],
    ["MEDA DHATU", "Fasting lipid profile (LDL, HDL, TG, TC), fasting glucose, USG liver, BMI, waist circumference", C.medaCol],
    ["ASTHI DHATU", "Serum Ca, PO₄, ALP, Vitamin D (25-OH D₃), PTH, osteocalcin, bone-specific ALP, DEXA scan (T-score & Z-score)", C.asthiCol],
  ];
  invRows.forEach(([dhatu, tests, col], i) => {
    const ry = 3.5 + i * 0.6;
    s.addShape(pres.shapes.RECTANGLE, { x: 0.2, y: ry, w: 2.0, h: 0.52, fill: { color: col + "22" }, line: { type: "none" } });
    s.addText(dhatu, { x: 0.28, y: ry + 0.08, w: 1.84, h: 0.36, fontSize: 9.5, bold: true, color: col, fontFace: "Calibri", margin: 0, valign: "middle" });
    s.addText(tests, { x: 2.35, y: ry + 0.06, w: 7.2, h: 0.4, fontSize: 9.5, color: C.textDark, fontFace: "Calibri", margin: 0, valign: "middle" });
  });

  s.addText("Source: Harrison's Principles 22E; Robbins, Cotran & Kumar; The Washington Manual", { x: 0.2, y: 5.46, w: 9, h: 0.16, fontSize: 7.5, color: "AAAAAA", italic: true, fontFace: "Calibri", margin: 0 });
}

// ─────────────────────────────────────────────────────────────────────────
// SECTION DIVIDER – AYURVEDIC
// ─────────────────────────────────────────────────────────────────────────
sectionDivider(pres, "PART B: AYURVEDIC REVIEW", "Rasa · Meda · Asthi Dhatu – Vriddhi & Kshaya Lakshanas", C.ayur);

// ─────────────────────────────────────────────────────────────────────────
// SLIDE 11 – RASA DHATU
// ─────────────────────────────────────────────────────────────────────────
{
  const s = pres.addSlide();
  s.addShape(pres.shapes.RECTANGLE, { x: 0, y: 0, w: 10, h: 5.625, fill: { color: C.offWhite }, line: { type: "none" } });
  s.addShape(pres.shapes.RECTANGLE, { x: 0, y: 0, w: 10, h: 0.72, fill: { color: C.rasaCol }, line: { type: "none" } });
  s.addShape(pres.shapes.RECTANGLE, { x: 0, y: 0.72, w: 10, h: 0.06, fill: { color: C.accent1 }, line: { type: "none" } });
  s.addText("04  RASA DHATU – VRIDDHI & KSHAYA LAKSHANAS", { x: 0.3, y: 0.15, w: 9.4, h: 0.42, fontSize: 14, bold: true, color: C.white, fontFace: "Calibri", margin: 0 });

  // Intro
  s.addShape(pres.shapes.RECTANGLE, { x: 0.2, y: 0.9, w: 9.5, h: 0.72, fill: { color: C.rasaCol + "18" }, line: { color: C.rasaCol + "44", pt: 1 } });
  s.addText([
    { text: "Rasa Dhatu ", options: { bold: true, color: C.rasaCol } },
    { text: "= Plasma/lymph/nutritional fluid. Formed from Ahara Rasa by Rasa Dhatwagni. Circulates via ", options: { color: C.textDark } },
    { text: "Rasavaha Srotas.", options: { bold: true, color: C.textDark } },
    { text: "  Upadhatu: Stanya, Aartava  |  Mala: Kapha  |  Ref: Charaka Su. 17", options: { color: C.textGray } },
  ], { x: 0.35, y: 0.97, w: 9.2, h: 0.58, fontSize: 10.5, fontFace: "Calibri", valign: "middle", margin: 0 });

  // Kshaya
  s.addShape(pres.shapes.RECTANGLE, { x: 0.2, y: 1.75, w: 4.65, h: 3.7, fill: { color: C.white }, line: { color: C.lightGray, pt: 1 } });
  s.addShape(pres.shapes.RECTANGLE, { x: 0.2, y: 1.75, w: 4.65, h: 0.07, fill: { color: C.rasaCol }, line: { type: "none" } });
  s.addText("RASA KSHAYA (Depletion) Lakshanas", { x: 0.35, y: 1.85, w: 4.35, h: 0.35, fontSize: 10.5, bold: true, color: C.rasaCol, fontFace: "Calibri", margin: 0 });

  const kshayas = [
    ["Hridrava", "Palpitations, cardiac pain"],
    ["Hridayam Tamyati", "Cardiac fatigue, minimal exertion"],
    ["Shrama (Alpacheshtasyapi)", "Fatigue even on minimal activity"],
    ["Sahate Shabdam Na", "Noise intolerance"],
    ["Ruksha Twak", "Dry, rough skin"],
    ["Pandu", "Pallor, anemia"],
    ["Ghattate", "Restlessness, anxiety"],
    ["Daurbalya", "General weakness"],
  ];
  kshayas.forEach(([sk, en], i) => {
    const ky = 2.28 + i * 0.39;
    s.addText(`• ${sk}`, { x: 0.35, y: ky, w: 2.0, h: 0.35, fontSize: 10, bold: true, color: C.rasaCol, fontFace: "Calibri", margin: 0 });
    s.addText(en, { x: 2.4, y: ky, w: 2.3, h: 0.35, fontSize: 10, color: C.textDark, fontFace: "Calibri", margin: 0 });
  });

  // Vriddhi
  s.addShape(pres.shapes.RECTANGLE, { x: 5.1, y: 1.75, w: 4.65, h: 3.7, fill: { color: C.white }, line: { color: C.lightGray, pt: 1 } });
  s.addShape(pres.shapes.RECTANGLE, { x: 5.1, y: 1.75, w: 4.65, h: 0.07, fill: { color: C.accent2 }, line: { type: "none" } });
  s.addText("RASA VRIDDHI (Excess) Lakshanas", { x: 5.25, y: 1.85, w: 4.35, h: 0.35, fontSize: 10.5, bold: true, color: C.accent2, fontFace: "Calibri", margin: 0 });

  const vriddhi = [
    ["Agnisadana", "Impaired digestion, poor appetite"],
    ["Praseka", "Excessive salivation / mucosal edema"],
    ["Alasya", "Sluggishness, lethargy"],
    ["Gaurava", "Heaviness of the body (myxedema)"],
    ["Shaithya", "Coldness – cold intolerance"],
    ["Shvaithya", "Pallor, white discoloration"],
    ["Shlathangatva", "Flaccidity, loose body parts"],
    ["Atinidrata", "Excessive sleep / hypersomnia"],
    ["Shwasa / Kasa", "Dyspnea, cough"],
  ];
  vriddhi.forEach(([sk, en], i) => {
    const vy = 2.28 + i * 0.39;
    s.addText(`• ${sk}`, { x: 5.25, y: vy, w: 2.0, h: 0.35, fontSize: 10, bold: true, color: C.accent2, fontFace: "Calibri", margin: 0 });
    s.addText(en, { x: 7.3, y: vy, w: 2.3, h: 0.35, fontSize: 10, color: C.textDark, fontFace: "Calibri", margin: 0 });
  });

  s.addText("Ref: Charaka Samhita, Sutra Sthana 17; Ashtanga Hridayam, Sutra Sthana 11", { x: 0.2, y: 5.46, w: 9, h: 0.16, fontSize: 7.5, color: "AAAAAA", italic: true, fontFace: "Calibri", margin: 0 });
}

// ─────────────────────────────────────────────────────────────────────────
// SLIDE 12 – MEDA DHATU
// ─────────────────────────────────────────────────────────────────────────
{
  const s = pres.addSlide();
  s.addShape(pres.shapes.RECTANGLE, { x: 0, y: 0, w: 10, h: 5.625, fill: { color: C.offWhite }, line: { type: "none" } });
  s.addShape(pres.shapes.RECTANGLE, { x: 0, y: 0, w: 10, h: 0.72, fill: { color: C.medaCol }, line: { type: "none" } });
  s.addShape(pres.shapes.RECTANGLE, { x: 0, y: 0.72, w: 10, h: 0.06, fill: { color: C.accent1 }, line: { type: "none" } });
  s.addText("05  MEDO DHATU – VRIDDHI & KSHAYA LAKSHANAS", { x: 0.3, y: 0.15, w: 9.4, h: 0.42, fontSize: 14, bold: true, color: C.white, fontFace: "Calibri", margin: 0 });

  // Intro bar
  s.addShape(pres.shapes.RECTANGLE, { x: 0.2, y: 0.9, w: 9.5, h: 0.72, fill: { color: C.medaCol + "15" }, line: { color: C.medaCol + "44", pt: 1 } });
  s.addText([
    { text: "Meda Dhatu ", options: { bold: true, color: C.medaCol } },
    { text: "= Adipose/fat tissue. 4th Dhatu formed from Mamsa Dhatu by Meda Dhatwagni.  ", options: { color: C.textDark } },
    { text: "Karma: Sneha (unctuousness), Svedana (perspiration), Balya (nourishes Asthi)  |  Upadhatu: Snayu  |  Mala: Sweda", options: { color: C.textGray } },
  ], { x: 0.35, y: 0.97, w: 9.2, h: 0.58, fontSize: 10.5, fontFace: "Calibri", valign: "middle", margin: 0 });

  // Kshaya
  s.addShape(pres.shapes.RECTANGLE, { x: 0.2, y: 1.75, w: 4.65, h: 3.7, fill: { color: C.white }, line: { color: C.lightGray, pt: 1 } });
  s.addShape(pres.shapes.RECTANGLE, { x: 0.2, y: 1.75, w: 4.65, h: 0.07, fill: { color: C.medaCol }, line: { type: "none" } });
  s.addText("MEDA KSHAYA Lakshanas", { x: 0.35, y: 1.85, w: 4.35, h: 0.35, fontSize: 10.5, bold: true, color: C.medaCol, fontFace: "Calibri", margin: 0 });

  const medaK = [
    ["Sphik Shushkata", "Emaciation of buttocks"],
    ["Udara Shushkata", "Abdominal hollowness"],
    ["Stana Shushkata", "Loss of breast tissue bulk"],
    ["Parvakam Graha", "Stiffness of small joints"],
    ["Shrama / Atishrama", "Fatigue, exhaustion"],
    ["Shosha", "Emaciation, wasting"],
    ["Pleeha Vriddhi", "Splenomegaly"],
  ];
  medaK.forEach(([sk, en], i) => {
    const ky = 2.28 + i * 0.45;
    s.addText(`• ${sk}`, { x: 0.35, y: ky, w: 2.2, h: 0.4, fontSize: 10, bold: true, color: C.medaCol, fontFace: "Calibri", margin: 0 });
    s.addText(en, { x: 2.6, y: ky, w: 2.1, h: 0.4, fontSize: 10, color: C.textDark, fontFace: "Calibri", margin: 0 });
  });

  // Vriddhi
  s.addShape(pres.shapes.RECTANGLE, { x: 5.1, y: 1.75, w: 4.65, h: 3.7, fill: { color: C.white }, line: { color: C.lightGray, pt: 1 } });
  s.addShape(pres.shapes.RECTANGLE, { x: 5.1, y: 1.75, w: 4.65, h: 0.07, fill: { color: C.accent2 }, line: { type: "none" } });
  s.addText("MEDA VRIDDHI Lakshanas  ★ Most prevalent in hypothyroidism (78.2%)", { x: 5.25, y: 1.85, w: 4.35, h: 0.35, fontSize: 10, bold: true, color: C.accent2, fontFace: "Calibri", margin: 0 });

  const medaV = [
    ["Sthoulya", "Obesity, weight gain"],
    ["Udara Vriddhi", "Abdominal enlargement"],
    ["Shramena Shwasa", "Exertional dyspnea"],
    ["Daurgandhya", "Foul body odour (Ama)"],
    ["Daurbalya", "Weakness despite bulk"],
    ["Kandu", "Itching, skin changes"],
    ["Medovaha Sroto Dushti", "Dyslipidemia (↑LDL, TG)"],
    ["Yaka-ashrita Meda", "Fatty liver (NAFLD)"],
  ];
  medaV.forEach(([sk, en], i) => {
    const vy = 2.28 + i * 0.45;
    s.addText(`• ${sk}`, { x: 5.25, y: vy, w: 2.25, h: 0.4, fontSize: 10, bold: true, color: C.accent2, fontFace: "Calibri", margin: 0 });
    s.addText(en, { x: 7.55, y: vy, w: 2.1, h: 0.4, fontSize: 10, color: C.textDark, fontFace: "Calibri", margin: 0 });
  });

  s.addText("Ref: Charaka Samhita, Su. 17; JAIMS Observational Study n=100; Fitzpatrick's Dermatology Vol.1", { x: 0.2, y: 5.46, w: 9, h: 0.16, fontSize: 7.5, color: "AAAAAA", italic: true, fontFace: "Calibri", margin: 0 });
}

// ─────────────────────────────────────────────────────────────────────────
// SLIDE 13 – ASTHI DHATU
// ─────────────────────────────────────────────────────────────────────────
{
  const s = pres.addSlide();
  s.addShape(pres.shapes.RECTANGLE, { x: 0, y: 0, w: 10, h: 5.625, fill: { color: C.offWhite }, line: { type: "none" } });
  s.addShape(pres.shapes.RECTANGLE, { x: 0, y: 0, w: 10, h: 0.72, fill: { color: C.asthiCol }, line: { type: "none" } });
  s.addShape(pres.shapes.RECTANGLE, { x: 0, y: 0.72, w: 10, h: 0.06, fill: { color: C.accent1 }, line: { type: "none" } });
  s.addText("06  ASTHI DHATU – VRIDDHI & KSHAYA LAKSHANAS", { x: 0.3, y: 0.15, w: 9.4, h: 0.42, fontSize: 14, bold: true, color: C.white, fontFace: "Calibri", margin: 0 });

  // Intro bar
  s.addShape(pres.shapes.RECTANGLE, { x: 0.2, y: 0.9, w: 9.5, h: 0.72, fill: { color: C.asthiCol + "15" }, line: { color: C.asthiCol + "55", pt: 1 } });
  s.addText([
    { text: "Asthi Dhatu ", options: { bold: true, color: C.asthiCol } },
    { text: "= Bone tissue (5th Dhatu). Formed from Meda Dhatu. ", options: { color: C.textDark } },
    { text: "Seat of Vata Dosha (Ashraya-Ashrayi).  Mala: Kesha, Loma, Nakha, Shmashru  |  Ref: Ch. Sha. 7/15; Su. Su. 14/10", options: { color: C.textGray } },
  ], { x: 0.35, y: 0.97, w: 9.2, h: 0.58, fontSize: 10.5, fontFace: "Calibri", valign: "middle", margin: 0 });

  // Kshaya
  s.addShape(pres.shapes.RECTANGLE, { x: 0.2, y: 1.75, w: 4.65, h: 3.7, fill: { color: C.white }, line: { color: C.lightGray, pt: 1 } });
  s.addShape(pres.shapes.RECTANGLE, { x: 0.2, y: 1.75, w: 4.65, h: 0.07, fill: { color: C.asthiCol }, line: { type: "none" } });
  s.addText("ASTHI KSHAYA Lakshanas  ★ Predominant pattern in hypothyroidism", { x: 0.35, y: 1.85, w: 4.35, h: 0.35, fontSize: 10, bold: true, color: C.asthiCol, fontFace: "Calibri", margin: 0 });

  const asthiK = [
    ["Kesha Patana", "Hair fall (telogen effluvium)"],
    ["Loma Patana", "Loss of body hair"],
    ["Nakha Patana / Bhanga", "Brittle nails, nail loss"],
    ["Shmashru Patana", "Loss of beard / facial hair"],
    ["Asthishula", "Bone pain, arthralgia"],
    ["Asthisphotana", "Joint crackling, crepitus"],
    ["Sandhi Shaithilya", "Joint laxity"],
    ["Asthi Daurbalya", "Bone fragility (low BMD)"],
    ["Shrama", "Fatigue"],
  ];
  asthiK.forEach(([sk, en], i) => {
    const ky = 2.28 + i * 0.39;
    s.addText(`• ${sk}`, { x: 0.35, y: ky, w: 2.3, h: 0.35, fontSize: 10, bold: true, color: C.asthiCol, fontFace: "Calibri", margin: 0 });
    s.addText(en, { x: 2.7, y: ky, w: 2.0, h: 0.35, fontSize: 10, color: C.textDark, fontFace: "Calibri", margin: 0 });
  });

  // Vriddhi
  s.addShape(pres.shapes.RECTANGLE, { x: 5.1, y: 1.75, w: 4.65, h: 1.65, fill: { color: C.white }, line: { color: C.lightGray, pt: 1 } });
  s.addShape(pres.shapes.RECTANGLE, { x: 5.1, y: 1.75, w: 4.65, h: 0.07, fill: { color: C.accent2 }, line: { type: "none" } });
  s.addText("ASTHI VRIDDHI Lakshanas  (less common in hT)", { x: 5.25, y: 1.85, w: 4.35, h: 0.35, fontSize: 10, bold: true, color: C.accent2, fontFace: "Calibri", margin: 0 });
  const asthiV = [
    ["Adhyasthi", "Extra bone / calcification / exostosis"],
    ["Adhidanta", "Hyperdontia, extra teeth"],
    ["Keshatimatra", "Excessive hair growth"],
  ];
  asthiV.forEach(([sk, en], i) => {
    const vy = 2.28 + i * 0.46;
    s.addText(`• ${sk}`, { x: 5.25, y: vy, w: 2.0, h: 0.4, fontSize: 10, bold: true, color: C.accent2, fontFace: "Calibri", margin: 0 });
    s.addText(en, { x: 7.3, y: vy, w: 2.35, h: 0.4, fontSize: 10, color: C.textDark, fontFace: "Calibri", margin: 0 });
  });

  // Asthi Mala interpretation box
  s.addShape(pres.shapes.RECTANGLE, { x: 5.1, y: 3.55, w: 4.65, h: 1.85, fill: { color: "FFF3E0" }, line: { color: C.asthiCol, pt: 1 } });
  s.addText("KEY INTERPRETATION: ASTHI MALA", { x: 5.25, y: 3.65, w: 4.35, h: 0.32, fontSize: 10, bold: true, color: C.asthiCol, fontFace: "Calibri", margin: 0 });
  s.addText(
    "Hair (Kesha) & Nails (Nakha) are Mala (waste products) of Asthi Dhatu. Their loss in hypothyroidism is the early clinical marker of Asthi Dhatu Kshaya — visible before bone density changes appear on DEXA.\n\nHypothyroid hair loss = telogen effluvium; brittle nails = reduced matrix cell proliferation.",
    { x: 5.25, y: 4.0, w: 4.35, h: 1.3, fontSize: 9.5, color: C.textDark, fontFace: "Calibri", valign: "top", margin: 0 }
  );

  s.addText("Ref: Charaka Samhita Su. 17; Sushruta Su. 14/10; IJRAP Pilot Study (BMD & Hair Fall)", { x: 0.2, y: 5.46, w: 9, h: 0.16, fontSize: 7.5, color: "AAAAAA", italic: true, fontFace: "Calibri", margin: 0 });
}

// ─────────────────────────────────────────────────────────────────────────
// SLIDE 14 – DHATU DUSHTI CORRELATION FLOWCHART
// ─────────────────────────────────────────────────────────────────────────
{
  const s = pres.addSlide();
  s.addShape(pres.shapes.RECTANGLE, { x: 0, y: 0, w: 10, h: 5.625, fill: { color: C.offWhite }, line: { type: "none" } });
  s.addShape(pres.shapes.RECTANGLE, { x: 0, y: 0, w: 10, h: 0.72, fill: { color: C.ayur }, line: { type: "none" } });
  s.addShape(pres.shapes.RECTANGLE, { x: 0, y: 0.72, w: 10, h: 0.06, fill: { color: C.accent1 }, line: { type: "none" } });
  s.addText("07  DHATU DUSHTI IN HYPOTHYROIDISM – CORRELATION", { x: 0.3, y: 0.15, w: 9.4, h: 0.42, fontSize: 14, bold: true, color: C.white, fontFace: "Calibri", margin: 0 });

  // Samprapti chain – boxes
  const chain = [
    { label: "Hypothyroidism\n(↓ T3/T4)", sub: "Nidana activation", col: "B71C1C", x: 0.25, y: 0.9 },
    { label: "Jataragni Mandya\n+ Kapha Vriddhi", sub: "Agni impairment", col: C.midBg, x: 0.25, y: 1.9 },
    { label: "Ama formation\nRasa Dhatu Dushti", sub: "43% of hT cases", col: C.rasaCol, x: 0.25, y: 2.9 },
    { label: "Meda Dhatwagni\nMandya + Meda Vriddhi", sub: "78.2% of hT cases", col: C.medaCol, x: 0.25, y: 3.9 },
    { label: "Asthi Dhatu\nKshaya", sub: "Sequential depletion", col: C.asthiCol, x: 0.25, y: 4.77 },
  ];
  chain.forEach(({ label, sub, col, x, y }, i) => {
    s.addShape(pres.shapes.RECTANGLE, { x, y, w: 2.9, h: 0.82, fill: { color: col }, line: { type: "none" }, shadow: { type: "outer", color: "000000", blur: 6, offset: 2, angle: 135, opacity: 0.15 } });
    s.addText(label, { x: x + 0.1, y: y + 0.04, w: 2.7, h: 0.5, fontSize: 10, bold: true, color: C.white, fontFace: "Calibri", margin: 0 });
    s.addText(sub, { x: x + 0.1, y: y + 0.55, w: 2.7, h: 0.25, fontSize: 8.5, color: "FFD0A0", fontFace: "Calibri", margin: 0, italic: true });
    if (i < 4) {
      s.addShape(pres.shapes.RECTANGLE, { x: x + 1.4, y: y + 0.83, w: 0.1, h: 0.1, fill: { color: col }, line: { type: "none" } });
    }
  });

  // Right column – interpretation cards
  const interps = [
    { title: "RASA DUSHTI", body: "Sama Rasa → poor quality plasma\nFeatures: Gaurava, Alasya, Shaithya, Atinidrata\nModern: fatigue, cold intolerance, myxedema", col: C.rasaCol },
    { title: "MEDA DUSHTI", body: "Medovaha Sroto Dushti (Sanga type)\nFeatures: Sthoulya, dyslipidemia, NAFLD\nModern: ↑LDL, ↑TG, weight gain, fatty liver", col: C.medaCol },
    { title: "ASTHI KSHAYA", body: "Meda Dushti → impaired Asthi formation\nFeatures: Kesha/Nakha Patana, Asthishula\nModern: hair loss, brittle nails, ↓BMD", col: C.asthiCol },
  ];
  interps.forEach(({ title, body, col }, i) => {
    const iy = 0.9 + i * 1.55;
    s.addShape(pres.shapes.RECTANGLE, { x: 3.5, y: iy, w: 6.3, h: 1.38, fill: { color: C.white }, line: { color: col, pt: 1.5 } });
    s.addShape(pres.shapes.RECTANGLE, { x: 3.5, y: iy, w: 0.12, h: 1.38, fill: { color: col }, line: { type: "none" } });
    s.addText(title, { x: 3.75, y: iy + 0.1, w: 5.9, h: 0.35, fontSize: 11, bold: true, color: col, fontFace: "Calibri", margin: 0 });
    s.addText(body, { x: 3.75, y: iy + 0.5, w: 5.9, h: 0.82, fontSize: 10, color: C.textDark, fontFace: "Calibri", valign: "top", margin: 0 });
  });

  s.addText("Source: JAIMS observational study (n=100); Charaka Samhita; Harrison's Principles 22E", { x: 0.2, y: 5.46, w: 9, h: 0.16, fontSize: 7.5, color: "AAAAAA", italic: true, fontFace: "Calibri", margin: 0 });
}

// ─────────────────────────────────────────────────────────────────────────
// SLIDE 15 – SUMMARY TABLE
// ─────────────────────────────────────────────────────────────────────────
{
  const s = pres.addSlide();
  s.addShape(pres.shapes.RECTANGLE, { x: 0, y: 0, w: 10, h: 5.625, fill: { color: C.offWhite }, line: { type: "none" } });
  s.addShape(pres.shapes.RECTANGLE, { x: 0, y: 0, w: 10, h: 0.72, fill: { color: C.darkBg }, line: { type: "none" } });
  s.addShape(pres.shapes.RECTANGLE, { x: 0, y: 0.72, w: 10, h: 0.06, fill: { color: C.accent1 }, line: { type: "none" } });
  s.addText("SUMMARY – DHATU DUSHTI FRAMEWORK IN HYPOTHYROIDISM", { x: 0.3, y: 0.15, w: 9.4, h: 0.42, fontSize: 13, bold: true, color: C.white, fontFace: "Calibri", margin: 0 });

  // Table header
  const headers = ["Dhatu", "Key Lakshana (Ayurvedic)", "Clinical Feature (Modern)", "Investigation"];
  const hws = [1.2, 3.0, 2.7, 2.8];
  let hx = 0.2;
  headers.forEach((h, i) => {
    s.addShape(pres.shapes.RECTANGLE, { x: hx, y: 0.9, w: hws[i], h: 0.4, fill: { color: C.darkBg }, line: { type: "none" } });
    s.addText(h, { x: hx + 0.07, y: 0.93, w: hws[i] - 0.14, h: 0.34, fontSize: 10, bold: true, color: C.white, fontFace: "Calibri", valign: "middle", margin: 0 });
    hx += hws[i];
  });

  const rows = [
    { dhatu: "Rasa\nKshaya", col: C.rasaCol, lakshana: "Hridrava, Pandu, Alasya,\nGaurava, Shaithya, Atinidrata", modern: "Fatigue, pallor, cold\nintolerance, myxedema", inv: "Hb, serum albumin,\nECG, TSH" },
    { dhatu: "Rasa\nVriddhi", col: C.rasaCol + "88", lakshana: "Agnisadana, Praseka,\nShlathangatva, Shwasa", modern: "Poor digestion, mucosal\nedema, flaccidity", inv: "Serum protein, TSH" },
    { dhatu: "Meda\nVriddhi", col: C.medaCol, lakshana: "Sthoulya, Medovaha\nSroto Dushti, Daurgandhya", modern: "Weight gain, dyslipidemia\n(↑LDL, ↑TG), NAFLD", inv: "Lipid profile, USG\nliver, BMI" },
    { dhatu: "Meda\nKshaya", col: C.medaCol + "88", lakshana: "Sphik Shushkata, Atishrama,\nShosha", modern: "Emaciation (severe cases)", inv: "BMI, skinfold" },
    { dhatu: "Asthi\nKshaya", col: C.asthiCol, lakshana: "Kesha/Nakha Patana,\nAsthishula, Sandhi Shaithilya", modern: "Hair fall, brittle nails,\nbone pain, ↓BMD", inv: "DEXA, Vit D, PTH,\nCa, ALP, osteocalcin" },
    { dhatu: "Asthi\nVriddhi", col: C.asthiCol + "88", lakshana: "Adhyasthi, Adhidanta", modern: "Calcification (not typical\nin hypothyroidism)", inv: "X-ray" },
  ];

  rows.forEach((row, i) => {
    const ry = 1.35 + i * 0.7;
    const bg = i % 2 === 0 ? C.white : "F0F4F8";
    s.addShape(pres.shapes.RECTANGLE, { x: 0.2, y: ry, w: 9.6, h: 0.65, fill: { color: bg }, line: { color: C.lightGray, pt: 0.5 } });

    // dhatu cell with color
    s.addShape(pres.shapes.RECTANGLE, { x: 0.2, y: ry, w: 0.1, h: 0.65, fill: { color: row.col }, line: { type: "none" } });
    s.addText(row.dhatu, { x: 0.35, y: ry + 0.04, w: 0.95, h: 0.57, fontSize: 9.5, bold: true, color: row.col.length > 7 ? C.textGray : row.col, fontFace: "Calibri", valign: "middle", margin: 0 });

    let cx = 1.4;
    [row.lakshana, row.modern, row.inv].forEach((cell, ci) => {
      const cw = hws[ci + 1];
      s.addText(cell, { x: cx + 0.07, y: ry + 0.04, w: cw - 0.14, h: 0.57, fontSize: 9, color: C.textDark, fontFace: "Calibri", valign: "middle", margin: 0 });
      cx += cw;
    });
  });

  s.addText("Sources: Charaka Samhita Su. 17; Harrison's 22E; Guyton & Hall; Costanzo Physiology; JAIMS Observational Study (n=100)", { x: 0.2, y: 5.46, w: 9.4, h: 0.16, fontSize: 7.5, color: "AAAAAA", italic: true, fontFace: "Calibri", margin: 0 });
}

// ─────────────────────────────────────────────────────────────────────────
// SLIDE 16 – CONCLUSION / THANK YOU
// ─────────────────────────────────────────────────────────────────────────
{
  const s = pres.addSlide();
  s.addShape(pres.shapes.RECTANGLE, { x: 0, y: 0, w: 10, h: 5.625, fill: { color: C.darkBg }, line: { type: "none" } });
  s.addShape(pres.shapes.RECTANGLE, { x: 0, y: 0, w: 10, h: 0.18, fill: { color: C.accent1 }, line: { type: "none" } });
  s.addShape(pres.shapes.RECTANGLE, { x: 0, y: 5.45, w: 10, h: 0.18, fill: { color: C.accent1 }, line: { type: "none" } });
  s.addShape(pres.shapes.RECTANGLE, { x: 0, y: 0.18, w: 0.45, h: 5.27, fill: { color: C.midBg }, line: { type: "none" } });

  s.addText("KEY CONCLUSIONS", { x: 0.7, y: 0.4, w: 9, h: 0.4, fontSize: 13, bold: true, color: C.accent1, charSpacing: 4, fontFace: "Calibri", margin: 0 });

  const conclusions = [
    ["Meda Dhatu Vriddhi", "is the most prevalent Dhatu Dushti in hypothyroidism (78.2%) — driven by Meda Dhatwagni Mandya and directly correlating with dyslipidemia (↑LDL, ↑TG).", C.medaCol],
    ["Rasa Dhatu Dushti", "is found in 43% of cases. Gaurava, Shaithya, Atinidrata, Shlathangatva map directly to cardinal hypothyroid symptoms via Ama formation and Rasavaha Sroto Dushti.", C.rasaCol],
    ["Asthi Dhatu Kshaya", "represents an underexplored but mechanistically essential finding — Meda Dushti impairs Asthi formation. Hair loss and brittle nails (Asthi Mala) are early clinical markers preceding DEXA changes.", C.asthiCol],
    ["Sequential Samprapti", "validates the Dhatu Poshana Krama: Hypothyroidism → Agni Mandya → Rasa Dushti → Meda Vriddhi → Asthi Kshaya — all three Dhatus are simultaneously involved via a chain mechanism.", C.accent1],
  ];

  conclusions.forEach(([title, body, col], i) => {
    const cy = 0.95 + i * 1.1;
    s.addShape(pres.shapes.RECTANGLE, { x: 0.7, y: cy, w: 9.1, h: 0.95, fill: { color: col + "22" }, line: { color: col + "66", pt: 1 } });
    s.addShape(pres.shapes.RECTANGLE, { x: 0.7, y: cy, w: 0.1, h: 0.95, fill: { color: col }, line: { type: "none" } });
    s.addText([
      { text: title + " ", options: { bold: true, color: col } },
      { text: body, options: { color: C.white } },
    ], { x: 0.9, y: cy + 0.1, w: 8.8, h: 0.77, fontSize: 10.5, fontFace: "Calibri", valign: "middle", margin: 0 });
  });
}

// ─── WRITE FILE ───────────────────────────────────────────────────────────
pres.writeFile({ fileName: "/home/daytona/workspace/hypothyroid-pptx/Rasa_Meda_Asthi_Hypothyroidism_Literature_Review.pptx" })
  .then(() => console.log("✅ Presentation saved successfully."))
  .catch(err => { console.error("❌ Error:", err); process.exit(1); });
Running Command

cd /home/daytona/workspace/hypothyroid-pptx && node build.js 2>&1

Editing File

~/hypothyroid-pptx/build.js

Successfully replaced 1 instance(s) of the string in '/home/daytona/workspace/hypothyroid-pptx/build.js'
Running Command

cd /home/daytona/workspace/hypothyroid-pptx && sed -i \ "s/C\.rasaCol + '22'/'D0E4F7'/g; s/C\.medaCol + '22'/'EDE7F6'/g; s/C\.asthiCol + '22'/'FBE9E7'/g; \ s/C\.rasaCol + '18'/'D0E4F7'/g; s/C\.rasaCol + '44'/C.rasaCol/g; \ s/C\.medaCol + '15'/'EDE7F6'/g; s/C\.medaCol + '44'/C.medaCol/g; \ s/C\.asthiCol + '15'/'FBE9E7'/g; s/C\.asthiCol + '55'/C.asthiCol/g; \ s/C\.rasaCol + '88'/'5D89B8'/g; s/C\.medaCol + '88'/'9C6EB8'/g; s/C\.asthiCol + '88'/'D07A60'/g; \ s/C\.medaCol + '66'/C.medaCol/g; s/C\.medaCol + '33'/'D4B8E8'/g; \ s/C\.rasaCol + '66'/C.rasaCol/g; s/C\.asthiCol + '66'/C.asthiCol/g; \ s/C\.accent1 + '22'/'FBF0D5'/g; s/C\.accent1 + '66'/C.accent1/g" build.js && node build.js 2>&1

Running Command

ls -lh /home/daytona/workspace/hypothyroid-pptx/Rasa_Meda_Asthi_Hypothyroidism_Literature_Review.pptx

Your presentation is ready for download:

Rasa Meda Asthi Hypothyroidism Literature Review

Presentation · PPTX


Presentation Overview - 16 Slides

The deck uses a professional deep navy + amber + teal color palette themed around the subject. Here is what each slide contains:
SlideContent
1Title slide - thesis name, department, year
2Visual outline - 7 color-coded section columns
3Section divider - Part A: Modern Review
4Functional Anatomy - gross anatomy, microscopic anatomy, neurovascular
5Physiology - 7-step hormone synthesis (Step 1-7 cards)
6HPT Axis regulation diagram + key physiological effects (metabolic, CV, lipid, bone)
7Causes of hypothyroidism - Primary / Transient / Secondary with Hashimoto highlight
8Clinical features - 6 system cards (Constitutional, Skin, Cardiovascular, Neuromuscular, GI/Repro, Skeletal)
9Investigations - thyroid function tests, autoimmune markers, + Dhatu Dushti assessment table
10Section divider - Part B: Ayurvedic Review
11Rasa Dhatu - Kshaya Lakshanas vs Vriddhi Lakshanas (side-by-side)
12Meda Dhatu - Kshaya vs Vriddhi Lakshanas, with 78.2% statistic highlighted
13Asthi Dhatu - Kshaya vs Vriddhi + interpretive box on Kesha/Nakha as Asthi Mala
14Correlation flowchart - Samprapti chain + modern-Ayurvedic interpretation cards
15Summary table - all 6 Dhatu states with Lakshana, Clinical Feature, and Investigation
16Conclusions - 4 key takeaways with color-coded accent blocks

download me above ppt

The file is already generated and ready — just click the link below to download it directly:

Rasa Meda Asthi Hypothyroidism Literature Review

Presentation · PPTX

The file is 439 KB, 16 slides, saved at /home/daytona/workspace/hypothyroid-pptx/. Click the link above and your browser will download it as a .pptx file that opens directly in Microsoft PowerPoint or Google Slides.
This is a shared conversation. Sign in to Orris to start your own chat.