Has anyone had luck using the MEL_ADD_ORDER to add more than one order at a time from a button. I keep trying different ways but only the first order shows up in orders and in my translation.
Each order requires a separate call to MEL_ADD_ORDER.
Now you could have multiple MEL_ADD_ORDER in a button.
MEL_ADD_ORDER("S", "Center For Orthopaedics", "Injection/Major Joint/Bursa", "", "", "", "", "2", "", "", "")MEL_ADD_ORDER("S", "Center For Orthopaedics", "Hyalgan,Supartz", "RT", "", "", "", "1", "", "", "")MEL_ADD_ORDER("S", "Center For Orthopaedics", "Hyalgan,Supartz", "LT", "", "", "", "1", "", "", "")
UPDATE_ORDERS
Is what I am currently using. The only one that is is pulling is the major joint injection.
The way I do this is to have separate buttons for each individual order which can be hidden and use a single button as a SETVALUES "superbutton" to click all the other buttons for the individual orders.
I have used buttons, setup as Connection Type=RUNPROCESS, with coding like:
{PRINTHANDOUT("Handouts\NEMC\GM Internal medicine\GM Patient Education\Healthy Weight Gain")}
{OBSNOW("WEIGHT EDUC","Weight Education Handout for low BMI")}
When I save, I do get a VFE warning of 'multiple expression found in a single item' although I have been ignoring this error. I think because each expression is inside its own braces {} but it does execute bother MEL expressions.
I wonder if you separated your MEL_ADD_ORDERS into individual expressions, if that would work for you?