Filters a data.frame of patients for valid or invalid ICD-9 codes
1 | icd9FilterValid(icd9df, icd9Field = NULL, isShort = NULL, invert = FALSE)
|
icd9df |
data frame containing columns for visitId (which is the feault name), icd9 (default for the icd9 code), and maybe also a POA flag. |
icd9Field |
The column in the data frame which contains the ICD codes.
This is a character vector of length one. If it is |
isShort |
single logical value which determines whether the ICD-9 code provided is in short (TRUE) or decimal (FALSE) form. Where reasonable, this is guessed from the input data. |
invert |
single logical value, if TRUE will return invalid instead of valid rows. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.