Uploaded image for project: 'XDStarClient'
  1. XDStarClient
  2. XDSTAR-736

The function checking if the DataType DTM is well formed is too restrictive

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.5.0
    • Fix Version/s: 2.5.1
    • Component/s: XDS Validation
    • Labels:
      None
    • Account:
      Maintenance 2019 (MAINTENANCE2019)

      Description

      DTM (HL7 V2.5 Date Time) is a DataType for the date.

      The format of these values is defined as the following regular expression: YYYY[MM[DD[hh[mm[ss]]]]] (From spec https://www.ihe.net/uploadedFiles/Documents/ITI/IHE_ITI_TF_Vol3.pdf, page 58).

      The function isDTM() only accept date from 1900 to 2099.

      See the linked ticket for an example of a failed validation.

        Attachments

          Activity

            People

            • Assignee:
              mtoudic Malo Toudic
              Reporter:
              mtoudic Malo Toudic
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Potential Duplicates