clinical_quality_language icon indicating copy to clipboard operation
clinical_quality_language copied to clipboard

Issue with Retreives

Open jackcmeyer opened this issue 6 years ago • 1 comments

Given the following CQL:

define "SDE Payer":
   ["Patient Characteristic Payer": "Payer"abc]

The translator does not result in an error.

However,

define "SDE Payer":
   ["Patient Characteristic Payer": "Payer"123]

results in no viable alternative at input '["Patient Characteristic Payer": "Payer"123]'.

jackcmeyer avatar Jan 03 '19 15:01 jackcmeyer

@jackcmeyer , thank you for the report. The issue here is that because the terminology portion of a retrieve can be an arbitrary expression, the CQL expression "Payer"abc is being interpreted as a "no-op query" with "Payer" as the source and abc as the alias.

We have plans to address this, see #178 and #179, we can consider this as a vote for implementation of those features.

brynrhodes avatar Jan 11 '19 17:01 brynrhodes

Closing in favor of #178 and #179

JPercival avatar Oct 23 '23 16:10 JPercival