Description Usage Arguments Details Value Examples
Convert between ICD9 codes and ICD10 codes
1 2 3 4 5 |
ICD9vec |
A vector of ICD9 codes to convert |
return.value |
By default only ICD10 codes are returned, set to 'All' to also return flags. |
option |
Choose from 1 to 3 to specify what table to be used in conversion.
Choose 1 for ICD9to10, 2 for ICD10to9, and 3 for using both and returning the union of
two sets of results. Default for |
ICD10vec |
A vector of ICD10 codes to convert |
For getICD10
, the conversion is done using ICD9to10
dataset by default.
For getICD9
, the conversion is done using ICD10to9
dataset by default. If option
is set to 3 and return.value is set to 'All', then an additional column From
is created
to indicate the source (ICD9to10 or ICD10to9) of each line of conversion result.
If return.value='ICD10only'
a vector of ICD10 codes
matching the ICD9 codes given (duplicates are omitted). Otherwise, if return.value='All'
a data frame consisting of rows from ICD9to10
matching
the requested ICD9 codes.
1 2 3 | ICD9vec <- as.character(c(30781,33900:33999,3460:3469))
ICD10vec <- getICD10(ICD9vec)
head(ICD10vec)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.