I have created a new diabetic goals form and was wondering if there is any way to add an action button that will print the form so the patient can keep a copy. Thank you
Each form has a printable version, you can go to the patients chart, click print, go to the form components folder, and print that, but it will be "Blank"
If I'm understanding correctly though you want to fill out the form and print the text translation? Im sure it can be done. GET_FORM_TRANS() will give you the text translation in an update, you would need to save that somewhere, probably either a temporary text file with FILEWRITE or if its under 2000 characters directly into an obs term. If you do the obsterm route you just need a handout with the obsterm in it, if you do the text file you would need to write another function to read it and then probably delete it right after. The only things that can be printed directly from a form with built in functions are a handout and an Rx.
Easiest way to do it is map your fields in the handout to an observation term, then build a handout accordingly. Here's a brief sample of one of our handouts:
Allergy To: {LASTOBSVALUE("CPSPCALCRICH")}
Asthmatic: {LASTOBSVALUE("CPSPCHEMFOOD")}
Other health problems besides anaphylaxis: {LASTOBSVALUE("CPSPCOOKSTOR")}
Concurrent Medications, if any: {LASTOBSVALUE("CPSPFOODSAFE")}
In your case, you'd want to replace LASTOBSVALUE with OBSNOW, you can then add an action button with a connection type of RUNPROCESS and link it up. An example of this in our practice is this: PRINTHANDOUT("HandoutsGRAAnaphylaxis Action Plan") That will print it immediately to the default printer.
Yes, you can add a button (RUN PROCESS).
This is what I use: PRINTHANDOUT("Handouts\ICHC Forms and Handouts\Knee Pain")
Basically, you put your Handout path in the last two fields above.
If you're using it for tracking for MU or PCMH, you can add a obs term so when it's printed, it will count towards your education piece.
use GET_FORM_TRANS() to save the text translation to a global variable, then print a handout that just prints the global variable.