Accessing note text
Submitted by Guest on Sun, 04/08/2013 - 08:55
I have been asked to provide a mechanism to include the note text from a visit into a form.
The best mechanism I have come up with is:
- click on the selected note to get it to open for editing (or select it and then press Edit)
- Ctrl-A Ctrl-C to copy the note text, then Alt-C to cancel the edit
- then use a patient letter with a fill-in field, and Ctrl-V to paste in the note text
Is there a better way?
It would be neat if you could select the note, and then use Ctrl-C to copy it, but you can't.
Regards, Tim G
Re: Accessing note text
As the table has row selection enabled, you can't highlight the text to copy it.
Javascript can't copy to the system clipboard for security reasons, so Ctrl-C isn't going to do what you want. A common workaround is to simulate a clipboard i.e. intercept Ctrl-C and copy the current content to an internal buffer, and paste on Ctrl-V.
Bit of work to do this for OpenVPMS tho.
-Tim