Anteil Knie­Endoprothesen­Erstimplantation bei HD Gonarthrose oder chronischer Arthritis mit Komplikationen

I1_17_P(x)

Arguments

x

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

Alias

43_3

Kapitel

I1-Gelenkersatz, Endoprothese

Gruppe

I-Erkrankungen von Knochen, Gelenken und Bindegewebe

Typ

Anteil

Spezifikation

I1_17_P <- function(x){ x %>%
mutate( i = if_else((F_Hueft_Knie_Kombi_aus &
F_Hueft_Knie_Tumor_aus &
srg %in_table% (CHOP_Knie_Implantation) &
pdx %in_table% (ICD_Gonarthrose_QSR_312) &
sdx %not_in_table% (ICD_Knie_elekt_aus_QSR_313) &
srg %not_in_table% (CHOP_TEPABST) &
srg %not_in_table% (CHOP_Huefte_Knie_Sonderprothese)),
if_else((F_schwere_Komplikationen), 2, 1), as.double(NA))) %>%
output_table_perc('I1_17_P') }

Examples

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