Hi
Mai nursing ka student hu 3 rd semester ka subject batao
Create a study guide document for 3rd semester subjects
ls /home/daytona/workspace/ && ls /home/daytona/skills/docx/
mkdir -p /home/daytona/workspace/nursing-study-guide
~/nursing-study-guide/create_guide.js
const {
Document, Packer, Paragraph, TextRun, Table, TableRow, TableCell,
HeadingLevel, AlignmentType, BorderStyle, WidthType, ShadingType,
PageBreak, VerticalAlign
} = require('docx');
const fs = require('fs');
// Color palette
const COLORS = {
primary: "1A5276", // dark blue
secondary: "2E86C1", // medium blue
accent: "E8F4FD", // light blue bg
headerBg: "1A5276", // table header
altRow: "EBF5FB", // alternate row
white: "FFFFFF",
green: "1E8449",
orange: "D35400",
purple: "6C3483",
};
function heading1(text) {
return new Paragraph({
children: [new TextRun({ text, bold: true, size: 36, color: COLORS.white, font: "Calibri" })],
heading: HeadingLevel.HEADING_1,
alignment: AlignmentType.CENTER,
shading: { type: ShadingType.SOLID, color: COLORS.primary },
spacing: { before: 300, after: 200 },
});
}
function heading2(text) {
return new Paragraph({
children: [new TextRun({ text, bold: true, size: 28, color: COLORS.white, font: "Calibri" })],
heading: HeadingLevel.HEADING_2,
shading: { type: ShadingType.SOLID, color: COLORS.secondary },
spacing: { before: 240, after: 120 },
indent: { left: 0 },
});
}
function heading3(text) {
return new Paragraph({
children: [new TextRun({ text, bold: true, size: 24, color: COLORS.primary, font: "Calibri" })],
spacing: { before: 200, after: 80 },
});
}
function bullet(text, level = 0) {
return new Paragraph({
children: [new TextRun({ text, size: 20, font: "Calibri" })],
bullet: { level },
spacing: { before: 40, after: 40 },
indent: { left: 400 + level * 300 },
});
}
function normalText(text) {
return new Paragraph({
children: [new TextRun({ text, size: 20, font: "Calibri" })],
spacing: { before: 60, after: 60 },
});
}
function boldText(text) {
return new Paragraph({
children: [new TextRun({ text, bold: true, size: 20, font: "Calibri", color: COLORS.orange })],
spacing: { before: 80, after: 40 },
});
}
function infoBox(text) {
return new Paragraph({
children: [new TextRun({ text: "๐ก " + text, size: 20, font: "Calibri", italics: true, color: COLORS.green })],
shading: { type: ShadingType.SOLID, color: COLORS.accent },
spacing: { before: 100, after: 100 },
indent: { left: 300, right: 300 },
});
}
function pageBreak() {
return new Paragraph({ children: [new PageBreak()] });
}
function makeTable(headers, rows) {
const headerRow = new TableRow({
children: headers.map(h => new TableCell({
children: [new Paragraph({
children: [new TextRun({ text: h, bold: true, color: COLORS.white, size: 20, font: "Calibri" })],
alignment: AlignmentType.CENTER,
})],
shading: { type: ShadingType.SOLID, color: COLORS.headerBg },
verticalAlign: VerticalAlign.CENTER,
})),
tableHeader: true,
});
const dataRows = rows.map((row, idx) =>
new TableRow({
children: row.map(cell => new TableCell({
children: [new Paragraph({
children: [new TextRun({ text: cell, size: 19, font: "Calibri" })],
})],
shading: idx % 2 === 0
? { type: ShadingType.SOLID, color: COLORS.white }
: { type: ShadingType.SOLID, color: COLORS.altRow },
margins: { top: 60, bottom: 60, left: 100, right: 100 },
})),
})
);
return new Table({
width: { size: 100, type: WidthType.PERCENTAGE },
rows: [headerRow, ...dataRows],
borders: {
top: { style: BorderStyle.SINGLE, size: 2, color: COLORS.secondary },
bottom: { style: BorderStyle.SINGLE, size: 2, color: COLORS.secondary },
left: { style: BorderStyle.SINGLE, size: 2, color: COLORS.secondary },
right: { style: BorderStyle.SINGLE, size: 2, color: COLORS.secondary },
insideH: { style: BorderStyle.SINGLE, size: 1, color: "AAAAAA" },
insideV: { style: BorderStyle.SINGLE, size: 1, color: "AAAAAA" },
},
});
}
// ===================== CONTENT =====================
const children = [
// TITLE PAGE
new Paragraph({ children: [new TextRun({ text: "", size: 48 })], spacing: { before: 600 } }),
new Paragraph({
children: [new TextRun({ text: "๐ B.Sc NURSING", bold: true, size: 52, color: COLORS.primary, font: "Calibri" })],
alignment: AlignmentType.CENTER,
}),
new Paragraph({
children: [new TextRun({ text: "3rd Semester Complete Study Guide", bold: true, size: 40, color: COLORS.secondary, font: "Calibri" })],
alignment: AlignmentType.CENTER,
spacing: { before: 100, after: 100 },
}),
new Paragraph({
children: [new TextRun({ text: "โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ", color: COLORS.secondary, size: 24 })],
alignment: AlignmentType.CENTER,
}),
new Paragraph({
children: [new TextRun({ text: "Indian Nursing Council (INC) Syllabus", size: 24, italics: true, color: "555555", font: "Calibri" })],
alignment: AlignmentType.CENTER,
spacing: { before: 100, after: 200 },
}),
new Paragraph({
children: [new TextRun({ text: "Subjects Covered:", bold: true, size: 22, font: "Calibri", color: COLORS.primary })],
alignment: AlignmentType.CENTER,
}),
new Paragraph({
children: [new TextRun({ text: "Anatomy & Physiology โข Biochemistry โข Nursing Foundations", size: 20, font: "Calibri" })],
alignment: AlignmentType.CENTER,
}),
new Paragraph({
children: [new TextRun({ text: "Psychology โข Microbiology โข Nutrition & Dietetics", size: 20, font: "Calibri" })],
alignment: AlignmentType.CENTER,
spacing: { after: 200 },
}),
new Paragraph({
children: [new TextRun({ text: "Prepared for: 3rd Semester Nursing Students", size: 20, italics: true, color: "777777", font: "Calibri" })],
alignment: AlignmentType.CENTER,
}),
pageBreak(),
// ===== SUBJECT OVERVIEW TABLE =====
heading1("SUBJECT OVERVIEW - 3rd SEMESTER"),
new Paragraph({ spacing: { after: 100 } }),
makeTable(
["#", "Subject", "Key Focus Areas", "Practical/Theory"],
[
["1", "Anatomy & Physiology II", "Endocrine, Nervous, Reproductive Systems", "Theory + Lab"],
["2", "Biochemistry", "Metabolism, Enzymes, Nutrients", "Theory + Lab"],
["3", "Nursing Foundations II", "Clinical Procedures, Patient Care", "Theory + Clinical"],
["4", "Psychology", "Human Behavior, Mental Processes", "Theory"],
["5", "Microbiology", "Bacteria, Viruses, Infection Control", "Theory + Lab"],
["6", "Nutrition & Dietetics", "Nutrients, Therapeutic Diets", "Theory + Practical"],
]
),
pageBreak(),
// ===== SUBJECT 1: ANATOMY & PHYSIOLOGY =====
heading1("SUBJECT 1: ANATOMY & PHYSIOLOGY II"),
heading2("1.1 Endocrine System"),
heading3("Key Glands & Hormones"),
makeTable(
["Gland", "Hormone", "Function", "Disorder if Abnormal"],
[
["Pituitary (Master gland)", "GH, TSH, ACTH, FSH, LH", "Controls other glands", "Gigantism, Dwarfism"],
["Thyroid", "T3, T4, Calcitonin", "Metabolism control", "Hypo/Hyperthyroidism"],
["Parathyroid", "PTH", "Calcium regulation", "Tetany, Osteoporosis"],
["Adrenal Cortex", "Cortisol, Aldosterone", "Stress response, Na balance", "Cushing's, Addison's"],
["Adrenal Medulla", "Adrenaline, Noradrenaline", "Fight or flight response", "Pheochromocytoma"],
["Pancreas (Islets)", "Insulin, Glucagon", "Blood sugar regulation", "Diabetes Mellitus"],
["Gonads", "Estrogen, Testosterone", "Sex characteristics", "Infertility, PCOS"],
]
),
new Paragraph({ spacing: { after: 100 } }),
infoBox("Exam Tip: Remember the 'Master Gland' concept - Pituitary controls most other endocrine glands via tropic hormones."),
heading2("1.2 Nervous System"),
heading3("Divisions of Nervous System"),
bullet("Central Nervous System (CNS): Brain + Spinal Cord"),
bullet("Brain: Cerebrum, Cerebellum, Brain Stem (Midbrain, Pons, Medulla)", 1),
bullet("Spinal Cord: 31 pairs of spinal nerves", 1),
bullet("Peripheral Nervous System (PNS): 12 cranial nerves + Spinal nerves"),
bullet("Autonomic Nervous System (ANS):", 1),
bullet("Sympathetic: 'Fight or Flight' - increases HR, dilates pupils, inhibits digestion", 2),
bullet("Parasympathetic: 'Rest and Digest' - decreases HR, constricts pupils, promotes digestion", 2),
new Paragraph({ spacing: { after: 60 } }),
heading3("Neuron Structure"),
makeTable(
["Component", "Structure", "Function"],
[
["Cell Body (Soma)", "Contains nucleus", "Metabolic center"],
["Dendrites", "Short branching extensions", "Receive signals"],
["Axon", "Long fiber", "Transmit signals away from cell body"],
["Myelin Sheath", "Fatty insulating layer", "Speeds up conduction"],
["Synapse", "Junction between neurons", "Chemical signal transmission"],
]
),
new Paragraph({ spacing: { after: 100 } }),
infoBox("Remember: Neurons communicate via neurotransmitters - Acetylcholine, Dopamine, Serotonin, GABA are most important for nursing exams."),
heading2("1.3 Reproductive System"),
heading3("Female Reproductive System"),
bullet("Ovaries: Produce ova + hormones (Estrogen, Progesterone)"),
bullet("Fallopian Tubes: Site of fertilization"),
bullet("Uterus: Site of implantation and fetal development"),
bullet("Menstrual Cycle: 28 days average"),
bullet("Phase 1 - Menstrual (Day 1-5): Shedding of endometrium", 1),
bullet("Phase 2 - Proliferative (Day 6-13): Estrogen dominant, endometrium thickens", 1),
bullet("Phase 3 - Ovulation (Day 14): LH surge causes egg release", 1),
bullet("Phase 4 - Secretory/Luteal (Day 15-28): Progesterone dominant", 1),
heading3("Male Reproductive System"),
bullet("Testes: Produce sperm (spermatogenesis) + Testosterone"),
bullet("Epididymis: Sperm maturation and storage"),
bullet("Vas Deferens: Transports sperm"),
bullet("Prostate Gland: Produces seminal fluid"),
pageBreak(),
// ===== SUBJECT 2: BIOCHEMISTRY =====
heading1("SUBJECT 2: BIOCHEMISTRY"),
heading2("2.1 Carbohydrate Metabolism"),
makeTable(
["Process", "Location", "Key Points"],
[
["Glycolysis", "Cytoplasm", "Glucose โ 2 Pyruvate, produces 2 ATP (anaerobic)"],
["Krebs Cycle (TCA)", "Mitochondria", "Pyruvate โ CO2 + H2O, produces NADH"],
["Electron Transport Chain", "Mitochondria", "Produces 34 ATP, requires O2"],
["Glycogenesis", "Liver & Muscle", "Glucose โ Glycogen (storage)"],
["Glycogenolysis", "Liver", "Glycogen โ Glucose (mobilization)"],
["Gluconeogenesis", "Liver", "Non-carbs โ Glucose (fasting state)"],
]
),
new Paragraph({ spacing: { after: 100 } }),
infoBox("Total ATP from 1 glucose = 38 ATP (36-38 depending on shuttle mechanism). This is a very common exam question!"),
heading2("2.2 Protein Metabolism"),
heading3("Essential Amino Acids (Remember: PVT TIM HALL)"),
bullet("P - Phenylalanine"),
bullet("V - Valine"),
bullet("T - Threonine"),
bullet("T - Tryptophan"),
bullet("I - Isoleucine"),
bullet("M - Methionine"),
bullet("H - Histidine"),
bullet("A - Arginine (semi-essential)"),
bullet("L - Leucine"),
bullet("L - Lysine"),
new Paragraph({ spacing: { after: 60 } }),
heading3("Key Concepts"),
bullet("Transamination: Transfer of amino group (requires Vit B6)"),
bullet("Deamination: Removal of amino group โ Ammonia โ Urea (Urea cycle in liver)"),
bullet("BUN (Blood Urea Nitrogen): Normal = 7-20 mg/dL (important clinical value)"),
heading2("2.3 Lipid Metabolism"),
bullet("Beta-oxidation: Fatty acids โ Acetyl-CoA (produces maximum ATP)"),
bullet("Ketone Bodies: Acetoacetate, Beta-hydroxybutyrate, Acetone"),
bullet("Produced during starvation/diabetes (Diabetic Ketoacidosis)"),
bullet("Cholesterol: Synthesized in liver, precursor to steroid hormones and bile"),
bullet("Normal Cholesterol: < 200 mg/dL"),
bullet("LDL ('Bad'): < 100 mg/dL ideal", 1),
bullet("HDL ('Good'): > 60 mg/dL protective", 1),
new Paragraph({ spacing: { after: 100 } }),
infoBox("Clinical link: High LDL โ atherosclerosis โ heart disease. Low albumin โ edema (osmotic pressure drops)."),
heading2("2.4 Enzymes"),
makeTable(
["Enzyme", "Source", "Clinical Significance"],
[
["Amylase", "Pancreas, Saliva", "Elevated in Pancreatitis"],
["Lipase", "Pancreas", "More specific for Pancreatitis"],
["ALT (SGPT)", "Liver", "Best marker for Liver damage"],
["AST (SGOT)", "Liver, Heart, Muscle", "Liver + Cardiac damage"],
["Alkaline Phosphatase", "Bone, Liver", "Bone & Liver disease"],
["Creatine Kinase (CK)", "Heart, Muscle", "Myocardial Infarction"],
["LDH", "Heart, Liver, RBC", "MI, Hemolysis"],
]
),
pageBreak(),
// ===== SUBJECT 3: NURSING FOUNDATIONS =====
heading1("SUBJECT 3: NURSING FOUNDATIONS II"),
heading2("3.1 Vital Signs - Normal Values"),
makeTable(
["Vital Sign", "Normal Adult Range", "Equipment Used", "Nursing Considerations"],
[
["Temperature", "36.1 - 37.2ยฐC (97-99ยฐF)", "Thermometer", "Oral most common; rectal most accurate"],
["Pulse", "60-100 bpm", "Watch/Pulse oximeter", "Count for 60 sec if irregular"],
["Respiration", "12-20 breaths/min", "Watch (observe)", "Count without patient knowing"],
["BP (Systolic)", "< 120 mmHg", "Sphygmomanometer", "Measure both arms initially"],
["BP (Diastolic)", "< 80 mmHg", "Stethoscope", "Korotkoff sounds I-V"],
["SpO2", "95-100%", "Pulse oximeter", "< 94% requires O2 therapy"],
]
),
new Paragraph({ spacing: { after: 100 } }),
heading2("3.2 Wound Care & Dressing"),
heading3("Types of Wounds"),
bullet("Clean Wound: Surgical wound, no infection"),
bullet("Clean-Contaminated: Respiratory/GI tract entered, controlled manner"),
bullet("Contaminated: Fresh traumatic wounds, major break in sterile technique"),
bullet("Dirty/Infected: Old trauma, clinical infection present"),
heading3("Stages of Wound Healing"),
makeTable(
["Stage", "Timing", "Key Events"],
[
["Hemostasis", "Immediate", "Vasoconstriction, platelet plug, clot formation"],
["Inflammatory", "0-5 days", "Redness, swelling, heat, pain - WBC clean debris"],
["Proliferative", "5-21 days", "Fibroblasts lay collagen, granulation tissue forms"],
["Maturation/Remodeling", "21 days - 2 years", "Collagen remodeling, scar formation"],
]
),
new Paragraph({ spacing: { after: 100 } }),
infoBox("Mnemonic for inflammation signs: PRISH - Pain, Redness, Induration, Swelling, Heat"),
heading2("3.3 Catheterization"),
heading3("Indwelling (Foley) Catheter Procedure"),
bullet("Indication: Urinary retention, surgery, accurate urine measurement"),
bullet("Equipment: Foley catheter (14-16 Fr adult), sterile gloves, antiseptic solution"),
bullet("Female: Insert 3-4 cm | Male: Insert 17-22 cm"),
bullet("Balloon inflation: 5-10 mL sterile water"),
bullet("Normal urine output: 0.5-1 mL/kg/hour (minimum 30 mL/hour)"),
heading3("Catheter Care - Key Points"),
bullet("Maintain closed drainage system - do NOT disconnect"),
bullet("Keep drainage bag BELOW bladder level at all times"),
bullet("Perineal care twice daily"),
bullet("Document urine color, clarity, amount, odor"),
bullet("Signs of UTI: Cloudy urine, foul smell, fever, burning (dysuria)"),
heading2("3.4 Medication Administration - 7 Rights"),
makeTable(
["Right", "Description"],
[
["1. Right Patient", "Check ID band + ask name (2 identifiers)"],
["2. Right Drug", "Read label 3 times, check generic/brand name"],
["3. Right Dose", "Calculate, verify with another nurse if needed"],
["4. Right Route", "Oral, IV, IM, SC, SL, Topical"],
["5. Right Time", "Within 30 min before/after scheduled time"],
["6. Right Documentation", "Sign immediately after giving, never before"],
["7. Right Reason", "Know why patient is receiving the medication"],
]
),
pageBreak(),
// ===== SUBJECT 4: PSYCHOLOGY =====
heading1("SUBJECT 4: PSYCHOLOGY"),
heading2("4.1 Developmental Psychology - Freud's Stages"),
makeTable(
["Stage", "Age", "Focus", "Fixation Effects"],
[
["Oral", "0-1 year", "Feeding, sucking", "Overeating, smoking, dependency"],
["Anal", "1-3 years", "Bowel control", "Obstinacy, orderliness (anal retentive)"],
["Phallic", "3-6 years", "Genitals, Oedipus/Electra complex", "Sexual difficulties"],
["Latency", "6-12 years", "Social skills, school", "Social withdrawal"],
["Genital", "12+ years", "Mature sexuality", "Relationship problems"],
]
),
new Paragraph({ spacing: { after: 100 } }),
heading2("4.2 Erikson's Psychosocial Stages (Nursing Focus)"),
makeTable(
["Stage", "Age", "Crisis", "Positive Outcome"],
[
["Infancy", "0-1 yr", "Trust vs Mistrust", "Hope, faith in others"],
["Toddler", "1-3 yr", "Autonomy vs Shame", "Will, self-control"],
["Preschool", "3-6 yr", "Initiative vs Guilt", "Purpose, direction"],
["School Age", "6-12 yr", "Industry vs Inferiority", "Competence"],
["Adolescence", "12-20 yr", "Identity vs Role Confusion", "Fidelity, identity"],
["Young Adult", "20-40 yr", "Intimacy vs Isolation", "Love, belonging"],
["Middle Adult", "40-65 yr", "Generativity vs Stagnation", "Care for others"],
["Late Adult", "65+ yr", "Integrity vs Despair", "Wisdom, acceptance"],
]
),
new Paragraph({ spacing: { after: 100 } }),
infoBox("Important for Nursing: Understanding patient's developmental stage helps plan age-appropriate care and communication."),
heading2("4.3 Defense Mechanisms"),
makeTable(
["Mechanism", "Definition", "Example"],
[
["Repression", "Unconscious forgetting of anxiety-provoking events", "Forgetting childhood trauma"],
["Denial", "Refusing to accept reality", "Cancer patient says 'I'm fine'"],
["Projection", "Attributing own feelings to others", "'You are angry' (when you are angry)"],
["Rationalization", "Making excuses for unacceptable behavior", "'I drink because work is stressful'"],
["Displacement", "Redirecting emotions to safer target", "Yelling at family after bad day at work"],
["Sublimation", "Channeling unacceptable urges into acceptable activity", "Aggressive person becomes boxer"],
["Regression", "Reverting to earlier behavior under stress", "Bedwetting during hospitalization"],
]
),
heading2("4.4 Maslow's Hierarchy of Needs"),
bullet("Level 1 - Physiological: Air, water, food, shelter, sleep, clothing (MOST BASIC - address FIRST)"),
bullet("Level 2 - Safety: Security, order, protection from elements"),
bullet("Level 3 - Love & Belonging: Friendship, intimacy, family"),
bullet("Level 4 - Esteem: Respect, self-esteem, achievement, recognition"),
bullet("Level 5 - Self-Actualization: Reaching full potential (HIGHEST LEVEL)"),
new Paragraph({ spacing: { after: 60 } }),
infoBox("Nursing Priority: Always address lower-level needs first. A patient cannot focus on psychological needs if physiological needs are unmet."),
pageBreak(),
// ===== SUBJECT 5: MICROBIOLOGY =====
heading1("SUBJECT 5: MICROBIOLOGY"),
heading2("5.1 Classification of Microorganisms"),
makeTable(
["Type", "Characteristics", "Disease Examples"],
[
["Bacteria", "Prokaryotes, 1-10 ยตm, multiply independently", "TB, Pneumonia, UTI, Typhoid"],
["Viruses", "Non-living, need host cell, 20-300 nm", "HIV, Hepatitis, Influenza, COVID-19"],
["Fungi", "Eukaryotes, spore-forming", "Candidiasis, Aspergillosis, Tinea"],
["Parasites - Protozoa", "Single-celled eukaryotes", "Malaria, Amoebiasis, Giardia"],
["Parasites - Helminths", "Multicellular worms", "Tapeworm, Roundworm, Filaria"],
["Prions", "Misfolded proteins, no DNA/RNA", "Creutzfeldt-Jakob disease (CJD)"],
]
),
new Paragraph({ spacing: { after: 100 } }),
heading2("5.2 Gram Staining (Most Important Lab Test)"),
heading3("Steps of Gram Staining"),
bullet("Step 1: Apply Crystal Violet (Primary stain) - both gram + and - stain purple"),
bullet("Step 2: Apply Iodine (Mordant) - fixes crystal violet"),
bullet("Step 3: Decolorize with Acetone/Alcohol - gram - loses color, gram + retains"),
bullet("Step 4: Apply Safranin (Counterstain) - gram - stains pink/red"),
new Paragraph({ spacing: { after: 60 } }),
makeTable(
["Result", "Color", "Cell Wall", "Examples"],
[
["Gram Positive (+)", "Purple/Blue", "Thick peptidoglycan layer", "Staph aureus, Strep, Bacillus"],
["Gram Negative (-)", "Pink/Red", "Thin peptidoglycan + outer lipid layer", "E. coli, Salmonella, Pseudomonas"],
]
),
new Paragraph({ spacing: { after: 100 } }),
infoBox("Gram negative bacteria are generally MORE resistant to antibiotics due to their outer lipid membrane barrier."),
heading2("5.3 Sterilization & Disinfection"),
makeTable(
["Method", "Type", "Use Case", "Examples"],
[
["Autoclaving", "Sterilization", "Surgical instruments", "121ยฐC, 15 psi, 15-20 min"],
["Dry Heat Oven", "Sterilization", "Glassware, oils", "160-170ยฐC, 1-2 hours"],
["Gamma Radiation", "Sterilization", "Disposable plastics", "Used in manufacturing"],
["Boiling", "Disinfection (not sterilization)", "Non-critical items", "100ยฐC, kills most (not spores)"],
["Chemical (70% Alcohol)", "Disinfection", "Skin, surfaces", "Isopropyl/Ethyl alcohol"],
["Pasteurization", "Disinfection", "Milk, beverages", "72ยฐC/15 sec or 63ยฐC/30 min"],
]
),
new Paragraph({ spacing: { after: 100 } }),
heading2("5.4 Chain of Infection"),
bullet("1. Infectious Agent (Pathogen) - bacteria, virus, fungi"),
bullet("2. Reservoir - source where pathogen lives (human, animal, environment)"),
bullet("3. Portal of Exit - how pathogen leaves reservoir (respiratory, feces, blood)"),
bullet("4. Mode of Transmission - Contact, Droplet, Airborne, Vector, Vehicle"),
bullet("5. Portal of Entry - how pathogen enters new host (skin break, inhalation)"),
bullet("6. Susceptible Host - person who can get infected"),
new Paragraph({ spacing: { after: 60 } }),
infoBox("Nursing Interventions: Breaking any link in the chain prevents infection. Hand hygiene is the SINGLE most effective method!"),
heading2("5.5 Standard Precautions"),
bullet("Hand washing: Before and after every patient contact (20 seconds minimum)"),
bullet("Gloves: When touching blood, body fluids, mucous membranes"),
bullet("Mask + Eye Protection: When splashing likely"),
bullet("Gown: When clothing may be contaminated"),
bullet("Sharps Disposal: Never recap needles, use sharps container"),
bullet("Transmission-based Precautions:"),
bullet("Contact (MRSA): Gloves + Gown always", 1),
bullet("Droplet (Flu, Meningitis): Surgical mask within 3 feet", 1),
bullet("Airborne (TB, Measles, Chickenpox): N95 mask + negative pressure room", 1),
pageBreak(),
// ===== SUBJECT 6: NUTRITION & DIETETICS =====
heading1("SUBJECT 6: NUTRITION & DIETETICS"),
heading2("6.1 Macronutrients"),
makeTable(
["Nutrient", "Calories/gram", "Daily Requirement", "Primary Sources", "Functions"],
[
["Carbohydrates", "4 kcal/g", "45-65% of total calories", "Rice, wheat, fruits, vegetables", "Primary energy source, brain fuel"],
["Proteins", "4 kcal/g", "0.8 g/kg body weight", "Meat, fish, eggs, legumes, dairy", "Growth, repair, enzymes, antibodies"],
["Fats", "9 kcal/g", "20-35% of total calories", "Oils, butter, nuts, avocado", "Energy storage, fat-soluble vitamins"],
]
),
new Paragraph({ spacing: { after: 100 } }),
heading2("6.2 Vitamins - Key Facts for Nursing"),
makeTable(
["Vitamin", "Type", "Function", "Deficiency Disease", "Sources"],
[
["A (Retinol)", "Fat-soluble", "Vision, immunity, skin", "Night blindness, Xerophthalmia", "Liver, carrots, egg yolk"],
["B1 (Thiamine)", "Water-soluble", "Carb metabolism, nerve function", "Beriberi, Wernicke's", "Whole grains, legumes"],
["B2 (Riboflavin)", "Water-soluble", "Energy metabolism", "Ariboflavinosis, cheilosis", "Dairy, meat, green vegs"],
["B3 (Niacin)", "Water-soluble", "Energy metabolism, DNA repair", "Pellagra (4Ds: Diarrhea, Dermatitis, Dementia, Death)", "Meat, peanuts, fish"],
["B9 (Folate)", "Water-soluble", "DNA synthesis, cell division", "Megaloblastic anemia, Neural tube defects", "Leafy greens, legumes"],
["B12 (Cobalamin)", "Water-soluble", "Nerve myelination, RBC formation", "Pernicious anemia, neuropathy", "Meat, dairy (not plants!)"],
["C (Ascorbic acid)", "Water-soluble", "Collagen synthesis, antioxidant", "Scurvy (bleeding gums)", "Citrus fruits, peppers"],
["D (Calciferol)", "Fat-soluble", "Calcium absorption, bone", "Rickets (children), Osteomalacia (adults)", "Sunlight, fish, fortified milk"],
["E (Tocopherol)", "Fat-soluble", "Antioxidant, RBC protection", "Hemolytic anemia (rare)", "Nuts, seeds, vegetable oils"],
["K", "Fat-soluble", "Blood clotting (factors II, VII, IX, X)", "Bleeding disorders", "Green leafy vegetables"],
]
),
new Paragraph({ spacing: { after: 100 } }),
infoBox("Fat-soluble vitamins (A, D, E, K) = 'ADEK' - stored in body fat, can cause toxicity if overdosed. Water-soluble vitamins (B complex, C) are excreted in urine."),
heading2("6.3 Minerals"),
makeTable(
["Mineral", "Normal Level", "Function", "Deficiency", "Excess/Toxicity"],
[
["Calcium", "8.5-10.5 mg/dL", "Bone, muscle contraction, clotting", "Tetany, Osteoporosis", "Hypercalcemia, kidney stones"],
["Sodium", "135-145 mEq/L", "Fluid balance, nerve function", "Hyponatremia: confusion, seizures", "Hypertension, edema"],
["Potassium", "3.5-5.0 mEq/L", "Heart rhythm, muscle function", "Hypokalemia: weakness, arrhythmia", "Hyperkalemia: cardiac arrest"],
["Iron", "60-170 ยตg/dL", "Hemoglobin formation, O2 transport", "Iron deficiency anemia", "Hemosiderosis, organ damage"],
["Iodine", "-", "Thyroid hormone synthesis", "Goiter, Cretinism", "Thyrotoxicosis"],
["Magnesium", "1.5-2.5 mEq/L", "Enzyme activation, muscle/nerve", "Tremors, convulsions", "Hypotension, respiratory depression"],
]
),
new Paragraph({ spacing: { after: 100 } }),
heading2("6.4 Therapeutic Diets"),
makeTable(
["Diet Type", "Condition", "Foods Allowed", "Foods Restricted"],
[
["Low Sodium", "Hypertension, Heart failure, Edema", "Fresh fruits/vegetables, unsalted foods", "Salt, processed foods, pickles, canned foods"],
["Diabetic/Low Glycemic", "Diabetes Mellitus", "Whole grains, vegetables, lean protein", "Simple sugars, white rice, sweet drinks"],
["Low Fat", "Hyperlipidemia, Gallbladder disease", "Lean meats, fruits, vegetables", "Fried foods, full-fat dairy, oils"],
["High Protein", "Burns, Surgery, Malnutrition", "Eggs, meat, fish, legumes, dairy", "No restriction, just increase protein"],
["Renal Diet", "Chronic Kidney Disease", "Controlled portions, specific foods", "High K+, Phosphorus, Sodium foods"],
["Clear Liquid", "Post-surgery, GI prep", "Water, juice, broth, gelatin", "Solid foods, milk, pulpy items"],
["BRAT Diet", "Diarrhea", "Bananas, Rice, Applesauce, Toast", "High-fiber, fatty, spicy foods"],
]
),
pageBreak(),
// ===== STUDY TIPS =====
heading1("STUDY TIPS & EXAM STRATEGIES"),
heading2("Time Management Plan"),
makeTable(
["Time Period", "Activity", "Duration"],
[
["Morning (6-8 AM)", "Read & Understand new topics", "2 hours"],
["Morning (8-9 AM)", "Breakfast + Break", "1 hour"],
["Morning (9-12 PM)", "Practice questions, MCQs", "3 hours"],
["Afternoon (2-4 PM)", "Revision of morning topics", "2 hours"],
["Evening (5-7 PM)", "Practical skills practice", "2 hours"],
["Night (8-10 PM)", "Light revision, mnemonics", "2 hours"],
["Before sleep", "Mental review / recall exercise", "15-20 min"],
]
),
new Paragraph({ spacing: { after: 100 } }),
heading2("Top Mnemonics to Remember"),
boldText("For Vitamins Fat-soluble:"),
bullet("'All Dogs Eat Kibble' โ A, D, E, K"),
boldText("For Essential Amino Acids:"),
bullet("'PVT TIM HALL' โ Phenylalanine, Valine, Threonine, Tryptophan, Isoleucine, Methionine, Histidine, Arginine, Leucine, Lysine"),
boldText("For Gram Staining:"),
bullet("'Crystal Violet Dye Stains Gram Positive Purple' โ CV โ Iodine โ Decolorize โ Safranin"),
boldText("For 7 Rights of Medication:"),
bullet("'Patients Do Require Rightful, Thoughtful, Dedicated Nurses' โ Patient, Drug, Route, Right Dose, Time, Documentation, Nurse's Reason"),
boldText("For Maslow's Hierarchy:"),
bullet("'Please Sleep Every Love Story' โ Physiological, Safety, Esteem, Love/Belonging, Self-actualization (bottom to top)"),
new Paragraph({ spacing: { after: 100 } }),
heading2("Common MCQ Traps to Avoid"),
bullet("'MOST IMPORTANT' or 'FIRST action' โ Usually airway, breathing, or safety (ABCs)"),
bullet("'Best indicator' of fluid status โ Urine output"),
bullet("'PRIORITY' nursing diagnosis โ Actual problems before risk problems"),
bullet("'EXCEPT' questions โ Read all options, identify what does NOT belong"),
bullet("Normal values questions โ Memorize standard ranges (vitals, lab values)"),
new Paragraph({ spacing: { after: 100 } }),
infoBox("Remember: In exams, when in doubt - assess FIRST, then intervene. Airway always takes priority. Patient safety is paramount."),
new Paragraph({
children: [new TextRun({ text: "โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ", color: COLORS.secondary, size: 20 })],
alignment: AlignmentType.CENTER,
spacing: { before: 200 },
}),
new Paragraph({
children: [new TextRun({ text: "Best of Luck with Your Exams! You've Got This! ๐", bold: true, size: 24, color: COLORS.primary, font: "Calibri" })],
alignment: AlignmentType.CENTER,
spacing: { before: 100, after: 100 },
}),
new Paragraph({
children: [new TextRun({ text: "Study Smart | Practice Daily | Stay Confident", italics: true, size: 20, color: "777777", font: "Calibri" })],
alignment: AlignmentType.CENTER,
}),
];
const doc = new Document({
styles: {
default: {
document: {
run: { font: "Calibri", size: 20 },
},
},
},
sections: [{
properties: {
page: {
margin: { top: 720, bottom: 720, left: 900, right: 900 },
},
},
children,
}],
});
Packer.toBuffer(doc).then(buffer => {
fs.writeFileSync("/home/daytona/workspace/nursing-study-guide/BSc_Nursing_3rd_Semester_Study_Guide.docx", buffer);
console.log("Document created successfully!");
}).catch(err => {
console.error("Error:", err);
process.exit(1);
});
cd /home/daytona/workspace/nursing-study-guide && node create_guide.js
python3 /home/daytona/skills/docx/scripts/office/validate.py /home/daytona/worksโฆ
ls -lh /home/daytona/workspace/nursing-study-guide/ && python3 -c "import zipfilโฆ
BSc Nursing 3rd Semester Study Guide
Word Document ยท DOCX
| Subject | Coverage |
|---|---|
| Anatomy & Physiology II | Endocrine glands & hormones table, Nervous system divisions, Neuron structure, Reproductive system & menstrual cycle |
| Biochemistry | Carbohydrate/Protein/Lipid metabolism tables, Enzyme clinical significance, ATP production, Essential amino acids mnemonic |
| Nursing Foundations II | Vital signs normal values, Wound healing stages, Catheterization procedure, 7 Rights of medication administration |
| Psychology | Freud's stages, Erikson's 8 psychosocial stages, Defense mechanisms table, Maslow's hierarchy |
| Microbiology | Microorganism classification, Gram staining steps, Sterilization methods, Chain of infection, Standard precautions |
| Nutrition & Dietetics | Macronutrients, Full vitamins table (deficiency diseases), Minerals with normal values, Therapeutic diets |
| Bonus: Study Tips | Time management plan, Key mnemonics, MCQ exam tricks |