Looking for a QuickText or other tool that a user could use to quickly enter into the chart text the Centricity Order Number (e.g. 422401-1).
Any ideas or suggestions?
ORDERS_NEW, ORDERS_PRIOR and ORDERS_ALL all offer the order number in field 25 of the Delimted view. You would have to throw the results into an array and return field 25 as well as whatever other fields you wanted to see. But you are going to get back the order number for every type of order placed to that point if you use ORDERS_NEW to get the items just done for that visit.
Okay, so how would I do this within a Quicktext, text component or simple form? I only want the order number from the current update that were ordered during the update. In this case, only one order will be placed per update.
Assign this to a quick text
{ local ordersarray ordersarray = getfield(ORDERS_NEW("delimited"),"^") sub(ordersarray,25,1) }
Should return your order number
David Shower
OU Tulsa School of Community Medicine
Perfect! Thank you very, very much!