ND Delir bei hüftgelenknaher Fraktur, Alter >59

C3_05_F(x)

Arguments

x

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

Alias

13_34_Z

Kapitel

C3-Delir

Gruppe

C-Altersmedizin

Typ

Fallzahl

Spezifikation

C3_05_F <- function(x){ x %>%
mutate( i = if_else(( (pdx %in_table% (ICD_Schenkelhalsnahe_Frakturen) |
pdx %in_table% (ICD_Pertrochantaere_Fraktur)) &
pdx %not_in_table% (ICD_Delir) &
ageyears>59),
if_else((sdx %in_table% (ICD_Delir)), 2, 1), as.double(NA))) %>%
output_table_cnt('C3_05_F') }

Examples

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