HD Pneumonie ohne Tumor oder Mukoviszidose, Alter >84, Direktaufnahmen

D1_12_F(x)

Arguments

x

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

Alias

14_25_N

Kapitel

D1-Lungenentzündung (Pneumonie)

Gruppe

D-Erkrankungen der Lunge

Typ

Fallzahl

Spezifikation

D1_12_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) &
ageyears>=85),
if_else((F_Tot), 2, 1), as.double(NA))) %>%
output_table_cnt('D1_12_F') }

Examples

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