HD Hirninfarkt ohne Tumor oder Kopfverletzung (Alter >19), Direktaufnahmen, Mortalität

B1_08_M(x)

Arguments

x

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

Alias

09_341

Kapitel

B1-Schlaganfall

Gruppe

B-Erkrankungen des Nervensystems, Schlaganfall (Stroke)

Typ

Mortalität

Spezifikation

B1_08_M <- function(x){ x %>%
mutate( i = if_else((pdx %in_range% c('I630','I639') &
ageyears>19 &
lba !='6'),
if_else((F_Tot), 2, 1), as.double(NA))) %>%
output_table_perc('B1_08_M') }

Examples

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