Hide
Proposed solution
CURRENT LOGIC:
First(((["Intervention, Performed": "Referral"] ReferralPerform
where Global."NormalizeInterval"(ReferralPerform.relevantDatetime, ReferralPerform.relevantPeriod)ends during Interval[start of "Measurement Period", start of "Measurement Period" + 10 months]
return {
identification: ReferralPerform.id,
dateIntervention:
end of Global."NormalizeInterval"(ReferralPerform.relevantDatetime, ReferralPerform.relevantPeriod) } )
union(["Intervention, Order": "Referral"] ReferralOrder
where ReferralOrder.authorDatetime during Interval[start of "Measurement Period", start of "Measurement Period" + 10 months]
return {
identification: ReferralOrder.id,
dateIntervention: ReferralOrder.authorDatetime }
))ReferralInterventions
sort by dateIntervention ascending )
PROPOSED LOGIC:
First(((["Intervention, Performed": "Referral"] ReferralPerform
where Global."NormalizeInterval"(ReferralPerform.relevantDatetime, ReferralPerform.relevantPeriod)ends during day of Interval[start of "Measurement Period", DateTime(year from start of "Measurement Period", 10, 31)]
return {
identification: ReferralPerform.id,
dateIntervention:
end of Global."NormalizeInterval"(ReferralPerform.relevantDatetime, ReferralPerform.relevantPeriod) } )
union(["Intervention, Order": "Referral"] ReferralOrder
where ReferralOrder.authorDatetime during day of Interval[start of "Measurement Period", DateTime(year from start of "Measurement Period", 10, 31)]
return {
identification: ReferralOrder.id,
dateIntervention: ReferralOrder.authorDatetime }
))ReferralInterventions
sort by dateIntervention ascending
Rationale for change
This change will create agreement between measure logic and guidance for the measurement period (January 1 - October 31).
Show
Proposed solution
CURRENT LOGIC:
First(((["Intervention, Performed": "Referral"] ReferralPerform
where Global."NormalizeInterval"(ReferralPerform.relevantDatetime, ReferralPerform.relevantPeriod)ends during Interval[start of "Measurement Period", start of "Measurement Period" + 10 months]
return {
identification: ReferralPerform.id,
dateIntervention:
end of Global."NormalizeInterval"(ReferralPerform.relevantDatetime, ReferralPerform.relevantPeriod) } )
union(["Intervention, Order": "Referral"] ReferralOrder
where ReferralOrder.authorDatetime during Interval[start of "Measurement Period", start of "Measurement Period" + 10 months]
return {
identification: ReferralOrder.id,
dateIntervention: ReferralOrder.authorDatetime }
))ReferralInterventions
sort by dateIntervention ascending )
PROPOSED LOGIC:
First(((["Intervention, Performed": "Referral"] ReferralPerform
where Global."NormalizeInterval"(ReferralPerform.relevantDatetime, ReferralPerform.relevantPeriod)ends during day of Interval[start of "Measurement Period", DateTime(year from start of "Measurement Period", 10, 31)]
return {
identification: ReferralPerform.id,
dateIntervention:
end of Global."NormalizeInterval"(ReferralPerform.relevantDatetime, ReferralPerform.relevantPeriod) } )
union(["Intervention, Order": "Referral"] ReferralOrder
where ReferralOrder.authorDatetime during day of Interval[start of "Measurement Period", DateTime(year from start of "Measurement Period", 10, 31)]
return {
identification: ReferralOrder.id,
dateIntervention: ReferralOrder.authorDatetime }
))ReferralInterventions
sort by dateIntervention ascending
Rationale for change
This change will create agreement between measure logic and guidance for the measurement period (January 1 - October 31).