With the function mdro(), you can determine multi-drug resistant organisms (MDRO). It currently support these guidelines:

  • “Intrinsic Resistance and Exceptional Phenotypes Tables”, by EUCAST (European Committee on Antimicrobial Susceptibility Testing)
  • “Companion handbook to the WHO guidelines for the programmatic management of drug-resistant tuberculosis”, by WHO (World Health Organization)
  • “WIP-Richtlijn Bijzonder Resistente Micro-organismen (BRMO)”, by RIVM (Rijksinstituut voor de Volksgezondheid, the Netherlands National Institute for Public Health and the Environment)

As an example, I will make a data set to determine multi-drug resistant TB:

Because all column names are automatically verified for valid drug names or codes, this would have worked exactly the same:

The data set looks like this now:

We can now add the interpretation of MDR-TB to our data set:

And review the result with a frequency table:

freq(my_TB_data$mdr)

Frequency table of mdr from my_TB_data (5,000 x 8)

Class: factor > ordered (numeric)
Length: 5,000 (of which NA: 0 = 0.00%)
Levels: 5: Negative < Mono-resistance < Poly-resistance < Multidrug resistance…
Unique: 5

Item Count Percent Cum. Count Cum. Percent
1 Mono-resistance 3,249 65.0% 3,249 65.0%
2 Negative 670 13.4% 3,919 78.4%
3 Multidrug resistance 604 12.1% 4,523 90.5%
4 Poly-resistance 289 5.8% 4,812 96.2%
5 Extensive drug resistance 188 3.8% 5,000 100.0%