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

Format as data time rejecting valid format #481

Open
guilhermekf opened this issue Jul 7, 2023 · 0 comments
Open

Format as data time rejecting valid format #481

guilhermekf opened this issue Jul 7, 2023 · 0 comments

Comments

@guilhermekf
Copy link

Currently the format_as_date_time filter only accept timezones with 4 digits.
This mean that this date is invalid: 20180703212010+00

The hl7 definition for the CDA time use the TS: PointInTime:
http://hl7.org/cda/stds/core/draft1/StructureDefinition-TS.html
image

And the PointInTime (TS) definition says that it uses the ISO 8601
https://www.hl7.org/documentcenter/public/wg/inm/datatypes-its-xml20050714.htm (2.32)

image

ISO 8601 should accept time zone as 2 digits

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