Clarify magnitude of unsigned and positive ints - 2018-May Core Norm Infrastructure #37

XMLWordPrintableJSON

    • Type: Change Request
    • Resolution: Persuasive
    • Priority: Medium
    • FHIR Core (FHIR)
    • STU3
    • FHIR Infrastructure
    • Datatypes
    • 2.23.0.1
    • Hide

      note that all integers are constrained to 32 bit numbers

      Show
      note that all integers are constrained to 32 bit numbers
    • Grahame Grieve/Rick Geimer: 9-0-0
    • Non-substantive
    • STU3

      Existing Wording: integer: A signed 32-bit integer?

      unsignedInt: Any non-negative integer (e.g. >= 0)

      positiveInt: Any positive integer (e.g. >= 1)

      Comment:

      Are unsigned and positiveInt specializations of integer? That is, are they restricted to the intersection with a 32-bit signed int? are they 32-bit unsigned values? or is there some other size restriction?

      Why does the regex for positiveInt allow a + sign, but unsigned doesn't? Neither can be negative.

      Summary:

      Clarify magnitude of unsigned and positive ints

            Assignee:
            Unassigned
            Reporter:
            Elliot Silver
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: