I need PPT for Pathology in that cytology in that gastrointestinal tract, respiratory tract, urinary tract in this i need only preparation of smear and staining this will come under 3rd Bsc MLT under RGUHS

Reading File
Reading File
Reading File
Finding Sources
Finding Sources
Searching the Web

RGUHS 3rd BSc MLT cytology preparation of smear staining gastrointestinal respiratory urinary tract syllabus

Reading Web Page

http://www.rguhs.ac.in/courses_rguhs/Allied_Health_Sciences_…

Finding Sources
Finding Sources
Finding Sources
Running Command

mkdir -p /home/daytona/workspace/cytology-ppt && ls /home/daytona/workspace/cyto…

Writing File

~/cytology-ppt/cytology_ppt.js

const pptxgen = require("pptxgenjs");

let pres = new pptxgen();
pres.layout = 'LAYOUT_16x9';
pres.title = 'Cytology - Preparation of Smear and Staining';
pres.author = '3rd BSc MLT - RGUHS';

// ─────────────────────────────────────────────────────────────────────────────
// THEME
// ─────────────────────────────────────────────────────────────────────────────
const C = {
  darkBlue:  '0D1B2A',
  midBlue:   '1B4F72',
  accent:    '2E86C1',
  teal:      '1ABC9C',
  orange:    'E67E22',
  white:     'FFFFFF',
  lightGray: 'F0F3F4',
  textDark:  '1C2833',
  subText:   '5D6D7E',
  sectionGI: '117A65',
  sectionRE: '154360',
  sectionUR: '6E2F8E',
};

function sectionHeader(pres, title, subtitle, bgColor, accentColor) {
  let s = pres.addSlide();
  s.background = { color: bgColor };
  // Decorative bar
  s.addShape(pres.ShapeType.rect, { x: 0, y: 0, w: 0.12, h: 5.625, fill: { color: accentColor } });
  s.addShape(pres.ShapeType.rect, { x: 0.12, y: 0, w: 0.06, h: 5.625, fill: { color: accentColor, transparency: 60 } });
  // Title
  s.addText(title, {
    x: 0.5, y: 1.6, w: 9, h: 1.2,
    fontSize: 40, bold: true, color: C.white,
    fontFace: 'Calibri', align: 'center'
  });
  s.addText(subtitle, {
    x: 0.5, y: 2.9, w: 9, h: 0.7,
    fontSize: 20, color: accentColor,
    fontFace: 'Calibri', align: 'center', italic: true
  });
  return s;
}

function contentSlide(pres, title, bulletItems, accentColor, bgColor = C.white) {
  let s = pres.addSlide();
  s.background = { color: bgColor };
  // Top accent bar
  s.addShape(pres.ShapeType.rect, { x: 0, y: 0, w: 10, h: 0.08, fill: { color: accentColor } });
  // Title bar
  s.addShape(pres.ShapeType.rect, { x: 0, y: 0.08, w: 10, h: 0.72, fill: { color: accentColor } });
  s.addText(title, {
    x: 0.3, y: 0.08, w: 9.4, h: 0.72,
    fontSize: 22, bold: true, color: C.white,
    fontFace: 'Calibri', align: 'left', valign: 'middle', margin: 4
  });
  // Bullets
  let textArr = bulletItems.map((item, i) => {
    if (item.type === 'heading') {
      return [
        { text: item.text, options: { bold: true, color: accentColor, fontSize: 16, breakLine: true } }
      ];
    } else if (item.type === 'sub') {
      return [
        { text: '   \u2023 ' + item.text, options: { color: C.textDark, fontSize: 13, breakLine: true } }
      ];
    } else {
      return [
        { text: '\u2022 ' + item.text, options: { color: C.textDark, fontSize: 14, breakLine: true } }
      ];
    }
  });
  let flat = [].concat(...textArr);
  if (flat.length > 0) flat[flat.length - 1].options.breakLine = false;
  s.addText(flat, {
    x: 0.35, y: 0.92, w: 9.3, h: 4.55,
    fontFace: 'Calibri', valign: 'top', margin: 4
  });
  return s;
}

function twoColSlide(pres, title, leftItems, rightItems, accentColor) {
  let s = pres.addSlide();
  s.background = { color: C.white };
  s.addShape(pres.ShapeType.rect, { x: 0, y: 0, w: 10, h: 0.08, fill: { color: accentColor } });
  s.addShape(pres.ShapeType.rect, { x: 0, y: 0.08, w: 10, h: 0.72, fill: { color: accentColor } });
  s.addText(title, {
    x: 0.3, y: 0.08, w: 9.4, h: 0.72,
    fontSize: 22, bold: true, color: C.white,
    fontFace: 'Calibri', align: 'left', valign: 'middle', margin: 4
  });

  // Left column
  s.addShape(pres.ShapeType.rect, { x: 0.2, y: 0.92, w: 4.5, h: 4.55, fill: { color: C.lightGray }, line: { color: accentColor, width: 1 } });
  let leftArr = leftItems.map(item => {
    if (item.type === 'heading') return [{ text: item.text, options: { bold: true, color: accentColor, fontSize: 15, breakLine: true } }];
    else return [{ text: '\u2022 ' + item.text, options: { color: C.textDark, fontSize: 13, breakLine: true } }];
  });
  let leftFlat = [].concat(...leftArr);
  if (leftFlat.length > 0) leftFlat[leftFlat.length - 1].options.breakLine = false;
  s.addText(leftFlat, { x: 0.3, y: 0.97, w: 4.3, h: 4.4, fontFace: 'Calibri', valign: 'top', margin: 4 });

  // Right column
  s.addShape(pres.ShapeType.rect, { x: 5.0, y: 0.92, w: 4.6, h: 4.55, fill: { color: C.lightGray }, line: { color: accentColor, width: 1 } });
  let rightArr = rightItems.map(item => {
    if (item.type === 'heading') return [{ text: item.text, options: { bold: true, color: accentColor, fontSize: 15, breakLine: true } }];
    else return [{ text: '\u2022 ' + item.text, options: { color: C.textDark, fontSize: 13, breakLine: true } }];
  });
  let rightFlat = [].concat(...rightArr);
  if (rightFlat.length > 0) rightFlat[rightFlat.length - 1].options.breakLine = false;
  s.addText(rightFlat, { x: 5.1, y: 0.97, w: 4.4, h: 4.4, fontFace: 'Calibri', valign: 'top', margin: 4 });

  return s;
}

// ─────────────────────────────────────────────────────────────────────────────
// SLIDE 1 — Title Slide
// ─────────────────────────────────────────────────────────────────────────────
{
  let s = pres.addSlide();
  s.background = { color: C.darkBlue };
  // Top gradient bar
  s.addShape(pres.ShapeType.rect, { x: 0, y: 0, w: 10, h: 0.18, fill: { color: C.teal } });
  s.addShape(pres.ShapeType.rect, { x: 0, y: 5.44, w: 10, h: 0.18, fill: { color: C.teal } });
  // Left accent
  s.addShape(pres.ShapeType.rect, { x: 0, y: 0.18, w: 0.18, h: 5.26, fill: { color: C.accent } });

  s.addText('CYTOLOGY', {
    x: 0.5, y: 0.5, w: 9, h: 0.7,
    fontSize: 14, color: C.teal, bold: true, charSpacing: 8,
    fontFace: 'Calibri', align: 'center'
  });
  s.addText('Preparation of Smear\nand Staining', {
    x: 0.5, y: 1.2, w: 9, h: 1.7,
    fontSize: 38, bold: true, color: C.white,
    fontFace: 'Calibri', align: 'center'
  });
  s.addText('Gastrointestinal Tract  |  Respiratory Tract  |  Urinary Tract', {
    x: 0.5, y: 3.0, w: 9, h: 0.6,
    fontSize: 16, color: C.accent,
    fontFace: 'Calibri', align: 'center', italic: true
  });
  s.addShape(pres.ShapeType.rect, { x: 2.5, y: 3.7, w: 5, h: 0.04, fill: { color: C.teal } });
  s.addText('3rd Year B.Sc. MLT  |  Rajiv Gandhi University of Health Sciences', {
    x: 0.5, y: 3.85, w: 9, h: 0.5,
    fontSize: 13, color: C.white, fontFace: 'Calibri', align: 'center'
  });
  s.addText('Pathology - Cytology Unit', {
    x: 0.5, y: 4.4, w: 9, h: 0.4,
    fontSize: 12, color: C.subText, fontFace: 'Calibri', align: 'center'
  });
}

// ─────────────────────────────────────────────────────────────────────────────
// SLIDE 2 — Contents Overview
// ─────────────────────────────────────────────────────────────────────────────
{
  let s = pres.addSlide();
  s.background = { color: C.white };
  s.addShape(pres.ShapeType.rect, { x: 0, y: 0, w: 10, h: 0.08, fill: { color: C.midBlue } });
  s.addShape(pres.ShapeType.rect, { x: 0, y: 0.08, w: 10, h: 0.72, fill: { color: C.midBlue } });
  s.addText('Contents', {
    x: 0.3, y: 0.08, w: 9.4, h: 0.72,
    fontSize: 24, bold: true, color: C.white, fontFace: 'Calibri', align: 'left', valign: 'middle', margin: 4
  });

  const sections = [
    { num: '01', label: 'Introduction to Cytology', color: C.accent },
    { num: '02', label: 'General Principles of Smear Preparation', color: C.midBlue },
    { num: '03', label: 'Gastrointestinal Tract — Specimen Collection & Smear Preparation', color: C.sectionGI },
    { num: '04', label: 'Gastrointestinal Tract — Staining Methods', color: C.sectionGI },
    { num: '05', label: 'Respiratory Tract — Specimen Collection & Smear Preparation', color: C.sectionRE },
    { num: '06', label: 'Respiratory Tract — Staining Methods', color: C.sectionRE },
    { num: '07', label: 'Urinary Tract — Specimen Collection & Smear Preparation', color: C.sectionUR },
    { num: '08', label: 'Urinary Tract — Staining Methods', color: C.sectionUR },
    { num: '09', label: 'Comparison Summary', color: C.orange },
  ];

  sections.forEach((sec, i) => {
    let col = i < 5 ? 0 : 1;
    let row = i < 5 ? i : i - 5;
    let x = col === 0 ? 0.25 : 5.15;
    let y = 1.0 + row * 0.87;
    s.addShape(pres.ShapeType.rect, { x: x, y: y, w: 0.52, h: 0.52, fill: { color: sec.color } });
    s.addText(sec.num, { x: x, y: y, w: 0.52, h: 0.52, fontSize: 14, bold: true, color: C.white, fontFace: 'Calibri', align: 'center', valign: 'middle' });
    s.addText(sec.label, { x: x + 0.6, y: y + 0.05, w: 4.2, h: 0.42, fontSize: 12, color: C.textDark, fontFace: 'Calibri', valign: 'middle' });
  });
}

// ─────────────────────────────────────────────────────────────────────────────
// SLIDE 3 — Introduction to Cytology
// ─────────────────────────────────────────────────────────────────────────────
contentSlide(pres, 'Introduction to Cytology', [
  { type: 'heading', text: 'Definition' },
  { type: 'normal', text: 'Cytology is the microscopic study of individual cells obtained from various body sites to detect disease, especially malignancy.' },
  { type: 'heading', text: 'Types of Cytology' },
  { type: 'normal', text: 'Exfoliative Cytology: Study of cells shed naturally from body surfaces (sputum, urine, GI washings).' },
  { type: 'normal', text: 'Fine Needle Aspiration Cytology (FNAC): Cells aspirated by needle from solid organs.' },
  { type: 'normal', text: 'Imprint / Touch Cytology: Direct impression smears from tissue surfaces.' },
  { type: 'heading', text: 'Applications in MLT' },
  { type: 'normal', text: 'Cancer screening and early diagnosis.' },
  { type: 'normal', text: 'Monitoring response to therapy.' },
  { type: 'normal', text: 'Diagnosis of inflammatory and infective conditions.' },
  { type: 'heading', text: 'Tracts Covered (RGUHS Syllabus)' },
  { type: 'normal', text: 'Gastrointestinal Tract (GIT), Respiratory Tract, Urinary Tract.' },
], C.accent);

// ─────────────────────────────────────────────────────────────────────────────
// SLIDE 4 — General Principles of Smear Preparation
// ─────────────────────────────────────────────────────────────────────────────
contentSlide(pres, 'General Principles of Smear Preparation', [
  { type: 'heading', text: 'Requirements' },
  { type: 'normal', text: 'Clean, grease-free glass slides (pre-labelled with pencil on frosted end).' },
  { type: 'normal', text: 'Applicator sticks, cytobrush, spatula, or syringe as required.' },
  { type: 'normal', text: 'Fixative: 95% ethyl alcohol or Carnoy\'s fixative for wet-fixed smears; air-dry for Romanowsky stains.' },
  { type: 'heading', text: 'General Steps' },
  { type: 'normal', text: 'Step 1: Label slide with patient ID, date, and specimen type.' },
  { type: 'normal', text: 'Step 2: Place appropriate amount of material on the centre of the slide.' },
  { type: 'normal', text: 'Step 3: Spread evenly with another slide or spatula in one smooth motion — avoid thick or uneven films.' },
  { type: 'normal', text: 'Step 4: Fix immediately (within 30 seconds) for wet fixation, or air-dry for Giemsa/MGG staining.' },
  { type: 'heading', text: 'Good Smear Characteristics' },
  { type: 'normal', text: 'Thin, even cellular distribution; neither too thick nor too scanty; cells intact without distortion.' },
], C.midBlue);

