Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing LocalId in Not(Equivalent()) ELM #405

Closed
brynrhodes opened this issue Mar 27, 2019 · 1 comment
Closed

Missing LocalId in Not(Equivalent()) ELM #405

brynrhodes opened this issue Mar 27, 2019 · 1 comment
Labels
Milestone

Comments

@brynrhodes
Copy link
Member

CMS 157 and 161 (possibly others) have an Equivalent as a child of a Not expression. In the serialized ELM JSON, localId is not present in both cases.

CMS157 snippet:

"localId" : "47",
"locator" : "74:8-74:50",
"type" : "Not",
"operand" : {
"locator" : "74:8-74:50",
"type" : "Equivalent",
"operand" : [
{ "localId" : "45", "locator" : "74:8-74:27", "name" : "ChemoBeforeEncounter", "type" : "AliasRef" }

,
{ "localId" : "46", "locator" : "74:32-74:50", "name" : "ChemoAfterEncounter", "type" : "AliasRef" }

]
}
}

CMS 161 snippet:

"localId" : "55",
"locator" : "66:14-66:67",
"type" : "Not",
"operand" : {
"locator" : "66:14-66:67",
"type" : "Equivalent",
"operand" : [
{ "localId" : "53", "locator" : "66:14-66:37", "name" : "PriorMDDEpisodeEncounter", "type" : "AliasRef" }

,
{ "localId" : "54", "locator" : "66:42-66:67", "name" : "NewOrRecurrentMDDEncounter", "type" : "AliasRef" }

]
}
}

There may be others. Other cases of Equivalent DO have localId.

In this case, the same omission exists in XML:

Originally submitted as a CQL Jira tracker: https://oncprojectracking.healthit.gov/support/browse/CQLIT-156

@brynrhodes
Copy link
Member Author

Included in 1.5.5 Release

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant