Search on Number has surprising behavior

XMLWordPrintableJSON

    • Type: Change Request
    • Resolution: Persuasive with Modification
    • Priority: Medium
    • FHIR Core (FHIR)
    • STU3
    • FHIR Infrastructure
    • Normative
    • Search
    • 3.1.1.4.6
    • Hide
      • if MnM allows exponent forms for decimal, allow them for search
        * if MnM does not, keep the comparison as we have it now
      • document the impact of precision more clearly
        * create a task to clarify decimal equality in fhirpath
        * clarify that under the published rules, integer searches are exact.
      Show
      if MnM allows exponent forms for decimal, allow them for search * if MnM does not, keep the comparison as we have it now document the impact of precision more clearly * create a task to clarify decimal equality in fhirpath * clarify that under the published rules, integer searches are exact.
    • Grahame Grieve/Michael Donnelly: 24-0-2
    • Enhancement
    • Compatible, substantive
    • STU3

      As an implementer, I would expect search on number to be an exact match. Suggest that search where [parameter]=100 be an exact match where the parameter is 100. Suggest that approximate searches be performed with at "+" syntax. So [parameter]=100+3 would match values that equal 100, to 3 significant figures precision, so range [99.5 ... 100.5), which is the current behavior.

            Assignee:
            Unassigned
            Reporter:
            Andy Gregorowicz
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: