Show translated pathogen names instead of microorganism codes in grouped traditional antibiograms, including for unknown species

This commit is contained in:
dr. M.S. (Matthijs) Berends committed 2026-10-15 10:31:07 +02:00
1 parent 3db586a110
commit b3ecc01657
8 files changed
+22 -17

No files matched your search

+2 -1
View File
@@ -1191,7 +1191,8 @@ antibiogram.grouped_df <- function(x,
antibiogram.default(x,
antimicrobials = antimicrobials,
mo_transform = mo_transform,
# WISCA is pathogen-agnostic and needs the codes, a traditional antibiogram shows the (translated) names as in antibiogram.default()
mo_transform = if (isTRUE(wisca)) NULL else "shortname",
ab_transform = ab_transform,
syndromic_group = ".group",
add_total_n = add_total_n,