Vitamin B12 & Folate Deficiency Anaemia (megaloblastic; pernicious anaemia + SCD)
Authored 2026-05-16 (shard-3 neuro-sym, Opus 4.7). 9 WebSearch-verified PMIDs (BSH Devalia 2014 24942828; Stabler NEJM 2013 23301732; Cochrane Wang 2018 29543316; N2O case series 34427020; Aroda DPPOS 26900641; de Jager HOME BMJ 20488910; MRC Vitamin Study 1677062; PA→gastric-ca SR 23216458; holoTC/MMA dx accuracy 32089757). LOAD-BEARING SAFETY: folate-alone in unmeasured/unexcluded B12 deficiency can precipitate/worsen subacute combined degeneration — encoded as RED_FLAGS pivot, severity_trigger (life_threatening), and regimen contraindication_rule. Also: monitor K+ + platelets during rapid repletion; treat neuro empirically (irreversibility); N2O functional deficiency can have NORMAL serum B12. RxCUIs RxNav curl-verified 2026-05-16: hydroxocobalamin 5514; cyanocobalamin 11248 (resolves "vitamin B12"); folic acid 4511; leucovorin/folinic acid 6313; methylcobalamin 29421 (resolves "mecobalamin"); potassium chloride 8591. Non-pharm: deprescribe/diet/treat-underlying, pRBC transfusion. Registry ids confirmed-resolving only: workups workup.macrocytic_anemia (required) + workup.peripheral_neuropathy; panels cbc/iron/cmp/lft/renal/thyroid; calculators calc.phq9 + calc.ckd_epi_2021; cascade.labs_command. No B12-specific calculator exists — omitted rather than invented. Cross-dossier: heme.iron-deficiency-anemia.core.v1 (planned sibling — dimorphic anaemia), symptom.dementia.v1 (reversible-dementia mimic, exists), neuro.peripheral-neuropathy.v1 (planned sibling — SCD/myeloneuropathy), symptom.anemia-workup.v1 + gi.crohns.core.v1 (exist; routed via workup branches_to). 4 special-pop branches: pregnancy/preconception, geriatric food-bound + dementia mimic, metformin/PPI deprescribe-or-monitor, post-bariatric/ileal-resection lifelong supplementation; plus infants of B12-deficient mothers + N2O abuse.
Entry points (10)
- lab_abnormalityMacrocytosis MCV >100 fL on CBC (BSH Devalia 2014 PMID 24942828)mcv_high
- lab_abnormalityLow / borderline serum B12 (<148 pmol/L definite; 148–221 borderline) (Stabler NEJM 2013 PMID 23301732)serum_b12_low
- lab_abnormalityLow serum / red-cell folate (BSH Devalia 2014 PMID 24942828)serum_folate_low
- symptomFatigue / pallor / glossitis / anaemia symptomsfatigue_anaemia
- symptomParaesthesia / gait ataxia / dorsal-column signs → subacute combined degeneration (Stabler NEJM 2013 PMID 23301732)paraesthesia_ataxia
- symptomCognitive change / dementia mimic — reversible B12 dementia (Stabler NEJM 2013 PMID 23301732)cognitive_decline
- historyRecreational nitrous-oxide use → functional B12 deficiency / myeloneuropathy (Pract Neurol case series PMID 34427020)n2o_use
- medicationLong-term metformin / PPI → B12 malabsorption surveillance (Aroda DPPOS PMID 26900641; de Jager HOME PMID 20488910)metformin_chronic
- problem_listPernicious anaemia / autoimmune atrophic gastritis on problem list (BSH Devalia 2014 PMID 24942828)pernicious_anaemia_pl
- demographicPregnancy / preconception — periconceptional folate (MRC Vitamin Study PMID 1677062)pregnancy_preconception
Required inputs (11)
- agerequireddemographic • used at CONTEXTGeriatric food-bound malabsorption + dementia-mimic routing; pregnancy folate demand (BSH Devalia 2014 PMID 24942828)
- pregnancy_statusrequireddemographic • used at CONTEXTPericonceptional folate 400 mcg vs 4–5 mg if prior NTD; B12 in vegan pregnancy (MRC Vitamin Study PMID 1677062)
- cbc_with_indicesrequiredlab • used at INITIAL_WORKUPMCV >100 fL = macrocytosis; pancytopenia signals severe megaloblastosis vs leukaemia mimic (BSH Devalia 2014 PMID 24942828)
- serum_b12requiredlab • used at INITIAL_WORKUPFirst-line B12; low sensitivity/specificity → reflex MMA + homocysteine (Stabler NEJM 2013 PMID 23301732; PMID 32089757)
- serum_folaterequiredlab • used at INITIAL_WORKUPFolate deficiency partition; NEVER replace folate alone if B12 unmeasured (SCD risk) (BSH Devalia 2014 PMID 24942828)
- reticulocyte_countlab • used at INITIAL_WORKUPLow retic in megaloblastosis; reticulocytosis day 5–7 confirms repletion response (Stabler NEJM 2013 PMID 23301732)
- mma_homocysteinelab • used at BRANCHING_WORKUPElevated MMA + Hcy = B12; isolated Hcy = folate; both metabolites discriminate functional deficiency (N2O) when B12 normal (PMID 34427020; PMID 32089757)
- potassiumlab • used at MONITORINGHypokalaemia during rapid haematologic repletion — monitor K+ (BSH Devalia 2014 PMID 24942828)
- malabsorption_riskhistory • used at CONTEXTAtrophic/pernicious gastritis, bariatric, ileal resection/Crohn, pancreatic insufficiency, fish tapeworm — determines lifelong vs short-course Rx (BSH Devalia 2014 PMID 24942828)
- b12_folate_offendersmedication • used at CONTEXTMetformin/PPI/H2RA (B12); methotrexate/trimethoprim/phenytoin (folate); N2O (functional B12) — deprescribe-or-monitor trigger (Aroda DPPOS PMID 26900641)
- neuro_signssymptom • used at RED_FLAGSParaesthesia/ataxia/dorsal-column/optic atrophy/cognitive change — may be irreversible if delayed; treat empirically if high suspicion (Stabler NEJM 2013 PMID 23301732)
12-phase flow (12)
- 1FRAMEEstablish macrocytic/megaloblastic anaemia frame — partition B12 vs folate vs both vs non-megaloblastic macrocytosis; flag pernicious anaemia and subacute combined degeneration as the high-stakes phenotypes (BSH Devalia 2014 PMID 24942828)inputs: age, pregnancy_statusadvance: Megaloblastic frame and candidate aetiology assigned
- 2ENTRYTriggered by macrocytosis on CBC, low/borderline B12 or folate, anaemia symptoms, neuro/cognitive change, N2O use, or chronic metformin/PPI surveillance (Stabler NEJM 2013 PMID 23301732)inputs: cbc_with_indicesadvance: Entry trigger confirmed; engine launched
- 3CONTEXTCapture diet (vegan/vegetarian), alcohol, malabsorption history (atrophic/pernicious gastritis, bariatric, ileal resection/Crohn, pancreatic insufficiency, fish tapeworm), offending drugs (metformin/PPI/MTX/trimethoprim/phenytoin), N2O exposure, pregnancy/preconception, prior NTD, autoimmune comorbidity (BSH Devalia 2014 PMID 24942828)inputs: age, pregnancy_status, malabsorption_risk, b12_folate_offendersactions: panel.cmpadvance: Aetiologic context captured
- 4RED_FLAGSLOAD-BEARING PIVOTS: (1) NEVER give folate without measuring/correcting B12 — folate-alone in B12 deficiency can precipitate/worsen subacute combined degeneration (BSH Devalia 2014 PMID 24942828; Stabler NEJM 2013 PMID 23301732). (2) Neuro deficits (paraesthesia, gait ataxia, dorsal-column signs, optic atrophy, cognitive change) may be IRREVERSIBLE if treatment delayed → treat empirically with B12 if high suspicion, do NOT wait for confirmatory MMA. (3) Pancytopenia / very low Hb with hypersegmented neutrophils can mimic acute leukaemia — bone-marrow only if no response. (4) Rapid repletion → hypokalaemia + rebound thrombocytosis → monitor K+. (5) N2O myeloneuropathy: functional B12 deficiency with NORMAL serum B12 — elevated MMA/Hcy + dorsal-column MRI signal (PMID 34427020)inputs: neuro_signsactions: workup.peripheral_neuropathyadvance: Folate-alone risk excluded; neuro emergency triaged; empiric B12 started if indicated
- 5INITIAL_WORKUPCBC + indices (MCV >100 fL), reticulocyte count (low — ineffective erythropoiesis), peripheral smear (oval macrocytes + hypersegmented neutrophils ≥5 lobes), serum B12, serum/red-cell folate, LDH (markedly elevated) + indirect bilirubin (intramedullary haemolysis), CMP + LFT (BSH Devalia 2014 PMID 24942828; Stabler NEJM 2013 PMID 23301732)inputs: cbc_with_indices, serum_b12, serum_folate, reticulocyte_countactions: panel.cbc, panel.lft, cascade.labs_commandadvance: First-line megaloblastic panel resulted
- 6BRANCHING_WORKUPReflex when B12 borderline or clinic-test discordant: MMA + total homocysteine + holotranscobalamin (elevated MMA+Hcy = B12 deficiency; isolated Hcy = folate; normal-B12 + high MMA/Hcy = functional/N2O). If B12 deficiency confirmed → anti-intrinsic-factor Ab (high specificity ~92%, low sensitivity ~50–70%), anti-parietal-cell Ab (sens ~68%, spec ~92%), gastrin + pepsinogen, consider gastroscopy for autoimmune gastritis + gastric cancer/carcinoid surveillance (~7× gastric-cancer RR, PMID 23216458). Coexistent iron deficiency (dimorphic anaemia normalises MCV) → iron studies. Route neuro complications to peripheral-neuropathy workup; cognitive change → cognitive screen (BSH Devalia 2014 PMID 24942828; PMID 32089757)inputs: mma_homocysteineactions: workup.macrocytic_anemia, workup.peripheral_neuropathy, panel.iron, calc.phq9advance: B12-vs-folate partitioned; pernicious-anaemia status determined; aetiology assigned
- 7DIFFERENTIALTerminal aetiologies: pernicious anaemia (autoimmune atrophic gastritis); dietary B12 (vegan); B12 malabsorption (atrophic gastritis, bariatric, ileal resection/Crohn, pancreatic insufficiency, Diphyllobothrium); drug-induced (metformin/PPI/H2RA → B12; methotrexate/trimethoprim/phenytoin → folate); N2O functional B12 deficiency; folate — dietary, alcohol, increased demand (pregnancy/haemolysis), MTHFR; combined B12+folate; non-megaloblastic macrocytosis (alcohol, liver disease, hypothyroidism, MDS, reticulocytosis) (BSH Devalia 2014 PMID 24942828)advance: Terminal aetiology assigned
- 8RISK_STRATIFICATIONSeverity tiers: severe symptomatic anaemia (high-output failure / angina); neurologic involvement / subacute combined degeneration (treat-now — irreversibility risk); pancytopenia mimicking leukaemia; hypokalaemia on replacement; N2O myeloneuropathy. Lifelong-replacement determinants: pernicious anaemia, irreversible malabsorption (bariatric/ileal resection), continued N2O. Pregnancy + prior NTD → high-dose folate tier (BSH Devalia 2014 PMID 24942828; MRC Vitamin Study PMID 1677062)inputs: cbc_with_indicesactions: calc.ckd_epi_2021advance: Severity tier + chronicity-of-replacement decided
- 9TREATMENTB12: IM hydroxocobalamin 1 mg alternate-day x1–2 wk (or until no further neuro improvement) then 1 mg every 2–3 months for life in pernicious anaemia/irreversible malabsorption; OR high-dose oral cyanocobalamin 1000–2000 mcg/day (passive absorption; Cochrane Wang 2018 non-inferior haematologically/neurologically for short term, PMID 29543316) for dietary/borderline/reversible cause without severe neuro disease. ALWAYS correct/replace B12 before or with folate (SCD safety). Folate 1–5 mg PO daily x ~4 months (lifelong if chronic haemolysis/malabsorption). N2O-induced: stop N2O + high-dose B12 ± methionine. Expected response: reticulocytosis day 5–7, Hb rises ~1 g/dL/wk, normalises by ~8 wk; hypersegmentation resolves ~2 wk. Treat-underlying: deprescribe/monitor metformin-PPI, manage Crohn (route gi.crohns.core.v1), bariatric lifelong supplementation (BSH Devalia 2014 PMID 24942828; Stabler NEJM 2013 PMID 23301732)inputs: serum_b12, serum_folateadvance: Repletion regimen + chronicity + underlying-cause plan executed
- 10DISPOSITIONOutpatient for most (oral or community IM repletion). Inpatient/urgent for severe symptomatic anaemia, neurologic emergency / progressive subacute combined degeneration, pancytopenia requiring exclusion of leukaemia, or symptomatic hypokalaemia on replacement (BSH Devalia 2014 PMID 24942828)advance: Disposition set
- 11MONITORINGReticulocyte count day 5–7 (response confirmation); repeat CBC + MCV at ~2 and ~8 weeks (MCV normalises ~8 wk); serum K+ during early rapid repletion (hypokalaemia risk); platelet count (rebound thrombocytosis); B12/folate not routinely re-checked post-loading on adequate replacement; ferritin/iron studies if MCV fails to normalise (unmasked iron deficiency); neuro re-assessment for SCD recovery (BSH Devalia 2014 PMID 24942828)inputs: cbc_with_indices, reticulocyte_count, potassiumactions: panel.cbc, panel.renaladvance: Haematologic + biochemical response documented; K+ stable
- 12FOLLOWUPPernicious anaemia: lifelong B12 + endoscopic gastric surveillance per local pathway (gastric adenocarcinoma/carcinoid risk, ~7× RR, PMID 23216458); annual FBC + thyroid (autoimmune association — panel.thyroid). Drug-induced: periodic B12 on continued metformin/PPI (Aroda DPPOS PMID 26900641). Pregnancy: periconceptional folate 400 mcg standard, 4–5 mg if prior NTD/high-risk, continue through 12 wk; B12 in vegans/post-bariatric; infants of B12-deficient mothers screened. Geriatric: re-screen cognition if dementia-mimic. Bariatric/ileal resection: lifelong supplementation + monitoring (BSH Devalia 2014 PMID 24942828; MRC Vitamin Study PMID 1677062)actions: panel.thyroidadvance: Lifelong/interval plan + surveillance documented