Checks if a given organism name matches any known contaminant for a specific syndrome or specimen type using flexible pattern matching.
Examples
# Check if organism is a blood culture contaminant
is_contaminant("Staph epidermidis", syndrome = "Bloodstream infections")
#> [1] TRUE
is_contaminant("E. coli", syndrome = "Bloodstream infections")
#> [1] FALSE
# Check multiple organisms
is_contaminant(c("Staph", "Klebsiella"), specimen_type = "Blood culture")
#> [1] FALSE FALSE