Summary

This article defines the instruction macro.

Table of Contents


Instruction macro

Overview

Executes a named macro. A macro needs to be defined with parameter and/or properties. For each macro three param/prop values can be specified:

  • macro-<macroName>-Instruction – The instruction(s) for the macro.
  • macro-<macroName>-Question Id – The question Id(s) ion for the macro.
  • macro-<macroName>-Value – The value(s) for the macro.

Question Id

Unused.

Value

Required. Name of the macro to execute.

Input value

The previous input value is forwarded to the first instruction of the macro.

Examples

Macro usage:

Question IdInstructionValue
 macroUSUBJID

Macro configuration:

Param NameParam Value
macro-USUBJID-Question Id#screening.csnt.subjid
$>
$>#screening.csnt.subjid
$>
macro-USUBJID-Instructionchar
$>setVar
$>char
$>setVar
$>macro
$>appendConst
$>appendVar
macro-USUBJID-Valuebegin,0,4
$>siteID
$>end,4
$>recID
$>STUDYID
$>-
$>siteID,recID
Form Type IdQuestion IdInstructionValueColumn NumberColumn TitleData Type
ae,AEmacroSTUDYID0STUDYID



Need more help?

Please visit the Fountayn Contact Information page.