I3_21_F.RdHD hüftgelenknahe Fraktur bei Tumor, Hüftfraktur oder Sonderprothese (Alter >19)
I3_21_F(x)ein tibble (siehe Format des Rückgabewertes von read.bfs)
46_4_N
I3-Hüftgelenknahe Frakturen
I-Erkrankungen von Knochen, Gelenken und Bindegewebe
Fallzahl
I3_21_F <- function(x){ x %>%
mutate( i = if_else(( (pdx %in_table% (ICD_Schenkelhalsnahe_Frakturen) |
pdx %in_table% (ICD_Pertrochantaere_Fraktur)) &
F_46_1_Aus &
F_46_2_Aus &
F_46_3_Aus &
ageyears>19),
if_else((F_Tot), 2, 1), as.double(NA))) %>%
output_table_cnt('I3_21_F') }
if (FALSE) read.bfs(path2file) %>% iqi.functions() %>% I3_21_F() # \dontrun{}