// ─────────────────────────────────────────────────────────────────────────────
// SECTION — GASTROINTESTINAL TRACT
// ─────────────────────────────────────────────────────────────────────────────
sectionHeader(pres, 'Gastrointestinal Tract', 'Specimen Collection, Smear Preparation & Staining', C.sectionGI, C.teal);

contentSlide(pres, 'GIT — Specimen Collection', [
  { type: 'heading', text: 'Types of Specimens' },
  { type: 'normal', text: 'Esophageal washings / brushings (via endoscope).' },
  { type: 'normal', text: 'Gastric lavage / gastric washings — collected after overnight fasting.' },
  { type: 'normal', text: 'Endoscopic brushing specimens from stomach, duodenum, and colon.' },
  { type: 'normal', text: 'Rectal scraping / mucosal biopsy imprints.' },
  { type: 'heading', text: 'Gastric Washings — Collection Procedure' },
  { type: 'normal', text: '1. Patient fasts overnight (8-12 hours).' },
  { type: 'normal', text: '2. Ryle\'s tube inserted into stomach via nasogastric route.' },
  { type: 'normal', text: '3. 200 ml of 0.9% normal saline is introduced and withdrawn by gentle aspiration.' },
  { type: 'normal', text: '4. Collected fluid transferred immediately to the laboratory in ice.' },
  { type: 'heading', text: 'Endoscopic Brush Cytology' },
  { type: 'normal', text: 'Cytobrush passed through endoscope; area of interest brushed firmly.' },
  { type: 'normal', text: 'Brush smeared directly onto labelled slides; fixed immediately.' },
], C.sectionGI);

contentSlide(pres, 'GIT — Preparation of Smear', [
  { type: 'heading', text: 'From Gastric Lavage Fluid' },
  { type: 'normal', text: 'Step 1: Centrifuge at 1500 rpm for 5 minutes.' },
  { type: 'normal', text: 'Step 2: Discard supernatant; use sediment for smear preparation.' },
  { type: 'normal', text: 'Step 3: Place one drop of sediment on a clean glass slide.' },
  { type: 'normal', text: 'Step 4: Using another slide at 45° angle, spread gently to form a thin, uniform film.' },
  { type: 'normal', text: 'Step 5: Fix immediately in 95% ethyl alcohol for 15-30 minutes (for Pap stain) OR air-dry (for MGG stain).' },
  { type: 'heading', text: 'From Endoscopic Brushings' },
  { type: 'normal', text: 'Roll the brush gently on the slide surface — avoid back-and-forth smearing.' },
  { type: 'normal', text: 'Make 2-3 smears per case; fix one in alcohol, air-dry the other.' },
  { type: 'heading', text: 'Important Notes' },
  { type: 'normal', text: 'Prepare smears within 30 minutes of collection to prevent cell degeneration.' },
  { type: 'normal', text: 'Thick smears lead to poor staining and difficult interpretation.' },
], C.sectionGI);

twoColSlide(pres, 'GIT — Staining Methods',
  [
    { type: 'heading', text: 'Papanicolaou (Pap) Stain' },
    { type: 'normal', text: 'Preferred stain for GIT cytology.' },
    { type: 'normal', text: 'Requires wet-fixed smear in 95% ethanol.' },
    { type: 'normal', text: '1. Rehydrate through graded alcohols (100%-70%-water).' },
    { type: 'normal', text: '2. Haematoxylin — 4 mins (nuclear stain).' },
    { type: 'normal', text: '3. Rinse, blue in running tap water.' },
    { type: 'normal', text: '4. OG-6 (Orange G) — 1.5 mins (cytoplasmic).' },
    { type: 'normal', text: '5. EA-36 or EA-50 — 3 mins (polychromatic).' },
    { type: 'normal', text: '6. Dehydrate, clear in xylene, mount in DPX.' },
    { type: 'normal', text: 'Results: Nuclei — blue/black; superficial cells — orange-pink; intermediate cells — green/blue.' },
  ],
  [
    { type: 'heading', text: 'May-Grünwald Giemsa (MGG) Stain' },
    { type: 'normal', text: 'Used on air-dried smears.' },
    { type: 'normal', text: '1. Air-dry smear completely.' },
    { type: 'normal', text: '2. Fix in absolute methanol — 3-5 mins.' },
    { type: 'normal', text: '3. May-Grünwald stain (undiluted) — 3 mins.' },
    { type: 'normal', text: '4. Dilute with equal parts buffer pH 6.8 — 1 min.' },
    { type: 'normal', text: '5. Giemsa stain (1:10 dilution) — 10-15 mins.' },
    { type: 'normal', text: '6. Rinse gently, air-dry, mount.' },
    { type: 'normal', text: 'Results: Nuclei — dark purple/blue; cytoplasm — pink/blue; mucus — pale blue.' },
    { type: 'heading', text: 'H&E Stain (Alternative)' },
    { type: 'normal', text: 'Used for rapid diagnosis; nuclei blue, cytoplasm pink.' },
  ],
  C.sectionGI
);

