D1_20_F.RdHD Pneumonie mit COVID-19, ohne Tumor oder Mukoviszidose (Alter >19), Direktaufnahmen
D1_20_F(x)ein tibble (siehe Format des Rückgabewertes von read.bfs)
14_27_N
D1-Lungenentzündung (Pneumonie)
D-Erkrankungen der Lunge
Fallzahl
D1_20_F <- function(x){ x %>%
mutate( i = if_else((pdx %in_table% (ICD_Pneumonie) &
pdx %not_in_range% c('J690','J698') &
lba !='6' &
ddx %not_in_table% (ICD_TUMOR) &
ddx %not_in_table% (ICD_Mucoviszidose) &
ddx %in_range% c('U071') &
ageyears>19),
if_else((F_Tot), 2, 1), as.double(NA))) %>%
output_table_cnt('D1_20_F') }
if (FALSE) read.bfs(path2file) %>% iqi.functions() %>% D1_20_F() # \dontrun{}