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

F_Spondylodesen_oder_WK_Ersatz_bei_Trauma_Ausschluss(x)

Arguments

x

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

Value

wahr oder falsch

Spezifikation

F_Spondylodesen_oder_WK_Ersatz_bei_Trauma_Ausschluss <- function(x){ x %>%
mutate(F_Spondylodesen_oder_WK_Ersatz_bei_Trauma_Ausschluss =
!( (srg %in_table% (CHOP_Spondylodesen_WKErsatz_1_Segment %+%
CHOP_Spondylodesen_WKErsatz_2_Segment %+%
CHOP_Spondylodesen_WKErsatz_3_Segment %+%
CHOP_komplexe_WS_Rekonstruktion) |
srg %in_table% (CHOP_WS_Sonderfaelle_TU_Trauma)) &
F_Spondylodesen_oder_WK_Ersatz_bei_Tumor_Ausschluss &
(ddx %in_table% (ICD_Trauma) |
ddx %in_range% c('M8000','M8099'))) ) }

Examples

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