Has anyone modified this report to include the Meaningful Use Document view into it?
It states that it is supposed to use the Patient Encounter (MU) document view but when I look at the logic behind the crystal report, I find GE did NOT include the document view in the logic so it is not separating out for only the document types that we have in our MU document view.
Has anyone else looked at this and corrected the report?
Thanks,
Also, has anyone figured out a way to not included controlled substances in the report? 99% of our meds that are prescribed are controlled substances.
Thanks,
It was my understanding that controlled substances were automatically excluded from the e-RX count since they can't be sent electronic.
GE talks about permissible prescriptions and that excludes: controlled substances, OTC medications and OTC supplies.
Well I can say for certain that it is not excluding controlled substances. I have run the report and then actually did a manual count of number of prescriptions actually done and they match.
Also I have torn the GE crystal report apart and no where in it does it have exclusions for controlled substances.
The report should check for the existance of a class code in your database for the medication, and exclude based on that. However, I guess those are not are up-to-date and may vary by state, since I noticed many substances are not on the DEA's controlled substances list but still restricted by the state's boards of pharmacy (or rejected by other reasons I don't know).
Do you know where in the crystal report this may be? I have yet to find it and I have been tearing it apart piece by piece for the last two days. Heck the numbers Im getting for the denominator and exclusion are not even correct.
I did find a place for KDC but only where it is excluding manually entered medications that are not coded.
How come you're trying to use the MU document view with this report? I think it needs to look at all eRx prescriptions regardless of the document type it was done in. The other reports use that document view when the measure involves patients being seen.
Anyway, I opened up the eRx report (from the MU reports v1.9 package) and the show SQL query looks like:
SELECT "USRINFO"."PVID", "USRINFO"."SEARCHNAME", "PRESCRIB"."PTID", "PRESCRIB"."RXTYPE", "PRESCRIB"."CLINICALDATE", "PRESCRIB"."CHANGE", "MEDINFO"."CLASSCODE", "MEDINFO"."LEGEND", "LOCREG"."LOCID", "MEDICATE_CHAIN"."DDID", "MEDICATE_CHAIN"."KDC"
FROM ((("TUT"."MEDICATE_CHAIN" "MEDICATE_CHAIN" INNER JOIN "TUT"."PRESCRIB" "PRESCRIB" ON "MEDICATE_CHAIN"."MID"="PRESCRIB"."MID") INNER JOIN "ML"."MEDINFO" "MEDINFO" ON "MEDICATE_CHAIN"."DDID"="MEDINFO"."DDID") INNER JOIN "TUT"."USRINFO" "USRINFO" ON "PRESCRIB"."PVID"="USRINFO"."PVID") INNER JOIN "TUT"."LOCREG" "LOCREG" ON "USRINFO"."HOMELOCATION"="LOCREG"."LOCID"
WHERE NOT ("PRESCRIB"."RXTYPE"='A' OR "PRESCRIB"."RXTYPE"='H' OR "PRESCRIB"."RXTYPE"='R' OR "PRESCRIB"."RXTYPE"='S') AND ("PRESCRIB"."CHANGE"=1 OR "PRESCRIB"."CHANGE"=2) AND "MEDICATE_CHAIN"."DDID" IS NOT NULL AND "MEDICATE_CHAIN"."DDID"<>0 AND "MEDICATE_CHAIN"."KDC" IS NOT NULL AND "MEDICATE_CHAIN"."KDC">0 AND "MEDINFO"."CLASSCODE" IS NULL AND "MEDINFO"."LEGEND"<>'O'
ORDER BY "USRINFO"."SEARCHNAME", "USRINFO"."PVID"
And also record selection formula is:
{?startdate} <= {PRESCRIB.CLINICALDATE} and
{?enddate} >= {PRESCRIB.CLINICALDATE} and
// SPR 46244 - To exclude prescription types of reprint, refax, samples given , and Historical to patient.
not ({PRESCRIB.RXTYPE} in ['S', 'R', 'A', 'H']) and
{PRESCRIB.CHANGE} in [1.0, 2.0] and
//SPR CISDB00047647 - Calculation Error:04-eRx denominator includes prescriptions for non-drug medications.
NOT ISNULL({MEDICATE_CHAIN.DDID}) and {MEDICATE_CHAIN.DDID} <> 0 and
NOT ISNULL({MEDICATE_CHAIN.KDC}) and {MEDICATE_CHAIN.KDC} > 0 and
isNull({MEDINFO.CLASSCODE}) and
{MEDINFO.LEGEND} <> 'O' and
{LOCREG.LOCID} in ({?Location})