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 Id | Instruction | Value |
macro | USUBJID |
Macro configuration:
Param Name | Param Value |
macro-USUBJID-Question Id | #screening.csnt.subjid $> $>#screening.csnt.subjid $> |
macro-USUBJID-Instruction | char $>setVar $>char $>setVar $>macro $>appendConst $>appendVar |
macro-USUBJID-Value | begin,0,4 $>siteID $>end,4 $>recID $>STUDYID $>- $>siteID,recID |
Form Type Id | Question Id | Instruction | Value | Column Number | Column Title | Data Type |
---|---|---|---|---|---|---|
ae,AE | macro | STUDYID | 0 | STUDYID |
Need more help?
Please visit the Fountayn Contact Information page.