HD Hirninfarkt oder intrazerebrale Blutung bei Tumor oder Kopfverletzung (Alter >19)

B1_26_F(x)

Arguments

x

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

Alias

09_8_N

Kapitel

B1-Schlaganfall

Gruppe

B-Erkrankungen des Nervensystems, Schlaganfall (Stroke)

Typ

Fallzahl

Spezifikation

B1_26_F <- function(x){ x %>%
mutate( i = if_else((pdx %in_table% (ICD_Hirninfarkt_ICB) &
sdx %in_table% (ICD_ADSR_ex) &
ageyears>19),
if_else((F_Tot), 2, 1), as.double(NA))) %>%
output_table_cnt('B1_26_F') }

Examples

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