Formal Equality w/ CQL and UCUM durations

XMLWordPrintableJSON

    • Type: Change Request
    • Resolution: Persuasive
    • Priority: Medium
    • Clinical Quality Language (FHIR)
    • 1.5 [deprecated]
    • Clinical Decision Support
    • Authors Guide
    • 4.2.1. Quantities
    • Hide

      Agreed, clarify that the result of comparing the un-comparable calendar and definite quantity durations is empty, not false.

      Related to this FHIRPath issue: https://jira.hl7.org/browse/FHIR-28144

      Show
      Agreed, clarify that the result of comparing the un-comparable calendar and definite quantity durations is empty, not false. Related to this FHIRPath issue: https://jira.hl7.org/browse/FHIR-28144
    • Chris Moesel/Jen Seeman: 17-0-5
    • Clarification
    • Non-substantive

      Based on my understanding, in most cases (except near DST-related clock changes), a CQL day is actually 86400 seconds, which is the same as a UCUM d. In some cases though, CQL date arithmetic may return 1 day that actually correlates to more or less than 24 clock-hours.

      So, should 1 day = 1 'd' evaluate to null since we don't know if it is true or false?

      But 1 month = 1 'mo' is always false since a UCUM month is fractional?

            Assignee:
            Abdullah Rafiqi
            Reporter:
            cmoesel
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: