Uploaded image for project: 'FHIR Specification Feedback'
  1. FHIR Specification Feedback
  2. FHIR-46363

Clarify semantics of null for list membership determination

XMLWordPrintableJSON

    • Icon: Technical Correction Technical Correction
    • Resolution: Persuasive
    • Icon: Medium Medium
    • Clinical Quality Language (FHIR)
    • 1.5.0
    • Clinical Decision Support
    • Appendix B - Reference
    • Hide

      Agreed, clarify that list membership considers `null` elements to be equal in the IndexOf and List Equality operator discussions

      Show
      Agreed, clarify that list membership considers `null` elements to be equal in the IndexOf and List Equality operator discussions
    • Correction
    • Non-substantive

      To ensure compatibility with FHIRPath, as well as to support distinct semantics consistent with most SQL implementations, CQL considers `null` to be equal when determining list membership. This clarification was made in this ticket:
      https://jira.hl7.org/browse/FHIR-35904

      However, this clarification does not appear to have been applied in all places. Specifically, at least the IndexOf and List Equality operators.

      https://cql.hl7.org/09-b-cqlreference.html#indexof
      https://cql.hl7.org/09-b-cqlreference.html#equal-2

            Unassigned Unassigned
            bryn.rhodes Bryn Rhodes
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: