I have a list of ICD9 AND ICD10 codes like this:
706.2
L81.0
D23.5
782
I want to decode these to English (to the actual name of the diseases). I thought of using the ICD package in R, especially the "explain_table()" function but it's only decoding either the ICD9 codes or the ICD10 codes. Not the two at the same time. I am getting this:
Sebaceous cyst
NA
NA
Symptoms involving skin and other integumentary tissue
It seems the type of ICD code of the first element in the list will decide what kind of code will be translated. In my example, the first one was an ICD9 code so only the ICD9 codes were translated. The two ICD10 codes in the middle were not.
Suggestions?