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

Request to help apply MATGlobalFunction to CQL logic to measures

XMLWordPrintable

    • Icon: Other Other
    • Resolution: Done
    • Icon: Major Major
    • None
    • Hide
      High impact.
      This measure is under development for potential submission to CMS. Note that this is one of several measures where we want to replace the current encounter logic with the the MATGlobalCommon function "HospitalizationWithObservation" to determine the IP.
      Thank you.
      Show
      High impact. This measure is under development for potential submission to CMS. Note that this is one of several measures where we want to replace the current encounter logic with the the MATGlobalCommon function "HospitalizationWithObservation" to determine the IP. Thank you.
    • 617-480-8220
    • Hospital Harm - Medication-Related Bleeding
    • Hospital Harm - Medication-Related Bleeding

      This is a request for assistance with updating a set of measures, currently under development, by replacing the current qualifying encounter logic with one of the functions in the library MATGlobalCommonFunctions version '4.1.000'.

      The initial population is all inpatient encounters including those that originate in the ED or Observation, therefore I'm attempting to replace the current CQL qualifying encounter logic with the logic from global library function "HospitalizationWithObservation" to determine the IP.

      Excerpt from CQL logic from one of the measures, but it doesn't seem correct:

      define "Qualifying Inpatient Encounters":
        ["Encounter, Performed": "Encounter Inpatient"] InpatientEncounter
          where InpatientEncounter.relevantPeriod during "Measurement Period"

      define "Qualifying Encounters":
        "Qualifying Inpatient Encounters" QualifyingEncounter
          where AgeInYearsAt(start of Global."HospitalizationWithObservation"(QualifyingEncounter))>= 18

      define "Initial Population":

      "Qualifying Encounters"
        intersect ( "Anticoagulant Medication Administered During Hospitalization"
            union "Thrombolytic Medication Administered During Hospitalization"
        )

      define "Anticoagulant Medication Administered During Hospitalization":

      "Qualifying Encounters" ValidEncounters
        with ["Medication, Administered": "Anticoagulant Medications"] AnticoagulantMedication
          such that AnticoagulantMedication.relevantPeriod during ValidEncounters.relevantPeriod

      ......etc.

      In MAT, I selected the MATGlobalCommonFunction v4.1 using the "Includes" feature, not the "Function" feature. I logged an issue with the MAT Support, but I am having difficulty following their instructions, and they advised this is more so a CQL issue and recommended I log a ticket here. I disclose that I am not an expert measure developer, so I've searched for examples and resource sites to learn about how to apply globalcommon functions, and have not been able to find anything sufficient. I admit this may be a training issue for me. Can you advise on next steps?

       

       

            eCQM Standards Team eCQM Standards Team
            mlefebvre@impaqint.com Michelle Lefebvre (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: