cqframework / clinical-reasoning

CQF Clinical Reasoning on FHIR for Java
https://www.cqframework.org/clinical-reasoning/
Apache License 2.0
34 stars 24 forks source link

Measure scoring specified at group level does not work #383

Closed mholck closed 6 months ago

mholck commented 7 months ago

The CQFMComputableMeasure profile allows the scoring to either be provided at the measure root level or at the group level for each group. However, if the scoring is not provided at the measure level right now you get an error java.lang.RuntimeException: MeasureScoring type is required in order to calculate.

This was discovered testing the MADIE exported measures loaded at https://github.com/cqframework/ecqm-content-qicore-2024 as they all specify the scoring type only at the group level. Editing them to add the scoring at the measure level allows them to evaluate, however, specifying the scoring at the group level is technically supposed to be supported.