Skip to content

Add a FHIRPath case that checks a dateTime comparison doesn't change the compared value - #319

Merged
grahamegrieve merged 1 commit into
FHIR:masterfrom
oldrobotdev:date-compare-mutation
Oct 23, 2026
Merged

grahamegrieve merged 1 commit into
FHIR:masterfrom
oldrobotdev:date-compare-mutation

Conversation

@oldrobotdev

Copy link
Copy Markdown
Contributor

testLessThan28 (r4, r4b, r5, r6) compares the patient birthTime extension, 1974-12-25T14:35:45-05:00, with @1975-01-01T00:00:00Z and then checks that the value still reads 1974-12-25T14:35:45-05:00. The Java engines convert both operands to UTC in place, so by then the value is 1974-12-25T19:35:45Z and the case fails in all four. The fix is hapifhir/org.hl7.fhir.core#2776.

@grahamegrieve grahamegrieve left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok

@grahamegrieve
grahamegrieve merged commit 333c4be into FHIR:master Oct 23, 2026
4 checks passed
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

Successfully merging this pull request may close these issues.

2 participants