getCurrentTreatmentArm( )

Retrieve the treatment arm short name that the current subject is on.

Syntax

getCurrentTreatmentArm()

Parameters

None.

Return value

  • String value that indicates the current treatment arm short name for the subject.
  • Empty string, if the subject hasn't been randomized and the treatment arm for them does not exist.

Examples

Example 3-95 Fetch the current treatment arm of the subject and return a value

if (getCurrentTreatmentArm()==="Placebo") {
    return "On Placebo" ;
} else {
    return "Not on Placebo" ;
}