ICD-10-CM codes: The diagnosis is right groin pain. Look in the ICD-10-CM Alphabetic Index for Pain/groin and you are directed to see Pain, abdominal, lower. Look for Pain/abdominal/lower/right quadrant and you are directed to R10.31. Verify the code in the Tabular List.