Hi
I have an action button that is set to RUNPROCESS to open a website. I also want it to produce a data display when the button is clicked. I know it's possible to have an action button do multiple things with MEL, but I can't figure out how to do this was a RUNPROCESS.
Thanks
Laurie
Use Run Process. For example,
{ userok("button clicked") }
or more typically
{ functioncall() }
Is your data display tied to an obsterm?
Hi Laurie,
I often have a button for a 'RUNPROCESS' defined like:
{PRINTHANDOUT("Handouts\NEMC\GM Internal medicine\GM Patient Education\Seasonal Allergies")}
{OBSNOW("COUNHLTHBHVR","Printed handout: Seasonal Allergies")}
Printing a handout, and also populating an OBS term indicating that the handout was given to the patient.
For your question, after doing these two steps (that 2nd step may be to a document variable), you will need another place with the data display AND have that tied to a visibility region checking to see if the OBS was just set or if the local document variable was just set.
Does that make sense?
Joe
acardenas
Yes I tied the data display to an OBS term. I really only need to produce the text “NHPDM Assessed by (Provider Name) .... August 4, 2015 8:18 AM”. in the note when the Provider clicks the action button that opens the website.
Thanks
Laurie