Description Usage Arguments Value
View source: R/check_eligible.R
Is_eligible_drug_substitution checks for drugs that are exempt from line advancement when it can be substituted to another, usually similar, drug. Line does not advance if the current regimen and next drug are similar drugs that can be substituted.
1 | is_eligible_drug_substitution(drug_name, regimen, cases_substitutions)
|
drug_name |
a string for drug name |
regimen |
a vector of drugs included in the line treatment regimen |
cases_substitution |
list of special cases for that are eligible for substitution The list has two columns: original, substitue |
a boolean, TRUE or FALSE
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.