Skip to content

Commit

Permalink
Add support for .union() FHIRPath method. Enable tests for now(). (#1372
Browse files Browse the repository at this point in the history
)

* Enable tests for the now() FHIRPath method.

* Handling of the union() FHIRPath method
  • Loading branch information
antvaset authored Jul 10, 2024
1 parent fa74e68 commit 3bd0018
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -550,6 +550,8 @@ public Expression resolveMethod(
}
case "truncate":
return builder.resolveFunction(null, "Truncate", getParams(target, ctx));
case "union":
return builder.resolveFunction(null, "Union", getParams(target, ctx));
case "upper":
return builder.resolveFunction(null, "Upper", getParams(target, ctx));
case "where": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -210,9 +210,6 @@ public static Object[][] dataMethod() {
"r4/tests-fhir-r4/testNotEquivalent/testNotEquivalent17",
"r4/tests-fhir-r4/testNotEquivalent/testNotEquivalent20",
"r4/tests-fhir-r4/testNotEquivalent/testNotEquivalent21",
"r4/tests-fhir-r4/testNow/testNow1",
"r4/tests-fhir-r4/testNow/testNow2",
"r4/tests-fhir-r4/testNow/testNow3",
"r4/tests-fhir-r4/testPower/testPower3",
"r4/tests-fhir-r4/testPrecedence/testPrecedence3",
"r4/tests-fhir-r4/testPrecedence/testPrecedence4",
Expand Down Expand Up @@ -281,9 +278,6 @@ public static Object[][] dataMethod() {
"r4/tests-fhir-r4/testTypes/testStringIntegerLiteralIsNotQuantity",
"r4/tests-fhir-r4/testTypes/testStringLiteralToString",
"r4/tests-fhir-r4/testTypes/testStringQuantityWeekConvertsToQuantityFalse",
"r4/tests-fhir-r4/testUnion/testUnion4",
"r4/tests-fhir-r4/testUnion/testUnion5",
"r4/tests-fhir-r4/testUnion/testUnion8",
"r4/tests-fhir-r4/testVariables/testVariables1",
"r4/tests-fhir-r4/testVariables/testVariables2",
"r4/tests-fhir-r4/testVariables/testVariables3",
Expand Down

0 comments on commit 3bd0018

Please sign in to comment.