J1_03N_F.RdDurata di ventilazione prossima ai livelli DRG (neonati esclusi)
J1_03N_F(x)un tibble (vedi il formato del valore di ritorno di read.bfs)
56_14_N
J1-Ventilazione assistita, ARDS e procedure extracorporee
J-Quadri clinici complessi, eterogenei (tracer per revisione tra pari)
numero di casi
J1_03N_F <- function(x){ x %>%
mutate( i = if_else(( ((agedays>27 |
ageyears>0) &
(hmv<96 &
hmv>=72 |
hmv>=96 &
hmv<120 |
hmv<250 &
hmv>=226 |
hmv>=250 &
hmv<274 |
hmv<500 &
hmv>=476 |
hmv>=500 &
hmv<524 |
hmv<1500 &
hmv>=1476 |
hmv>=1500 &
hmv<1524))),
if_else(( ((agedays>27 |
ageyears>0) &
(hmv>=96 &
hmv<120 |
hmv>=250 &
hmv<274 |
hmv>=500 &
hmv<524 |
hmv>=1500 &
hmv<1524))), 2, 1), as.double(NA))) %>%
output_table_cnt('J1_03N_F') }
if (FALSE) read.bfs(path2file) %>% iqi.functions() %>% J1_03N_F() # \dontrun{}