Vérifie la spécification par rapport à chaque rencontre dans un tibble et ajoute une colonne logique avec le résultat.

F_28_18_Aus(x)

Arguments

x

un tibble (voir le format de la valeur de retour de read.bfs)

Value

vrai ou faux

Spécification

F_28_18_Aus <- function(x){ x %>%
mutate(F_28_18_Aus =
!(srg %in_table% (CHOP_Becken_Bein_OP) &
((srg %in_table% (CHOP_Amput_Bein %+%
CHOP_Amput_Fuss) &
F_Aorta_exclusion) |
(ddx %not_in_table% (ICD_Claudicatio %+%
ICD_Dissektion %+%
ICD_Embolie %+%
ICD_Ruheschmerz %+%
ICD_Ulzeration %+%
ICD_Prothesen_Implantate) &
F_Aorta_exclusion) |
(ddx %in_table% (ICD_Claudicatio %+%
ICD_Dissektion %+%
ICD_Embolie %+%
ICD_Ruheschmerz %+%
ICD_Ulzeration %+%
ICD_Prothesen_Implantate) &
srg %in_table% (CHOP_Organ_Tx_alle)) |
(srg %in_table% (CHOP_Organ_Tx_alle) &
F_Aorta_inclusion))) ) }

Examples

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