I1_20_M.RdKnieEndoprothesenWechsel mit HD Frakturen oder Infektionen, Mortalität
I1_20_M(x)ein tibble (siehe Format des Rückgabewertes von read.bfs)
44_2
I1-Gelenkersatz, Endoprothese
I-Erkrankungen von Knochen, Gelenken und Bindegewebe
Mortalität
I1_20_M <- function(x){ x %>%
mutate( i = if_else((F_Hueft_Knie_Kombi_aus &
F_Hueft_Knie_Tumor_aus &
F_Knie_Erstimplantation_aus &
F_Knie_TEP_andere_aus &
(srg %in_table% (CHOP_Knie_TEP_Wechsel) |
(srg %in_table% (CHOP_Knie_Implantation) &
srg %in_table% (CHOP_TEPABST))) &
(pdx %in_table% (ICD_Knie_Frak_Inf) |
pdx %in_table% (ICD_Sepsis) &
sdx %in_table% (ICD_Knie_Frak_Inf))),
if_else((F_Tot), 2, 1), as.double(NA))) %>%
output_table_perc('I1_20_M') }
if (FALSE) read.bfs(path2file) %>% iqi.functions() %>% I1_20_M() # \dontrun{}