I am seeing that the MEL_ADD_ORDER function does not work with referrals. Is there another way to add a button that will allow providers to order a regular Optometry Consult from our diabetes form with a diagnosis of diabetes?
Stacey LaGrange
St. Mary's Health System
[email protected]
There is a function called neworder which takes an order custom list as argument and brings up the order window. I assume that could be a referral list. However, I am trying to have it work automatically upon arrival in a form and no order window comes up.
On a related topic, I notice you have 25 views but no replies. That has been my experience lately on this forum, whereas in the past I always got useful replies to my posts. I'm not sure what is going on, or if there are just a lot more bugs in the product and things that should be working do not.
Thanks, maybe I will check that out too and will let you know if I have luck. I know on a couple other issues I put in lately lots of people responded and I was able to resolve the issue so hopefully it is just that this one is tough. I even e-mailed Dr. Thompson's company for a price to do this and they never replied so maybe it isn't possible?
Actually now that I think about it, I used to answer questions I knew the answer to when it came to me in e-mail but I have to admit I never go on here and read new posts, I forget. I bet it is because of that change too.
There is no MEL function for referrals, but you can build them as tests. I have never tried it, but I know you are allowed to use a seperate crystal report for each test category, so you could modify your test report to look more like a referral report (or maybe just use your referral report). You can also set preferred providers for each test (the fact that you can't pass a provider with MEL_ADD_ORDER() is one if its biggest limitations). So I think it would work okay for common referral codes
neworder seems to work if you attach it to runprocess in a button. I can't get it to come up automatically when running the form though
neworder("Referral: Consults")
this is a custom order list that has referral check boxes
I ended up adding our diabetic eye exam as a test instead of a referral and this is working pretty well except that the provider wants a pop up to appear asking who the eye doctor is and I can't figure out how to do that. Checking the 'additional information required' box just makes the order button I made not work at all. I haven't tried anything with neworder yet though.
At the bottom in the section that says insurance specific information, click New, at the bottom again where it says Approved Service Providers select New, choose a provider, then highlight the provider and select Set Preferred. and then check Default Insurance information for Order Code. Then it should work fine.
That is a good idea for another form I am building soon but with this one there are 10 eye doctors in the area and none are preferred or used any more often than the others so I am not sure how to do this.
Its not a great solution, I would only use it with really common codes. For that to work you would have to build the code 10 times, each time with a different provider. Name them something unique like "Optometry Consult - Dr. A", then on the form, list the code names that you create in a dropdown or radio button, and pass that document variable to MEL_ADD_ORDER().
That's true, if there were only one or two providers it wouldn't be so bad
I built a functionality a while back for referral orders that allows entry of complex referrals. Instead of adding it to the actual orders, it created an HL-7 message that was "reflected" back as a document to the EMR.
The secondary piece of this was a form that managed all of the attributes of the referral. What we were planning to do was create a new document type for referrals and manage these as documents instead of as "orders".
The work on this is more or less complete and I would be glad to give it to anyone seeing as how we are switching to Epic. We've never actually used this functionality however all the testing was done and it actually works.
This is a fairly complicated form and functionality so it would require significant technical talent to implement. I would be glad to e-mail the package around anyone would like to see it.
David Nelsen, MD, MS
Dr. Nelson,
Good luck going to Epic. Thanks for all help and involvement in the Centricity forums over the years.
I'm curious if you also added something to the "orders" section of the EMR.
I've also built a system where you hit a button in a form, which calls an exe, which calls a program, which ends up drafting a custom PDF and entering into the patients chart. I'm curious how you managed the "orders" info in the EMR.
The form creates an HL-7 message then writes it back to the LL/data/in directory. You have to add a task option for documents. Both will require considerable site customization but the general concept is all there.
We created a document type for "referral orders" also created a global folder for all of these to live. It's not an order from the CEMR standpoint, however it contains all the elements of an order. I think that the code is there to require signature if it's originated by a non-doc & auto-sign if it's a doc.