You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Seeing an exception at R4FhirTerminologyProvider.in when the terminology server returns another parameter other than "result" first. I was not sure if there was a required order or not honestly when it came to the parameters returned by the $validate-code operation so this issue might not be with the engine-fhir subproject.
This occurred when running cms190 though I can try to mock up something simpler if needed.
Example request to a terminology server where this is happening:
Caused by: java.lang.ClassCastException: class org.hl7.fhir.r4.model.StringType cannot be cast to class org.hl7.fhir.r4.model.BooleanType (org.hl7.fhir.r4.model.StringType and org.hl7.fhir.r4.model.BooleanType are in unnamed module of loader 'app')
at org.opencds.cqf.cql.engine.fhir.terminology.R4FhirTerminologyProvider.in(R4FhirTerminologyProvider.java:70) ~[engine-fhir-3.9.0.jar:3.9.0]
at org.opencds.cqf.cql.engine.elm.executing.InValueSetEvaluator.inValueSet(InValueSetEvaluator.java:48) ~[engine-3.9.0.jar:3.9.0]
at org.opencds.cqf.cql.engine.execution.EvaluationVisitor.visitInValueSet(EvaluationVisitor.java:123) ~[engine-3.9.0.jar:3.9.0]
at org.opencds.cqf.cql.engine.execution.EvaluationVisitor.visitInValueSet(EvaluationVisitor.java:14) ~[engine-3.9.0.jar:3.9.0]
at org.cqframework.cql.elm.visiting.BaseElmClinicalVisitor.visitOperatorExpression(BaseElmClinicalVisitor.java:64) ~[elm-3.9.0.jar:3.9.0]
at org.cqframework.cql.elm.visiting.BaseElmVisitor.visitExpression(BaseElmVisitor.java:267) ~[elm-3.9.0.jar:3.9.0]
at org.cqframework.cql.elm.visiting.BaseElmClinicalVisitor.visitExpression(BaseElmClinicalVisitor.java:49) ~[elm-3.9.0.jar:3.9.0]
at org.opencds.cqf.cql.engine.execution.EvaluationVisitor.visitOr(EvaluationVisitor.java:1189) ~[engine-3.9.0.jar:3.9.0]
at org.opencds.cqf.cql.engine.execution.EvaluationVisitor.visitOr(EvaluationVisitor.java:14) ~[engine-3.9.0.jar:3.9.0]
...
The text was updated successfully, but these errors were encountered:
Seeing an exception at R4FhirTerminologyProvider.in when the terminology server returns another parameter other than "result" first. I was not sure if there was a required order or not honestly when it came to the parameters returned by the $validate-code operation so this issue might not be with the engine-fhir subproject.
This occurred when running cms190 though I can try to mock up something simpler if needed.
Example request to a terminology server where this is happening:
The result from above request:
The exception:
The text was updated successfully, but these errors were encountered: