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

Bump CQL dependencies #1163

Merged
merged 7 commits into from
Oct 7, 2022
Merged

Bump CQL dependencies #1163

merged 7 commits into from
Oct 7, 2022

Conversation

eedrummer
Copy link
Collaborator

This PR updates dependencies to the latest CQL libraries. The CQL that gets generated has been updated to reflect a change in the way that contexts work in CQL. Finally, there was a minor code change to handle an API difference in reading CQL.

This should be merged after #1144.

Some tests are broken, but this commit does a few things:
* Bumps most dependencies
* Removes Spring as it was only used for RestClient
* Uses OkHttp since it was already a transitive dependency

Remaining issues are related to URL validation for value set expansion.
Previous versions of the library were ok with things like `http://snomed.info/sct?fhir_vs=ecl/<<2491000087104`.
Not so much anymore.
Fixed some of the cases where invalid characters for URLs are being
used in value set expansion URLs
This bumps the various dependencies and handles an API change for how
CQL is read in from ELM XML files (I think).
@sonatype-lift
Copy link
Contributor

sonatype-lift bot commented Sep 28, 2022

⚠️ 26 God Classes were detected by Lift in this project. Visit the Lift web console for more details.

@codecov
Copy link

codecov bot commented Sep 28, 2022

Codecov Report

Merging #1163 (ba26b60) into master (b09baa6) will decrease coverage by 0%.
The diff coverage is 66%.

@@            Coverage Diff            @@
##             master   #1163    +/-   ##
=========================================
- Coverage        80%     80%    -1%     
- Complexity     3425    3474    +49     
=========================================
  Files           135     135            
  Lines         22783   23506   +723     
  Branches       3090    3427   +337     
=========================================
+ Hits          18237   18808   +571     
- Misses         3588    3718   +130     
- Partials        958     980    +22     
Impacted Files Coverage Δ
...org/mitre/synthea/helpers/RandomCodeGenerator.java 88% <60%> (-4%) ⬇️
...org/mitre/synthea/helpers/ExpressionProcessor.java 80% <75%> (+<1%) ⬆️
.../main/java/org/mitre/synthea/export/FhirDstu2.java 83% <0%> (-2%) ⬇️
src/main/java/org/mitre/synthea/engine/State.java 86% <0%> (-1%) ⬇️
...org/mitre/synthea/world/concepts/HealthRecord.java 94% <0%> (-1%) ⬇️
...ava/org/mitre/synthea/modules/LifecycleModule.java 91% <0%> (-1%) ⬇️
...c/main/java/org/mitre/synthea/export/FhirStu3.java 82% <0%> (-1%) ⬇️
src/main/java/org/mitre/synthea/export/FhirR4.java 84% <0%> (-1%) ⬇️
...ain/java/org/mitre/synthea/export/CDWExporter.java 92% <0%> (-1%) ⬇️
...e/synthea/modules/CardiovascularDiseaseModule.java 94% <0%> (ø)
... and 10 more

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@eedrummer eedrummer marked this pull request as ready for review September 29, 2022 19:01
@jawalonoski jawalonoski merged commit 5d90e08 into master Oct 7, 2022
@jawalonoski jawalonoski deleted the cql branch October 7, 2022 17:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants