Sostituzione dell'endoprotesi dell'anca senza DP fratture o infezioni con protesi speciale, mortalità

I1_13_M(x)

Arguments

x

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

Alias

42_11

Capitolo

I1-Articolazione artificiale, endoprotesi

Gruppo

I-Malattie delle ossa, delle articolazioni e del tessuto connettivo

Tipo

mortalità

Specificazione

I1_13_M <- function(x){ x %>%
mutate( i = if_else((F_Hueft_Knie_Kombi_aus &
F_Hueft_Knie_Tumor_aus &
F_Hueft_TEP_Erstimpl_elektiv_aus &
F_Hueft_TEP_Fraktur_aus &
F_Hueft_TEP_andere_aus &
(srg %in_table% (CHOP_Hueft_TEP_Wechsel) |
(srg %in_table% (CHOP_Huefte_Implantation) &
srg %in_table% (CHOP_TEPABST))) &
pdx %not_in_table% (ICD_Hueft_Frak_Inf) &
F_Hueft_Frak_Inf_bei_HD_Sepsis_aus &
srg %in_table% (CHOP_Huefte_Knie_Sonderprothese)),
if_else((F_Tot), 2, 1), as.double(NA))) %>%
output_table_perc('I1_13_M') }

Examples

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