(v.1.5.0.9000) implementation of EUCAST rules v11 (2021)

This commit is contained in:
dr. M.S. (Matthijs) Berends committed 2021-01-12 22:08:04 +01:00
1 parent 3b84b8be75
commit d014955ce0
93 files changed
+3631 -374

No files matched your search

+6
View File
@@ -160,6 +160,12 @@ as.ab <- function(x, flag_multiple_results = TRUE, info = TRUE, ...) {
from_text <- character(0)
}
# old code for phenoxymethylpenicillin (Peni V)
if (x[i] == "PNV") {
x_new[i] <- "PHN"
next
}
# exact name
found <- antibiotics[which(AB_lookup$generalised_name == x[i]), ]$ab
if (length(found) > 0) {