Prüft die Spezifikation gegen jeden Fall in einem tibble und fügt eine logische Spalte mit dem Ergebniss hinzu.

F_Hueft_Knie_Kombi_aus(x)

Arguments

x

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

Value

wahr oder falsch

Spezifikation

F_Hueft_Knie_Kombi_aus <- function(x){ x %>%
mutate(F_Hueft_Knie_Kombi_aus =
!( (srg %in_table% (CHOP_Huefte_Implantation %+%
CHOP_Hueft_TEP_Wechsel)) &
(srg %in_table% (CHOP_Knie_Implantation %+%
CHOP_Knie_TEP_Wechsel)) &
ddx %not_in_table% (ICD_TUMOR) &
srg %not_in_range% c('81A111')) ) }

Examples

if (FALSE)  read.bfs(path2file) %>% F_Hueft_Knie_Kombi_aus()  # \dontrun{}