Skip to content

Format as data time rejecting valid format #481

@guilhermekf

Description

@guilhermekf

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions