Summary

This article defines the instruction fi.

Table of Contents


Instruction fi

Overview

Performs an if-then-if-then-else processing according to the if, then and else settings that have been provided before. You can provide as many if and then pairs as you want plus one else value. The “fi” processing will iterate over all if conditions. For the first condition that evaluates to true, the corresponding then value is returned. When no if condition evaluates to true, then the else value is returned.

Question Id

Unused.

Value

Unused.

Input value

Unused.

Example

Question IdInstructionValue
dsterm
$>dsdecod
$>
$>
$>
$>
$>
$>
$>
$>
$>
setVar
$>paramListLookup
$>setVar
$>if
$>then
$>if
$>then
$>if
$>thenVar
$>elseVar
$>fi
term
$>dsdecodEx
$>decodValue
$>dsendtc == ’1′
$>COMPLETE
$>dsdecod == 1
$>BP LIMITS AS DEFINED IN SECTION 4.1
$>dsdecod == 7 OR dsdecod == 88
$>term
$>decodValue
$>
Form Type IdQuestion IdInstructionValueColumn NumberColumn TitleData Type
raceoth
$>
$>race
$>
$>
$>
$>
$>
uppercase
$>setVar
$>paramListLookup
$>setVar
$>if
$>thenVar
$>elseVar
$>fi
$>raceOther
$>raceSDTM
$>raceVar
$>race == 5
$>raceOther
$>raceVar
$>
9RACEString



Need more help?

Please visit the Fountayn Contact Information page.