My visibility regions aren't showing up. They are based on radio button values. The MEL I'm using is as follows:
{DOCUMENT.DID_THE_PATI == "Yes"}
This doesn't work. Is there an issue with the chart output?
Thanks!
Make sure the case is correct.
Try either removing the curly brackets or
{if document.did_the_pati == "Yes" then TRUE else FALSE endif}
-James
I don't use brackets...also, I usually only need one equals sign
If you are using obs terms to trigger the visibility region, the following will work (where SCHOOL GRADE is the recorded obsterm and "10th" is the value of the radio button
OBSNOW ("SCHOOL GRADE")=="10th"
Thanks everyone! It appears to be working now... My next dilemma getting the sentence to print in the chart output. The form is asking the user whether or not the patient has a headache for example. Yes or No via radio buttons. If the physician selects Yes, then on the chart note I need "Report to Physician" to be printed. Can I do this with a fx?
I appreciate your help! I'm a little green and having to learn MEL on the fly with no training.
Edit the document variable text translation to {if DOCUMENT.DID_THE_PATI == "Yes" then CFMT(your text and formatting here)" else "" endif}