Skip to content
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

Support for implicit resolution of polymorphic collections #2163

Open
piotrszul opened this issue Feb 24, 2025 · 0 comments
Open

Support for implicit resolution of polymorphic collections #2163

piotrszul opened this issue Feb 24, 2025 · 0 comments
Labels
fhirpath Related to fhirpath reference implementation new feature New feature or request

Comments

@piotrszul
Copy link
Collaborator

Implicit resolution of the polymorphic collection when the expected type can be determined from the expresions,
e.g.

Observation.value = 185 '[lb_av]'

FHR R4 Exlusions

Details

au.csiro.pathling.errors.InvalidUserInputError: Operands must be comparable

  • Observation.value = 185 '[lb_av]' [** testEquality28]
  • Observation.value != 185 'kg' [** testNEquality24]
  • Observation.value < 200 '[lb_av]' [** testLessThan22]
  • Observation.value <= 200 '[lb_av]' [** testLessOrEqual22]
  • Observation.value >= 100 '[lb_av]' [** testGreatorOrEqual22]
  • Observation.value > 100 '[lb_av]' [** testGreaterThan22]

Quantity Exclusions

Details

au.csiro.pathling.errors.InvalidUserInputError: Operands must be comparable

  • QuestionnaireResponse.item[0].answer.value = 2 year [After converting 'a' to year it is equal to year]
  • QuestionnaireResponse.item[0].answer.value != 2 'a' [After converting 'a' to year it isn't equal to 'a']
  • QuestionnaireResponse.item[1].answer.value = 3 minutes [After converting 'min' to minutes it is equal to minutes]
@piotrszul piotrszul added fhirpath Related to fhirpath reference implementation new feature New feature or request labels Feb 24, 2025
@github-project-automation github-project-automation bot moved this to Backlog in Pathling Feb 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fhirpath Related to fhirpath reference implementation new feature New feature or request
Projects
Status: Backlog
Development

No branches or pull requests

1 participant