It states that it can be void and thus is probably not causing practical problems, but like you I am not sure why it exists at all for date…also given that there is no way to syntactically express the timezone as part of the date.
But I may very well be missing something…dates and times are extremely complex once you go into the details.
If nobody else replies here with an explanation, I would suggest that you raise this as a PR on openEHR Jira tracker.
My memory of defining this is that I did discover situations where dates with TZ are required, I believe from US military or similar. It does seem reasonable to me, since the date at some moment in time does depend on the timezone.
Consider a clinical event (e.g. stroke) recorded date = 02 Aug 2022 TZ +1000 (let’s say Sydney) really means that at some time between UTC 14:00 on 01 Aug 2022 and UTC and 14:00 on 02 Aug 2022, that the stroke was experienced.
For military personnel crossing time-zones by air, this kind of thing might matter.
Yep you are right - could you please raise a CR directly in BASE to fix that? I can fix it easily in the specs.
Is there someone with access to the standard itself who can have a close look?
Also, if we claim full compliance with ISO8601, the week dates
such as YYYY-Www or YYYY-Www-D
and ordinal dates such as YYYY-DDD would need to be part of this as well.
I am not sure we want week dates or ordinal dates?
If not we may consider rephrasing the conformance from “is a valid ISO 8601 date” to “is a valid ISO 8601 calendar date”
In any case, timezones as well as week or ordinal dates will likely also affect the Base Lexers and week and ordinal dates the constraint patterns as well.