B2_08_P.RdAnteil neurologische, intensivmedizinische oder andere Komplexbehandlung (Stroke Unit) bei HD intrazerebrale Blutung (Alter >19)
B2_08_P(x)ein tibble (siehe Format des Rückgabewertes von read.bfs)
10_6
B2-Behandlung auf Stroke Unit
B-Erkrankungen des Nervensystems, Schlaganfall (Stroke)
Anteil
B2_08_P <- function(x){ x %>%
mutate( i = if_else((ageyears>19 &
pdx %in_range% c('I610','I619')),
if_else((srg %in_table% (CHOP_Intensivmedizinische_Komplexbehandlung) |
srg %in_table% (CHOP_Stroke)), 2, 1), as.double(NA))) %>%
output_table_perc('B2_08_P') }
if (FALSE) read.bfs(path2file) %>% iqi.functions() %>% B2_08_P() # \dontrun{}