- This topic has 2 replies, 3 voices, and was last updated 5 years, 10 months ago by .
-
Topic
-
I have a very simple if statement that evaluates a number in a variable. If @variable ge =10
assign “NPI” to OBR-16.13
Else
assign “PROVID” to OBR-16.13
The content of my variable is currently “5”, so it should drop to the else portion and assign “PROVID” to OBR-16.13, however this is not happening. when I run the xlate, OBR-16.13 has “NPI”. I have an echo statement in the code which confirms to me that the value in the variable is 5. If I change the value to 10 0r more, I still get NPI, which in this case I should be getting, but I know the if statement is not evaluating. I have tried deleting the code and typing it all over again, I have closed and opened the xlate, I have close the entire site, I have shut down cloverleaf and re-open, and nothing! Can someone who is more knowledgeable than me help me by telling me why this is happening?
- The forum ‘Cloverleaf’ is closed to new topics and replies.