I3_19_F.Rd
DP fracture métaphysaire de la hanche avec traitement conservateur (âge >19), admissions directes
I3_19_F(x)
un tibble
(voir le format de la valeur de retour de read.bfs)
46_30_N
I3-Fractures métaphysaires de la hanche
I-Maladies des os, des articulations et du tissu conjonctif
nombre de cas
I3_19_F <- 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_cnt('I3_19_F') }
if (FALSE) read.bfs(path2file) %>% iqi.functions() %>% I3_19_F() # \dontrun{}