Uploaded image for project: 'Specification'
  1. SPEC-198

Change DV_Date/Time/Duration to have value as attribute

    Details

    • Type: Change Request
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: Release 1.0.1
    • Component/s: openehr.rm.data_types
    • Labels:
      None
    • Change Description:
      Hide
      Changes made:
      - the classes DV_DATE, DV_TIME, DV_DATE_TIME and DURATION and their PARTIAL_XX
        subtypes should all have a single value attribute added, which contains the
        ISO 8601 string form of the relevant type (note that partial versions are
        supported in ISO8601).
      - all of the current attributes should become functions of the same name.

      This change should not affect any semantics of existing software.
      Show
      Changes made: - the classes DV_DATE, DV_TIME, DV_DATE_TIME and DURATION and their PARTIAL_XX   subtypes should all have a single value attribute added, which contains the   ISO 8601 string form of the relevant type (note that partial versions are   supported in ISO8601). - all of the current attributes should become functions of the same name. This change should not affect any semantics of existing software.
    • Approved By:
      ARB

      Description

      The current date/time classes (data_types.quantity.date_time package) are
      defined with a number of data attributes, e.g. DATE is defined to have
      year, month and day as separate INTEGER attributes. This is fine for
      in-memory representation and processing, but is fairly inconvenient for
      persistence, particularly in XML, since it would prevent the use of the
      XML standard ISO8601 based date/time types.

      A single attribute of type string in ISO 8601 standard syntax would be
      more efficient and would have no effect on the semantics of the classes.
      ISO 8601 provides syntax for all the date/time types defined in openEHR,
      including the partial ones.

        Attachments

          Activity

            People

            • Assignee:
              OLDthomasbeale OLDthomasbeale
              Reporter:
              OLDsamheard (Sam Heard) inactive (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: