I have a radio button with four options. One of them labeled "Preventice". When this option is chosen it should place two orders. On the white board I have this written:
if DOCUMENT.MONITOR == "Preventice" then
MEL_ADD_ORDER("S", "Procedures, Cardiology", "Patient demand event\recording", "", "", "", "", "", "", "", "")
MEL_ADD_ORDER("S", "Procedures, Cardiology", "Patient demand event\physician review", "", "", "", "", "", "", "", "")
else
endif
However, only the Patient demand event\recording is populating, not the second one.
Have you confirmed that there are not spelling errors in your second MEL_ADD_ORDER command?
VFE order box I pulled the straight from the orders box within VFE
You can wrap each one in a userok() function which will return the result code. If it is anything other than 0, there is a problem and consult the help for what the result code means.