F_schwere_Komplikationen.Rd
Vérifie la spécification par rapport à chaque rencontre dans un tibble et ajoute une colonne logique avec le résultat.
F_schwere_Komplikationen(x)
un tibble
(voir le format de la valeur de retour de read.bfs)
vrai ou faux
F_schwere_Komplikationen <- function(x){ x %>%
mutate(F_schwere_Komplikationen =
(!F_Tot &
(sdx %in_table% (ICD_schwere_Komplikationen) |
srg %in_table% (CHOP_schwere_Komplikationen) |
(srg %in_table% (CHOP_Transfusionen) &
ddx %not_in_table% (ICD_Gerinnungsstoerung)) |
(hmv>24 &
(agedays>27 |
ageyears>0)))) ) }
if (FALSE) read.bfs(path2file) %>% F_schwere_Komplikationen() # \dontrun{}