F_Knie_TEP_Wechsel_Frakt_Infekt_ein.Rd
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_Frakt_Infekt_ein(x)
un tibble
(voir le format de la valeur de retour de read.bfs)
vrai ou faux
F_Knie_TEP_Wechsel_Frakt_Infekt_ein <- function(x){ x %>%
mutate(F_Knie_TEP_Wechsel_Frakt_Infekt_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 %in_table% (ICD_Knie_Frak_Inf) |
pdx %in_table% (ICD_Sepsis) &
sdx %in_table% (ICD_Knie_Frak_Inf))) ) }
if (FALSE) read.bfs(path2file) %>% F_Knie_TEP_Wechsel_Frakt_Infekt_ein() # \dontrun{}