StefanoTrv/simple_icd_10_CM

Does it search code using search string in description?

analyticalpicasso opened this issue · 2 comments

Hello,

Its a very nice library you have create to navigate in icd10 xml file. Does it also have flexibility to search in code description using specific search string?

Thanks.

Hi.
It's not a default functionality in the library, but you can use the get_all_codes() function to get the list of all the codes and then create a list of all the descriptions using the get_description() function. You can then search in this second list for a specific pattern.

ok. Thanks.