Description Usage Arguments Value See Also Examples
The hierarchy functions generally remove less complicated diseases when more complicated diseases are present. For instance if a metastasis code is present then the solid tumor code is obsolete.
1 2 3 4 5 6 7 8 9 10 11 12 13 |
out |
A
|
out
Returns the same as the input but with the
hierarchy applied
cmrbdt.finder.numeric.elixhauser_Elixhauser1998
cmrbdt.finder.regex.elixhauser_Quan2005
cmrbdt.finder.numeric.charlson_Deyo1992
cmrbdt.finder.regex.charlson_Quan2005
cmrbdt.finder.regex.charlson_Sundarajan2004
cmrbdt.finder.regex.charlson_Armitage2010
1 2 3 4 5 6 7 8 9 10 11 12 | # AHRQ example
out <- cmrbdt.finder.numeric.ahrq("31323")
out[c("DM.COMP", "DM.UNCOMP")] <-TRUE
hierarchy.ahrq(out)
# Deyo example
out <- cmrbdt.finder.numeric.charlson_Deyo1992("31323")
out[grep("LIVER", names(out))] <-TRUE
hierarchy.charlson_Deyo1992(out)
# Armitage example
out <- cmrbdt.finder.regex.charlson_Armitage2010("I252")
out[grep("LIVER", names(out))] <-TRUE
hierarchy.charlson_Armitage2010(out)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.