This is probably an easy one but just cant come up with it today. Looking to make it so I can have a button press populate a multi-line box with text from a already filled in multi-line. Basically copy one box to populate another box.
{document.multiline2 = document.multiline1}
How would I put that into a button?
Choose the RUNPROCESS option from the connection type dropdown, and then type in what I posted above, replace "multiline2" with your destination mulitline variables name, and "multiline1" with the source variable name.
No go. Set button to RUNPROCESS and entered
{document.PT HP #1 = document.PT EX #1}
Nothing happens and if I do
{document."PT HP #1" = document."PT EX #1"}
I get mel vomit.
Thank you for your help so far!!
Document variables are not allowed to have spaces, do you have your edit fields set to observation terms? If so do this -
{OBSNOW("PT HP #1",OBSNOW("PT EX #1"))}
document variables and global variables you can set equal to each other as shown in the example in previous post, observation terms have to be in this format
OBNOW("observation term here",value you want to put in observation term here)
Thank you that worked perfect. Sorry for the wrong information!!
One last question since you are very helpful, I have all of these boxes set to obs terms that in turn fills a flowsheet. Any idea if it is possible to make a button that would enable me to print the flowsheet right from the form?
Yes it will be a little more difficult to explain though.
First the flowsheet view needs to be built as a handout, you can create any handout, just include this code in the handout
GET_FLOWSHEET_VALUES(Directory and name where your flowsheet view is stored)
You may not like the format, but if you use GE's Clinical Visit Summary you can find an example of a function that reformats the results in a prettier fashion.
To attach this handout to a button, use the same RUNPROCESS connection and include this code
{PRINTHANDOUT(Directory and name where your handout is stored)}
In your directory use forward slashes '\' between folders instead of backslashes and put the whole directory in quotations
Perfect thank you now I just need to figure out how to format it because you are right it is pretty ugly. Shows all dates just need the most recent.
I am failing how would I get the handout to show only the most recent information on the flowsheet and not every date something was entered into the flowsheet. Everything I have tried I just get blank results so obviously missing something!