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

Comparing decimal to integer

XMLWordPrintable

    • Icon: Question Question
    • Resolution: Referred to External Party for Resolution
    • Icon: Major Major
    • Measure Calculation
    • None
    • BONNIE
    • Bonnie QDM
    • APPROPRIATE USE OF DXA SCANS IN WOMEN UNDER 65 YEARS WHO DO NOT MEET THE RISK FACTOR PROFILE FOR OSTEOPOROTIC FRACTURE
    • CMS249V4
    • QDM/CQL
    • NUMEXPass OSTScoreDecimal<2

      Hello Bonnie Team,

      Could you please confirm whether the following behavior in Bonnie is expected?

      For the following definition that requires OST.result < 2, if OST.result is populated as an Integer of 1, the test case will pass. If OST.result is populated as Decimal of 1.5, the test case will not pass. To enable comparison, the types on both ends would need to be the same (both Decimals, or both Integers) - this aligns with the CQL specification. Is that correct?

      Thank you!

      define "Osteoporosis Fracture Risk Assessment Prior to First DXA Scan":
        ( ...
          union ( ["Assessment, Performed": "Osteoporosis Self-Assessment Tool"] OST
             where OST.result < 2
          ) ) RiskAssessment
           ...

            Heather.Frideres Heather Frideres
            dlee38 Dorothy Lee
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: