D2_02_F.RdHD COPD ohne Tumor mit FEV1 <35% (Alter >19)
D2_02_F(x)ein tibble (siehe Format des Rückgabewertes von read.bfs)
15_11_N
D2-Chronisch obstruktive Lungenkrankheit (COPD)
D-Erkrankungen der Lunge
Fallzahl
D2_02_F <- function(x){ x %>%
mutate( i = if_else((pdx %in_table% (ICD_COPD_unter_35) &
ddx %not_in_table% (ICD_TUMOR) &
ageyears>19),
if_else((F_Tot), 2, 1), as.double(NA))) %>%
output_table_cnt('D2_02_F') }
if (FALSE) read.bfs(path2file) %>% iqi.functions() %>% D2_02_F() # \dontrun{}