Closed mgramigna closed 1 year ago
Old venn diagrams: https://github.com/HL7/cqf-measures/blob/master/archived/old_images/RatioVenn.jpg https://github.com/HL7/cqf-measures/blob/master/archived/old_images/Ratio2Venn.png https://github.com/HL7/cqf-measures/blob/master/archived/old_images/Ratio3Venn.png
New diagrams: https://hl7.org/fhir/us/cqfmeasures/2023Jan/measure-conformance.html#ratio-measures
HQMF spec downloadable from http://www.hl7.org/implement/standards/product_brief.cfm?product_id=97
Discussed in meeting with @srankins, @p9g, and others.
Per HQMF, ratio measure calculation should always treat numerator and denominator as independent populations. See below pseudo-cql from HQMF:
Some diagrams in the cqfm IG seem to be consistent with this, however as @p9g noted, the pseudo-cql does not align with HQMF.
Neither does fqm-execution, per the following example:
In the context of a ratio measure, "numer" should still be true despite "denom" being false. This is the current behavior in fqm-execution only when the measure has multiple IPPs, but fqm-execution should also behave this way even with a single IPP. Currently, it does not:
Measure Bundle and Patient Bundle for really simple demonstration of the issue: issue.zip (the above example)
CMS871 is also an example of this issue in fqm-execution.