You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It looks like it picks up the timezone offset of the evaluation request as per the spec.
When you call engine.expression(...) or engine.evaluate(...) you have to pass in the evaluation date time explicitly every time, otherwise it gets reset to ZonedDateTime.now().
The following expression:
should result in a DateTime value with the timezone offset of the evaluation request: https://cql.hl7.org/09-b-cqlreference.html#datetime-1
However, looking at the code, the local timezone is always used:
https://github.com/cqframework/clinical_quality_language/blob/master/Src/java/engine/src/main/java/org/opencds/cqf/cql/engine/runtime/DateTime.java#L94
The text was updated successfully, but these errors were encountered: