Versteifung der Wirbelsäule oder Wirbelkörperersatz bei Trauma (inkl. komplexe Rekonstitutionen), Mortalität

I2_19_M(x)

Arguments

x

ein tibble (siehe Format des Rückgabewertes von read.bfs)

Alias

47_22

Kapitel

I2-Behandlungen/Operationen an der Wirbelsäule und am Rückenmark

Gruppe

I-Erkrankungen von Knochen, Gelenken und Bindegewebe

Typ

Mortalität

Spezifikation

I2_19_M <- function(x){ x %>%
mutate( i = if_else(( (srg %in_table% (CHOP_Spondylodesen_WKErsatz_1_Segment %+%
CHOP_Spondylodesen_WKErsatz_2_Segment %+%
CHOP_Spondylodesen_WKErsatz_3_Segment %+%
CHOP_komplexe_WS_Rekonstruktion) |
srg %in_table% (CHOP_WS_Sonderfaelle_TU_Trauma)) &
F_Spondylodesen_oder_WK_Ersatz_bei_Tumor_Ausschluss &
(ddx %in_table% (ICD_Trauma) |
ddx %in_range% c('M8000','M8099'))),
if_else((F_Tot), 2, 1), as.double(NA))) %>%
output_table_perc('I2_19_M') }

Examples

if (FALSE)  read.bfs(path2file) %>% iqi.functions() %>% I2_19_M()  # \dontrun{}