is_eligible_drug_substitution: Is eligible drug substitution

Description Usage Arguments Value

View source: R/check_eligible.R

Description

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.

Usage

1
is_eligible_drug_substitution(drug_name, regimen, cases_substitutions)

Arguments

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

Value

a boolean, TRUE or FALSE


sutsabs/rwLoT documentation built on Feb. 11, 2022, 12:20 a.m.