Define a concentration object to be passed to the Rx Studio API

concentration(datetime, concentration)

Arguments

datetime

date and time of the administered dose

concentration

Concentration (number)

Value

list

Examples

concentration(Sys.time(), 10)
#> $DATETIME
#> [1] "2021-11-26 10:34:10 UTC"
#> 
#> $CONCENTRATION
#> [1] 10
#> 
#> $set
#> [1] "HISTCONCENTRATION"
#>