Lifestyle changes for Anemia patient

Reading File
Finding Sources
Finding Sources
Searching the Web

lifestyle changes and dietary recommendations for anemia patients

I have enough to give a comprehensive, evidence-based answer. Since "anemia" is broad, I'll cover general lifestyle measures plus note that specifics depend on the anemia type.

Lifestyle Changes for Anemia Patients

Most lifestyle advice below applies primarily to iron-deficiency anemia (the most common type). If your anemia is due to B12/folate deficiency, chronic kidney disease, or a hemolytic/genetic cause, some points differ - mention your specific type if you want tailored advice.

1. Diet Modifications

  • Increase heme iron sources (better absorbed): lean red meat, poultry, fish, and seafood.
  • Increase non-heme iron sources: lentils, beans, tofu, spinach and other leafy greens, nuts, seeds, and iron-fortified cereals/bread.
  • Pair iron-rich foods with vitamin C (citrus fruits, tomatoes, bell peppers, strawberries, kiwi) - this significantly boosts non-heme iron absorption.
  • For B12/folate-deficiency anemia: add eggs, dairy, fortified cereals, and folate-rich foods like leafy greens, citrus, and legumes.
  • Cook in cast-iron skillets occasionally - this can modestly increase the iron content of food.

2. Foods/Drinks to Limit Around Meals

  • Coffee and tea (including black tea) - tannins inhibit non-heme iron absorption; avoid within 1-2 hours of iron-rich meals or supplements.
  • High-calcium foods/dairy and calcium supplements taken at the same time as iron - calcium competes with iron for absorption.
  • Foods high in oxalates or phytates (e.g., raw spinach, whole grains, soy) in large amounts alongside iron sources can reduce absorption, though these foods still have nutritional value overall.

3. Supplement Use (if prescribed)

  • Take iron supplements as directed - diet alone is often insufficient to correct deficiency, per Brenner and Rector's The Kidney: "An iron-rich diet is insufficient and oral iron supplementation is usually required."
  • Take supplements on an empty stomach or with vitamin C when tolerated, separate from calcium, antacids, coffee, or tea.
  • Never self-supplement with iron without a confirmed diagnosis - excess iron is harmful and masks other causes of anemia.

