I am building a form for providers to click a button to place their orders. The buttons are working fine, but I would also like them to push to an observation term. Is there any way to connect each order button to an observation term? If not, then is there a way to get the whole form tied to one individual observation term? I'm trying to create it with a minimal amount of clicks.
Thanks
Sure.
In the connection type for the button don't use neworder. Use 'runprocess'. Then inside of a set of {} you can list multiple commands. In your case you want to use MEL_ADD_ORDER() for the order and OBSNOW() for the obs term.
For example:
{
MEL_ADD_ORDER("S", "Admin Hold Services to Billing", "Tdap >7 yrs (Adacel) ", "", "ICD10-Z23", "Encounter for immunization", "", "", "N", "", "")
OBSNOW("TDAPSTATUS","DONE")
}
Brad
Fantastic! Works perfectly. Thanks so much for your help!
Alternatively, if you wanted the entire contents of the form to push to an observation term, you can set the actual form property to output to a variable instead of the chart note. Then you can push the contents of the entire variable into an observation term. It's a very useful functionality within VFE. Keep in mind the 3000 character limit that the observation term has.