I have a button in a form that currently calls a custom list. The providers then select an item that adds a referral in the orders module. They have requested adding a default diagnosis to this referral. Has anyone done this? I know that I can't use MEL_ADD_ORDER() instead of calling the custom list from the button -- which would be the simplest thing to do. Does anyone have any other thoughts?
Thanks,
Brad
You could have them pick the order before launching the orders module. Add a dropdown containing the contents of the custom list with ORDER_CUST_LIST(), then in your button use MEL_ADD_ORDER() to add the order selected in the dropdown with the default diagnosis and then also call NEW_ORDER() to open the orders module so the provider can make changes.