Anteil Fälle mit erheblicher Mangelernährung/Kachexie ohne Tumor, Alter >64

C2_01_P(x)

Arguments

x

ein tibble (siehe Format des Rückgabewertes von read.bfs)

Alias

13_2

Kapitel

C2-Mangelernährung bei Älteren

Gruppe

C-Altersmedizin

Typ

Anteil

Spezifikation

C2_01_P <- function(x){ x %>%
mutate( i = if_else((ageyears>=65 &
ddx %not_in_table% (ICD_TUMOR)),
if_else((ddx %in_table% (ICD_Mangelernaehrung)), 2, 1), as.double(NA))) %>%
output_table_perc('C2_01_P') }

Examples

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