4. General Health and Activity

  • Pace physical activity: fatigue and reduced exercise tolerance are common; increase activity gradually as hemoglobin improves rather than pushing through exhaustion.
  • Prioritize sleep - poor sleep and general lifestyle factors that compete with wellness can worsen fatigue symptoms (Textbook of Family Medicine).
  • Avoid smoking and limit alcohol - alcohol interferes with folate metabolism and can contribute to nutritional deficiencies and liver-related anemia; alcoholism is specifically linked to folate-deficient megaloblastic anemia (Henry's Clinical Diagnosis and Management).
  • Manage underlying bleeding sources: for women, discuss heavy menstrual bleeding with a doctor; for anyone with GI symptoms, unexplained blood loss should be evaluated rather than just treated with diet.

5. Monitor and Follow Up

  • Get periodic blood counts (hemoglobin, ferritin) to track response to dietary and supplement changes.
  • Address underlying conditions (e.g., celiac disease, heavy periods, chronic kidney disease, GI bleeding) since lifestyle changes alone won't fix anemia caused by an unaddressed medical issue.
Would you like me to tailor this further to a specific type of anemia (iron-deficiency, B12/folate, anemia of chronic kidney disease, or hemolytic anemia) or to a specific population (e.g., pregnancy, elderly)?

Prevention strategies for Anemia

Finding Sources
Finding Sources
Searching PubMed

"iron deficiency anemia" AND prevention

Searching the Web

anemia prevention strategies guidelines iron deficiency

I have solid textbook and current guideline evidence. Here's a comprehensive answer.

Prevention Strategies for Anemia

Prevention approaches vary by anemia type but the most common and preventable form worldwide is iron-deficiency anemia, followed by folate/B12-deficiency anemia. Below are evidence-based strategies organized by prevention level.

1. Primary Prevention (Preventing Deficiency Before It Occurs)

Dietary adequacy
  • Ensure regular intake of heme iron (meat, poultry, fish) and non-heme iron (legumes, leafy greens, fortified cereals), paired with vitamin C sources to boost absorption.
  • For folate/B12: include eggs, dairy, fortified grains, and leafy greens; vegans/vegetarians should consider B12 supplementation since plant foods lack B12 entirely.
Food fortification - Population-level fortification of staple foods (flour, rice, salt) with iron is a major public health strategy, especially where "malnutrition and increased blood loss by helminth infections" drive high anemia rates (Harrison's Principles of Internal Medicine, 22E). This is the primary tool in low- and middle-income countries.
Targeted supplementation for high-risk groups
  • Pregnant women: Iron and folic acid supplementation is standard; folic acid also prevents neural tube defects. The USPSTF and ACOG both address screening and supplementation during pregnancy (Creasy & Resnik's Maternal-Fetal Medicine).
  • Infants and young children: iron-fortified formula/cereal, and delayed cow's milk introduction (cow's milk is low in iron and can cause GI blood loss in infants).
  • Adolescent girls and women of reproductive age: at higher risk due to menstrual losses; the CDC's "Recommendations to Prevent and Control Iron Deficiency in the United States" specifically targets this group alongside infants and pregnant women.
Deworming programs - In endemic regions, treating helminth infections (hookworm) reduces chronic blood loss that drives iron deficiency.

2. Secondary Prevention (Screening and Early Detection)

  • Routine screening in pregnancy - hemoglobin/ferritin checks each trimester; USPSTF and CDC recommend this given pregnancy is a peak-risk period.
  • Screening in infants/toddlers at well-child visits (around 9-12 months), since rapid growth increases iron demand.
  • Screening women with heavy menstrual bleeding and evaluating for underlying causes.
  • Case-finding in high-risk adults: post-bariatric surgery patients (iron deficiency occurs in up to ~17% after gastric bypass per Yamada's Textbook of Gastroenterology), patients with celiac disease, inflammatory bowel disease, or chronic GI blood loss.
  • Investigating unexplained iron deficiency in adults, especially men and postmenopausal women, to rule out GI bleeding sources such as colorectal cancer - iron deficiency anemia can be an early sign requiring colonoscopy (Sleisenger and Fordtran's Gastrointestinal and Liver Disease).

3. Addressing Underlying/Modifiable Risk Factors

  • Treat chronic conditions that cause anemia: celiac disease (gluten-free diet restores absorption), IBD, chronic kidney disease, and peptic ulcer disease.
  • Manage menorrhagia in women with hormonal or surgical treatment when appropriate.
  • Limit excessive alcohol intake, which impairs folate metabolism and can cause nutritional/liver-related anemia.
  • Review medications that impair absorption or cause deficiency (e.g., long-term metformin can reduce B12 absorption; methotrexate is contraindicated in significant anemia).
  • Space iron intake away from coffee, tea, calcium, and antacids, which inhibit absorption.

Recent Evidence (2023-2025 systematic reviews)

  • A 2025 systematic review confirms combined supplementation, fortification, and food-based interventions are all effective for preventing iron deficiency anemia in low- and middle-income countries (PMID: 39828255).
  • A 2025 network meta-analysis in children/adolescents found nutrition-specific interventions (supplementation, fortification, dietary diversification) meaningfully reduce anemia burden (PMID: 39798864).
  • The 2024 USPSTF evidence report on pregnancy screening/supplementation (JAMA, PMID: 39163033) found reasonable but still limited evidence on optimal universal screening protocols, meaning practice varies by guideline body - worth discussing with your obstetric provider on the exact protocol used.
If you can share which type of anemia you or your patient has (iron-deficiency, B12/folate, chronic disease-related, hemolytic, or genetic like thalassemia/sickle cell), I can narrow this down to more specific and actionable prevention steps.

Primordial, Primary, secondary and tertiary prevention of Anemia

Finding Sources
Searching the Web

primordial primary secondary tertiary prevention of anemia public health

I have the public health framework confirmed plus prior textbook/PubMed evidence on anemia. Here's the full breakdown applied specifically to anemia (mainly iron-deficiency anemia, the most common and preventable form, with notes on other types).

Levels of Prevention Applied to Anemia

1. Primordial Prevention

Addressing the root socioeconomic/environmental conditions before any risk factor develops.
  • Government/policy-level food fortification programs (iron-fortified flour, rice, salt) at the population level - a strategy explicitly noted for regions where "malnutrition and increased blood loss by helminth infections" drive high anemia burden (Harrison's Principles of Internal Medicine, 22E).
  • Poverty reduction, food security, and agricultural policy to ensure access to iron- and micronutrient-rich foods.
  • Public sanitation and clean water infrastructure to reduce helminth (hookworm) transmission, a major cause of chronic blood loss and anemia in endemic regions.
  • Public health nutrition education campaigns and school feeding programs promoting diverse, micronutrient-rich diets from childhood.
  • Family planning and maternal health policy to reduce closely-spaced pregnancies, which deplete maternal iron stores.

2. Primary Prevention

Preventing the deficiency/disease before it starts in at-risk individuals.
  • Dietary counseling: adequate heme/non-heme iron intake, vitamin C pairing to enhance absorption, folate- and B12-rich foods.
  • Targeted supplementation for high-risk groups:
    • Pregnant women (iron + folic acid) - standard of care per ACOG/USPSTF.
    • Infants and toddlers (iron-fortified formula/cereals; delayed whole cow's milk introduction).
    • Adolescent girls and women of reproductive age (menstrual iron losses).
  • Deworming programs in helminth-endemic areas.
  • Vaccination and infection prevention where relevant (e.g., malaria prevention reduces hemolytic anemia risk in endemic areas; parvovirus B19 avoidance in patients with hemolytic disorders).
  • Avoiding known causes: limiting excess alcohol (impairs folate metabolism), reviewing medications that impair absorption (e.g., long-term metformin and B12), genetic counseling for carriers of thalassemia/sickle cell trait.

3. Secondary Prevention

Early detection and treatment of asymptomatic or early-stage deficiency to halt progression.
  • Routine screening:
    • Hemoglobin/ferritin screening in pregnancy each trimester (USPSTF, CDC, ACOG).
    • Screening infants at well-child visits (~9-12 months).
    • Screening in high-risk adults: post-bariatric surgery patients (iron deficiency in up to ~17% after gastric bypass, per Yamada's Textbook of Gastroenterology), celiac disease, IBD.
  • Case-finding and prompt workup of unexplained iron deficiency in adults, particularly to rule out occult GI bleeding/colorectal cancer (Sleisenger and Fordtran's Gastrointestinal and Liver Disease notes screening as "an example of secondary prevention").
  • Early initiation of oral iron/vitamin supplementation once deficiency is detected, before anemia becomes symptomatic or severe.
  • Genetic/newborn screening for sickle cell disease and thalassemia to catch hemolytic causes early.

4. Tertiary Prevention

Managing established anemia to prevent complications, disability, or recurrence, and rehabilitating function.
  • Treating the underlying disease: gluten-free diet in celiac disease, IBD control, dialysis/erythropoiesis-stimulating agents in chronic kidney disease-related anemia.
  • Transfusion therapy for severe or symptomatic anemia (e.g., sickle cell disease uses "red cell transfusion... both to treat acute complications... and as long-term disease-modifying therapy," per Goldman-Cecil Medicine).
  • IV iron therapy when oral iron fails or absorption is compromised (IBD, post-bariatric surgery, ongoing GI blood loss).
  • Monitoring and preventing transfusion-related complications: iron overload/chelation therapy in chronically transfused patients (thalassemia, sickle cell), screening for alloimmunization and transfusion reactions.
  • Cardiac and functional monitoring: chronic anemia can lead to high-output heart failure; tertiary care includes managing cardiovascular strain.
  • Rehabilitation and quality-of-life support: graded exercise reintroduction, patient education on symptom monitoring, coordinated long-term follow-up (hematology, nephrology, or GI specialists depending on cause) to prevent recurrence and manage chronic sequelae.

Summary Table

LevelAnemia-Specific Example
PrimordialNational food fortification policy; sanitation/hookworm control
PrimaryIron/folic acid supplementation in pregnancy; dietary counseling
SecondaryRoutine hemoglobin/ferritin screening; colonoscopy for unexplained iron deficiency
TertiaryBlood transfusion, IV iron, chelation therapy, treating underlying chronic disease
This framework is most directly validated for iron-deficiency anemia (the dominant global cause). For hemolytic or genetic anemias (sickle cell, thalassemia), primordial/primary prevention shifts toward genetic counseling and carrier screening, while tertiary prevention centers on chronic transfusion and iron chelation. Let me know if you'd like this tailored to a specific anemia subtype or clinical setting (e.g., a hospital protocol vs. community health program).

Summary for Anemia assignment

Finding Sources
Finding Sources
I have enough content from the textbooks and our earlier discussion to compile a full assignment-ready summary. Here it is:

Anemia: Assignment Summary

1. Definition

Anemia is a reduction in circulating red blood cell mass, defined clinically as hemoglobin (Hgb) <12 g/dL or hematocrit (Hct) <36% in nonpregnant adults, though exact cutoffs vary by age, sex, and pregnancy status (The Washington Manual of Medical Therapeutics). It reflects a reduced quantity of functional red blood cells relative to normal plasma volume, impairing oxygen delivery to tissues (Frameworks for Internal Medicine).

2. Classification

Anemia is classified using several frameworks:
  • By mechanism: decreased RBC production, increased RBC destruction (hemolysis), or blood loss (Robbins, Cotran & Kumar Pathologic Basis of Disease).
  • By morphology (MCV): microcytic (e.g., iron deficiency, thalassemia), normocytic (e.g., anemia of chronic disease, acute blood loss), and macrocytic (e.g., B12/folate deficiency, megaloblastic anemia).
  • By etiology: nutritional (iron, B12, folate deficiency), hemolytic (autoimmune, sickle cell, G6PD deficiency), aplastic, and chronic disease-related (renal disease, malignancy, inflammation).

3. Common Causes

  • Iron deficiency (most common worldwide) - poor intake, malabsorption, chronic blood loss
  • B12/folate deficiency - poor diet, malabsorption (pernicious anemia, celiac disease), alcoholism
  • Chronic disease - kidney disease, malignancy, chronic inflammation
  • Hemolysis - autoimmune, hereditary (sickle cell, thalassemia, G6PD deficiency)
  • Bone marrow failure - aplastic anemia

4. Lifestyle and Dietary Management

  • Increase heme iron (meat, poultry, fish) and non-heme iron (legumes, leafy greens, fortified cereals); pair with vitamin C to boost absorption.
  • Include B12/folate sources (eggs, dairy, fortified grains) for megaloblastic anemia.
  • Avoid coffee/tea and calcium-rich foods around iron-rich meals or supplements, as they inhibit absorption.
  • Take iron/vitamin supplements only under medical guidance; diet alone is usually insufficient to correct established deficiency.
  • Limit alcohol (impairs folate metabolism), avoid smoking, pace physical activity to fatigue tolerance, prioritize sleep.
  • Manage underlying bleeding sources (heavy menstrual bleeding, GI bleeding) rather than relying on diet alone.

5. Levels of Prevention

LevelFocusAnemia-Specific Examples
PrimordialRoot socioeconomic/environmental conditionsNational food fortification policy (iron-fortified flour/rice/salt); sanitation and hookworm control; poverty/food security programs
PrimaryPreventing deficiency before onsetIron/folic acid supplementation in pregnancy; dietary counseling; deworming programs; genetic counseling for thalassemia/sickle cell carriers
SecondaryEarly detection and treatmentRoutine hemoglobin/ferritin screening in pregnancy and infancy; case-finding in high-risk groups (post-bariatric surgery, celiac, IBD); colonoscopy for unexplained iron deficiency to rule out GI cancer
TertiaryManaging established disease, preventing complicationsBlood transfusion (e.g., sickle cell disease); IV iron therapy; iron chelation to prevent overload; treating underlying disease (gluten-free diet, dialysis, ESAs); cardiac monitoring for high-output heart failure

6. Key Takeaway

Anemia is a highly preventable and treatable condition when addressed at the appropriate prevention level. Iron-deficiency anemia (the most common global type) responds well to primordial/primary strategies like fortification and supplementation, while hemolytic and genetic anemias require earlier genetic screening and longer-term tertiary management (transfusion, chelation). Effective anemia control requires an integrated approach across all four prevention levels rather than reliance on treatment alone.
Sources: Washington Manual of Medical Therapeutics; Frameworks for Internal Medicine; Robbins, Cotran & Kumar Pathologic Basis of Disease; Harrison's Principles of Internal Medicine 22E; Goldman-Cecil Medicine; Creasy & Resnik's Maternal-Fetal Medicine; Yamada's Textbook of Gastroenterology; Sleisenger and Fordtran's Gastrointestinal and Liver Disease; plus 2023-2025 systematic reviews (PMID: 39828255, 39798864, 39163033).
Let me know if you'd like this formatted into a Word document or PowerPoint slide deck for submission.

Now summarise this assignment

Here's a condensed summary of the anemia assignment discussion:

Anemia: Quick Summary

What it is: Anemia is a reduction in red blood cell mass/hemoglobin (Hgb <12 g/dL in nonpregnant adults) that impairs oxygen delivery to tissues. It's classified by cell size (microcytic, normocytic, macrocytic) or mechanism (decreased production, hemolysis, blood loss). Iron deficiency is the most common cause worldwide, followed by B12/folate deficiency, chronic disease, and hemolytic/genetic disorders (sickle cell, thalassemia).
Lifestyle management: Eat iron-rich foods (meat, legumes, leafy greens) paired with vitamin C; include B12/folate sources for megaloblastic anemia; avoid coffee/tea/calcium near iron-rich meals; take supplements only as prescribed; limit alcohol and smoking; treat underlying bleeding sources rather than relying on diet alone.
Prevention across 4 levels:
  • Primordial - food fortification policy, sanitation/hookworm control
  • Primary - iron/folic acid supplementation, dietary counseling, deworming, genetic counseling
  • Secondary - routine Hgb/ferritin screening, case-finding in high-risk groups, GI workup for unexplained deficiency
  • Tertiary - transfusion, IV iron, chelation therapy, treating the underlying disease
Bottom line: Anemia is largely preventable through a layered public health approach - fortification and supplementation prevent most cases, while screening catches deficiency early and tertiary care manages established or genetic disease.
Want this turned into a one-page PDF or slide for submission?

Create a summary PDF or Word document for submission

Reading File
Running Command

mkdir -p /tmp/workspace/anemia-assignment && ls -la /tmp/workspace/

Writing File

~/anemia-assignment/build_docx.py

from docx import Document
from docx.shared import Pt, Inches, RGBColor
from docx.enum.text import WD_ALIGN_PARAGRAPH
from docx.enum.table import WD_TABLE_ALIGNMENT
from docx.oxml.ns import qn
from docx.oxml import OxmlElement

doc = Document()

# Default font
style = doc.styles["Normal"]
style.font.name = "Calibri"
style.font.size = Pt(11)

def set_cell_shading(cell, color_hex):
    tcPr = cell._tc.get_or_add_tcPr()
    shd = OxmlElement('w:shd')
    shd.set(qn('w:val'), 'clear')
    shd.set(qn('w:color'), 'auto')
    shd.set(qn('w:fill'), color_hex)
    tcPr.append(shd)

def style_heading_color(heading, rgb):
    for run in heading.runs:
        run.font.color.rgb = rgb

NAVY = RGBColor(0x1F, 0x3A, 0x5F)
MAROON = RGBColor(0x8B, 0x1E, 0x1E)

# ---- Title Page / Header ----
title = doc.add_heading("Anemia: Overview, Lifestyle Management, and Levels of Prevention", level=0)
title.alignment = WD_ALIGN_PARAGRAPH.CENTER
style_heading_color(title, NAVY)

subtitle = doc.add_paragraph("A Public Health and Clinical Summary")
subtitle.alignment = WD_ALIGN_PARAGRAPH.CENTER
subtitle.runs[0].italic = True
subtitle.runs[0].font.size = Pt(13)

doc.add_paragraph()

# ---- 1. Definition ----
h1 = doc.add_heading("1. Definition", level=1)
style_heading_color(h1, MAROON)
doc.add_paragraph(
    "Anemia is a reduction in circulating red blood cell mass, defined clinically as hemoglobin "
    "(Hgb) below 12 g/dL or hematocrit (Hct) below 36% in nonpregnant adults, with exact cutoffs "
    "varying by age, sex, and pregnancy status (The Washington Manual of Medical Therapeutics). "
    "It reflects a reduced quantity of functional red blood cells relative to normal plasma volume, "
    "impairing oxygen delivery to tissues (Frameworks for Internal Medicine)."
)

# ---- 2. Classification ----
h2 = doc.add_heading("2. Classification", level=1)
style_heading_color(h2, MAROON)
doc.add_paragraph("Anemia is classified using several frameworks:", style=None)
bullets = [
    "By mechanism: decreased RBC production, increased RBC destruction (hemolysis), or blood loss (Robbins, Cotran & Kumar Pathologic Basis of Disease).",
    "By morphology (MCV): microcytic (e.g., iron deficiency, thalassemia), normocytic (e.g., anemia of chronic disease, acute blood loss), and macrocytic (e.g., B12/folate deficiency, megaloblastic anemia).",
    "By etiology: nutritional (iron, B12, folate deficiency), hemolytic (autoimmune, sickle cell, G6PD deficiency), aplastic, and chronic disease-related (renal disease, malignancy, inflammation).",
]
for b in bullets:
    doc.add_paragraph(b, style="List Bullet")

# ---- 3. Common Causes ----
h3 = doc.add_heading("3. Common Causes", level=1)
style_heading_color(h3, MAROON)
causes = [
    "Iron deficiency (most common worldwide) - poor intake, malabsorption, chronic blood loss",
    "B12/folate deficiency - poor diet, malabsorption (pernicious anemia, celiac disease), alcoholism",
    "Chronic disease - kidney disease, malignancy, chronic inflammation",
    "Hemolysis - autoimmune, hereditary (sickle cell, thalassemia, G6PD deficiency)",
    "Bone marrow failure - aplastic anemia",
]
for c in causes:
    doc.add_paragraph(c, style="List Bullet")

# ---- 4. Lifestyle and Dietary Management ----
h4 = doc.add_heading("4. Lifestyle and Dietary Management", level=1)
style_heading_color(h4, MAROON)
lifestyle = [
    "Increase heme iron (meat, poultry, fish) and non-heme iron (legumes, leafy greens, fortified cereals); pair with vitamin C to boost absorption.",
    "Include B12/folate sources (eggs, dairy, fortified grains) for megaloblastic anemia.",
    "Avoid coffee/tea and calcium-rich foods around iron-rich meals or supplements, as they inhibit absorption.",
    "Take iron/vitamin supplements only under medical guidance; diet alone is usually insufficient to correct established deficiency.",
    "Limit alcohol (impairs folate metabolism), avoid smoking, pace physical activity to fatigue tolerance, prioritize sleep.",
    "Manage underlying bleeding sources (heavy menstrual bleeding, GI bleeding) rather than relying on diet alone.",
]
for l in lifestyle:
    doc.add_paragraph(l, style="List Bullet")

# ---- 5. Levels of Prevention (Table) ----
h5 = doc.add_heading("5. Levels of Prevention", level=1)
style_heading_color(h5, MAROON)

table_data = [
    ("Level", "Focus", "Anemia-Specific Examples"),
    ("Primordial", "Root socioeconomic/environmental conditions",
     "National food fortification policy (iron-fortified flour, rice, salt); sanitation and hookworm control; poverty and food security programs"),
    ("Primary", "Preventing deficiency before onset",
     "Iron/folic acid supplementation in pregnancy; dietary counseling; deworming programs; genetic counseling for thalassemia/sickle cell carriers"),
    ("Secondary", "Early detection and treatment",
     "Routine hemoglobin/ferritin screening in pregnancy and infancy; case-finding in high-risk groups (post-bariatric surgery, celiac disease, IBD); colonoscopy for unexplained iron deficiency to rule out GI cancer"),
    ("Tertiary", "Managing established disease, preventing complications",
     "Blood transfusion (e.g., sickle cell disease); IV iron therapy; iron chelation to prevent overload; treating underlying disease (gluten-free diet, dialysis, ESAs); cardiac monitoring for high-output heart failure"),
]

table = doc.add_table(rows=len(table_data), cols=3)
table.style = "Table Grid"
table.alignment = WD_TABLE_ALIGNMENT.CENTER

widths = [Inches(1.1), Inches(1.9), Inches(3.6)]
for row_idx, row_data in enumerate(table_data):
    row = table.rows[row_idx]
    for col_idx, text in enumerate(row_data):
        cell = row.cells[col_idx]
        cell.width = widths[col_idx]
        cell.text = ""
        p = cell.paragraphs[0]
        run = p.add_run(text)
        if row_idx == 0:
            run.font.bold = True
            run.font.color.rgb = RGBColor(0xFF, 0xFF, 0xFF)
            set_cell_shading(cell, "1F3A5F")
        else:
            if col_idx == 0:
                run.font.bold = True
            set_cell_shading(cell, "F2F2F2" if row_idx % 2 == 0 else "FFFFFF")

doc.add_paragraph()

# ---- 6. Key Takeaway ----
h6 = doc.add_heading("6. Key Takeaway", level=1)
style_heading_color(h6, MAROON)
doc.add_paragraph(
    "Anemia is a highly preventable and treatable condition when addressed at the appropriate "
    "prevention level. Iron-deficiency anemia (the most common global type) responds well to "
    "primordial and primary strategies like fortification and supplementation, while hemolytic "
    "and genetic anemias require earlier genetic screening and longer-term tertiary management "
    "(transfusion, chelation). Effective anemia control requires an integrated approach across "
    "all four prevention levels rather than reliance on treatment alone."
)

# ---- References ----
h7 = doc.add_heading("References", level=1)
style_heading_color(h7, MAROON)
refs = [
    "The Washington Manual of Medical Therapeutics",
    "Frameworks for Internal Medicine",
    "Robbins, Cotran & Kumar Pathologic Basis of Disease",
    "Harrison's Principles of Internal Medicine, 22nd Edition (2025, McGraw Hill Medical)",
    "Goldman-Cecil Medicine, International Edition",
    "Creasy & Resnik's Maternal-Fetal Medicine: Principles and Practice",
    "Yamada's Textbook of Gastroenterology, 7th Edition",
    "Sleisenger and Fordtran's Gastrointestinal and Liver Disease",
    "Helmyati S, et al. Systematic review on supplementation, fortification, and food-based interventions for preventing iron deficiency anemia in LMICs. Asia Pac J Clin Nutr. 2025. PMID: 39828255",
    "Ren T, et al. Effects of Nutrition-Specific Interventions to Prevent and Control Nutrition-Related Anemia in Infants, Children, and Adolescents. J Acad Nutr Diet. 2025. PMID: 39798864",
    "Cantor AG, et al. Screening and Supplementation for Iron Deficiency and Iron Deficiency Anemia During Pregnancy: USPSTF Evidence Report. JAMA. 2024. PMID: 39163033",
]
for r in refs:
    doc.add_paragraph(r, style="List Bullet")

doc.save("/tmp/workspace/anemia-assignment/Anemia_Assignment_Summary.docx")
print("Saved.")
Running Command

cd /tmp/workspace/anemia-assignment && python3 build_docx.py

Running Command

cd /tmp/workspace/anemia-assignment && python3 -c " from docx import Document doc = Document('Anemia_Assignment_Summary.docx') print('Paragraphs:', len(doc.paragraphs)) print('Tables:', len(doc.tables)) " && ls -la Anemia_Assignment_Summary.docx

The document was created successfully with the title, definition, classification, causes, lifestyle management, a formatted prevention-levels table, key takeaway, and references.

Anemia Assignment Summary

Word Document · DOCX

It includes:
  1. Definition
  2. Classification (by mechanism, morphology, etiology)
  3. Common Causes
  4. Lifestyle and Dietary Management
  5. Levels of Prevention (formatted table: Primordial, Primary, Secondary, Tertiary)
  6. Key Takeaway
  7. References (textbooks + 2024-2025 PubMed systematic reviews with PMIDs)
Let me know if you'd like a PDF version instead, or if you want your name/course/date added to a title page.
This is a shared conversation. Sign in to Orris to start your own chat.