Anteil HD Schlaganfall nicht näher bezeichnet (ICD­10 I64), ohne Weiterverlegung innerhalb eines Tages (Alter >19)

B1_27_P(x)

Arguments

x

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

Alias

09_611

Kapitel

B1-Schlaganfall

Gruppe

B-Erkrankungen des Nervensystems, Schlaganfall (Stroke)

Typ

Anteil

Spezifikation

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

Examples

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