cqframework / ecqm-content-qicore-2023

FHIR-based AU 2023 Measures
Creative Commons Zero v1.0 Universal
2 stars 5 forks source link

Update CumulativeMedicationDuration.cql #2

Closed juliet-rubini closed 1 year ago

juliet-rubini commented 1 year ago

Update to incorporate changes from QDM updates https://git.codev.mitre.org/projects/ABA/repos/ecqmreviews/pull-requests/40/diff#libraries/CumulativeMedicationDuration.cql

  1. “MedicationDispensedPeriod” and “MedicationOrderPeriod” are updated to reverse priority of data elements used to calculated medication duration (per standards team’s recommendation). This is not reflected in the QICore version for “MedicationDispensePeriod” and “MedicationRequestPeriod”.
  2. There are some other changes made to the QDM version of functions “CumulativeDuration” and “RolloutIntervals” noted that need also to be reflected into the QI Core version.