Beatmungen >24h bei nosokomialer Pneumonie, ohne Tumor oder Mukoviszidose (Alter >19), Direktaufnahmen

D1_17_F(x)

Arguments

x

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

Alias

14_611_N

Kapitel

D1-Lungenentzündung (Pneumonie)

Gruppe

D-Erkrankungen der Lunge

Typ

Fallzahl

Spezifikation

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') }

Examples

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