Anteil HD Schlaganfall nicht näher bezeichnet (ICD­10 I64) (Alter >19)

B1_12_P(x)

Arguments

x

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

Alias

09_61

Kapitel

B1-Schlaganfall

Gruppe

B-Erkrankungen des Nervensystems, Schlaganfall (Stroke)

Typ

Anteil

Spezifikation

B1_12_P <- function(x){ x %>%
mutate( i = if_else((pdx %in_table% (ICD_Schlaganfall_alle) &
ageyears>19),
if_else((pdx %in_range% c('I64')), 2, 1), as.double(NA))) %>%
output_table_perc('B1_12_P') }

Examples

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