decode {CALIBERcodelists} | R Documentation |
Decodes Read, OPCS, ICD-9 or ICD-10 codes, returning a vector of terms.
decode(codes, dictionary)
codes |
either a numeric vector of medcodes or a character vector of ICD-9, ICD-10, OPCS or Read codes. |
dictionary |
either a single dictionary (if all codes are in the same dictionary) or a vector of dictionaries, 'icd9', 'icd10', 'opcs' or 'read'. |
a character vector of terms
decode('I210', 'icd10') decode(c(31421, 11347), 'read') decode(c('E282', 'C165.00'), c('opcs', 'read'))