Stream: committers
Topic: MeasureValidator error
Bryn Rhodes (Nov 10 2020 at 16:50):
Trying to add an example binding to the stratifier.code element of Measure, but doing so causes a MeasureValidation error that doesn't happen otherwise. Specifically:
[java] ERROR @ Measure.group[0].stratifier[0].criteria (line 0, col0): measure-cms146-example:: Measure.group[0].stratifier[0].criteria: No CQL Libraries found on this Measure (src = InstanceValidator)
We've traced it to the validator on this line:
https://github.com/hapifhir/org.hl7.fhir.core/blob/master/org.hl7.fhir.validation/src/main/java/org/hl7/fhir/validation/instance/type/MeasureValidator.java#L111
But I don't understand why it can't see the library, the Measure example does have a library set:
https://github.com/HL7/fhir/blob/master/source/measure/measure-cms146-example.xml#L95
So something about adding the example binding to the stratifier code element is changing that behavior, but it's not clear what it is.
Grahame Grieve (Nov 13 2020 at 03:00):
this is with the core build?
Bryn Rhodes (Nov 13 2020 at 17:21):
Yes
Grahame Grieve (Nov 17 2020 at 05:23):
I can't reproduce this. Commit a branch...
Last updated: Apr 12 2022 at 19:14 UTC