What ICD‑10‑CM code should be assigned to a patient who denies current suicidal thoughts, plan, or intent, has a documented safety plan due to risk factors, and has a history of self‑harm or prior suicide attempt?

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: March 8, 2026View 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-CM Coding for Patients with History of Self-Harm/Suicide Attempt but Currently Denying Suicidal Ideation

For a patient who denies current suicidal thoughts, plan, or intent but has a documented safety plan due to risk factors and a history of self-harm or prior suicide attempt, use Z91.5 (Personal history of self-harm).

Primary Code Selection

The appropriate ICD-10-CM code is Z91.5 (Personal history of self-harm) 1, 2. This code specifically captures patients with a documented history of intentional self-harm or suicide attempts when there is no current active suicidal ideation or behavior.

Key Coding Distinctions

When NOT to Use Active Suicidality Codes

Do not assign codes from the following categories when the patient explicitly denies current suicidal thoughts, plan, or intent:

  • R45.851 (Suicidal ideations) - Reserved for patients with current suicidal thoughts
  • T14.91 (Suicide attempt) - Only for active suicide attempts where mechanism is unknown 2, 3
  • X71-X83 series - For current intentional self-harm by specific means (drowning, firearms, jumping, etc.) 2

Critical Caveat About "Absence of Current Ideation"

The absence of current suicidal ideation in a patient with prior attempts may be misleading if underlying risk factors remain unchanged 4. Research demonstrates that nearly 90% of injuries coded as self-harm have documented intent 5, but sensitivity for capturing past suicide attempts through ICD-10 coding is only 20.4% 6. This means many historical attempts go uncoded.

Documentation Requirements for Z91.5

To appropriately assign Z91.5, your documentation should include:

  • Explicit statement that patient denies current suicidal ideation, plan, and intent
  • Documented history of self-harm or suicide attempt (with timeframe if available)
  • Presence of safety plan and identified risk factors
  • Current risk assessment indicating why monitoring continues despite absence of active ideation

Additional Codes to Consider

Risk Factor Documentation

Add codes for ongoing risk factors that justify the safety plan 7:

  • F32.x or F33.x - If depression is present (even without current suicidal ideation)
  • F10.x-F19.x - For substance use disorders
  • Z63.x - For family/relationship problems
  • Z65.x - For other psychosocial circumstances

Comorbid Conditions

Document any psychiatric diagnoses that increase suicide risk 4:

  • Major depressive disorder
  • Bipolar disorder
  • Psychotic disorders
  • Anxiety disorders

Clinical Context Matters

The presence of a safety plan in someone denying current ideation signals ongoing clinical concern 8, 9. Safety planning interventions are recommended for patients with history of self-directed violence even when not currently symptomatic 10. Your coding should reflect this continued risk management.

Why This Matters for Quality Metrics

Using Z91.5 appropriately:

  • Captures the patient's suicide risk history for care coordination
  • Justifies ongoing mental health monitoring and safety planning
  • Supports medical necessity for follow-up appointments
  • Enables tracking of high-risk populations without falsely inflating active suicidality rates

Common Coding Pitfalls

Avoid these errors:

  1. Over-coding active suicidality (R45.851) when patient denies current ideation - this inflates false positive rates 6, 1
  2. Under-coding by omitting Z91.5 entirely - this fails to capture important risk history, as sensitivity for past attempts is already low at 20% 6
  3. Using T14.91 inappropriately - coding guidelines restrict this to cases where the mechanism of suicide attempt is unknown 3

The positive predictive value for ICD-10 suicidality codes is 88.9% for current events but only captures 53.4% of actual cases 6. For historical events, sensitivity drops to 20.4% 6. Therefore, deliberately coding Z91.5 when appropriate helps address this systematic under-capture of suicide risk history.

References

Research

Accuracy of ICD-10-CM encounter diagnoses from health records for identifying self-harm events.

Journal of the American Medical Informatics Association : JAMIA, 2022

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.