Neurologische, intensivmedizinische oder andere Komplexbehandlung (Stroke Unit) bei HD intrazerebrale Blutung (Alter >19)

B2_08_F(x)

Arguments

x

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

Alias

10_6_Z

Kapitel

B2-Behandlung auf Stroke Unit

Gruppe

B-Erkrankungen des Nervensystems, Schlaganfall (Stroke)

Typ

Fallzahl

Spezifikation

B2_08_F <- 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_cnt('B2_08_F') }

Examples

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