Closed dcw312 closed 1 year ago
Note that getting the parameters patient=numer-EXM125&reportType=patient from the source code works
curl 'http://localhost:8080/fhir/Measure/BreastCancerScreeningsFHIR/$evaluate-measure?periodStart=2019-01-01&periodEnd=2019-12-31&patient=numer-EXM125&reportType=patient'
@JPercival It looks like the documentation matches the standard (but not the implementation). If you confirm, I'll consider adding "subject" and reportType=subject. Should I keep backward compatibility in the implementation? I assume so, but curious to know your thoughts. @rob-reynolds fyi https://build.fhir.org/measure-operation-evaluate-measure.html
http://localhost:8080/fhir/Measure/BreastCancerScreeningFHIR/$evaluate-measure?periodStart=2019-01-01&periodEnd=2019-12-31&subject=numerator&reportType=subject-list
works when using the hapi-fhir-jpaserver-starter* and changing the hapi-fhir-jpaserver-cql dependency from ${project.version}
to 6.3.2
:
<dependency>
<groupId>ca.uhn.hapi.fhir</groupId>
<artifactId>hapi-fhir-jpaserver-cql</artifactId>
<version>6.2.3</version>
</dependency>
Note that there is still an error existing that causes the CQL engine to break when there're 20 or more resources to be evaluated (see https://github.com/hapifhir/hapi-fhir/issues/4025)
* you may want to go to Kevin Dougan's commit of August 15, 2022 (4978f32e320da49317ba490db11712d83834c8c6)
Resolved by #4347. The parameters have been updated to match the spec.
Describe the bug CQL Measure Evaluate does not work as documented. Specifically the subject and reportType params
To Reproduce Steps to reproduce the behavior:
Expected behavior Measure Report is generated
Environment (please complete the following information):