is_icd_code function

Test whether a string is a valid ICD code