Hi All,
I would like to create a form that will enter Referrals instead of getting entered by "Orders Form" hard coded in the application by GE. Referrals are entered as a order in order table in database. but I want to do similar action using Forms and Obs Term instead.
Can you please help? It's important for me to find work around.
Regards,
Vishal Rami
OH BOY - I want to do the same thing!
In my case, a Radiology Request...
There is a function that adds orders for you: MEL_ADD_ORDER().
However, per the help topic on this function, it cannot add orders of type 'Referral.'
If you have a custom list called "Radiology Request" or something like that contains your referrals, you can have a button in your form linked to Runprocess with:
{NEWORDER("Radiology Request")}
Clicking this button will open the orders module to the "Radiology Request" custom list. To my knowledge, MEL_ADD_ORDER() and NEWORDER() are the only ways to add an order within a form.