// ─────────────────────────────────────────────────────────────────────────────
// SECTION — RESPIRATORY TRACT
// ─────────────────────────────────────────────────────────────────────────────
sectionHeader(pres, 'Respiratory Tract', 'Specimen Collection, Smear Preparation & Staining', C.sectionRE, C.accent);

contentSlide(pres, 'Respiratory Tract — Specimen Collection', [
  { type: 'heading', text: 'Types of Specimens' },
  { type: 'normal', text: 'Sputum: Most common; collected in early morning (post-cough).' },
  { type: 'normal', text: 'Bronchial Washings: Collected via bronchoscope using saline lavage.' },
  { type: 'normal', text: 'Bronchial Brushings: Cytobrush passed through bronchoscope over lesion.' },
  { type: 'normal', text: 'Bronchoalveolar Lavage (BAL): Large volume saline instilled and aspirated from alveoli.' },
  { type: 'normal', text: 'Fine Needle Aspiration (FNAC): For peripheral lung masses (CT-guided).' },
  { type: 'heading', text: 'Sputum Collection (Deep Cough Method)' },
  { type: 'normal', text: '1. Patient instructed to rinse mouth with water before collection.' },
  { type: 'normal', text: '2. Deep cough specimen (not saliva) — 5-10 ml collected into wide-mouth container.' },
  { type: 'normal', text: '3. Best time: first morning specimen (highest cell concentration).' },
  { type: 'normal', text: '4. Consecutive 3-day samples improve diagnostic yield significantly.' },
  { type: 'heading', text: 'Induced Sputum' },
  { type: 'normal', text: 'Hypertonic saline (3-5%) nebulised for 15-20 mins to induce sputum in non-productive cough cases.' },
], C.sectionRE);

contentSlide(pres, 'Respiratory Tract — Preparation of Smear', [
  { type: 'heading', text: 'Direct Smear from Sputum' },
  { type: 'normal', text: 'Step 1: Examine specimen macroscopically — select blood-tinged, opaque, or cheesy portions (most cellular).' },
  { type: 'normal', text: 'Step 2: Using two applicator sticks or spatulas, spread selected material onto slide.' },
  { type: 'normal', text: 'Step 3: Apply gentle spreading motion (push-pull technique) to achieve thin, even smear.' },
  { type: 'normal', text: 'Step 4: Prepare at least 2 smears per specimen.' },
  { type: 'normal', text: 'Step 5: Fix immediately in 95% ethanol for Pap stain; air-dry the second slide for MGG.' },
  { type: 'heading', text: 'Smear from Bronchial Washings / BAL' },
  { type: 'normal', text: 'Step 1: Centrifuge at 1500-2000 rpm for 10 minutes.' },
  { type: 'normal', text: 'Step 2: Remove supernatant; resuspend pellet in small volume of saline.' },
  { type: 'normal', text: 'Step 3: Spread 1-2 drops of sediment on slide; fix in 95% ethanol.' },
  { type: 'normal', text: 'Cytocentrifuge (Cytospin) method preferred for uniform monolayer preparations.' },
  { type: 'heading', text: 'Mucolytic Treatment (if mucoid)' },
  { type: 'normal', text: 'Dithiothreitol (DTT) or N-acetylcysteine added to liquefy mucus before centrifugation.' },
], C.sectionRE);

