Konservative Versorgung mit Transfusion von >4 EK oder TK und IPS (ohne Polytrauma, oder Hämato-Onkologische Diagnose), Mortalität

J3_06_M(x)

Arguments

x

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

Alias

58_321

Kapitel

J3-Komplexe Konstellationen

Gruppe

J-Komplexe, heterogene Krankheitsbilder (Tracer für Peer Review)

Typ

Mortalität

Spezifikation

J3_06_M <- function(x){ x %>%
mutate( i = if_else((srg %not_in_table% (CHOP_Operationen_Ausschluss) &
srg %in_table% (CHOP_Massentransfusion_EK_TK) &
F_ICU &
ddx %not_in_table% (ICD_Haematoonkologie) &
ddx %not_in_table% (ICD_Gerinnungsstoerung_ZE) &
F_Polytrauma_exclusion),
if_else((F_Tot), 2, 1), as.double(NA))) %>%
output_table_perc('J3_06_M') }

Examples

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