D2_06_P.RdDP BPCO senza tumore con VEMS1 NAS (età >19), percentuale
D2_06_P(x)un tibble (vedi il formato del valore di ritorno di read.bfs)
15_16
D2-Bronco pneumopatia cronica ostruttiva (BPCO)
D-Malattie polmonari
percentuale
D2_06_P <- function(x){ x %>%
mutate( i = if_else((pdx %in_table% (ICD_COPD) &
ddx %not_in_table% (ICD_TUMOR) &
ageyears>19),
if_else((pdx %in_table% (ICD_COPD_nnbez)), 2, 1), as.double(NA))) %>%
output_table_perc('D2_06_P') }
if (FALSE) read.bfs(path2file) %>% iqi.functions() %>% D2_06_P() # \dontrun{}