Uploaded image for project: 'BONNIE MAT MADiE Issue Tracker'
  1. BONNIE MAT MADiE Issue Tracker
  2. BONNIEMAT-1455

Negation with Value Set Not Executing Correctly

XMLWordPrintable

      The test case mentioned in this ticket is failing.  I suspect this is related to the use of the  notDoneValueSet extension in the JSON. In QI-Core 4.1.0, a notDoneValueSet extension for handling a value set for a negated event was introduced. This enables negation for every event in the value set for the respective resource (e.g., MedicationRequest for MedicationNotRequested) - e.g., the "Beta Blocker Therapy for LVSD" value set, which is in use in the "Has Medical or Patient Reason for Not Ordering Beta Blocker for LVSD" definition. An example of the notDoneValueSet extension is exampled here. This capability is not working in MADiE currently. My understanding is that this issue is due to this not being a part of cql-execution, which still lists this feature as something to be implemented - https://github.com/cqframework/cql-execution/issues/296

       

      Without this feature, users will have to handle this issue at the logic level. At least 2 CQL expressions will be needed for every code in the respective value set - depending on whether the code system has been defined for the code or not. This will proliferate codes and CQL expressions in the library. Note that some value sets have hundreds of codes. In this case, it would be approximately 50 separate entries. In addition, a resource entry would be required for each code in the value set in the test case JSON.

       

      When will this capability be available?

            cbartleman@telligen.com Chandra Bartleman
            SRankins Stan Rankins
            Votes:
            0 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated:
              Resolved: