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