Add add_custom_antimicrobial_synonyms() (#307) (#311)

Adds add_custom_antimicrobial_synonyms() to add local names, such as trade names, to existing antimicrobials, also via the AMR_custom_ab option. Matching is language-independent; as.ab() now returns NA with a warning for input that is not valid UTF-8.
This commit is contained in:
tori0513 authored and GitHub committed 2026-10-10 09:14:07 +02:00
1 parent 9e05fe184b
commit 3eeabf542a
9 files changed
+623 -17

No files matched your search

+1
View File
@@ -72,6 +72,7 @@ AMR_env$sir_interpretation_history <- data.frame(
AMR_env$custom_ab_codes <- character(0)
AMR_env$custom_ab_synonyms <- data.frame(ab = character(0), synonym = character(0), key = character(0), stringsAsFactors = FALSE)
AMR_env$custom_mo_codes <- character(0)
AMR_env$is_dark_theme <- NULL
AMR_env$supports_colour <- NULL