Displaying 1 result from an estimated 1 matches for "icd9cm".
Did you mean:
icccm
2018 Mar 25
1
Medical risk package calculation RSI
...risk stratification Index based on the ICD9 codes. Although, I have been successful in using it, I'm unable to interpret the output.
here is the sample code
# Calculate RSI for each patient ("id") in dataframe
cases <- data.frame(id=c(1,1,1,2,2,2,2,2),
+ icd9cm=c("D4019","D25000","DV707","D71945","DV4365","D78079","D70909","D1958"))
library(plyr)
ddply(cases, .(id), function(x) { icd9cm_sessler_rsi(x$icd9cm) } )
Output:
id rsi_1yrpod rsi_30dlos rsi_30dpod rsi_inhosp
1...