Catetere terapeutico dei vasi coronarici senza DP infarto miocardico, OP al cuore o arresto cardiocircolatorio precedente l’ammissione (età >19), ammissioni dirette, percentuale

A3_05_P(x)

Arguments

x

un tibble (vedi il formato del valore di ritorno di read.bfs)

Alias

03_14

Capitolo

A3-Cateterizzazione del cuore

Gruppo

A-Cardiopatie

Tipo

percentuale

Specificazione

A3_05_P <- function(x){ x %>%
mutate( i = if_else((srg %in_table% (CHOP_Herzkatheter) &
ageyears>19 &
pdx %not_in_table% (ICD_Herzinfarkt) &
srg %not_in_table% (CHOP_Herz_OP) &
ddx %not_in_table% (ICD_LHK_HD_ND_Ausschluss) &
pdx %not_in_table% (ICD_LHK_HD_Ausschluss) &
srg %not_in_table% (CHOP_LHK_Ausschluss)),
if_else((srg %in_table% (CHOP_Therap_Katheter)), 2, 1), as.double(NA))) %>%
output_table_perc('A3_05_P') }

Examples

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