HD COPD ohne Tumor mit FEV1 n.n.bez. (Alter >19)

D2_06_F(x)

Arguments

x

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

Alias

15_15_N

Kapitel

D2-Chronisch obstruktive Lungenkrankheit (COPD)

Gruppe

D-Erkrankungen der Lunge

Typ

Fallzahl

Spezifikation

D2_06_F <- function(x){ x %>%
mutate( i = if_else((pdx %in_table% (ICD_COPD_nnbez) &
ddx %not_in_table% (ICD_TUMOR) &
ageyears>19),
if_else((F_Tot), 2, 1), as.double(NA))) %>%
output_table_cnt('D2_06_F') }

Examples

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