M87.171 ICD-10-CM Code: Osteonecrosis due to drugs, right ankle
HCC Buddy Code Card
Digital ICD-10 code-book layout with official code detail, always-visible risk models, Code Trumping, and Buddy coding guidance.
FY 2026 Apr update / Diseases of the musculoskeletal system and connective tissue (M00-M99) / Other osteopathies (M86-M90)
M87.171
Billable / SpecificICD-10-CMOfficial ICD-10-CMCodebook guidanceOsteonecrosis due to drugs, right ankle
Death of bone tissue in the right ankle caused by medication side effects, potentially affecting mobility and joint function.

Buddy Insight
Drug-induced osteonecrosis of the right ankle involves medication-related bone death affecting the complex joint structure, potentially compromising mobility and weight-bearing capacity.
CMS-HCC V28
00
RAF 0
CMS-HCC V24
MappedHCC 39
RAF 0.482
ACA/HHS
00
RAF 0
ESRD/PACE
MappedHCC 39
RAF 0.0
RXHCC
MappedHCC 80
RAF 0.0
Code Trumping
Basket needed
Code Book Path
Inclusion Terms
OfficialICD-10-CM does not list inclusion terms for M87.171 in this effective period.
Excludes 2
OfficialICD-10-CM does not list Excludes 2 notes for M87.171 in this effective period.
Related Child Codes
Includes
OfficialICD-10-CM does not list Includes notes for M87.171 in this effective period.
Excludes 1
OfficialICD-10-CM does not list Excludes 1 notes for M87.171 in this effective period.
Code First
OfficialICD-10-CM does not list Code First sequencing instructions for M87.171 in this effective period.
Use Additional
OfficialICD-10-CM does not list Use Additional Code instructions for M87.171 in this effective period.
Code Also
OfficialICD-10-CM does not list Code Also instructions for M87.171 in this effective period.
Buddy Documentation Tip
MEAT Support
Audit Caution
Common Mistakes
Last updated: FY2026 ICD-10-CM Apr update, Apr 1, 2026 through Sep 30, 2026. CMS-HCC V28 is 100% phased in for payment year 2026.
Is M87.171 an HCC code?
Yes. M87.171 maps to Bone/Joint/Muscle Infections/Necrosis under the V24 model but is not retained in V28.
HCC Category Mapping
RAF weights shown are the community, non-dual, aged base weights from the CMS risk adjustment model file. Actual per-patient RAF contribution depends on member segment, interactions, and the model year used by the payer. V28 is the CMS-HCC model phased in over payment years 2024–2026; V24 remains in use during the transition and for historical data.
MEAT Criteria for M87.171
For M87.171to count as a valid HCC diagnosis in a given encounter, the provider's documentation must show MEAT: Monitor, Evaluate, Assess, or Treat. A diagnosis from a prior year does not carry forward automatically, it has to be re-documented and supported each calendar year.
- MMonitor: signs, symptoms, disease progression, or lab trending documented in the note
- EEvaluate: test results, medication response, or physical findings reviewed by the provider
- AAssess: explicit mention in the assessment or plan with acknowledgment of status
- TTreat: medication, referral, procedure, therapy, or counseling tied to the diagnosis
Only one of M/E/A/T is required to support the code, but the documentation must be specific enough to show that the provider actually addressed M87.171 during that encounter, not just copy-forwarded from a problem list.
Coder workflow notes
Get the V28 RAF + MEAT cheat sheet
One printable page: confirm a code's V28 HCC status, its RAF weight, and the MEAT your note needs to make it stick. Free, no card.
Free PDF. No card. Unsubscribe anytime.
What This Code Means
M87.171 is the ICD-10-CM diagnosis code for osteonecrosis due to drugs, right ankle. Death of bone tissue in the right ankle caused by medication side effects, potentially affecting mobility and joint function. M87.171 sits in the ICD-10-CM chapter for diseases of the musculoskeletal system and connective tissue (m00-m99), within the section covering other osteopathies (m86-m90).
Under the older CMS-HCC V24 model, M87.171 maps to Bone/Joint/Muscle Infections/Necrosis (HCC 39) with a community, non-dual, aged base RAF weight of 0.482. V28 is the CMS-HCC risk adjustment model that reached 100% phase-in for payment year 2026, replacing V24 which was used during the PY2024–PY2025 transition.
Verify whether the osteonecrosis affects the talus or other ankle bones and document accordingly. Because M87.171 maps to a payment HCC, the provider's documentation must satisfy MEAT criteria (Monitor, Evaluate, Assess, or Treat) for the encounter to count toward the patient's Medicare Advantage risk adjustment score. When documentation is ambiguous, coders should issue a provider query rather than assume the highest-specificity variant.
HCC Buddy maintains structured V28 and V24 mapping, RAF weights, and MEAT documentation criteria for M87.171 sourced directly from the CMS-HCC risk adjustment model files and the CMS ICD-10-CM code set.
Coding Tips
- •Verify whether the osteonecrosis affects the talus or other ankle bones and document accordingly
- •Correlate with imaging findings to confirm drug-induced etiology versus other causes
Clinical Significance
Drug-induced osteonecrosis of the right ankle involves medication-related bone death affecting the complex joint structure, potentially compromising mobility and weight-bearing capacity. This condition may require specialized orthopedic intervention and can significantly impact daily activities and ambulation.
Documentation Requirements
- ✓Specific documentation of right ankle involvement in osteonecrosis
- ✓Causative medication identification with exposure details
- ✓Advanced imaging confirming ankle osteonecrosis
- ✓Assessment of ankle joint function and range of motion
- ✓Documentation of weight-bearing limitations and gait abnormalities
- ✓Drug therapy timeline and correlation with symptom development
- ✓Treatment plan including bracing, therapy, or surgical options
- ✓Provider statement establishing drug-induced etiology
Commonly Confused Codes
- •M87.172: Left ankle osteonecrosis, opposite laterality
- •M87.173: Unspecified ankle when right side is documented
- •M87.174: Right foot osteonecrosis involves broader foot structures
- •M87.271: Post-traumatic right ankle requires injury history
- •S93.4: Acute ankle sprain is soft tissue injury, not bone necrosis