A2_07_P.RdAnteil NYHA IV bei HD Rechtsherzinsuffizienz (Alter >19)
A2_07_P(x)ein tibble (siehe Format des Rückgabewertes von read.bfs)
02_16
A2-Herzinsuffizienz
A-Erkrankungen des Herzens
Anteil
A2_07_P <- function(x){ x %>%
mutate( i = if_else((pdx %in_table% (ICD_Rechtsherzinsuffizienz) &
ageyears>19),
if_else((pdx %in_range% c('I5005')), 2, 1), as.double(NA))) %>%
output_table_perc('A2_07_P') }
if (FALSE) read.bfs(path2file) %>% iqi.functions() %>% A2_07_P() # \dontrun{}