F_Hueft_TEP_andere_aus.RdPrüft die Spezifikation gegen jeden Fall in einem tibble und fügt eine logische Spalte mit dem Ergebniss hinzu.
F_Hueft_TEP_andere_aus(x)ein tibble (siehe Format des Rückgabewertes von read.bfs)
wahr oder falsch
F_Hueft_TEP_andere_aus <- function(x){ x %>%
mutate(F_Hueft_TEP_andere_aus =
!(F_Hueft_TEP_Erstimpl_elektiv_aus &
F_Hueft_TEP_Fraktur_aus &
F_Hueft_Knie_Tumor_aus &
F_Hueft_Knie_Kombi_aus &
srg %in_table% (CHOP_Huefte_Implantation) &
srg %not_in_table% (CHOP_TEPABST)) ) }
if (FALSE) read.bfs(path2file) %>% F_Hueft_TEP_andere_aus() # \dontrun{}