twoColSlide(pres, 'Respiratory Tract — Staining Methods',
  [
    { type: 'heading', text: 'Papanicolaou (Pap) Stain' },
    { type: 'normal', text: 'Gold standard for respiratory cytology.' },
    { type: 'normal', text: '1. Wet fix in 95% ethanol (min 15 min).' },
    { type: 'normal', text: '2. Run through graded alcohols downward to water.' },
    { type: 'normal', text: '3. Haematoxylin — 4 mins; differentiate in 0.5% HCl alcohol briefly.' },
    { type: 'normal', text: '4. Blue in running water for 10 mins.' },
    { type: 'normal', text: '5. OG-6 — 1.5 mins; rinse with 95% alcohol.' },
    { type: 'normal', text: '6. EA-36 or EA-50 — 2-3 mins; rinse.' },
    { type: 'normal', text: '7. Dehydrate through 95%-100% alcohol; clear xylene; coverslip with DPX.' },
    { type: 'normal', text: 'Results: Nuclei — blue-black; keratinised cells — bright orange; non-keratinised — cyanophilic (green-blue).' },
  ],
  [
    { type: 'heading', text: 'Ziehl-Neelsen (ZN) Stain' },
    { type: 'normal', text: 'Used specifically to detect Mycobacterium tuberculosis in sputum.' },
    { type: 'normal', text: '1. Air-dry smear; heat-fix.' },
    { type: 'normal', text: '2. Flood with Carbol fuchsin; gently heat until steam rises (3 mins).' },
    { type: 'normal', text: '3. Decolourise with 20% H2SO4 or 3% HCl-alcohol until no more colour runs.' },
    { type: 'normal', text: '4. Counterstain with Methylene blue — 30-60 seconds.' },
    { type: 'normal', text: '5. Wash, dry, examine.' },
    { type: 'normal', text: 'Results: AFB (TB) — red/magenta rods; background — blue.' },
    { type: 'heading', text: 'Periodic Acid-Schiff (PAS)' },
    { type: 'normal', text: 'For fungal organisms (Aspergillus, PCP) and mucin.' },
    { type: 'normal', text: 'Fungi stain bright magenta/red against green counterstain.' },
  ],
  C.sectionRE
);

// ─────────────────────────────────────────────────────────────────────────────
// SECTION — URINARY TRACT
// ─────────────────────────────────────────────────────────────────────────────
sectionHeader(pres, 'Urinary Tract', 'Specimen Collection, Smear Preparation & Staining', C.sectionUR, C.orange);

contentSlide(pres, 'Urinary Tract — Specimen Collection', [
  { type: 'heading', text: 'Types of Specimens' },
  { type: 'normal', text: 'Voided urine (midstream clean catch) — most common.' },
  { type: 'normal', text: 'Catheterised urine — for patients unable to void naturally.' },
  { type: 'normal', text: 'Bladder washings / barbotage — saline instilled into bladder via catheter and aspirated.' },
  { type: 'normal', text: 'Ureteral urine — collected separately via cystoscopy.' },
  { type: 'normal', text: 'Ileal conduit fluid — in patients with urinary diversion.' },
  { type: 'heading', text: 'Voided Urine Collection Protocol' },
  { type: 'normal', text: '1. Discard first morning sample (cells degenerate overnight).' },
  { type: 'normal', text: '2. Collect second or subsequent voiding (50-100 ml) in clean container.' },
  { type: 'normal', text: '3. Process immediately or add equal volume of 50% ethanol as fixative for storage.' },
  { type: 'normal', text: '4. Collect 3 samples on consecutive days for best diagnostic sensitivity.' },
  { type: 'heading', text: 'Important Consideration' },
  { type: 'normal', text: 'Urothelial cells degenerate rapidly — process within 1-2 hours of collection. Do NOT refrigerate without fixative.' },
], C.sectionUR);

contentSlide(pres, 'Urinary Tract — Preparation of Smear', [
  { type: 'heading', text: 'Method 1: Centrifugation Method (Routine)' },
  { type: 'normal', text: 'Step 1: Transfer 10-15 ml of urine into centrifuge tube.' },
  { type: 'normal', text: 'Step 2: Centrifuge at 1500 rpm for 5-10 minutes.' },
  { type: 'normal', text: 'Step 3: Discard supernatant, leaving approx. 0.5 ml sediment.' },
  { type: 'normal', text: 'Step 4: Re-suspend pellet by gentle flicking.' },
  { type: 'normal', text: 'Step 5: Place 1-2 drops of sediment on a clean, labelled slide.' },
  { type: 'normal', text: 'Step 6: Spread with another slide or coverslip; fix in 95% ethanol immediately.' },
  { type: 'heading', text: 'Method 2: Cytocentrifuge (Cytospin) Method (Preferred)' },
  { type: 'normal', text: 'Provides superior monolayer preparation with less cell distortion.' },
  { type: 'normal', text: '1. Load 0.5-1 ml of urine sediment into cytospin chamber.' },
  { type: 'normal', text: '2. Centrifuge at 600-800 rpm for 5 minutes.' },
  { type: 'normal', text: '3. Cells deposit in a defined spot on slide; fix immediately in 95% ethanol.' },
  { type: 'heading', text: 'Method 3: Membrane Filter Method' },
  { type: 'normal', text: 'Urine filtered through Millipore membrane; membrane mounted on slide and stained — preserves all cells.' },
], C.sectionUR);

