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

Change abstract NUMERIC to double in DV_QUANTITY.value

    Details

    • Type: Change Request
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: Release 0.9
    • Component/s: openehr.rm.support
    • Labels:
      None
    • Change Description:
      Change QUANTITY model in the data types.
    • Approved By:
      PG

      Description

      It would be simpler and clearer to make
      DV_QUANTITY.value a REAL (probably mapped to a DOUBLE)
      rather than its current model of NUMERIC with 4
      subtypes. THis will facilitate mapping in programming
      languages. It will also map better to the HL7 type PQ.
      Note however that floating point rounding errors are
      very problematic when using doubles as the
      representation for real numbers, so this should be
      carefully considered.

        Attachments

          Activity

            People

            • Assignee:
              OLDthomasbeale JeffJ
              Reporter:
              andrewgoodchild Andrew Goodchild
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: