exclusions

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

exclusions

Reese
Hello:

I need to make sure that there are exclusions for rx_hospice and rx_cancer in the denominator (rx_denominator) variable. Does this line of code do that, or is the hospice exclusion not making it in there?

rx_hospice <- hospice[rx_unique][is.na(Hospice),][,Hospice := NULL]
rx_cancer <- cancer_dx[rx_hospice][is.na(Cancer),][,Cancer := NULL]

rx_denominator <- rx_cancer[totalDays >= 15,]