D1_17_F.RdBeatmungen >24h bei nosokomialer Pneumonie, ohne Tumor oder Mukoviszidose (Alter >19), Direktaufnahmen
D1_17_F(x)ein tibble (siehe Format des Rückgabewertes von read.bfs)
14_611_N
D1-Lungenentzündung (Pneumonie)
D-Erkrankungen der Lunge
Fallzahl
D1_17_F <- function(x){ x %>%
mutate( i = if_else((sdx %in_table% (ICD_nosokom_Pneumonie) &
lba !='6' &
ddx %not_in_table% (ICD_TUMOR) &
ddx %not_in_range% c('E840','E849') &
ageyears>19 &
hmv>24),
if_else((F_Tot), 2, 1), as.double(NA))) %>%
output_table_cnt('D1_17_F') }
if (FALSE) read.bfs(path2file) %>% iqi.functions() %>% D1_17_F() # \dontrun{}