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

F_Knie_TEP_Wechsel_elektiv_ein(x)

Arguments

x

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

Value

vrai ou faux

Spécification

F_Knie_TEP_Wechsel_elektiv_ein <- function(x){ x %>%
mutate(F_Knie_TEP_Wechsel_elektiv_ein =
(F_Hueft_Knie_Kombi_aus &
F_Hueft_Knie_Tumor_aus &
F_Knie_Erstimplantation_aus &
F_Knie_TEP_andere_aus &
(srg %in_table% (CHOP_Knie_TEP_Wechsel) |
(srg %in_table% (CHOP_Knie_Implantation) &
srg %in_table% (CHOP_TEPABST))) &
pdx %not_in_table% (ICD_Knie_Frak_Inf) &
F_Knie_Frak_Inf_bei_HD_Sepsis_aus) ) }

Examples

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