Hello all,
We are trying to set-up an easy way for our nurses to copy the patient's name, DOB, and Insurance ID to a website that facilitates referrals. We would like for these fields, in the referral form, to be data displays so that the information can't be modified. Unfortunately, we've found it's impossible to copy and paste information from data display fields, in EMR 9.5, using the conventional Ctrl+C, or right click + copy, because you cannot select the text in a data display field (? thanks GE).
We are trying to figure out a way, using MEL, built-in controls, witchcraft, etc. to interact with the Windows clipboard and have so far been unsuccessful. Does anyone know if this is possible, and if so can you provide a code or form example?
Thanks,
Chris
I just tried copying from a display and it works fine from EMR 9.5 and pasting into Notepad. Maybe it's that you can't paste into the web-site???
When you say "display," what do you mean?
Can you highlight a form field label, copy and paste it into Notepad?
a form's data display field.
I'm on 9.2 and I too am unable to copy a data display field linked to an observation term as well as a patient attribute (patient.labelname). I am however able to copy a data display field linked to a clinical function (medication/problem).
If you have the chart translation of these data display fields appear in the note, you could just copy and paste from the note itself instead of from the form?
I copied this from a data display and pasted here:
Language preferred: Burmese
Interpreter needed: yes
Ability to understand English: poor
Ability to speak English: poor
Ability to read English: very dissatisfied
Learning barriers: none
Preferred learning methods/medium: visual, demonstration/hands on
Printed material language preference: Bosnian
Country of birth: Argentina
Race/Ethnicity: Asian
which are all obs term connected. Had to right-click and copy.
Having the clinical staff copy and paste from the note itself might be a workable solution, but we would like for them to copy the Patient Name, DOB and Insurance ID, from the following form and paste it into fields in the url that gets launched by the action button at the bottom.
I really wanted to use an action button to copy these patient attributes to the Windows clipboard, and skip the highlight, Ctrl+C step, but I haven't been able to come up with a solution.
jj, I think I see what you are talking about, and yes, we are able to copy this info from the patient's registration area, but we are unable to highlight and copy this info when it's in a form's data display.
if you can pass the info as parameters, you could pass the fields as parameters from your action button.
yes, but how do you pass those parameters to the Windows clipboard to be pasted in another application or in this case a url?
what I'm saying is if this command takes parameters something like:
{RUNSHELLOPEN(" https://icc.infinaconnect.com/icc/home /?DOCUMENT.FIELD1&DOCUMENT.FIELD2")}
but this depends on the web-site accepting parameters.
The following code works in Windows 7, I'm not sure if the "| clip" functionality is available in Windows XP or on our 2003 Terminal Server.
fn fnCopyTest()
{
local progName = "cmd.exe"
local argStr = "/c echo " + PATIENT.LABELNAME + " | clip"
RUNTEXTPROCESS(progname, argStr)
}
The function copies the patient attribute LABELNAME to the OS clipboard.
but how are you planning on splitting the clipboard contents when you want to paste it in the web-site?
That's a good question, but one that the company who's referral system we are using will need to answer…especially if they expect our staff to continue to use their services
It is, currently, a very tedious process. Our staff must first record the referral in the EMR, using the form I attached earlier, followed by, filling in the patient's first and last name, their date of birth, and their primary insurance ID into the referral website. I'm just trying to save them a few clicks where I can.
I ended up creating 2 referral forms in this exercise. I know they are specific to our practice, but this is a great community, and I thought I would share in the hopes of getting some constructive feedback on form design
1. This will be our initial offering to the nurses, while we wait for the referral services company to come up with some way to parse multiple data points in a single copy and paste.
2. In this version of the form, I've rolled the copying of data and the launch of the referral services website into a single button click for the nurses. I'm hoping the referral services company can parse 4 comma separated data elements, easily, and the nurses can move to using this version of the form soon.
Thanks for your help and feedback lmarak and jjordet.
-Chris