Uploaded image for project: 'MADiE Issue Tracker'
  1. MADiE Issue Tracker
  2. MADIE-1341

"Without...such that" evaluation

XMLWordPrintable

    • Icon: Question Question
    • Resolution: Answered
    • Icon: Moderate Moderate
    • Test Case Builder
    • None
    • BONNIE
    • Bonnie QDM
    • CONTROLLING HIGH BLOOD PRESSURE
    • CMS165v11
    • QDM/CQL
    • NUMERPass BPB4InpatientEnc
    • Yes

      Hello Bonnie team,

      I am testing a CQL definition using the "without... such that" query and it appears that the "without" clause is being evaluated prior to the "such that" condition.

      For example, in the screenshot attached, an encounter with no relevantPeriod meets the "without" clause but not the "such that" condition.

      Is this an expected behavior? Per CQL author's guide, "when multiple with or without clauses appear in a single query, the result will only include elements that meet the such that conditions for all the relationship clauses". Or, are unpopulated intervals being treated as null inclusive (maximum/minimum datetime values) which may explain the executed result?

      Thank you in advance!

            cbartleman@telligen.com Chandra Bartleman
            dlee38 Dorothy Lee
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: