DP frattura pertrocanterica con trattamento endoprotesico (età >19), mortalità

I3_15_M(x)

Arguments

x

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

Alias

46_20

Capitolo

I3-Fratture metafisarie dell'anca

Gruppo

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

Tipo

mortalità

Specificazione

I3_15_M <- function(x){ x %>%
mutate( i = if_else((pdx %in_table% (ICD_Pertrochantaere_Fraktur) &
ddx %not_in_table% (ICD_Hueftfraktur_Aus) &
ddx %not_in_table% (ICD_TUMOR) &
srg %not_in_range% c('81A111') &
srg %not_in_table% (CHOP_TEPABST) &
srg %not_in_table% (CHOP_Huefte_Knie_Sonderprothese) &
srg %in_table% (CHOP_Pertroch_Frak_EndoproOP) &
ageyears>19),
if_else((F_Tot), 2, 1), as.double(NA))) %>%
output_table_perc('I3_15_M') }

Examples

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