Multiple visit schedules and cycle visit functions
Control data collection on multiple visit schedules and cycles visits.
- getCurrentBranch( )
Get the ID of the current branch. - isSubjectOnBranch( )
Check if a subject has started any visit in a specific branch. - getCurrentTreatmentArm( )
Retrieve the treatment arm short name that the current subject is on. - getQuestionValue( )
Return a single question value for provided item path. The item path should be a whole path and should contain values for visitId, formId, and itemId. This function fetches values from questions on both repeating and flat forms. - getDataElementsArray( )
Return an array of data element arrays that contain data collection information about all existing instances for each variable. - getCurrentCycle( )
Retrieve the current cycle instance number. - getCycleCount( )
Get the current cycle instance number per subject within the input branch of the current subject. For example, you can get the count of existing cycles. - getCompletedCycle( )
Retrieve the number of cycles that were completed by a subject.
Parent topic: Rules helper function reference