twoColSlide(pres, 'Urinary Tract — Staining Methods',
  [
    { type: 'heading', text: 'Papanicolaou (Pap) Stain' },
    { type: 'normal', text: 'Stain of choice for urine cytology.' },
    { type: 'normal', text: '1. Wet-fix in 95% ethanol for 15 mins.' },
    { type: 'normal', text: '2. Rehydrate through graded alcohols to water.' },
    { type: 'normal', text: '3. Haematoxylin — 3-4 mins; rinse; differentiate.' },
    { type: 'normal', text: '4. Blue in running water — 10 mins.' },
    { type: 'normal', text: '5. OG-6 — 1.5 mins; 3 changes 95% alcohol.' },
    { type: 'normal', text: '6. EA-36 — 2-3 mins; rinse in 95% alcohol.' },
    { type: 'normal', text: '7. Absolute alcohol, xylene, DPX coverslip.' },
    { type: 'normal', text: 'Results: Urothelial cells — cyanophilic cytoplasm; nuclei — blue-black; degenerate cells — pale or pyknotic.' },
  ],
  [
    { type: 'heading', text: 'Haematoxylin & Eosin (H&E)' },
    { type: 'normal', text: 'Quick and easy; used in many laboratories.' },
    { type: 'normal', text: 'Nuclei stain blue; cytoplasm pink/red.' },
    { type: 'normal', text: 'Good for identifying tumour cells and inflammatory cells.' },
    { type: 'heading', text: 'Leishman / Romanowsky Stain' },
    { type: 'normal', text: 'Used on air-dried smears.' },
    { type: 'normal', text: 'Identifies red cells, WBC, casts, and microorganisms.' },
    { type: 'normal', text: 'Nuclear details less clear compared to Pap stain.' },
    { type: 'heading', text: 'Giemsa Stain' },
    { type: 'normal', text: 'Useful for detecting intranuclear viral inclusions (e.g., CMV, HPV koilocytes).' },
    { type: 'normal', text: 'Nuclei dark blue; cytoplasm pale blue-pink.' },
  ],
  C.sectionUR
);

// ─────────────────────────────────────────────────────────────────────────────
// SLIDE — Comparison Summary Table
// ─────────────────────────────────────────────────────────────────────────────
{
  let s = pres.addSlide();
  s.background = { color: C.white };
  s.addShape(pres.ShapeType.rect, { x: 0, y: 0, w: 10, h: 0.08, fill: { color: C.orange } });
  s.addShape(pres.ShapeType.rect, { x: 0, y: 0.08, w: 10, h: 0.72, fill: { color: C.orange } });
  s.addText('Comparison Summary', {
    x: 0.3, y: 0.08, w: 9.4, h: 0.72,
    fontSize: 22, bold: true, color: C.white, fontFace: 'Calibri', align: 'left', valign: 'middle', margin: 4
  });

  const tableData = [
    [
      { text: 'Parameter', options: { bold: true, color: C.white, fill: C.darkBlue } },
      { text: 'GIT', options: { bold: true, color: C.white, fill: C.sectionGI } },
      { text: 'Respiratory Tract', options: { bold: true, color: C.white, fill: C.sectionRE } },
      { text: 'Urinary Tract', options: { bold: true, color: C.white, fill: C.sectionUR } },
    ],
    ['Specimen', 'Gastric lavage, Brushing', 'Sputum, BAL, Brushing', 'Voided urine, Catheter urine'],
    ['Container', 'Sterile jar on ice', 'Wide-mouth sterile jar', 'Clean dry container'],
    ['Processing', 'Centrifuge 1500 rpm/5 min', 'Direct + centrifuge', 'Centrifuge/Cytospin'],
    ['Fixation', '95% Ethanol (wet fix)', '95% Ethanol / Air-dry', '95% Ethanol (wet fix)'],
    ['Preferred Stain', 'Pap stain / MGG', 'Pap stain / ZN (TB)', 'Pap stain / H&E'],
    ['Special Stain', 'PAS (mucin/fungi)', 'ZN, PAS, GMS', 'Giemsa (viral inclusions)'],
    ['Normal Cells', 'Columnar, goblet cells', 'Bronchial cells, alveolar macrophages', 'Urothelial (transitional) cells'],
  ];

  s.addTable(tableData, {
    x: 0.2, y: 0.9, w: 9.6, h: 4.55,
    fontSize: 11, fontFace: 'Calibri',
    border: { type: 'solid', color: 'CCCCCC', pt: 0.5 },
    align: 'center',
    colW: [2.0, 2.3, 2.7, 2.6],
    rowH: 0.52,
  });
}

