new antibiotics

This commit is contained in:
dr. M.S. (Matthijs) Berends committed 2019-05-10 16:44:59 +02:00
1 parent 73f1ee1159
commit 68cc7ef0d0
147 files changed
+6228 -4187

No files matched your search

+5 -5
View File
@@ -24,15 +24,15 @@ context("guess_ab_col.R")
test_that("guess_ab_col works", {
expect_equal(guess_ab_col(septic_patients, "amox"),
"amox")
"AMX")
expect_equal(guess_ab_col(septic_patients, "amoxicillin"),
"amox")
"AMX")
expect_equal(guess_ab_col(septic_patients, "J01AA07"),
"tetr")
"TCY")
expect_equal(guess_ab_col(septic_patients, "tetracycline"),
"tetr")
"TCY")
expect_equal(guess_ab_col(septic_patients, "TETR"),
"tetr")
"TCY")
df <- data.frame(AMP_ND10 = "R",
AMC_ED20 = "S")