“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”.
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.
Update to incorporate changes from QDM updates https://git.codev.mitre.org/projects/ABA/repos/ecqmreviews/pull-requests/40/diff#libraries/CumulativeMedicationDuration.cql