CDT code D9110 is typically inclusive of the extraction and therefor will be rejected when submitted at the same time as an extraction. As for the other code D01240 this code does not exist. If the code you were intending is D0120 that would be an inappropriate code as well, since the patient is coming in for pain management and not a periodic oral evaluation.
You may try D0140 along with the extraction code of D7140, as many carriers will allow this combination of code selection.