Extract ICD10 string. Extracts ICD10 string and expands range when range of codes is shown.
extract_icd(x)
character string containing ICD10 code.
Character vector with ICD10 codes.
icd <- extract_icd("All malignant neoplasms (C00-C97)")