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

C2_02_P(x)

Arguments

x

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

Alias

13_21

Kapitel

C2-Mangelernährung bei Älteren

Gruppe

C-Altersmedizin

Typ

Anteil

Spezifikation

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

Examples

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