ND Delir bei Hüft- oder Kniegelenkendoprothese, Alter >59

C3_03_F(x)

Arguments

x

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

Alias

13_32_Z

Kapitel

C3-Delir

Gruppe

C-Altersmedizin

Typ

Fallzahl

Spezifikation

C3_03_F <- function(x){ x %>%
mutate( i = if_else(( (!F_Hueft_TEP_Erstimpl_elektiv_aus |
!F_Hueft_TEP_Fraktur_aus |
!F_Hueft_TEP_andere_aus |
F_Hueft_TEP_Wechsel_elekt_ein |
F_Hueft_TEP_Wechsel_Frakt_Infekt_ein |
!F_Knie_Erstimplantation_aus |
!F_Knie_TEP_andere_aus |
F_Knie_TEP_Wechsel_elektiv_ein |
F_Knie_TEP_Wechsel_Frakt_Infekt_ein) &
pdx %not_in_table% (ICD_Delir) &
ageyears>59),
if_else((sdx %in_table% (ICD_Delir)), 2, 1), as.double(NA))) %>%
output_table_cnt('C3_03_F') }

Examples

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