Extract ICD10 string. Extracts ICD10 string and expands range when range of codes is shown.

extract_icd(x)

Arguments

x

character string containing ICD10 code.

Value

Character vector with ICD10 codes.

Examples

icd <- extract_icd("All malignant neoplasms (C00-C97)")