You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if (provider.in(newCode().withCode((String) code), vsi)) {
returntrue;
}
returnfalse;
} elseif (codeinstanceofCode) {
if (provider.in((Code) code, vsi)) {
returntrue;
}
returnfalse;
} elseif (codeinstanceofConcept) {
for (Codecodes : ((Concept) code).getCodes()) {
if (codes == null) returnnull;
if (provider.in(codes, vsi)) returntrue;
}
returnfalse;
}
}
It seems the simplest solution would be to pass the ValueSet object in place of the valuesetId string, the retreiveprovider can strip it down to just the id if that is desired.
The text was updated successfully, but these errors were encountered:
Same for the terminology where applicable. That will make it easier to expand and/or modify the parameters going forward, and to add a batch/multi retrieve overload:
Probably wouldn't literally use a list of lists. That's just conceptual. But the point is that we could batch data requests to the underlying platform for fewer round-trips.
The retrieve evaluator has access to the valueset version when it resolves the valuesetRef here:
clinical_quality_language/Src/java/engine/src/main/java/org/opencds/cqf/cql/engine/elm/executing/RetrieveEvaluator.java
Lines 46 to 47 in dfafdb9
As that code shows, it then extracts ONLY the id when passed to the DataProvider below:
clinical_quality_language/Src/java/engine/src/main/java/org/opencds/cqf/cql/engine/elm/executing/RetrieveEvaluator.java
Lines 76 to 88 in dfafdb9
This leads to a situation where it is ambiguous what version of the valueset is to be used by the retreive/data provider.
It is NOT ambigious when referenced as part of an expression:
clinical_quality_language/Src/java/engine/src/main/java/org/opencds/cqf/cql/engine/elm/executing/InValueSetEvaluator.java
Lines 30 to 52 in 542c919
It seems the simplest solution would be to pass the ValueSet object in place of the valuesetId string, the retreiveprovider can strip it down to just the id if that is desired.
The text was updated successfully, but these errors were encountered: