OP isolée des carotides en cas d'OP des vaisseaux coronaires, sans DP infarctus du myocarde (âge >19), pourcentage

A7_22_P(x)

Arguments

x

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

Alias

07_82

Chapitre

A7-Opérations du cœur

Groupe

A-Maladies cardiaques

Type

pourcentage

Spécification

A7_22_P <- function(x){ x %>%
mutate( i = if_else((srg %in_table% (CHOP_Coronar_OP) &
ageyears>19 &
srg %not_in_table% (CHOP_Herzklappen) &
srg %not_in_table% (CHOP_Aorta_abdom_evar %+%
CHOP_Aorta_abdom_offen %+%
CHOP_Aorta_thorak_evar %+%
CHOP_Aorta_thorak_offen) &
pdx %not_in_table% (ICD_Herzinfarkt) &
srg %not_in_table% (CHOP_Ausschluss_Aortenklappe_Koronar)),
if_else((ddx %not_in_table% (ICD_HNO_Tumor) &
srg %not_in_table% (CHOP_Aorta_abdom_evar %+%
CHOP_Aorta_abdom_offen %+%
CHOP_Aorta_thorak_evar %+%
CHOP_Aorta_thorak_offen) &
srg %in_table% (CHOP_Carotis_OP %+%
CHOP_Stent_Carotis)), 2, 1), as.double(NA))) %>%
output_table_perc('A7_22_P') }

Examples

if (FALSE)  read.bfs(path2file) %>% iqi.functions() %>% A7_22_P()  # \dontrun{}