-
Question
-
Resolution: Done
-
Moderate
-
None
-
The CQL logic works as expected as well as having coverage and passing at 100%. Issue is determining correct resource to be used.
-
Yes
-
QI Core/CQL
Hello,
We have concerns about using the QI-Core Task profile as vendors may not include it. At this time, Epic and Cerner FHIR API specifications do not include the Task resource (at least in the version open to the public) nor does US Core or USCDI require it. Both CMS 50 Closing the Referral Loop: Receipt of Specialist Report and CMS 68 Documentation of Current Medications in the Medical Record are drafted using the Task profile so we are interested in insights as to the feasibility of using this profile.
CMS 50
define "Numerator":
"Qualifying Encounter during day of Measurement Period" QualifyingEncounter
with [Task: "Documentation of current medications (procedure)"] MedicationsDocumented
such that MedicationsDocumented.executionPeriod.toInterval() ends during QualifyingEncounter.period
and MedicationsDocumented.status = 'completed'
CMS 68
define "First Referral during First 10 Months of Measurement Period":
First([ServiceRequest: "Referral"] ReferralOrder
where ReferralOrder.status in
and ReferralOrder.intent = 'order'
and ReferralOrder.authoredOn during day of Interval[start of "Measurement Period", DateTime(year from start of "Measurement Period",10,31)]
return
sort by AuthorDate ascending
)
define "Referring Clinician Receives Consultant Report to Close Referral Loop":
exists ( [Task: "Consultant Report"] ConsultantReportObtained
with "First Referral during First 10 Months of Measurement Period" FirstReferral
such that FirstReferral.ID in "TaskGetRequestID"(ConsultantReportObtained)
and ConsultantReportObtained.executionPeriod ends after FirstReferral.AuthorDate
and ConsultantReportObtained.status = 'completed'
and ConsultantReportObtained.executionPeriod ends during day of "Measurement Period"
)
define function "TaskGetRequestID"(task Task ):
task.basedOn Task
return QICoreCommon."GetId" ( Task.reference )