ICD-10-CM Diagnosis Code for Fungal Skin Infection of the Leg
The appropriate ICD-10-CM diagnosis code for this presentation is B36.9 (Superficial mycosis, unspecified) or more specifically B36.8 (Other specified superficial mycoses) if tinea nigra or pityriasis versicolor is suspected based on the black and white spot presentation.
Clinical Context and Coding Rationale
The description of "black spots with white spots" on the leg being treated with ketoconazole suggests a superficial fungal infection. The pigmentation pattern is clinically significant:
Most Likely Diagnoses Based on Presentation:
Tinea (Pityriasis) Versicolor - This condition characteristically presents with hyperpigmented (black/brown) and hypopigmented (white) patches and is specifically indicated for ketoconazole treatment 1. The appropriate code would be:
- B36.0 (Pityriasis versicolor) - This is the most specific code given the black and white spot description
Alternative considerations:
- Tinea Nigra - Presents with brown to black macules, typically on palms/soles but can occur elsewhere 2. Would also code as B36.1 (Tinea nigra)
- Dermatophytosis of leg - If this is tinea corporis or tinea pedis extending to leg: B35.4 (Tinea corporis) or B35.3 (Tinea pedis)
Coding Algorithm:
If hyperpigmented AND hypopigmented patches present together → Use B36.0 (Pityriasis versicolor)
If only dark/black macules without white areas → Use B36.1 (Tinea nigra)
If scaling, erythematous patches with variable pigmentation → Use B35.4 (Tinea corporis) for leg involvement
If diagnosis uncertain but fungal infection confirmed → Use B36.9 (Superficial mycosis, unspecified)
Important Coding Considerations:
The FDA-approved indications for topical ketoconazole specifically include tinea corporis, tinea cruris, tinea pedis, tinea (pityriasis) versicolor, and cutaneous candidiasis 1. The black and white spot presentation most strongly suggests pityriasis versicolor, which is caused by Malassezia furfur and characteristically produces both hyper- and hypopigmented lesions.
Critical caveat: While ketoconazole was historically used for various fungal infections 3, current guidelines explicitly state that ketoconazole "should no longer be used" for systemic treatment of endemic mycoses like sporotrichosis due to poor efficacy and adverse effects 3. However, topical ketoconazole remains appropriate for superficial infections 1.
Documentation Requirements:
Ensure the medical record specifies:
- Exact location (leg)
- Clinical appearance (pigmentation pattern)
- KOH preparation or culture results if available
- Response to ketoconazole therapy
The most appropriate code is B36.0 (Pityriasis versicolor) given the characteristic black and white spot presentation and ketoconazole treatment.