Knie­Endoprothesen­Wechsel mit HD Frakturen oder Infektionen

I1_20_F(x)

Arguments

x

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

Alias

44_2_N

Kapitel

I1-Gelenkersatz, Endoprothese

Gruppe

I-Erkrankungen von Knochen, Gelenken und Bindegewebe

Typ

Fallzahl

Spezifikation

I1_20_F <- 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_cnt('I1_20_F') }

Examples

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