B1_27_P.RdAnteil HD Schlaganfall nicht näher bezeichnet (ICD10 I64), ohne Weiterverlegung innerhalb eines Tages (Alter >19)
B1_27_P(x)ein tibble (siehe Format des Rückgabewertes von read.bfs)
09_611
B1-Schlaganfall
B-Erkrankungen des Nervensystems, Schlaganfall (Stroke)
Anteil
B1_27_P <- function(x){ x %>%
mutate( i = if_else((pdx %in_table% (ICD_Schlaganfall_alle) &
ageyears>19 &
F_Ausschluss_VWD_kleiner_2_und_Weiterverlegung),
if_else((pdx %in_range% c('I64')), 2, 1), as.double(NA))) %>%
output_table_perc('B1_27_P') }
if (FALSE) read.bfs(path2file) %>% iqi.functions() %>% B1_27_P() # \dontrun{}