Skip to content

Commit

Permalink
FhirpathRefTests: Exclusions for 'quantities'.
Browse files Browse the repository at this point in the history
  • Loading branch information
piotrszul committed Feb 14, 2025
1 parent dad69f5 commit 4a04bd0
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -165,8 +165,7 @@ void testFactory(@Nonnull final RuntimeCase testCase) {
void testFhirR4(@Nonnull final RuntimeCase testCase) {
run(testCase);
}

@Disabled

@YamlSpec("fhirpath-js/cases/fhir-quantity.yaml")
void testFhirQuantity(@Nonnull final RuntimeCase testCase) {
run(testCase);
Expand Down
14 changes: 14 additions & 0 deletions fhirpath/src/test/resources/fhirpath-js/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -580,6 +580,20 @@ excludeSet:
type: feature
expression:
- "%factory(\\W|$)"
- title: Quantity Exclusions
glob: "fhirpath-js/cases/fhir-quantity.yaml"
exclude:
- title: "Implicit conversion of polymophic types not supported"
comment: "Should the value be implicitly converted to a quantity?"
type: ???
any:
- "After converting 'a' to year it is equal to year"
- "After converting 'a' to year it isn't equal to 'a'"
- "After converting 'min' to minutes it is equal to minutes"
- title: "Untyped access to polymorphic collections"
type: ???
any:
- "Can access the comparator field when there isn't a need to convert"
- title: Has Value Exclusions
glob: 'fhirpath-js/cases/hasValue.yaml'
exclude:
Expand Down

0 comments on commit 4a04bd0

Please sign in to comment.