Uploaded image for project: 'CQL Issue Tracker'
  1. CQL Issue Tracker
  2. CQLIT-442

Issue with CQMCommon Library Update causing Cases Principle Diagnosis to fail

XMLWordPrintable

    • Icon: Problem Problem
    • Resolution: Done
    • Icon: Blocker Blocker
    • None
    • Yes
    • QI Core/CQL
    • Not measure related
    • Test Case JSON
    • MADiE

      Hello,

      With the recent update to CQMCommon my test cases are no longer passing that contain a principal diagnosis code.  The update is impacting multiple measures CMS 104,71,72(STK 2,3,5) and CMS 108,190 (VTE 1,2). The revision is noted here:

      Previous:

      define function "PrincipalDiagnosis"(Encounter Encounter ):

                      singleton from ((Encounter.diagnosis D where D.rank = 1) PD

            return singleton from ([Condition] C where C.id = PD.condition.reference.getId())

                      )

      Updated:

      define function "PrincipalDiagnosis"(Encounter Encounter ):

                      singleton from (

                      (Encounter.diagnosis D where D.rank = 1 and D.use ~ "Billing") PD

            return singleton from ([Condition] C where C.id = PD.condition.reference.getId())

                      )

      I added the billing concept under encounter diagnosis and the case is still failing and the highlighting is not giving a specific as to why. 

      CMS104FHIR-v0.9.000-FHIR4-TestCases (4).zip

       

            pjmuirESAC Peter Muir
            saguilar1219 Sheila Aguilar
            Votes:
            0 Vote for this issue
            Watchers:
            13 Start watching this issue

              Created:
              Updated:
              Resolved: