What ICD10 (International Classification of Diseases, 10th Revision) codes support medical necessity for vitamin B12 level testing?

Medical Advisory BoardAll articles are reviewed for accuracy by our Medical Advisory Board
Educational purpose only • Exercise caution as content is pending human review
Article Review Status
Submitted
Under Review
Approved

Last updated: August 15, 2025View editorial policy

Personalize

Help us tailor your experience

Which best describes you? Your choice helps us use language that's most understandable for you.

ICD-10 Codes Supporting Medical Necessity for Vitamin B12 Level Testing

The most commonly accepted ICD-10 codes that support medical necessity for vitamin B12 level testing include those related to confirmed vitamin B12 deficiency, neurological symptoms, macrocytic anemia, and specific risk factors such as malabsorptive conditions, certain medication use, and dietary restrictions.

Primary Diagnostic Codes

Confirmed or Suspected B12 Deficiency

  • D51.0 - Vitamin B12 deficiency anemia due to intrinsic factor deficiency (Pernicious anemia)
  • D51.1 - Vitamin B12 deficiency anemia due to selective vitamin B12 malabsorption with proteinuria
  • D51.3 - Other dietary vitamin B12 deficiency anemia
  • D51.8 - Other vitamin B12 deficiency anemias
  • D51.9 - Vitamin B12 deficiency anemia, unspecified

Neurological Manifestations

  • G32.0 - Subacute combined degeneration of spinal cord in diseases classified elsewhere
  • R20.0-R20.9 - Disturbances of skin sensation (paresthesia)
  • R41.0 - Disorientation, unspecified
  • R41.3 - Other amnesia (memory disturbance)
  • R41.8 - Other symptoms and signs involving cognitive functions

Hematologic Manifestations

  • D53.1 - Other megaloblastic anemias, not elsewhere classified
  • D53.9 - Nutritional anemia, unspecified
  • D64.9 - Anemia, unspecified

Risk Factor Codes

Gastrointestinal Conditions

  • K21.0 - Gastroesophageal reflux disease with esophagitis
  • K21.9 - Gastroesophageal reflux disease without esophagitis
  • K25-K28 - Gastric, duodenal, peptic, and gastrojejunal ulcers
  • K29.0 - Acute gastritis
  • K29.4 - Chronic atrophic gastritis
  • K29.5 - Unspecified chronic gastritis
  • K31.83 - Postprocedural complications of stomach and duodenum
  • K50.0-K50.9 - Crohn's disease
  • K63.5 - Polyp of colon
  • K90.0 - Celiac disease
  • K90.9 - Intestinal malabsorption, unspecified
  • Z98.0 - Intestinal bypass and anastomosis status

Dietary Risk Factors

  • E46 - Unspecified protein-calorie malnutrition
  • Z91.11 - Patient's noncompliance with dietary regimen
  • Z78.0 - Asymptomatic menopausal state
  • Z72.4 - Inappropriate diet and eating habits

Medication Use

  • Z79.899 - Other long term (current) drug therapy (for patients on metformin, PPIs, etc.) 1
  • Z79.4 - Long term (current) use of insulin
  • Z79.84 - Long term (current) use of oral hypoglycemic drugs

Testing Indications

Vitamin B12 testing is medically necessary when 2, 1:

  1. Patients present with signs and symptoms consistent with B12 deficiency:

    • Unexplained macrocytic anemia
    • Abnormal findings on blood count
    • Unexplained fatigue
    • Glossitis
    • Balance issues or falls
    • Paresthesia
    • Difficulty concentrating or memory loss
  2. Patients have risk factors for B12 deficiency:

    • Use of medications that affect B12 absorption (metformin, PPIs, H2 blockers, colchicine, phenobarbital, pregabalin, primidone)
    • Restricted diet (vegan/vegetarian)
    • History of bariatric surgery or gastrointestinal resection
    • Autoimmune conditions (thyroid disease, type 1 diabetes)
    • Atrophic gastritis
    • Celiac disease

Testing Approach

The recommended testing approach includes 2, 1:

  1. Initial test: Total B12 (serum cobalamin) or active B12 (serum holotranscobalamin)
  2. For indeterminate results:
    • Total B12 between 180-350 ng/L (133-258 pmol/L)
    • Active B12 between 25-70 pmol/L
    • Consider methylmalonic acid (MMA) testing for confirmation

Important Considerations

  • ICD-10 coding should accurately reflect the patient's clinical condition and medical necessity for testing 3
  • The positive predictive value of ICD-10 codes for vitamin B12 deficiency anemia can be low (31.5-36.8%), so clinical correlation is essential 4
  • For patients with chronic kidney disease on hemodialysis, additional monitoring may be required 1
  • Patients on metformin for more than 4 years should be monitored for B12 deficiency 1, 5

Remember that appropriate documentation of symptoms, risk factors, and clinical reasoning is essential to support medical necessity for vitamin B12 testing.

References

Guideline

Vitamin B12 and Folate Deficiency Guideline

Praxis Medical Insights: Practical Summaries of Clinical Guidelines, 2025

Guideline

Guideline Directed Topic Overview

Dr.Oracle Medical Advisory Board & Editors, 2025

Research

Vitamin B12 Deficiency: Recognition and Management.

American family physician, 2017

Professional Medical Disclaimer

This information is intended for healthcare professionals. Any medical decision-making should rely on clinical judgment and independently verified information. The content provided herein does not replace professional discretion and should be considered supplementary to established clinical guidelines. Healthcare providers should verify all information against primary literature and current practice standards before application in patient care. Dr.Oracle assumes no liability for clinical decisions based on this content.

Have a follow-up question?

Our Medical A.I. is used by practicing medical doctors at top research institutions around the world. Ask any follow up question and get world-class guideline-backed answers instantly.