Hi All,
We have a MAT program and our providers have their DEA-X number in the DATA2000 id field in admin --> chart access.
Has anyone figured out a way to get that field to populate on their e-prescriptions so providers dont have to type it out each time? It populate when printed.
Thanks,
Emily
Bump
Same issue here
Take a look at the prescription file for your state. In the /crwrpts folder you will find a bunch of files PRESC??.RPT - where ?? notes the state the prescription prints. The file will probably have a Formula Field near the top called - auth_Data2000 and defined similar to below.
This is supposed to print the X value when populated for prescriber and when the rules are met. Unfortunately the rule is not very good as it looks only for a couple of the Suboxone names. In reality, and from speaking to one of our pharmacists, there are many variants that need the X-license. Rather than changing the code to include all the current names, we are planning to adjust the code to print the X-license (when set) anytime a class 2-3-4-5 medication is listed. The class can be determined by MEDINFO.CLASSCODE field. By the way, Suboxone is in the class 3 group, so you could simply code for that class code only, or by GPI startswith "65200010" maybe with a few more digits.
I assume similar logic in other state report files.
Now editing this for a local pc only fixes for local pc - you must copy to all the user folders and/or the Citrix locations.
And surprised that GE has not fixed/updated the prescription file definitions yet.
// Data2000 used only for specific meds
StringVar sResult := "";
if (InStr({MEDICATE.DESCRIPTION},"Subutex",1) > 0
or InStr({MEDICATE.DESCRIPTION},"Suboxone",1) > 0)
and not IsNull({USRINFO.DATA2000})
and Len({USRINFO.DATA2000}) > 0
then (
// derive Data2000 ID from DEA only if it has been
// usurped for a State Controlled Substance ID
// The state ID should be in the form label:value
if InStr({USRINFO.DATA2000},":") = 0
then sResult := " DATA2000:" & {USRINFO.DATA2000}
else (
if not IsNull({USRINFO.DEANUMBER}) and Len({USRINFO.DEANUMBER}) > 0
then sResult := " DATA2000:X" & Mid({USRINFO.DEANUMBER},2);
);
) else (
sResult := "";
);
sResult;
Thanks for the info about printed scripts but we need the X-DEA/DATA2000 number to send over on e-scripts(EPCS).
Yes exactly what rfisher posted. We actually already have this logic in our crystal report and does seem to work for our hard copy prescriptions, but the logic doesnt relay over to EPCS.
Emily
I'm seeing this way after the fact, but still thought it might be helpful to tell you that at our organization - we ended up having providers put their XDEA number in parenthesis within the sig of the prescription. This way it sticks for all future prescriptions. Our pharmacist told us that anything that comes in parentheses after instructions within the sig is not printed on the bottle given to the patient. I'm not sure if that is just true for our pharmacies or universally, but it's been working great. I don't have to re-type the X waiver number on all my suboxone refills.