-
Notifications
You must be signed in to change notification settings - Fork 305
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
Add support for additional data during CQL evaluation #2420
Conversation
e967dcd
to
5a2979b
Compare
* With unmerged PRS - #9 - google#2420 - google#2178
* With unmerged PRS - #9 - google#2420 - google#2178
* With unmerged PRS - #9 - google#2420 - google#2178
* With unmerged PRS - #9 - google#2420 - google#2178
* With unmerged PRS - #9 - google#2420 - google#2178
e891e77
to
7b27cb0
Compare
- Ignore white spaces on XML diff assertion
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why not add this parameter additionalData
to this API itself:-
fun evaluateLibrary(
libraryUrl: String,
patientId: String?,
parameters: Parameters?,
expressions: Set<String>?,
): IBaseParameters {
Please also run |
I'd figured this'd be a breaking change, but I suppose this is actually okay since we are still in alpha |
@MJ1998 additionally the the method is heavily overloaded in the same class so just added the new one. I've pushed an update that refactors it in line with the implementation of the other overloads. |
@ktarasenko @jingtang10 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this seems like a legitimate change. but @brynrhodes can you please comment on the usage of additional data here? or @ndegwamartin can you please add some background on why this is necessary, what's the difference with prefetch data etc etc?
thanks!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @ndegwamartin!
Head branch was pushed to by a user without write access
… Knowledger - With unmerged PR #9 - With unmerged PR google#2420 - WUP PR google#2178
… Knowledger - With unmerged PR #9 - With unmerged PR google#2420 - WUP PR google#2178
@vitorpamplona any idea why the Benchmarking tests would fail here? |
nvm, figured out the issue |
IMPORTANT: All PRs must be linked to an issue (except for extremely trivial and straightforward changes).
Fixes #2419
Description
#2419
Alternative(s) considered
Have you considered any alternatives? And if so, why have you chosen the approach in this PR?
Type
Feature
Screenshots (if applicable)
Checklist
./gradlew spotlessApply
and./gradlew spotlessCheck
to check my code follows the style guide of this project../gradlew check
and./gradlew connectedCheck
to test my changes locally.