Define a dosing regimen object to be passed to the Rx Studio API

regimen(dose, interval = NULL, tinf = NULL, type = c("REGIMEN", "ORALREGIMEN"))

Arguments

dose

Dose Amount (number in mg)

interval

optional Dosing Interval (number in hours)

tinf

optional Infusion Time (number in hours)

type

Regimen type, e.g. REGIMEN or ORALREGIMEN

Value

list

Examples

regimen(2000)
#> $DOSE
#> [1] 2000
#> 
#> $set
#> [1] "REGIMEN"
#> 
regimen(2000, 8, 2)
#> $DOSE
#> [1] 2000
#> 
#> $INTERVAL
#> [1] 8
#> 
#> $TINF
#> [1] 2
#> 
#> $set
#> [1] "REGIMEN"
#> 
regimen(2000, 12, type = 'ORALREGIMEN')
#> $DOSE
#> [1] 2000
#> 
#> $INTERVAL
#> [1] 12
#> 
#> $set
#> [1] "ORALREGIMEN"
#>