Kolorektale Resektionen bei Divertikel mit Abszess/Perforation, Mortalität

E4_06_M(x)

Arguments

x

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

Alias

21_322

Kapitel

E4-Erkrankungen von Dickdarm und Enddarm

Gruppe

E-Erkrankungen der Bauchorgane

Typ

Mortalität

Spezifikation

E4_06_M <- function(x){ x %>%
mutate( i = if_else((pdx %in_range% c('K5722','K5793') &
(F_komplexe_Diagnose |
pdx %in_table% (ICD_Divertikulitis_mit_Perfo)) &
ddx %not_in_table% (ICD_Kolonkarzinom) &
srg %in_table% (CHOP_Kolonresektion_erweitert_total %+%
CHOP_Kolonresektion_partiell %+%
CHOP_Rektumresektion)),
if_else((F_Tot), 2, 1), as.double(NA))) %>%
output_table_perc('E4_06_M') }

Examples

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