Can the comments section in the MEL_ADD_ORDER function be a variable? I want to create a button to submit an order but the comments for the order would need to change depending on the situation.
Thanks for you help
sure
How would you go about it?? I am not that advanced with MEL sorry
Thanks
Gail Ruhlin R.T.(R)
Radiology Coordinator / EMR Specialist
Advanced Orthopaedic Centers
7858 Shrader Rd.
(804) 270-1305 ext. 6398
description Adds a new test or service order to the patient’s list of orders. Note. MEL_ADD_ORDER cannot add referrals. syntax MEL_ADD_ORDER(TYPE,CATEGORY,DESCRIPTION, MODIFIER,DIAGNOSIS CODE(S),DIAGNOSIS CODE DESCRIPTION(S),COMMENT,UNITS, PRIORITY,AUTHORIZING PROVIDER, ORDERDATE) arguments
when to evaluate This function does not support the ability to evaluate continuously. returns This function adds the specified order to the patient’s chart. error handling If you’ve used this function in an encounter form, the error code is not returned to the text translation. It is captured in MEL and can be used in conjunction with USEROK or USERYESNO to pop up an alert to the user, indicating that there is a problem with their data entry. To determine what type of error occurred, use the following error codes: -1 : Invalid Order Type -2 : Invalid order category -3 : Invalid Description -4 : Order obsolete -5 : Invalid Diagnosis Code -6 : Comments field too long -7 : Invalid Priority -8 : Invalid or obsolete authorizing provider -9 : Invalid order date -10: Invalid Modifier -11: Additional information is required for this order -12: Unequal number of diagnosis codes and diagnosis code descriptions -13: Invalid quantity or units comments You may use a diagnosis that does not appear on the patient’s problem list. It will be added to the order, but will not appear on the patient’s problems list. example {MEL_ADD_ORDER("S","Cardiology Fee Ticket","Dual Chamber Electronic Analysis with reprogramming","26","ICD-410.9|ICD-401.1","ACUTE MI|HYPERTENSION","Include interpretation","1","S","Sam Mitchell MD","08/22/2003")} Adds the specified service order to the patient’s order list, with two diagnosis, a modifier, comment, one unit of service, a priority of Stat, Sam Mitchell as the authorizing provider, and an order date of August 22, 2003
Change the part in red to DOCUMENT.ORDER_COMMENTS, the name of the field on your form, no quotes. |
Thanks, that was what I was thinking just wanted confirmation.