// ─────────────────────────────────────────────────────────────────────────────
// SLIDE — Key Points / Take-Home Messages
// ─────────────────────────────────────────────────────────────────────────────
contentSlide(pres, 'Key Points to Remember', [
  { type: 'heading', text: 'Specimen Handling' },
  { type: 'normal', text: 'Process all specimens within 30-60 minutes of collection to prevent cellular degeneration.' },
  { type: 'normal', text: 'Always label slides at the frosted end with pencil (not pen — ink washes off in staining).' },
  { type: 'heading', text: 'Fixation' },
  { type: 'normal', text: 'Wet fixation in 95% ethanol is used for Pap staining — prevents air-drying artefact.' },
  { type: 'normal', text: 'Air-drying is required for Romanowsky stains (MGG, Giemsa, Leishman).' },
  { type: 'normal', text: 'Never air-dry a smear intended for Pap staining — causes nuclear enlargement and pale staining.' },
  { type: 'heading', text: 'Staining Choice' },
  { type: 'normal', text: 'Pap stain: Best nuclear detail — preferred for malignancy screening.' },
  { type: 'normal', text: 'MGG / Giemsa: Better for cytoplasmic details, mucus, microorganisms.' },
  { type: 'normal', text: 'ZN stain: Exclusively for AFB (Tuberculosis) in sputum.' },
  { type: 'heading', text: 'RGUHS Exam Tips' },
  { type: 'normal', text: 'Know the step-by-step procedure for each stain; fixation details are commonly asked.' },
  { type: 'normal', text: 'Normal cytology findings per tract and expected colour results are frequently tested.' },
], C.midBlue);

// ─────────────────────────────────────────────────────────────────────────────
// FINAL SLIDE — Thank You
// ─────────────────────────────────────────────────────────────────────────────
{
  let s = pres.addSlide();
  s.background = { color: C.darkBlue };
  s.addShape(pres.ShapeType.rect, { x: 0, y: 0, w: 10, h: 0.14, fill: { color: C.teal } });
  s.addShape(pres.ShapeType.rect, { x: 0, y: 5.48, w: 10, h: 0.14, fill: { color: C.teal } });
  s.addText('Thank You', {
    x: 0.5, y: 1.4, w: 9, h: 1.2,
    fontSize: 48, bold: true, color: C.white, fontFace: 'Calibri', align: 'center'
  });
  s.addShape(pres.ShapeType.rect, { x: 3, y: 2.7, w: 4, h: 0.05, fill: { color: C.teal } });
  s.addText('3rd Year B.Sc. MLT\nRajiv Gandhi University of Health Sciences', {
    x: 0.5, y: 2.85, w: 9, h: 0.9,
    fontSize: 16, color: C.accent, fontFace: 'Calibri', align: 'center'
  });
  s.addText('Pathology | Cytology Unit\nSmear Preparation and Staining — GIT, Respiratory, Urinary Tract', {
    x: 0.5, y: 3.85, w: 9, h: 0.8,
    fontSize: 13, color: C.subText, fontFace: 'Calibri', align: 'center', italic: true
  });
}

// ─────────────────────────────────────────────────────────────────────────────
// SAVE
// ─────────────────────────────────────────────────────────────────────────────
pres.writeFile({ fileName: '/home/daytona/workspace/cytology-ppt/Cytology_Smear_Preparation_Staining_RGUHS.pptx' })
  .then(() => console.log('PPT saved successfully.'))
  .catch(err => console.error('Error saving PPT:', err));
Your credits are exhausted. You can purchase a top-up or subscribe to a plan to continue using Orris. If you're already subscribed, your daily credits will reset tomorrow.

Dont make ppt send directly

Your credits are exhausted. You can purchase a top-up or subscribe to a plan to continue using Orris. If you're already subscribed, your daily credits will reset tomorrow.

Please do it

Your credits are exhausted. You can purchase a top-up or subscribe to a plan to continue using Orris. If you're already subscribed, your daily credits will reset tomorrow.
This is a shared conversation. Sign in to Orris to start your own chat.