Update FHIRPathEngine.java

As mentioned on https://github.com/hapifhir/org.hl7.fhir.core/issues/703
This commit is contained in:
Jens Kristian Villadsen 2022-01-28 20:44:39 +01:00 committed by GitHub
parent f69a30421f
commit 7b24e9d4ee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -2367,7 +2367,7 @@ public class FHIRPathEngine {
if (vs != null) {
for (Base l : left) {
if (Utilities.existsInList(l.fhirType(), "code", "string", "uri")) {
if (worker.validateCode(terminologyServiceOptions , TypeConvertor.castToCoding(l), vs).isOk()) {
if (worker.validateCode(terminologyServiceOptions.guessSystem() , TypeConvertor.castToCoding(l), vs).isOk()) {
ans = true;
}
} else if (l.fhirType().equals("Coding")) {