DP fracture métaphysaire de la hanche avec traitement conservateur (âge >19), transféré d'un autre hôpital, mortalité

I3_20_M(x)

Arguments

x

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

Alias

46_31

Chapitre

I3-Fractures métaphysaires de la hanche

Groupe

I-Maladies des os, des articulations et du tissu conjonctif

Type

mortalité

Spécification

I3_20_M <- function(x){ x %>%
mutate( i = if_else(( (pdx %in_table% (ICD_Schenkelhalsnahe_Frakturen) |
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 %not_in_table% (CHOP_SHF_EndoproOP) &
srg %not_in_table% (CHOP_SHF_OsteoOP) &
srg %not_in_table% (CHOP_Pertroch_Frak_EndoproOP) &
srg %not_in_table% (CHOP_Pertroch_Frak_OsteoOP) &
ageyears>19 &
lba=='6'),
if_else((F_Tot), 2, 1), as.double(NA))) %>%
output_table_perc('I3_20_M') }

Examples

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