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

Async boolean bug #160

Open
fongsean opened this issue Dec 18, 2024 · 0 comments
Open

Async boolean bug #160

fongsean opened this issue Dec 18, 2024 · 0 comments

Comments

@fongsean
Copy link

fongsean commented Dec 18, 2024

Hi,

Was just experimenting with memberOf() in Brian's fhirpath-lab. He's using v3.15.1 which is pretty up to date.

MedicationRequest memberOf example

If I set the terminology server to https://tx.ontoserver.csiro.au/fhir, the FHIRPath expression works nicely and produces a result of true.
(Settings button on the top right -> FHIR Terminology Server -> "https://tx.ontoserver.csiro.au/fhir" -> Save)

Problem

If I add " or true" to the end of the FHIRPath expression, the result remains as true.

If I add " or false" to the end of the FHIRPath expression, the result becomes empty.

  • Expected result: true

If I set the FHIRPath expression as "{expression} or {expression}", the result becomes empty.

  • Expected result: true

.NET implementation comparison

The .NET implementation produces correct results for all three test cases above.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant