D2_06_P.RdAnteil HD COPD ohne Tumor mit FEV1 n.n.bez. (Alter >19)
D2_06_P(x)ein tibble (siehe Format des Rückgabewertes von read.bfs)
15_16
D2-Chronisch obstruktive Lungenkrankheit (COPD)
D-Erkrankungen der Lunge
Anteil
D2_06_P <- function(x){ x %>%
mutate( i = if_else((pdx %in_table% (ICD_COPD) &
ddx %not_in_table% (ICD_TUMOR) &
ageyears>19),
if_else((pdx %in_table% (ICD_COPD_nnbez)), 2, 1), as.double(NA))) %>%
output_table_perc('D2_06_P') }
if (FALSE) read.bfs(path2file) %>% iqi.functions() %>% D2_06_P() # \dontrun{}