Good Afternoon...
I'm attempting to have specific verbiage printed in the chart using a case statement.
i.e. " case tst == "Yes" (then) "Dose: 62.5 mg elemental iron per vial <= 40 kg maximum dose = 62.5 mg."
Can anyone assist me in doing so? I'm not sure if I'm needing to create a function or will I simply be able to do this in a cond/case statement. I understand using cond/case on the back end. Just not sure how to do so for the chart output.
Thanks!
If you are using VFE, you can put your cond statement in the Translation part of your field in the Chart Note box. Assuming tst is defined and assigned a value:
{cond
case tst == "Yes"
"Dose: 62.5 mg elemental iron per vial <= 40 kg maximum dose = 62.5 mg."
case tst == "No"
"Print out for no?"
else
""
endcond}
Thanks Mike!