Commit 039f795
authored
Implement Implies Operator and update to cql2elm 3.12.0 (#320)
Implements the `implies` operator and updates CQL translator to 3.12.0. Also updates gradle wrapper to latest 8.x for Java 21 support. Enables the spec-tests for Implies operator.
Note: The translator has a bug with choice types in the output that caused issues with some tests. This issue was manually edited out in the ELM after running the `build:test-data` command. cqframework/clinical_quality_language#1380
This is a squash commit containing these original commits:
* updated to use cql-to-elm 3.12.0. fixed localid on tests that relied on localids. manual work around for bad choicetype elm
* updated spec tests with 3.12.0 translation
* re-enable spec tests for implies operator
* implemented implies operator
* fixed npm audit concerns
* removed xml import that is not needed. added comments to explain duplicated type field in tests
* maked implies operator as supported in excel sheet
* updated NYC, fixing out of heap space issue in coverage run
* replaced hardcoded localIds in tests with a helper function to grab a localId in the elm structure
* moved getLocalIdByPath to new testHelpers file. Replaced localids in query-test.ts with helperfile usage.
* Now throwing an error in localId helper function when its not found to make test checks simpler
* removed not.be.null checks from list-test.ts1 parent d69c85e commit 039f795
55 files changed
Lines changed: 95317 additions & 62136 deletions
File tree
- examples/browser
- src
- datatypes
- elm
- test
- elm
- aggregate
- arithmetic
- clinical
- comparison
- conditional
- convert
- datetime
- date
- executor
- expression
- external
- instance
- interval
- library
- list
- literal
- logical
- message
- nullological
- parameters
- query
- reusable
- string
- structured
- type
- generator
- gradle/wrapper
- src/main/java
- spec-tests
- cql
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Binary file not shown.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2334 | 2334 | | |
2335 | 2335 | | |
2336 | 2336 | | |
| 2337 | + | |
| 2338 | + | |
| 2339 | + | |
| 2340 | + | |
| 2341 | + | |
| 2342 | + | |
| 2343 | + | |
| 2344 | + | |
| 2345 | + | |
| 2346 | + | |
| 2347 | + | |
2337 | 2348 | | |
2338 | 2349 | | |
2339 | 2350 | | |
| |||
5805 | 5816 | | |
5806 | 5817 | | |
5807 | 5818 | | |
5808 | | - | |
| 5819 | + | |
5809 | 5820 | | |
5810 | 5821 | | |
5811 | 5822 | | |
| |||
5817 | 5828 | | |
5818 | 5829 | | |
5819 | 5830 | | |
| 5831 | + | |
| 5832 | + | |
| 5833 | + | |
| 5834 | + | |
| 5835 | + | |
| 5836 | + | |
| 5837 | + | |
| 5838 | + | |
| 5839 | + | |
| 5840 | + | |
5820 | 5841 | | |
5821 | 5842 | | |
5822 | 5843 | | |
| |||
0 commit comments