This page is part of the Quality Measure STU2 for FHIR R4 Implementation Guide (v4.0.0: STU4 (v4.0.0)) based on FHIR R4. This is the current published version in its permanent home (it will always be available at this URL). For a full list of available versions, see the Directory of published versions
Active as of 2022-02-22 |
{
"resourceType" : "Measure",
"id" : "EXM108-FHIR",
"meta" : {
"profile" : [
"http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/measure-cqfm",
"http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/computable-measure-cqfm"
]
},
"text" : {
"status" : "extensions",
"div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n <table class=\"grid dict\">\n \n <tr>\n <th scope=\"row\"><b>Id: </b></th>\n <td style=\"padding-left: 4px;\">EXM108-FHIR</td>\n </tr>\n \n \n <tr>\n <th scope=\"row\"><b>Download cql: </b></th>\n <td style=\"padding-left: 4px;\"><a href=\"Library-EXM108-FHIR.cql\">EXM108-FHIR.cql</a></td>\n </tr>\n \n\n \n \n <tr>\n <th scope=\"row\"><b>Url: </b></th>\n <td style=\"padding-left: 4px;\"><a href=\"Measure-EXM108-FHIR.html\">EXM108 - Venous Thromboembolism Prophylaxis</a></td>\n </tr>\n \n \n <tr>\n <th scope=\"row\"><b>Version: </b></th>\n <td style=\"padding-left: 4px;\">8.2.000</td>\n </tr>\n \n \n <tr>\n <th scope=\"row\"><b>Identifier: </b></th>\n <td style=\"padding-left: 4px;\">\n \n \n <p style=\"margin-bottom: 5px;\">\n <b>value: </b> <span>108</span>\n </p>\n \n </td>\n </tr>\n \n \n <tr>\n <th scope=\"row\"><b>Name: </b></th>\n <td style=\"padding-left: 4px;\">EXM108</td>\n </tr>\n \n \n <tr>\n <th scope=\"row\"><b>Title: </b></th>\n <td style=\"padding-left: 4px;\">EXM108 - Venous Thromboembolism Prophylaxis</td>\n </tr>\n \n \n \n <tr>\n <th scope=\"row\"><b>Status: </b></th>\n <td style=\"padding-left: 4px;\">active</td>\n </tr>\n \n \n <tr>\n <th scope=\"row\"><b>Experimental: </b></th>\n <td style=\"padding-left: 4px;\">true</td>\n </tr>\n \n \n <tr>\n <th scope=\"row\"><b>Scoring: </b></th>\n <td style=\"padding-left: 4px;\">\n \n \n <p style=\"margin-bottom: 5px;\">\n <span>Proportion </span>\n </p>\n \n \n \n </td>\n </tr>\n \n \n <tr>\n <th scope=\"row\"><b>Improvement Notation: </b></th>\n <td style=\"padding-left: 4px;\">\n \n \n <p style=\"margin-bottom: 5px;\">\n <span>Increased score indicates improvement </span>\n </p>\n \n \n \n </td>\n </tr>\n \n \n <tr>\n <th scope=\"row\"><b>Type: </b></th>\n <td style=\"padding-left: 4px;\">\n \n \n <p style=\"margin-bottom: 5px;\">\n <span>process </span>\n </p>\n \n \n \n </td>\n </tr>\n \n \n \n <tr>\n <th scope=\"row\"><b>Date: </b></th>\n <td style=\"padding-left: 4px;\">2022-02-22</td>\n </tr>\n \n \n <tr>\n <th scope=\"row\"><b>Publisher: </b></th>\n <td style=\"padding-left: 4px;\">Clinical Quality Information WG</td>\n </tr>\n \n \n <tr>\n <th scope=\"row\"><b>Description: </b></th>\n <td style=\"padding-left: 4px;\"><div><p>This measure assesses the number of patients who received VTE prophylaxis or have documentation why no VTE prophylaxis was given the day of or the day after hospital admission or surgery end date for surgeries that start the day of or the day after hospital admission</p>\n</div></td>\n </tr>\n \n \n \n \n <tr>\n <th scope=\"row\"><b>Use Context: </b></th>\n <td style=\"padding-left: 4px;\">\n <table class=\"grid-dict\">\n <tr><th><b>code</b></th><th><b>value</b></th></tr>\n \n <tr>\n <td>program</td>\n <td></td>\n </tr>\n \n </table>\n </td>\n </tr>\n \n \n <tr>\n <th scope=\"row\"><b>Jurisdiction: </b></th>\n <td style=\"padding-left: 25px;\">US</td>\n </tr>\n \n \n <tr>\n <th scope=\"row\"><b>Topic: </b></th>\n <td style=\"padding-left: 25px;\">57024-2</td>\n </tr>\n \n \n \n \n <tr>\n <th scope=\"row\"><b>Copyright: </b></th>\n <td style=\"padding-left: 25px;\"><div><p>Measure specifications are in the Public Domain.</p>\n<p>LOINC(R) is a registered trademark of the Regenstrief Institute.</p>\n<p>This material contains SNOMED Clinical Terms(R) (SNOMED CT(C)) copyright 2004-2017 International Health Terminology Standards Development Organization. All rights reserved.</p>\n</div></td>\n </tr>\n \n \n <tr>\n <th scope=\"row\"><b>Disclaimer: </b></th>\n <td style=\"padding-left: 25px;\"><div><p>These performance measures are not clinical guidelines and do not establish a standard of medical care, and have not been tested for all potential applications. The measures and specifications are provided without warranty</p>\n</div></td>\n </tr>\n \n \n <tr>\n <th scope=\"row\"><b>Approval Date: </b></th>\n <td style=\"padding-left: 4px;\">2019-03-08</td>\n </tr>\n \n \n <tr>\n <th scope=\"row\"><b>Last Review Date: </b></th>\n <td style=\"padding-left: 4px;\">2019-03-08</td>\n </tr>\n \n \n <tr>\n <th scope=\"row\"><b>Effective Period: </b></th>\n <td style=\"padding-left: 4px;\">2018-01-01..2018-12-31</td>\n </tr>\n \n \n \n <tr>\n <th scope=\"row\"><b>Population Criteria: </b></th>\n <td style=\"padding-left: 4px;\">\n \n <table class=\"grid-dict\">\n \n \n <tr>\n <td>Initial Population: </td>\n <td>Patients age 18 and older discharged from hospital inpatient acute care without a diagnosis of venous thromboembolism (VTE) or obstetrics with a length of stay less than or equal to 120 days that ends during the measurement period</td>\n </tr>\n \n <tr>\n <td>Numerator: </td>\n <td>Patients who received VTE prophylaxis:\n- the day of or the day after hospital admission\n- the day of or the day after surgery end date for surgeries that end the day of or the day after hospital admission\n\nPatients who have documentation of a reason why no VTE prophylaxis was given:\n- between arrival and hospital admission\n- the day of or the day after hospital admission\n- the day of or the day after surgery end date (for surgeries that end the day of or the day after hospital admission)</td>\n </tr>\n \n <tr>\n <td>Denominator: </td>\n <td>All patients in the initial population</td>\n </tr>\n \n <tr>\n <td>Denominator Exclusion: </td>\n <td>* Patients who have a length of stay less than 2 days\n* Patients with comfort measures documented anytime between arrival and the day after hospital admission\n* Patients with comfort measures documented by the day after surgery end date for surgeries that start the day of or the day after hospital admission\n* Patients who are direct admits to intensive care unit (ICU), or transferred to ICU the day of or the day after hospital admission with ICU length of stay greater than or equal to one day\n* Patients with a principal diagnosis of mental disorders or stroke\n* Patients with a principal procedure of Surgical Care Improvement Project (SCIP) VTE selected surgeries</td>\n </tr>\n \n </table>\n \n </td>\n </tr>\n \n \n \n \n \n <tr>\n <th scope=\"row\"><b> Supplemental Data Elements: </b></th>\n <td style=\"padding-left: 4px;\">\n \n \n \n \n SDE Ethnicity\n \n \n \n \n \n \n \n SDE Payer\n \n \n \n \n \n \n \n SDE Race\n \n \n \n \n \n \n \n SDE Sex\n \n \n \n \n </td>\n </tr>\n \n \n \n <tr>\n <th scope=\"row\"><b>Libraries: </b></th>\n <td style=\"padding-left: 4px;\">\n <table class=\"grid-dict\">\n \n <tr><td><a href=\"Library-EXM108-FHIR.html\">EXM108 - Venous Thromboembolism Prophylaxis Library</a></td></tr>\n \n </table>\n </td>\n </tr>\n \n \n \n <tr>\n <th scope=\"row\"><b>Related Artifact Dependencies: </b></th>\n <td style=\"padding-left: 4px;\">\n \n <li><a href=\"Library-SupplementalDataElements.html\">Supplemental Data Elements Library</a></li>\n \n <li><a href=\"http://fhir.org/guides/cqf/common/Library/FHIRHelpers|4.0.1\">http://fhir.org/guides/cqf/common/Library/FHIRHelpers|4.0.1</a></li>\n \n <li><a href=\"Library-MATGlobalCommonFunctions.html\">MAT Global Common Functions FHIR Library</a></li>\n \n <li><a href=\"Library-TJCOverall.html\">TJC Overall Library</a></li>\n \n <li><a href=\"Library-VTEICU.html\">VTE ICU Library</a></li>\n \n <li><a href=\"http://terminology.hl7.org/5.2.0/CodeSystem-condition-clinical.html\">Condition Clinical Status Codes</a></li>\n \n <li><a href=\"http://terminology.hl7.org/5.2.0/CodeSystem-v3-loinc.html\">Logical Observation Identifiers, Names and Codes (LOINC)</a></li>\n \n <li><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.666.5.307/expansion\">Encounter Inpatient</a></li>\n \n <li><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.117.1.7.1.263/expansion\">Obstetrics</a></li>\n \n <li><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.117.1.7.1.279/expansion\">Venous Thromboembolism</a></li>\n \n <li><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.117.1.7.1.264/expansion\">Obstetrics VTE</a></li>\n \n <li><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1045.39/expansion\">Low Dose Unfractionated Heparin for VTE Prophylaxis</a></li>\n \n <li><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.117.1.7.1.223/expansion\">Subcutaneous route</a></li>\n \n <li><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.117.1.7.1.219/expansion\">Low Molecular Weight Heparin for VTE Prophylaxis</a></li>\n \n <li><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.117.1.7.1.211/expansion\">Injectable Factor Xa Inhibitor for VTE Prophylaxis</a></li>\n \n <li><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.117.1.7.1.232/expansion\">Warfarin</a></li>\n \n <li><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1110.48/expansion\">Device Application</a></li>\n \n <li><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.117.1.7.1.214/expansion\">Intermittent pneumatic compression devices (IPC)</a></li>\n \n <li><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.117.1.7.1.230/expansion\">Venous foot pumps (VFP)</a></li>\n \n <li><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.117.1.7.1.256/expansion\">Graduated compression stockings (GCS)</a></li>\n \n <li><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.666.5.1743/expansion\">General or Neuraxial Anesthesia</a></li>\n \n <li><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.117.1.7.1.134/expansion\">Oral Factor Xa Inhibitor for VTE Prophylaxis or VTE Treatment</a></li>\n \n <li><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.117.1.7.1.202/expansion\">Atrial Fibrillation/Flutter</a></li>\n \n <li><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.117.1.7.1.259/expansion\">Hip Replacement Surgery</a></li>\n \n <li><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.117.1.7.1.261/expansion\">Knee Replacement Surgery</a></li>\n \n <li><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.117.1.7.1.400/expansion\">Low Risk</a></li>\n \n <li><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.117.1.7.1.213/expansion\">INR</a></li>\n \n <li><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.117.1.7.1.218/expansion\">Unfractionated Heparin</a></li>\n \n <li><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.117.1.7.1.222/expansion\">Intravenous route</a></li>\n \n <li><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.117.1.7.1.205/expansion\">Direct Thrombin Inhibitor</a></li>\n \n <li><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1045.41/expansion\">Glycoprotein IIb/IIIa Inhibitors</a></li>\n \n <li><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1111.143/expansion\">Observation Services</a></li>\n \n <li><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.117.1.7.1.292/expansion\">Emergency Department Visit</a></li>\n \n <li><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.117.1.7.1.473/expansion\">Medical Reason</a></li>\n \n <li><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.117.1.7.1.93/expansion\">Patient Refusal</a></li>\n \n <li><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.114222.4.11.3591/expansion\">Payer</a></li>\n \n <li><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1110.23/expansion\">Intensive Care Unit</a></li>\n \n <li><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.464.1003.105.12.1004/expansion\">Mental Health Diagnoses</a></li>\n \n <li><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.117.1.7.1.212/expansion\">Hemorrhagic Stroke</a></li>\n \n <li><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.117.1.7.1.247/expansion\">Ischemic Stroke</a></li>\n \n <li><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.117.1.7.1.255/expansion\">General Surgery</a></li>\n \n <li><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.117.1.7.1.257/expansion\">Gynecological Surgery</a></li>\n \n <li><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.117.1.7.1.258/expansion\">Hip Fracture Surgery</a></li>\n \n <li><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.117.1.7.1.260/expansion\">Intracranial Neurosurgery</a></li>\n \n <li><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.117.1.7.1.272/expansion\">Urological Surgery</a></li>\n \n <li><a href=\"https://vsac.nlm.nih.gov/valueset/1.3.6.1.4.1.33895.1.3.0.45/expansion\">Comfort Measures</a></li>\n \n </td>\n </tr>\n <tr>\n <th scope=\"row\"><b>Parameters:</b></th>\n <td style=\"padding-left: 4px;\">\n <table class=\"grid-dict\">\n <tr><th><b>name</b></th><th><b>use</b></th><th><b>min</b></th><th><b>max</b></th><th><b>type</b></th></tr>\n \n <tr>\n <td>Measurement Period</td>\n <td>in</td>\n <td>0</td>\n <td>1</td>\n <td>Period</td>\n </tr>\n \n <tr>\n <td>SDE Sex</td>\n <td>out</td>\n <td>0</td>\n <td>1</td>\n <td>Coding</td>\n </tr>\n \n <tr>\n <td>Numerator</td>\n <td>out</td>\n <td>0</td>\n <td>*</td>\n <td>Encounter</td>\n </tr>\n \n <tr>\n <td>Denominator</td>\n <td>out</td>\n <td>0</td>\n <td>*</td>\n <td>Encounter</td>\n </tr>\n \n <tr>\n <td>SDE Payer</td>\n <td>out</td>\n <td>0</td>\n <td>*</td>\n <td>Resource</td>\n </tr>\n \n <tr>\n <td>Initial Population</td>\n <td>out</td>\n <td>0</td>\n <td>*</td>\n <td>Encounter</td>\n </tr>\n \n <tr>\n <td>SDE Ethnicity</td>\n <td>out</td>\n <td>0</td>\n <td>*</td>\n <td>Coding</td>\n </tr>\n \n <tr>\n <td>Denominator Exclusion</td>\n <td>out</td>\n <td>0</td>\n <td>*</td>\n <td>Resource</td>\n </tr>\n \n <tr>\n <td>SDE Race</td>\n <td>out</td>\n <td>0</td>\n <td>*</td>\n <td>Coding</td>\n </tr>\n \n </table>\n </td>\n </tr>\n <tr>\n <th scope=\"row\"><b>DataRequirements:</b></th>\n <td style=\"padding-left: 4px;\">\n <table class=\"grid-dict\">\n <tr><th><b>Type</b></th><th><b>Must Support</b></th><th><b>Valueset Name</b></th><th><b>Valueset</b></th></tr>\n \n <tr>\n <td>Patient</td>\n <td>\n \n extension\n \n value\n \n birthDate\n \n url\n \n </td>\n <td>\n \n </td>\n <td></td>\n </tr>\n \n <tr>\n <td>Encounter</td>\n <td>\n \n period\n \n type\n \n </td>\n <td>\n \n \n Emergency Department Visit\n \n \n </td>\n <td><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.117.1.7.1.292/expansion\">Emergency Department Visit</a></td>\n </tr>\n \n <tr>\n <td>Encounter</td>\n <td>\n \n period\n \n type\n \n </td>\n <td>\n \n \n Observation Services\n \n \n </td>\n <td><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1111.143/expansion\">Observation Services</a></td>\n </tr>\n \n <tr>\n <td>Encounter</td>\n <td>\n \n period\n \n type\n \n status\n \n </td>\n <td>\n \n \n Encounter Inpatient\n \n \n </td>\n <td><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.666.5.307/expansion\">Encounter Inpatient</a></td>\n </tr>\n \n <tr>\n <td>MedicationAdministration</td>\n <td>\n \n dosage.route\n \n dosage\n \n medication\n \n </td>\n <td>\n \n \n Unfractionated Heparin\n \n \n </td>\n <td><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.117.1.7.1.218/expansion\">Unfractionated Heparin</a></td>\n </tr>\n \n <tr>\n <td>MedicationAdministration</td>\n <td>\n \n medication\n \n </td>\n <td>\n \n \n Direct Thrombin Inhibitor\n \n \n </td>\n <td><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.117.1.7.1.205/expansion\">Direct Thrombin Inhibitor</a></td>\n </tr>\n \n <tr>\n <td>MedicationAdministration</td>\n <td>\n \n medication\n \n </td>\n <td>\n \n \n Glycoprotein IIb/IIIa Inhibitors\n \n \n </td>\n <td><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1045.41/expansion\">Glycoprotein IIb/IIIa Inhibitors</a></td>\n </tr>\n \n <tr>\n <td>MedicationAdministration</td>\n <td>\n \n dosage.route\n \n dosage\n \n medication\n \n status\n \n </td>\n <td>\n \n \n Low Dose Unfractionated Heparin for VTE Prophylaxis\n \n \n </td>\n <td><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1045.39/expansion\">Low Dose Unfractionated Heparin for VTE Prophylaxis</a></td>\n </tr>\n \n <tr>\n <td>MedicationAdministration</td>\n <td>\n \n medication\n \n status\n \n </td>\n <td>\n \n \n Low Molecular Weight Heparin for VTE Prophylaxis\n \n \n </td>\n <td><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.117.1.7.1.219/expansion\">Low Molecular Weight Heparin for VTE Prophylaxis</a></td>\n </tr>\n \n <tr>\n <td>MedicationAdministration</td>\n <td>\n \n medication\n \n status\n \n </td>\n <td>\n \n \n Injectable Factor Xa Inhibitor for VTE Prophylaxis\n \n \n </td>\n <td><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.117.1.7.1.211/expansion\">Injectable Factor Xa Inhibitor for VTE Prophylaxis</a></td>\n </tr>\n \n <tr>\n <td>MedicationAdministration</td>\n <td>\n \n medication\n \n status\n \n </td>\n <td>\n \n \n Warfarin\n \n \n </td>\n <td><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.117.1.7.1.232/expansion\">Warfarin</a></td>\n </tr>\n \n <tr>\n <td>MedicationAdministration</td>\n <td>\n \n effective\n \n medication\n \n status\n \n </td>\n <td>\n \n \n Oral Factor Xa Inhibitor for VTE Prophylaxis or VTE Treatment\n \n \n </td>\n <td><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.117.1.7.1.134/expansion\">Oral Factor Xa Inhibitor for VTE Prophylaxis or VTE Treatment</a></td>\n </tr>\n \n <tr>\n <td>MedicationRequest</td>\n <td>\n \n medication\n \n </td>\n <td>\n \n \n Low Dose Unfractionated Heparin for VTE Prophylaxis\n \n \n </td>\n <td><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1045.39/expansion\">Low Dose Unfractionated Heparin for VTE Prophylaxis</a></td>\n </tr>\n \n <tr>\n <td>MedicationRequest</td>\n <td>\n \n medication\n \n </td>\n <td>\n \n \n Low Molecular Weight Heparin for VTE Prophylaxis\n \n \n </td>\n <td><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.117.1.7.1.219/expansion\">Low Molecular Weight Heparin for VTE Prophylaxis</a></td>\n </tr>\n \n <tr>\n <td>MedicationRequest</td>\n <td>\n \n medication\n \n </td>\n <td>\n \n \n Injectable Factor Xa Inhibitor for VTE Prophylaxis\n \n \n </td>\n <td><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.117.1.7.1.211/expansion\">Injectable Factor Xa Inhibitor for VTE Prophylaxis</a></td>\n </tr>\n \n <tr>\n <td>MedicationRequest</td>\n <td>\n \n medication\n \n </td>\n <td>\n \n \n Warfarin\n \n \n </td>\n <td><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.117.1.7.1.232/expansion\">Warfarin</a></td>\n </tr>\n \n <tr>\n <td>ServiceRequest</td>\n <td>\n \n code\n \n </td>\n <td>\n \n \n Venous foot pumps (VFP)\n \n \n </td>\n <td><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.117.1.7.1.230/expansion\">Venous foot pumps (VFP)</a></td>\n </tr>\n \n <tr>\n <td>ServiceRequest</td>\n <td>\n \n code\n \n </td>\n <td>\n \n \n Intermittent pneumatic compression devices (IPC)\n \n \n </td>\n <td><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.117.1.7.1.214/expansion\">Intermittent pneumatic compression devices (IPC)</a></td>\n </tr>\n \n <tr>\n <td>ServiceRequest</td>\n <td>\n \n code\n \n </td>\n <td>\n \n \n Graduated compression stockings (GCS)\n \n \n </td>\n <td><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.117.1.7.1.256/expansion\">Graduated compression stockings (GCS)</a></td>\n </tr>\n \n <tr>\n <td>ServiceRequest</td>\n <td>\n \n code\n \n intent\n \n </td>\n <td>\n \n \n Comfort Measures\n \n \n </td>\n <td><a href=\"https://vsac.nlm.nih.gov/valueset/1.3.6.1.4.1.33895.1.3.0.45/expansion\">Comfort Measures</a></td>\n </tr>\n \n <tr>\n <td>Procedure</td>\n <td>\n \n code\n \n </td>\n <td>\n \n \n General Surgery\n \n \n </td>\n <td><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.117.1.7.1.255/expansion\">General Surgery</a></td>\n </tr>\n \n <tr>\n <td>Procedure</td>\n <td>\n \n code\n \n </td>\n <td>\n \n \n Gynecological Surgery\n \n \n </td>\n <td><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.117.1.7.1.257/expansion\">Gynecological Surgery</a></td>\n </tr>\n \n <tr>\n <td>Procedure</td>\n <td>\n \n code\n \n </td>\n <td>\n \n \n Hip Fracture Surgery\n \n \n </td>\n <td><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.117.1.7.1.258/expansion\">Hip Fracture Surgery</a></td>\n </tr>\n \n <tr>\n <td>Procedure</td>\n <td>\n \n code\n \n </td>\n <td>\n \n \n Intracranial Neurosurgery\n \n \n </td>\n <td><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.117.1.7.1.260/expansion\">Intracranial Neurosurgery</a></td>\n </tr>\n \n <tr>\n <td>Procedure</td>\n <td>\n \n code\n \n </td>\n <td>\n \n \n Urological Surgery\n \n \n </td>\n <td><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.117.1.7.1.272/expansion\">Urological Surgery</a></td>\n </tr>\n \n <tr>\n <td>Procedure</td>\n <td>\n \n code\n \n status\n \n </td>\n <td>\n \n \n Comfort Measures\n \n \n </td>\n <td><a href=\"https://vsac.nlm.nih.gov/valueset/1.3.6.1.4.1.33895.1.3.0.45/expansion\">Comfort Measures</a></td>\n </tr>\n \n <tr>\n <td>Procedure</td>\n <td>\n \n code\n \n </td>\n <td>\n \n \n Hip Replacement Surgery\n \n \n </td>\n <td><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.117.1.7.1.259/expansion\">Hip Replacement Surgery</a></td>\n </tr>\n \n <tr>\n <td>Procedure</td>\n <td>\n \n code\n \n </td>\n <td>\n \n \n Knee Replacement Surgery\n \n \n </td>\n <td><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.117.1.7.1.261/expansion\">Knee Replacement Surgery</a></td>\n </tr>\n \n <tr>\n <td>Procedure</td>\n <td>\n \n code\n \n statusReason\n \n usedCode\n \n id\n \n status\n \n </td>\n <td>\n \n \n Device Application\n \n \n </td>\n <td><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1110.48/expansion\">Device Application</a></td>\n </tr>\n \n <tr>\n <td>Procedure</td>\n <td>\n \n code\n \n performed\n \n status\n \n </td>\n <td>\n \n \n General or Neuraxial Anesthesia\n \n \n </td>\n <td><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.666.5.1743/expansion\">General or Neuraxial Anesthesia</a></td>\n </tr>\n \n <tr>\n <td>Condition</td>\n <td>\n \n id\n \n </td>\n <td>\n \n </td>\n <td></td>\n </tr>\n \n <tr>\n <td>Condition</td>\n <td>\n \n code\n \n clinicalStatus\n \n onset\n \n </td>\n <td>\n \n \n Atrial Fibrillation/Flutter\n \n \n </td>\n <td><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.117.1.7.1.202/expansion\">Atrial Fibrillation/Flutter</a></td>\n </tr>\n \n <tr>\n <td>Condition</td>\n <td>\n \n code\n \n clinicalStatus\n \n onset\n \n </td>\n <td>\n \n \n Venous Thromboembolism\n \n \n </td>\n <td><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.117.1.7.1.279/expansion\">Venous Thromboembolism</a></td>\n </tr>\n \n <tr>\n <td>Observation</td>\n <td>\n \n code\n \n value\n \n status\n \n </td>\n <td>\n \n </td>\n <td></td>\n </tr>\n \n <tr>\n <td>Observation</td>\n <td>\n \n code\n \n id\n \n issued\n \n value\n \n status\n \n </td>\n <td>\n \n \n INR\n \n \n </td>\n <td><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.117.1.7.1.213/expansion\">INR</a></td>\n </tr>\n \n <tr>\n <td>Coverage</td>\n <td>\n \n period\n \n type\n \n </td>\n <td>\n \n \n Payer\n \n \n </td>\n <td><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.114222.4.11.3591/expansion\">Payer</a></td>\n </tr>\n \n <tr>\n <td>Location</td>\n <td>\n \n id\n \n </td>\n <td>\n \n </td>\n <td></td>\n </tr>\n \n </table>\n </td>\n </tr>\n \n <tr>\n <th scope=\"row\"><b>Direct Reference Codes:</b></th>\n <td style=\"padding-left: 4px;\">\n <table class=\"grid-dict\">\n <tr><th><b>display</b></th><th><b>code</b></th><th><b>system</b></th></tr>\n \n <tr>\n <td></td>\n <td>active</td>\n <td><a href=\"http://terminology.hl7.org/5.2.0/CodeSystem-condition-clinical.html\">Condition Clinical Status Codes</a></td>\n </tr>\n \n <tr>\n <td></td>\n <td>recurrence</td>\n <td><a href=\"http://terminology.hl7.org/5.2.0/CodeSystem-condition-clinical.html\">Condition Clinical Status Codes</a></td>\n </tr>\n \n <tr>\n <td></td>\n <td>relapse</td>\n <td><a href=\"http://terminology.hl7.org/5.2.0/CodeSystem-condition-clinical.html\">Condition Clinical Status Codes</a></td>\n </tr>\n \n <tr>\n <td></td>\n <td>inactive</td>\n <td><a href=\"http://terminology.hl7.org/5.2.0/CodeSystem-condition-clinical.html\">Condition Clinical Status Codes</a></td>\n </tr>\n \n <tr>\n <td></td>\n <td>remission</td>\n <td><a href=\"http://terminology.hl7.org/5.2.0/CodeSystem-condition-clinical.html\">Condition Clinical Status Codes</a></td>\n </tr>\n \n <tr>\n <td></td>\n <td>resolved</td>\n <td><a href=\"http://terminology.hl7.org/5.2.0/CodeSystem-condition-clinical.html\">Condition Clinical Status Codes</a></td>\n </tr>\n \n <tr>\n <td>Risk for venous thromboembolism</td>\n <td>72136-5</td>\n <td><a href=\"http://terminology.hl7.org/5.2.0/CodeSystem-v3-loinc.html\">Logical Observation Identifiers, Names and Codes (LOINC)</a></td>\n </tr>\n \n </table>\n </td>\n </tr>\n \n \n <tr>\n <th scope=\"row\"><b>Logic Definitions:</b></th>\n <td style=\"padding-left: 4px;\">\n \n <table class=\"grid-dict\">\n <tr>\n <th><b>Group</b></th><th><b>Scoring</b></th><th><b>Population Criteria</b></th><th><b>Expression</b></th>\n </tr>\n <tr>\n \n <td> </td>\n <td>\n \n \n <b>Measure scoring:</b>\n \n <p style=\"margin-bottom: 5px;\">\n <span>Proportion</span>\n </p>\n \n \n </td>\n \n <tr>\n <td/>\n <td/>\n <td>Initial Population</td>\n <td>\n \n <pre><code class=\"language-cql\">define "Initial Population":\n "Encounter With Age Range and Without VTE Diagnosis or Obstetrical Conditions"</code></pre>\n \n </td>\n </tr>\n \n <tr>\n <td/>\n <td/>\n <td>Numerator</td>\n <td>\n \n <pre><code class=\"language-cql\">define "Numerator":\n "Encounter With VTE Prophylaxis Received on Day of or Day After Admission or Procedure"\n union ( "Encounter With Medication Oral Factor Xa Inhibitor Administered on Day of or Day After Admission or Procedure"\n \t\t\t intersect ( "Encounter With Prior or Present Diagnosis of Atrial Fibrillation or VTE"\n \t\t\t\t\t\t union "Encounter With Prior or Present Procedure of Hip or Knee Replacement Surgery"\n \t\t\t )\n )\n union "Encounter With Low Risk for VTE or Anticoagulant Administered"\n union "Encounter With No VTE Prophylaxis Due to Medical Reason"\n union "Encounter With No VTE Prophylaxis Due to Patient Refusal"</code></pre>\n \n </td>\n </tr>\n \n <tr>\n <td/>\n <td/>\n <td>Denominator</td>\n <td>\n \n <pre><code class=\"language-cql\">define "Denominator":\n "Initial Population"</code></pre>\n \n </td>\n </tr>\n \n <tr>\n <td/>\n <td/>\n <td>Denominator Exclusion</td>\n <td>\n \n <pre><code class=\"language-cql\">define "Denominator Exclusion":\n "Encounter Less Than 2 Days"\n union "Encounter With ICU Location Stay 1 Day or More"\n union "Encounter With Principal Diagnosis of Mental Disorder or Stroke"\n union "Encounter With Principal Procedure of SCIP VTE Selected Surgery"\n union "Encounter With Intervention Comfort Measures From Day of Start of Hospitalization To Day After Admission"\n union "Encounter With Intervention Comfort Measures on Day of or Day After Procedure"</code></pre>\n \n </td>\n </tr>\n \n\n \n </tr>\n </table>\n \n <table class=\"grid-dict\">\n \n <tr><th><b>Library Name</b></th><th><b>Name</b></th></tr>\n <tr>\n \n <td>SupplementalDataElements</td>\n \n \n <td>SDE Sex</td>\n \n </tr>\n <tr>\n \n <td></td>\n <td><pre class=\"highlight language-cql\"><code class=\"language-cql\">define "SDE Sex":\n case\n when Patient.gender = 'male' then Code { code: 'M', system: 'http://hl7.org/fhir/v3/AdministrativeGender', display: 'Male' }\n when Patient.gender = 'female' then Code { code: 'F', system: 'http://hl7.org/fhir/v3/AdministrativeGender', display: 'Female' }\n else null\n end</code></pre></td>\n \n </tr>\n \n <tr><th><b>Library Name</b></th><th><b>Name</b></th></tr>\n <tr>\n \n <td>EXM108-FHIR</td>\n \n \n <td>SDE Sex</td>\n \n </tr>\n <tr>\n \n <td></td>\n <td><pre class=\"highlight language-cql\"><code class=\"language-cql\">define "SDE Sex":\n\tSDE."SDE Sex"</code></pre></td>\n \n </tr>\n \n <tr><th><b>Library Name</b></th><th><b>Name</b></th></tr>\n <tr>\n \n <td>MATGlobalCommonFunctions</td>\n \n \n <td>Inpatient Encounter</td>\n \n </tr>\n <tr>\n \n <td></td>\n <td><pre class=\"highlight language-cql\"><code class=\"language-cql\">define "Inpatient Encounter":\n\t[Encounter: "Encounter Inpatient"] EncounterInpatient\n\t\twhere EncounterInpatient.status = 'finished'\n\t\t and "LengthInDays"(EncounterInpatient.period) <= 120\n\t\t\tand EncounterInpatient.period ends during "Measurement Period"</code></pre></td>\n \n </tr>\n \n <tr><th><b>Library Name</b></th><th><b>Name</b></th></tr>\n <tr>\n \n <td>EXM108-FHIR</td>\n \n \n <td>Admission Without VTE or Obstetrical Conditions</td>\n \n </tr>\n <tr>\n \n <td></td>\n <td><pre class=\"highlight language-cql\"><code class=\"language-cql\">define "Admission Without VTE or Obstetrical Conditions":\n\t \tGlobal."Inpatient Encounter" InpatientEncounter\n\t\t where not (exists (Global.EncounterDiagnosis(InpatientEncounter)) EncounterDiagnosis\n where (EncounterDiagnosis.code in "Obstetrics"\n\t\t\t\t\t\t\t\tor EncounterDiagnosis.code in "Venous Thromboembolism"\n\t\t\t\t\t\t\t\tor EncounterDiagnosis.code in "Obstetrics VTE"\n\t\t\t )\n )</code></pre></td>\n \n </tr>\n \n <tr><th><b>Library Name</b></th><th><b>Name</b></th></tr>\n <tr>\n \n <td>EXM108-FHIR</td>\n \n \n <td>Encounter With Age Range and Without VTE Diagnosis or Obstetrical Conditions</td>\n \n </tr>\n <tr>\n \n <td></td>\n <td><pre class=\"highlight language-cql\"><code class=\"language-cql\">// Note: added FHIRHelpers.ToDate() in R4\ndefine "Encounter With Age Range and Without VTE Diagnosis or Obstetrical Conditions":\n ( Global."Inpatient Encounter" InpatientEncounter\n \t\twith ["Patient"] BirthDate\n \t\t\tsuch that Global."CalendarAgeInYearsAt"(FHIRHelpers.ToDate(BirthDate.birthDate), start of InpatientEncounter.period) >= 18\n )\n intersect "Admission Without VTE or Obstetrical Conditions"</code></pre></td>\n \n </tr>\n \n <tr><th><b>Library Name</b></th><th><b>Name</b></th></tr>\n <tr>\n \n <td>EXM108</td>\n \n \n <td>VTE Prophylaxis by Medication Administered or Device Applied</td>\n \n </tr>\n <tr>\n \n <td></td>\n <td><pre class=\"highlight language-cql\"><code class=\"language-cql\">// 10/29: Replaced DeviceUseStatement with Procedure with a new value set and procedure.usdCode for specifying devices\ndefine "VTE Prophylaxis by Medication Administered or Device Applied":\n ( ["MedicationAdministration": medication in "Low Dose Unfractionated Heparin for VTE Prophylaxis"] VTEMedication\n where VTEMedication.status ='completed'\n\t\t\t and VTEMedication.dosage.route in "Subcutaneous route"\n )\n union (["MedicationAdministration": medication in "Low Molecular Weight Heparin for VTE Prophylaxis"] LMWH where LMWH.status = 'completed')\n union (["MedicationAdministration": medication in "Injectable Factor Xa Inhibitor for VTE Prophylaxis"] FactorXa where FactorXa.status = 'completed')\n union (["MedicationAdministration": medication in "Warfarin"] Warfarin where Warfarin.status = 'completed')\n union (\n ["Procedure": "Device Application"] DeviceApplied\n where DeviceApplied.status = 'complete'\n and (DeviceApplied.usedCode in "Intermittent pneumatic compression devices (IPC)"\n or DeviceApplied.usedCode in"Venous foot pumps (VFP)"\n or DeviceApplied.usedCode in "Graduated compression stockings (GCS)"\n )\n )</code></pre></td>\n \n </tr>\n \n <tr><th><b>Library Name</b></th><th><b>Name</b></th></tr>\n <tr>\n \n <td>EXM108-FHIR</td>\n \n \n <td>Encounter With VTE Prophylaxis Received on Day of or Day After Admission or Procedure</td>\n \n </tr>\n <tr>\n \n <td></td>\n <td><pre class=\"highlight language-cql\"><code class=\"language-cql\">define "Encounter With VTE Prophylaxis Received on Day of or Day After Admission or Procedure":\n \t( from\n \t\t\t"Encounter With Age Range and Without VTE Diagnosis or Obstetrical Conditions" QualifyingEncounter,\n \t\t\t"VTE Prophylaxis by Medication Administered or Device Applied" VTEProphylaxis\n \t\twhere Coalesce(Global."Normalize Interval"(VTEProphylaxis.effective), Global."Normalize Interval"(VTEProphylaxis.performed)) starts during TJC."CalendarDayOfOrDayAfter"(start of QualifyingEncounter.period)\n \t\treturn QualifyingEncounter\n \t)\n \tunion (\n from\n \t\t\t"Encounter With Age Range and Without VTE Diagnosis or Obstetrical Conditions" QualifyingEncounter,\n \t\t\t["Procedure": "General or Neuraxial Anesthesia"] AnesthesiaProcedure,\n \t\t\t"VTE Prophylaxis by Medication Administered or Device Applied" VTEProphylaxis\n\t\t\twhere Global."Normalize Interval"(AnesthesiaProcedure.performed) ends 1 day after day of start of QualifyingEncounter.period\n\t\t\t\tand Coalesce(Global."Normalize Interval"(VTEProphylaxis.effective), Global."Normalize Interval"(VTEProphylaxis.performed)) starts during TJC."CalendarDayOfOrDayAfter"(end of Global."Normalize Interval"(AnesthesiaProcedure.performed))\n\t\t\treturn QualifyingEncounter\n\t)</code></pre></td>\n \n </tr>\n \n <tr><th><b>Library Name</b></th><th><b>Name</b></th></tr>\n <tr>\n \n <td>EXM108-FHIR</td>\n \n \n <td>Encounter With Medication Oral Factor Xa Inhibitor Administered on Day of or Day After Admission or Procedure</td>\n \n </tr>\n <tr>\n \n <td></td>\n <td><pre class=\"highlight language-cql\"><code class=\"language-cql\">define "Encounter With Medication Oral Factor Xa Inhibitor Administered on Day of or Day After Admission or Procedure":\n\t( from\n \t\t"Encounter With Age Range and Without VTE Diagnosis or Obstetrical Conditions" QualifyingEncounter,\n \t\t\t["MedicationAdministration": medication in "Oral Factor Xa Inhibitor for VTE Prophylaxis or VTE Treatment"] FactorXaMedication\n where FactorXaMedication.status = 'completed'\n and Global."Normalize Interval"(FactorXaMedication.effective) starts during TJC."CalendarDayOfOrDayAfter"(start of QualifyingEncounter.period)\n return QualifyingEncounter\n )\n union ( from\n \t\t\t\t "Encounter With Age Range and Without VTE Diagnosis or Obstetrical Conditions" QualifyingEncounter,\n \t\t\t\t["Procedure": "General or Neuraxial Anesthesia"] AnesthesiaProcedure,\n \t\t\t\t["MedicationAdministration": medication in "Oral Factor Xa Inhibitor for VTE Prophylaxis or VTE Treatment"] FactorXaMedication\n \t\t\twhere FactorXaMedication.status = 'completed'\n and AnesthesiaProcedure.status = 'completed'\n \t\t\t and Global."Normalize Interval"(AnesthesiaProcedure.performed) ends 1 day after day of start of QualifyingEncounter.period\n \t\t\t\t\tand Global."Normalize Interval"(FactorXaMedication.effective) starts during TJC."CalendarDayOfOrDayAfter"(end of Global."Normalize Interval"(AnesthesiaProcedure.performed))\n \t\t\treturn QualifyingEncounter\n \t\t)</code></pre></td>\n \n </tr>\n \n <tr><th><b>Library Name</b></th><th><b>Name</b></th></tr>\n <tr>\n \n <td>EXM108-FHIR</td>\n \n \n <td>Encounter With Prior or Present Diagnosis of Atrial Fibrillation or VTE</td>\n \n </tr>\n <tr>\n \n <td></td>\n <td><pre class=\"highlight language-cql\"><code class=\"language-cql\">/*NOTE: Feedback at Digitial Quality Summit 2019 indicates verificationStatus may be difficult for implementers to retrieve\n both condition.clinicalStatus and condition.verificationStatus = 'confirmed'\n*/\ndefine "Encounter With Prior or Present Diagnosis of Atrial Fibrillation or VTE":\n\t( "Encounter With Age Range and Without VTE Diagnosis or Obstetrical Conditions" QualifyingEncounter\n\t\twith ["Condition": code in "Atrial Fibrillation/Flutter"] AtrialFibrillation\n\t\tsuch that FHIRHelpers.ToConcept(AtrialFibrillation.clinicalStatus) in { Global."active", Global."recurrence", Global."relapse" }\n\t\t\tand Global."Normalize Interval"(AtrialFibrillation.onset) starts on or before end of QualifyingEncounter.period\n )\n union ( "Encounter With Age Range and Without VTE Diagnosis or Obstetrical Conditions" QualifyingEncounter\n \t\t\t\twhere Global.EncounterDiagnosis(QualifyingEncounter).code in "Atrial Fibrillation/Flutter"\n \t\t\t)\n union ( "Encounter With Age Range and Without VTE Diagnosis or Obstetrical Conditions" QualifyingEncounter\n \t\t\t\twith ["Condition": code in "Venous Thromboembolism"] VTEDiagnosis\n \t\t\t\tsuch that FHIRHelpers.ToConcept(VTEDiagnosis.clinicalStatus) in { Global."inactive", Global."remission", Global."resolved" }\n \t\t\t\t\t//and VTEDiagnosis.verificationStatus = 'confirmed'\n \t\t\t\tand Global."Normalize Interval"(VTEDiagnosis.onset) before start of QualifyingEncounter.period\n \t\t)</code></pre></td>\n \n </tr>\n \n <tr><th><b>Library Name</b></th><th><b>Name</b></th></tr>\n <tr>\n \n <td>EXM108-FHIR</td>\n \n \n <td>Encounter With Prior or Present Procedure of Hip or Knee Replacement Surgery</td>\n \n </tr>\n <tr>\n \n <td></td>\n <td><pre class=\"highlight language-cql\"><code class=\"language-cql\">define "Encounter With Prior or Present Procedure of Hip or Knee Replacement Surgery":\n\t"Encounter With Age Range and Without VTE Diagnosis or Obstetrical Conditions" QualifyingEncounter\n\twith ( ["Procedure": "Hip Replacement Surgery"]\n \t\t\tunion ["Procedure": "Knee Replacement Surgery"] ) HipKneeProcedure\n\tsuch that HipKneeProcedure.status = 'completed'\n\t and Global."Normalize Interval"(HipKneeProcedure.performed) starts on or before end of QualifyingEncounter.period</code></pre></td>\n \n </tr>\n \n <tr><th><b>Library Name</b></th><th><b>Name</b></th></tr>\n <tr>\n \n <td>EXM108-FHIR</td>\n \n \n <td>Is In Low Risk for VTE or On Anticoagulant</td>\n \n </tr>\n <tr>\n \n <td></td>\n <td><pre class=\"highlight language-cql\"><code class=\"language-cql\">define "Is In Low Risk for VTE or On Anticoagulant":\n\t ( ["Observation": "Risk for venous thromboembolism"] VTERiskAssessment\n\t\t\t where VTERiskAssessment.value in "Low Risk"\n and VTERiskAssessment.status in {'final','amended', 'corrected'}\n\t )\n union ( ["Observation": "INR"] INRLabTest\n where INRLabTest.value as Quantity > 3.0\n and INRLabTest.status in {'final','amended', 'corrected'}\n return "Observation" { id: INRLabTest.id, effective: INRLabTest.issued }\n )\n union ((( ["MedicationAdministration": "Unfractionated Heparin"] UnfractionatedHeparin\n where UnfractionatedHeparin.dosage.route in "Intravenous route"\n )\n union ["MedicationAdministration": "Direct Thrombin Inhibitor"]\n union ["MedicationAdministration": "Glycoprotein IIb/IIIa Inhibitors"] ) AnticoagulantMedication\n where AnticoagulantMedication.status = 'complete'\n return "Observation" { id: AnticoagulantMedication.id, effective: AnticoagulantMedication.effective }\n )</code></pre></td>\n \n </tr>\n \n <tr><th><b>Library Name</b></th><th><b>Name</b></th></tr>\n <tr>\n \n <td>EXM108-FHIR</td>\n \n \n <td>Low Risk for VTE or Anticoagulant Administered From Day of Start of Hospitalization To Day After Admission</td>\n \n </tr>\n <tr>\n \n <td></td>\n <td><pre class=\"highlight language-cql\"><code class=\"language-cql\">define "Low Risk for VTE or Anticoagulant Administered From Day of Start of Hospitalization To Day After Admission":\n \t"Encounter With Age Range and Without VTE Diagnosis or Obstetrical Conditions" QualifyingEncounter\n with "Is In Low Risk for VTE or On Anticoagulant" VTERiskAssessment\n such that Global."Normalize Interval"(VTERiskAssessment.effective) starts during VTEICU."FromDayOfStartOfHospitalizationToDayAfterAdmission"(QualifyingEncounter)</code></pre></td>\n \n </tr>\n \n <tr><th><b>Library Name</b></th><th><b>Name</b></th></tr>\n <tr>\n \n <td>EXM108-FHIR</td>\n \n \n <td>Low Risk for VTE or Anticoagulant Administered on Day of or Day After Procedure</td>\n \n </tr>\n <tr>\n \n <td></td>\n <td><pre class=\"highlight language-cql\"><code class=\"language-cql\">define "Low Risk for VTE or Anticoagulant Administered on Day of or Day After Procedure":\n \tfrom\n \t\t"Encounter With Age Range and Without VTE Diagnosis or Obstetrical Conditions" QualifyingEncounter,\n \t\t["Procedure": "General or Neuraxial Anesthesia"] AnesthesiaProcedure,\n \t\t"Is In Low Risk for VTE or On Anticoagulant" VTERiskAssessment\n\twhere Global."Normalize Interval"(AnesthesiaProcedure.performed) ends 1 day after day of start of QualifyingEncounter.period\n \t\t\tand Global."Normalize Interval"(VTERiskAssessment.effective) starts during TJC."CalendarDayOfOrDayAfter"(end of Global."Normalize Interval"(AnesthesiaProcedure.performed))\n\treturn QualifyingEncounter</code></pre></td>\n \n </tr>\n \n <tr><th><b>Library Name</b></th><th><b>Name</b></th></tr>\n <tr>\n \n <td>EXM108-FHIR</td>\n \n \n <td>Encounter With Low Risk for VTE or Anticoagulant Administered</td>\n \n </tr>\n <tr>\n \n <td></td>\n <td><pre class=\"highlight language-cql\"><code class=\"language-cql\">define "Encounter With Low Risk for VTE or Anticoagulant Administered":\n "Low Risk for VTE or Anticoagulant Administered From Day of Start of Hospitalization To Day After Admission"\n \t union "Low Risk for VTE or Anticoagulant Administered on Day of or Day After Procedure"</code></pre></td>\n \n </tr>\n \n <tr><th><b>Library Name</b></th><th><b>Name</b></th></tr>\n <tr>\n \n <td>EXM108-FHIR</td>\n \n \n <td>No VTE Prophylaxis Medication Administered or Ordered</td>\n \n </tr>\n <tr>\n \n <td></td>\n <td><pre class=\"highlight language-cql\"><code class=\"language-cql\">define "No VTE Prophylaxis Medication Administered or Ordered":\n ((\t["MedicationAdministration": medication in "Low Dose Unfractionated Heparin for VTE Prophylaxis"]\n union\n\t ["MedicationAdministration": medication in "Low Molecular Weight Heparin for VTE Prophylaxis"]\n union\n\t ["MedicationAdministration": medication in "Injectable Factor Xa Inhibitor for VTE Prophylaxis"]\n union\n\t ["MedicationAdministration": medication in "Warfarin"]\n ) MedicationAdm\n where MedicationAdm.status = 'not-done'\n )\n union\n\t ((\t["MedicationRequest": medication in "Low Dose Unfractionated Heparin for VTE Prophylaxis"]\n \tunion\n \t ["MedicationRequest": medication in "Low Molecular Weight Heparin for VTE Prophylaxis"]\n union\n \t["MedicationRequest": medication in "Injectable Factor Xa Inhibitor for VTE Prophylaxis"]\n union\n \t["MedicationRequest": medication in "Warfarin"]\n ) MedicationOrder\n \twhere\tMedicationOrder.doNotPerform is true\n and MedicationOrder.status in {'completed', 'cancelled'}\n //11/5 discussion: all expressions for QI-Core must include a status.\n //Therefore, we need ServiceRequest.status = completed; and MedicationRequest.status = cancelled (or completed, since cancelled indicates it was once ordered but intentionally never filled).\n //So the not done issue is handled by ServiceRequest.doNotPerform = True Or MedicationRequest.doNotPerform = True\n )</code></pre></td>\n \n </tr>\n \n <tr><th><b>Library Name</b></th><th><b>Name</b></th></tr>\n <tr>\n \n <td>EXM108-FHIR</td>\n \n \n <td>No VTE Prophylaxis Medication Due to Medical Reason From Day of Start of Hospitalization To Day After Admission</td>\n \n </tr>\n <tr>\n \n <td></td>\n <td><pre class=\"highlight language-cql\"><code class=\"language-cql\">define "No VTE Prophylaxis Medication Due to Medical Reason From Day of Start of Hospitalization To Day After Admission":\n \t"Encounter With Age Range and Without VTE Diagnosis or Obstetrical Conditions" QualifyingEncounter\n with\t"No VTE Prophylaxis Medication Administered or Ordered" NoVTEMedication\n \tsuch that Coalesce(NoVTEMedication.statusReason,NoVTEMedication.reasonCode) in "Medical Reason"\n \t\t\tand Coalesce(NoVTEMedication.authoredOn, start of Global."Normalize Interval"(NoVTEMedication.effective)) during VTEICU."FromDayOfStartOfHospitalizationToDayAfterAdmission"(QualifyingEncounter)</code></pre></td>\n \n </tr>\n \n <tr><th><b>Library Name</b></th><th><b>Name</b></th></tr>\n <tr>\n \n <td>EXM108-FHIR</td>\n \n \n <td>No VTE Prophylaxis Device Applied or Ordered</td>\n \n </tr>\n <tr>\n \n <td></td>\n <td><pre class=\"highlight language-cql\"><code class=\"language-cql\">define "No VTE Prophylaxis Device Applied or Ordered":\n ((\n ["ServiceRequest": "Venous foot pumps (VFP)"]\n union ["ServiceRequest": "Intermittent pneumatic compression devices (IPC)"]\n union ["ServiceRequest": "Graduated compression stockings (GCS)"]\n ) DeviceOrder\n where DeviceOrder.status = 'completed'\n //11/5 discussion: all expressions for QI-Core must include a status\n //ServiceRequest.status - draft | active | suspended | completed | entered-in-error | cancelled\n and DeviceOrder.doNotPerform is true\n return {id: DeviceOrder.id, requestStatusReason: GetStatusReason(DeviceOrder), authoredOn: DeviceOrder.authoredOn}\n )\n union\n (\n ["Procedure": "Device Application"] DeviceApplied\n let DeviceNotDoneTiming: Global.GetExtension(DeviceApplied, 'qicore-recorded').value\n where (DeviceApplied.usedCode in "Intermittent pneumatic compression devices (IPC)"\n or DeviceApplied.usedCode in "Venous foot pumps (VFP)"\n or DeviceApplied.usedCode in "Graduated compression stockings (GCS)"\n )\n and DeviceApplied.status = 'not-done'\n return {id: DeviceApplied.id, requestStatusReason: DeviceApplied.statusReason, authoredOn: DeviceNotDoneTiming}\n\n )</code></pre></td>\n \n </tr>\n \n <tr><th><b>Library Name</b></th><th><b>Name</b></th></tr>\n <tr>\n \n <td>EXM108-FHIR</td>\n \n \n <td>No VTE Prophylaxis Device Due to Medical Reason From Day of Start of Hospitalization To Day After Admission</td>\n \n </tr>\n <tr>\n \n <td></td>\n <td><pre class=\"highlight language-cql\"><code class=\"language-cql\">define "No VTE Prophylaxis Device Due to Medical Reason From Day of Start of Hospitalization To Day After Admission":\n "Encounter With Age Range and Without VTE Diagnosis or Obstetrical Conditions" QualifyingEncounter\n \twith "No VTE Prophylaxis Device Applied or Ordered" NoVTEDevice\n such that NoVTEDevice.requestStatusReason in "Medical Reason"\n and NoVTEDevice.authoredOn during VTEICU."FromDayOfStartOfHospitalizationToDayAfterAdmission"(QualifyingEncounter)</code></pre></td>\n \n </tr>\n \n <tr><th><b>Library Name</b></th><th><b>Name</b></th></tr>\n <tr>\n \n <td>EXM108-FHIR</td>\n \n \n <td>No VTE Prophylaxis Medication Due to Medical Reason on Day of or Day After Procedure</td>\n \n </tr>\n <tr>\n \n <td></td>\n <td><pre class=\"highlight language-cql\"><code class=\"language-cql\">define "No VTE Prophylaxis Medication Due to Medical Reason on Day of or Day After Procedure":\n\tfrom\n \t\t"Encounter With Age Range and Without VTE Diagnosis or Obstetrical Conditions" QualifyingEncounter,\n \t\t["Procedure": "General or Neuraxial Anesthesia"] AnesthesiaProcedure,\n \t\t"No VTE Prophylaxis Medication Administered or Ordered" NoVTEMedication\n\twhere Coalesce(NoVTEMedication.statusReason,NoVTEMedication.reasonCode) in "Medical Reason"\n\t\t\tand AnesthesiaProcedure.status = 'completed'\n\t\t\tand Global."Normalize Interval"(AnesthesiaProcedure.performed) ends 1 day after day of start of QualifyingEncounter.period\n\t\t\tand Coalesce(NoVTEMedication.authoredOn, start of Global."Normalize Interval"(NoVTEMedication.effective)) during TJC."CalendarDayOfOrDayAfter"(end of Global."Normalize Interval"(AnesthesiaProcedure.performed))\n return QualifyingEncounter</code></pre></td>\n \n </tr>\n \n <tr><th><b>Library Name</b></th><th><b>Name</b></th></tr>\n <tr>\n \n <td>EXM108-FHIR</td>\n \n \n <td>No VTE Prophylaxis Device Due to Medical Reason on Day of or Day After Procedure</td>\n \n </tr>\n <tr>\n \n <td></td>\n <td><pre class=\"highlight language-cql\"><code class=\"language-cql\">define "No VTE Prophylaxis Device Due to Medical Reason on Day of or Day After Procedure":\n from\n \t\t"Encounter With Age Range and Without VTE Diagnosis or Obstetrical Conditions" QualifyingEncounter,\n \t\t["Procedure": "General or Neuraxial Anesthesia"] AnesthesiaProcedure,\n \t\t"No VTE Prophylaxis Device Applied or Ordered" NoVTEDevice\n where NoVTEDevice.requestStatusReason in "Medical Reason"\n and AnesthesiaProcedure.status = 'completed'\n \t\tand Global."Normalize Interval"(AnesthesiaProcedure.performed) ends 1 day after day of start of QualifyingEncounter.period\n and NoVTEDevice.authoredOn during TJC."CalendarDayOfOrDayAfter"(end of Global."Normalize Interval"(AnesthesiaProcedure.performed))\n return QualifyingEncounter</code></pre></td>\n \n </tr>\n \n <tr><th><b>Library Name</b></th><th><b>Name</b></th></tr>\n <tr>\n \n <td>EXM108-FHIR</td>\n \n \n <td>Encounter With No VTE Prophylaxis Due to Medical Reason</td>\n \n </tr>\n <tr>\n \n <td></td>\n <td><pre class=\"highlight language-cql\"><code class=\"language-cql\">define "Encounter With No VTE Prophylaxis Due to Medical Reason":\n ( "No VTE Prophylaxis Medication Due to Medical Reason From Day of Start of Hospitalization To Day After Admission"\n intersect "No VTE Prophylaxis Device Due to Medical Reason From Day of Start of Hospitalization To Day After Admission"\n )\n union ( "No VTE Prophylaxis Medication Due to Medical Reason on Day of or Day After Procedure"\n intersect "No VTE Prophylaxis Device Due to Medical Reason on Day of or Day After Procedure"\n )</code></pre></td>\n \n </tr>\n \n <tr><th><b>Library Name</b></th><th><b>Name</b></th></tr>\n <tr>\n \n <td>EXM108-FHIR</td>\n \n \n <td>No VTE Prophylaxis Medication or Device Due to Patient Refusal</td>\n \n </tr>\n <tr>\n \n <td></td>\n <td><pre class=\"highlight language-cql\"><code class=\"language-cql\">define "No VTE Prophylaxis Medication or Device Due to Patient Refusal":\n ( "No VTE Prophylaxis Medication Administered or Ordered" NoVTEMedication\n where Coalesce(NoVTEMedication.statusReason,NoVTEMedication.reasonCode) in "Patient Refusal"\n )\n union ("No VTE Prophylaxis Device Applied or Ordered" NoVTEDevice\n where NoVTEDevice.requestStatusReason in "Patient Refusal"\n )</code></pre></td>\n \n </tr>\n \n <tr><th><b>Library Name</b></th><th><b>Name</b></th></tr>\n <tr>\n \n <td>EXM108-FHIR</td>\n \n \n <td>No VTE Prophylaxis Due to Patient Refusal From Day of Start of Hospitalization To Day After Admission</td>\n \n </tr>\n <tr>\n \n <td></td>\n <td><pre class=\"highlight language-cql\"><code class=\"language-cql\">define "No VTE Prophylaxis Due to Patient Refusal From Day of Start of Hospitalization To Day After Admission":\n \t"Encounter With Age Range and Without VTE Diagnosis or Obstetrical Conditions" QualifyingEncounter\n\t with "No VTE Prophylaxis Medication or Device Due to Patient Refusal" PatientRefusal\n such that Coalesce(start of Global."Normalize Interval"(PatientRefusal.effective), PatientRefusal.authoredOn)\n during VTEICU."FromDayOfStartOfHospitalizationToDayAfterAdmission"(QualifyingEncounter)</code></pre></td>\n \n </tr>\n \n <tr><th><b>Library Name</b></th><th><b>Name</b></th></tr>\n <tr>\n \n <td>EXM108-FHIR</td>\n \n \n <td>No VTE Prophylaxis Due to Patient Refusal on Day of or Day After Procedure</td>\n \n </tr>\n <tr>\n \n <td></td>\n <td><pre class=\"highlight language-cql\"><code class=\"language-cql\">define "No VTE Prophylaxis Due to Patient Refusal on Day of or Day After Procedure":\n \tfrom\n \t\t"Encounter With Age Range and Without VTE Diagnosis or Obstetrical Conditions" QualifyingEncounter,\n \t\t["Procedure": "General or Neuraxial Anesthesia"] AnesthesiaProcedure,\n \t\t"No VTE Prophylaxis Medication or Device Due to Patient Refusal" PatientRefusal\n\twhere Global."Normalize Interval"(AnesthesiaProcedure.performed) ends 1 day after day of start of QualifyingEncounter.period\n \t\t\tand Coalesce(start of Global."Normalize Interval"(PatientRefusal.effective), PatientRefusal.authoredOn)\n during TJC."CalendarDayOfOrDayAfter"(end of Global."Normalize Interval"(AnesthesiaProcedure.performed))\n\treturn QualifyingEncounter</code></pre></td>\n \n </tr>\n \n <tr><th><b>Library Name</b></th><th><b>Name</b></th></tr>\n <tr>\n \n <td>EXM108-FHIR</td>\n \n \n <td>Encounter With No VTE Prophylaxis Due to Patient Refusal</td>\n \n </tr>\n <tr>\n \n <td></td>\n <td><pre class=\"highlight language-cql\"><code class=\"language-cql\">define "Encounter With No VTE Prophylaxis Due to Patient Refusal":\n "No VTE Prophylaxis Due to Patient Refusal From Day of Start of Hospitalization To Day After Admission"\n \tunion "No VTE Prophylaxis Due to Patient Refusal on Day of or Day After Procedure"</code></pre></td>\n \n </tr>\n \n <tr><th><b>Library Name</b></th><th><b>Name</b></th></tr>\n <tr>\n \n <td>EXM108-FHIR</td>\n \n \n <td>Numerator</td>\n \n </tr>\n <tr>\n \n <td></td>\n <td><pre class=\"highlight language-cql\"><code class=\"language-cql\">define "Numerator":\n "Encounter With VTE Prophylaxis Received on Day of or Day After Admission or Procedure"\n union ( "Encounter With Medication Oral Factor Xa Inhibitor Administered on Day of or Day After Admission or Procedure"\n \t\t\t intersect ( "Encounter With Prior or Present Diagnosis of Atrial Fibrillation or VTE"\n \t\t\t\t\t\t union "Encounter With Prior or Present Procedure of Hip or Knee Replacement Surgery"\n \t\t\t )\n )\n union "Encounter With Low Risk for VTE or Anticoagulant Administered"\n union "Encounter With No VTE Prophylaxis Due to Medical Reason"\n union "Encounter With No VTE Prophylaxis Due to Patient Refusal"</code></pre></td>\n \n </tr>\n \n <tr><th><b>Library Name</b></th><th><b>Name</b></th></tr>\n <tr>\n \n <td>EXM108-FHIR</td>\n \n \n <td>Initial Population</td>\n \n </tr>\n <tr>\n \n <td></td>\n <td><pre class=\"highlight language-cql\"><code class=\"language-cql\">define "Initial Population":\n "Encounter With Age Range and Without VTE Diagnosis or Obstetrical Conditions"</code></pre></td>\n \n </tr>\n \n <tr><th><b>Library Name</b></th><th><b>Name</b></th></tr>\n <tr>\n \n <td>EXM108-FHIR</td>\n \n \n <td>Denominator</td>\n \n </tr>\n <tr>\n \n <td></td>\n <td><pre class=\"highlight language-cql\"><code class=\"language-cql\">define "Denominator":\n "Initial Population"</code></pre></td>\n \n </tr>\n \n <tr><th><b>Library Name</b></th><th><b>Name</b></th></tr>\n <tr>\n \n <td>SupplementalDataElements</td>\n \n \n <td>SDE Payer</td>\n \n </tr>\n <tr>\n \n <td></td>\n <td><pre class=\"highlight language-cql\"><code class=\"language-cql\">define "SDE Payer":\n [Coverage: type in "Payer"] Payer\n return {\n code: Payer.type,\n period: Payer.period\n }</code></pre></td>\n \n </tr>\n \n <tr><th><b>Library Name</b></th><th><b>Name</b></th></tr>\n <tr>\n \n <td>EXM108-FHIR</td>\n \n \n <td>SDE Payer</td>\n \n </tr>\n <tr>\n \n <td></td>\n <td><pre class=\"highlight language-cql\"><code class=\"language-cql\">define "SDE Payer":\n\tSDE."SDE Payer"</code></pre></td>\n \n </tr>\n \n <tr><th><b>Library Name</b></th><th><b>Name</b></th></tr>\n <tr>\n \n <td>SupplementalDataElements</td>\n \n \n <td>SDE Ethnicity</td>\n \n </tr>\n <tr>\n \n <td></td>\n <td><pre class=\"highlight language-cql\"><code class=\"language-cql\">define "SDE Ethnicity":\n (flatten (\n Patient.extension Extension\n where Extension.url = 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity'\n return Extension.extension\n )) E\n where E.url = 'ombCategory'\n or E.url = 'detailed'\n return E.value as Coding</code></pre></td>\n \n </tr>\n \n <tr><th><b>Library Name</b></th><th><b>Name</b></th></tr>\n <tr>\n \n <td>EXM108-FHIR</td>\n \n \n <td>SDE Ethnicity</td>\n \n </tr>\n <tr>\n \n <td></td>\n <td><pre class=\"highlight language-cql\"><code class=\"language-cql\">define "SDE Ethnicity":\n SDE."SDE Ethnicity"</code></pre></td>\n \n </tr>\n \n <tr><th><b>Library Name</b></th><th><b>Name</b></th></tr>\n <tr>\n \n <td>EXM108-FHIR</td>\n \n \n <td>Encounter Less Than 2 Days</td>\n \n </tr>\n <tr>\n \n <td></td>\n <td><pre class=\"highlight language-cql\"><code class=\"language-cql\">define "Encounter Less Than 2 Days":\n "Encounter With Age Range and Without VTE Diagnosis or Obstetrical Conditions" QualifyingEncounter\n \twhere Global."LengthInDays"(QualifyingEncounter.period)< 2</code></pre></td>\n \n </tr>\n \n <tr><th><b>Library Name</b></th><th><b>Name</b></th></tr>\n <tr>\n \n <td>EXM108-FHIR</td>\n \n \n <td>Encounter With ICU Location Stay 1 Day or More</td>\n \n </tr>\n <tr>\n \n <td></td>\n <td><pre class=\"highlight language-cql\"><code class=\"language-cql\">define "Encounter With ICU Location Stay 1 Day or More":\n "Encounter With Age Range and Without VTE Diagnosis or Obstetrical Conditions" QualifyingEncounter\n where exists ( QualifyingEncounter.location Location\n \t\twhere Global.GetLocation(Location.location).type in "Intensive Care Unit"\n \t\t\tand Global."LengthInDays"(Location.period)>= 1\n \t\t\tand Location.period starts during TJC."CalendarDayOfOrDayAfter"(start of QualifyingEncounter.period)\n\t )</code></pre></td>\n \n </tr>\n \n <tr><th><b>Library Name</b></th><th><b>Name</b></th></tr>\n <tr>\n \n <td>EXM108-FHIR</td>\n \n \n <td>Encounter With Principal Diagnosis of Mental Disorder or Stroke</td>\n \n </tr>\n <tr>\n \n <td></td>\n <td><pre class=\"highlight language-cql\"><code class=\"language-cql\">define "Encounter With Principal Diagnosis of Mental Disorder or Stroke":\n "Encounter With Age Range and Without VTE Diagnosis or Obstetrical Conditions" QualifyingEncounter\n where Global."PrincipalDiagnosis"(QualifyingEncounter).code in "Mental Health Diagnoses"\n or Global."PrincipalDiagnosis"(QualifyingEncounter).code in "Hemorrhagic Stroke"\n or Global."PrincipalDiagnosis"(QualifyingEncounter).code in "Ischemic Stroke"</code></pre></td>\n \n </tr>\n \n <tr><th><b>Library Name</b></th><th><b>Name</b></th></tr>\n <tr>\n \n <td>EXM108-FHIR</td>\n \n \n <td>SCIP VTE Selected Surgery</td>\n \n </tr>\n <tr>\n \n <td></td>\n <td><pre class=\"highlight language-cql\"><code class=\"language-cql\">define "SCIP VTE Selected Surgery":\n (\t["Procedure": "General Surgery"]\n union ["Procedure": "Gynecological Surgery"]\n union ["Procedure": "Hip Fracture Surgery"]\n union ["Procedure": "Hip Replacement Surgery"]\n union ["Procedure": "Intracranial Neurosurgery"]\n union ["Procedure": "Knee Replacement Surgery"]\n union ["Procedure": "Urological Surgery"] ) Procedure\n where Procedure.status = 'completed'</code></pre></td>\n \n </tr>\n \n <tr><th><b>Library Name</b></th><th><b>Name</b></th></tr>\n <tr>\n \n <td>EXM108-FHIR</td>\n \n \n <td>Encounter With Principal Procedure of SCIP VTE Selected Surgery</td>\n \n </tr>\n <tr>\n \n <td></td>\n <td><pre class=\"highlight language-cql\"><code class=\"language-cql\">/* NOTE: 2 options to express Principal Procedure to retrive "encounter Procedure as an url" and proedure "rank as extension" in R4\n VTE-1 uses Option 1 - generic extension funtion\n VTE-2 uses Option 2 - Specific extension functions\n TODO: Mapping Table needs revision on using "Encounter.procedure.code", "Encounter.procedure.sequence"\n*/\ndefine "Encounter With Principal Procedure of SCIP VTE Selected Surgery":\n from\n "Encounter With Age Range and Without VTE Diagnosis or Obstetrical Conditions" QualifyingEncounter,\n "SCIP VTE Selected Surgery" SelectedProcedure\n let EncounterProcedure: Global.GetExtension(QualifyingEncounter, 'qicore-encounter-procedure')\n where FHIRHelpers.ToInteger(Global.GetExtension(EncounterProcedure, 'rank').value as FHIR.positiveInt) = 1\n and Global.GetId(FHIRHelpers.ToString((Global.GetExtension(EncounterProcedure, 'procedure').value as FHIR.Reference).reference)) = SelectedProcedure.id\n and Global."Normalize Interval"(SelectedProcedure.performed) during QualifyingEncounter.period</code></pre></td>\n \n </tr>\n \n <tr><th><b>Library Name</b></th><th><b>Name</b></th></tr>\n <tr>\n \n <td>EXM108-FHIR</td>\n \n \n <td>Intervention Comfort Measures</td>\n \n </tr>\n <tr>\n \n <td></td>\n <td><pre class=\"highlight language-cql\"><code class=\"language-cql\">define "Intervention Comfort Measures":\n\t(["ServiceRequest": "Comfort Measures"] P\n \t\twhere P.intent = 'order'\n )\n \tunion\n \t(["Procedure": "Comfort Measures"] InterventionPerformed\n \twhere InterventionPerformed.status in {'completed', 'in-progress'})</code></pre></td>\n \n </tr>\n \n <tr><th><b>Library Name</b></th><th><b>Name</b></th></tr>\n <tr>\n \n <td>EXM108-FHIR</td>\n \n \n <td>Encounter With Intervention Comfort Measures From Day of Start of Hospitalization To Day After Admission</td>\n \n </tr>\n <tr>\n \n <td></td>\n <td><pre class=\"highlight language-cql\"><code class=\"language-cql\">define "Encounter With Intervention Comfort Measures From Day of Start of Hospitalization To Day After Admission":\n\t"Encounter With Age Range and Without VTE Diagnosis or Obstetrical Conditions" QualifyingEncounter\n\t\twith "Intervention Comfort Measures" ComfortMeasure\n\t\tsuch that Coalesce(start of Global."Normalize Interval"(ComfortMeasure.performed), ComfortMeasure.authoredOn) during VTEICU."FromDayOfStartOfHospitalizationToDayAfterAdmission"(QualifyingEncounter)</code></pre></td>\n \n </tr>\n \n <tr><th><b>Library Name</b></th><th><b>Name</b></th></tr>\n <tr>\n \n <td>EXM108-FHIR</td>\n \n \n <td>Encounter With Intervention Comfort Measures on Day of or Day After Procedure</td>\n \n </tr>\n <tr>\n \n <td></td>\n <td><pre class=\"highlight language-cql\"><code class=\"language-cql\">define "Encounter With Intervention Comfort Measures on Day of or Day After Procedure":\n from\n \t\t"Encounter With Age Range and Without VTE Diagnosis or Obstetrical Conditions" QualifyingEncounter,\n \t\t["Procedure": "General or Neuraxial Anesthesia"] AnesthesiaProcedure,\n \t\t"Intervention Comfort Measures" ComfortMeasure\n\t\twhere AnesthesiaProcedure.status = 'completed'\n\t\t\t\tand Global."Normalize Interval"(AnesthesiaProcedure.performed) ends 1 day after day of start of QualifyingEncounter.period\n and Coalesce(start of Global."Normalize Interval"(ComfortMeasure.performed), ComfortMeasure.authoredOn) during TJC."CalendarDayOfOrDayAfter"(end of Global."Normalize Interval"(AnesthesiaProcedure.performed))\n return QualifyingEncounter</code></pre></td>\n \n </tr>\n \n <tr><th><b>Library Name</b></th><th><b>Name</b></th></tr>\n <tr>\n \n <td>EXM108-FHIR</td>\n \n \n <td>Denominator Exclusion</td>\n \n </tr>\n <tr>\n \n <td></td>\n <td><pre class=\"highlight language-cql\"><code class=\"language-cql\">define "Denominator Exclusion":\n "Encounter Less Than 2 Days"\n union "Encounter With ICU Location Stay 1 Day or More"\n union "Encounter With Principal Diagnosis of Mental Disorder or Stroke"\n union "Encounter With Principal Procedure of SCIP VTE Selected Surgery"\n union "Encounter With Intervention Comfort Measures From Day of Start of Hospitalization To Day After Admission"\n union "Encounter With Intervention Comfort Measures on Day of or Day After Procedure"</code></pre></td>\n \n </tr>\n \n <tr><th><b>Library Name</b></th><th><b>Name</b></th></tr>\n <tr>\n \n <td>SupplementalDataElements</td>\n \n \n <td>SDE Race</td>\n \n </tr>\n <tr>\n \n <td></td>\n <td><pre class=\"highlight language-cql\"><code class=\"language-cql\">define "SDE Race":\n (flatten (\n Patient.extension Extension\n where Extension.url = 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-race'\n return Extension.extension\n )) E\n where E.url = 'ombCategory'\n or E.url = 'detailed'\n return E.value as Coding</code></pre></td>\n \n </tr>\n \n <tr><th><b>Library Name</b></th><th><b>Name</b></th></tr>\n <tr>\n \n <td>EXM108-FHIR</td>\n \n \n <td>SDE Race</td>\n \n </tr>\n <tr>\n \n <td></td>\n <td><pre class=\"highlight language-cql\"><code class=\"language-cql\">define "SDE Race":\n SDE."SDE Race"</code></pre></td>\n \n </tr>\n \n </table>\n </td>\n </tr>\n \n \n \n </table>\n</div>"
},
"contained" : [
{
"resourceType" : "Library",
"id" : "effective-data-requirements",
"extension" : [
{
"url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-directReferenceCode",
"valueCoding" : {
"system" : "http://terminology.hl7.org/CodeSystem/condition-clinical",
"code" : "active"
}
},
{
"url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-directReferenceCode",
"valueCoding" : {
"system" : "http://terminology.hl7.org/CodeSystem/condition-clinical",
"code" : "recurrence"
}
},
{
"url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-directReferenceCode",
"valueCoding" : {
"system" : "http://terminology.hl7.org/CodeSystem/condition-clinical",
"code" : "relapse"
}
},
{
"url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-directReferenceCode",
"valueCoding" : {
"system" : "http://terminology.hl7.org/CodeSystem/condition-clinical",
"code" : "inactive"
}
},
{
"url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-directReferenceCode",
"valueCoding" : {
"system" : "http://terminology.hl7.org/CodeSystem/condition-clinical",
"code" : "remission"
}
},
{
"url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-directReferenceCode",
"valueCoding" : {
"system" : "http://terminology.hl7.org/CodeSystem/condition-clinical",
"code" : "resolved"
}
},
{
"url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-directReferenceCode",
"valueCoding" : {
"system" : "http://loinc.org",
"code" : "72136-5",
"display" : "Risk for venous thromboembolism"
}
},
{
"extension" : [
{
"url" : "libraryName",
"valueString" : "SupplementalDataElements"
},
{
"url" : "name",
"valueString" : "SDE Sex"
},
{
"url" : "statement",
"valueString" : "define \"SDE Sex\":\n case\n when Patient.gender = 'male' then Code { code: 'M', system: 'http://hl7.org/fhir/v3/AdministrativeGender', display: 'Male' }\n when Patient.gender = 'female' then Code { code: 'F', system: 'http://hl7.org/fhir/v3/AdministrativeGender', display: 'Female' }\n else null\n end"
},
{
"url" : "displaySequence",
"valueInteger" : 0
}
],
"url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"
},
{
"extension" : [
{
"url" : "libraryName",
"valueString" : "EXM108-FHIR"
},
{
"url" : "name",
"valueString" : "SDE Sex"
},
{
"url" : "statement",
"valueString" : "define \"SDE Sex\":\n\tSDE.\"SDE Sex\""
},
{
"url" : "displaySequence",
"valueInteger" : 1
}
],
"url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"
},
{
"extension" : [
{
"url" : "libraryName",
"valueString" : "MATGlobalCommonFunctions"
},
{
"url" : "name",
"valueString" : "Inpatient Encounter"
},
{
"url" : "statement",
"valueString" : "define \"Inpatient Encounter\":\n\t[Encounter: \"Encounter Inpatient\"] EncounterInpatient\n\t\twhere EncounterInpatient.status = 'finished'\n\t\t and \"LengthInDays\"(EncounterInpatient.period) <= 120\n\t\t\tand EncounterInpatient.period ends during \"Measurement Period\""
},
{
"url" : "displaySequence",
"valueInteger" : 2
}
],
"url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"
},
{
"extension" : [
{
"url" : "libraryName",
"valueString" : "EXM108-FHIR"
},
{
"url" : "name",
"valueString" : "Admission Without VTE or Obstetrical Conditions"
},
{
"url" : "statement",
"valueString" : "define \"Admission Without VTE or Obstetrical Conditions\":\n\t \tGlobal.\"Inpatient Encounter\" InpatientEncounter\n\t\t where not (exists (Global.EncounterDiagnosis(InpatientEncounter)) EncounterDiagnosis\n where (EncounterDiagnosis.code in \"Obstetrics\"\n\t\t\t\t\t\t\t\tor EncounterDiagnosis.code in \"Venous Thromboembolism\"\n\t\t\t\t\t\t\t\tor EncounterDiagnosis.code in \"Obstetrics VTE\"\n\t\t\t )\n )"
},
{
"url" : "displaySequence",
"valueInteger" : 3
}
],
"url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"
},
{
"extension" : [
{
"url" : "libraryName",
"valueString" : "EXM108-FHIR"
},
{
"url" : "name",
"valueString" : "Encounter With Age Range and Without VTE Diagnosis or Obstetrical Conditions"
},
{
"url" : "statement",
"valueString" : "// Note: added FHIRHelpers.ToDate() in R4\ndefine \"Encounter With Age Range and Without VTE Diagnosis or Obstetrical Conditions\":\n ( Global.\"Inpatient Encounter\" InpatientEncounter\n \t\twith [\"Patient\"] BirthDate\n \t\t\tsuch that Global.\"CalendarAgeInYearsAt\"(FHIRHelpers.ToDate(BirthDate.birthDate), start of InpatientEncounter.period) >= 18\n )\n intersect \"Admission Without VTE or Obstetrical Conditions\""
},
{
"url" : "displaySequence",
"valueInteger" : 4
}
],
"url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"
},
{
"extension" : [
{
"url" : "libraryName",
"valueString" : "EXM108"
},
{
"url" : "name",
"valueString" : "VTE Prophylaxis by Medication Administered or Device Applied"
},
{
"url" : "statement",
"valueString" : "// 10/29: Replaced DeviceUseStatement with Procedure with a new value set and procedure.usdCode for specifying devices\ndefine \"VTE Prophylaxis by Medication Administered or Device Applied\":\n ( [\"MedicationAdministration\": medication in \"Low Dose Unfractionated Heparin for VTE Prophylaxis\"] VTEMedication\n where VTEMedication.status ='completed'\n\t\t\t and VTEMedication.dosage.route in \"Subcutaneous route\"\n )\n union ([\"MedicationAdministration\": medication in \"Low Molecular Weight Heparin for VTE Prophylaxis\"] LMWH where LMWH.status = 'completed')\n union ([\"MedicationAdministration\": medication in \"Injectable Factor Xa Inhibitor for VTE Prophylaxis\"] FactorXa where FactorXa.status = 'completed')\n union ([\"MedicationAdministration\": medication in \"Warfarin\"] Warfarin where Warfarin.status = 'completed')\n union (\n [\"Procedure\": \"Device Application\"] DeviceApplied\n where DeviceApplied.status = 'complete'\n and (DeviceApplied.usedCode in \"Intermittent pneumatic compression devices (IPC)\"\n or DeviceApplied.usedCode in\"Venous foot pumps (VFP)\"\n or DeviceApplied.usedCode in \"Graduated compression stockings (GCS)\"\n )\n )"
},
{
"url" : "displaySequence",
"valueInteger" : 5
}
],
"url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"
},
{
"extension" : [
{
"url" : "libraryName",
"valueString" : "EXM108-FHIR"
},
{
"url" : "name",
"valueString" : "Encounter With VTE Prophylaxis Received on Day of or Day After Admission or Procedure"
},
{
"url" : "statement",
"valueString" : "define \"Encounter With VTE Prophylaxis Received on Day of or Day After Admission or Procedure\":\n \t( from\n \t\t\t\"Encounter With Age Range and Without VTE Diagnosis or Obstetrical Conditions\" QualifyingEncounter,\n \t\t\t\"VTE Prophylaxis by Medication Administered or Device Applied\" VTEProphylaxis\n \t\twhere Coalesce(Global.\"Normalize Interval\"(VTEProphylaxis.effective), Global.\"Normalize Interval\"(VTEProphylaxis.performed)) starts during TJC.\"CalendarDayOfOrDayAfter\"(start of QualifyingEncounter.period)\n \t\treturn QualifyingEncounter\n \t)\n \tunion (\n from\n \t\t\t\"Encounter With Age Range and Without VTE Diagnosis or Obstetrical Conditions\" QualifyingEncounter,\n \t\t\t[\"Procedure\": \"General or Neuraxial Anesthesia\"] AnesthesiaProcedure,\n \t\t\t\"VTE Prophylaxis by Medication Administered or Device Applied\" VTEProphylaxis\n\t\t\twhere Global.\"Normalize Interval\"(AnesthesiaProcedure.performed) ends 1 day after day of start of QualifyingEncounter.period\n\t\t\t\tand Coalesce(Global.\"Normalize Interval\"(VTEProphylaxis.effective), Global.\"Normalize Interval\"(VTEProphylaxis.performed)) starts during TJC.\"CalendarDayOfOrDayAfter\"(end of Global.\"Normalize Interval\"(AnesthesiaProcedure.performed))\n\t\t\treturn QualifyingEncounter\n\t)"
},
{
"url" : "displaySequence",
"valueInteger" : 6
}
],
"url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"
},
{
"extension" : [
{
"url" : "libraryName",
"valueString" : "EXM108-FHIR"
},
{
"url" : "name",
"valueString" : "Encounter With Medication Oral Factor Xa Inhibitor Administered on Day of or Day After Admission or Procedure"
},
{
"url" : "statement",
"valueString" : "define \"Encounter With Medication Oral Factor Xa Inhibitor Administered on Day of or Day After Admission or Procedure\":\n\t( from\n \t\t\"Encounter With Age Range and Without VTE Diagnosis or Obstetrical Conditions\" QualifyingEncounter,\n \t\t\t[\"MedicationAdministration\": medication in \"Oral Factor Xa Inhibitor for VTE Prophylaxis or VTE Treatment\"] FactorXaMedication\n where FactorXaMedication.status = 'completed'\n and Global.\"Normalize Interval\"(FactorXaMedication.effective) starts during TJC.\"CalendarDayOfOrDayAfter\"(start of QualifyingEncounter.period)\n return QualifyingEncounter\n )\n union ( from\n \t\t\t\t \"Encounter With Age Range and Without VTE Diagnosis or Obstetrical Conditions\" QualifyingEncounter,\n \t\t\t\t[\"Procedure\": \"General or Neuraxial Anesthesia\"] AnesthesiaProcedure,\n \t\t\t\t[\"MedicationAdministration\": medication in \"Oral Factor Xa Inhibitor for VTE Prophylaxis or VTE Treatment\"] FactorXaMedication\n \t\t\twhere FactorXaMedication.status = 'completed'\n and AnesthesiaProcedure.status = 'completed'\n \t\t\t and Global.\"Normalize Interval\"(AnesthesiaProcedure.performed) ends 1 day after day of start of QualifyingEncounter.period\n \t\t\t\t\tand Global.\"Normalize Interval\"(FactorXaMedication.effective) starts during TJC.\"CalendarDayOfOrDayAfter\"(end of Global.\"Normalize Interval\"(AnesthesiaProcedure.performed))\n \t\t\treturn QualifyingEncounter\n \t\t)"
},
{
"url" : "displaySequence",
"valueInteger" : 7
}
],
"url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"
},
{
"extension" : [
{
"url" : "libraryName",
"valueString" : "EXM108-FHIR"
},
{
"url" : "name",
"valueString" : "Encounter With Prior or Present Diagnosis of Atrial Fibrillation or VTE"
},
{
"url" : "statement",
"valueString" : "/*NOTE: Feedback at Digitial Quality Summit 2019 indicates verificationStatus may be difficult for implementers to retrieve\n both condition.clinicalStatus and condition.verificationStatus = 'confirmed'\n*/\ndefine \"Encounter With Prior or Present Diagnosis of Atrial Fibrillation or VTE\":\n\t( \"Encounter With Age Range and Without VTE Diagnosis or Obstetrical Conditions\" QualifyingEncounter\n\t\twith [\"Condition\": code in \"Atrial Fibrillation/Flutter\"] AtrialFibrillation\n\t\tsuch that FHIRHelpers.ToConcept(AtrialFibrillation.clinicalStatus) in { Global.\"active\", Global.\"recurrence\", Global.\"relapse\" }\n\t\t\tand Global.\"Normalize Interval\"(AtrialFibrillation.onset) starts on or before end of QualifyingEncounter.period\n )\n union ( \"Encounter With Age Range and Without VTE Diagnosis or Obstetrical Conditions\" QualifyingEncounter\n \t\t\t\twhere Global.EncounterDiagnosis(QualifyingEncounter).code in \"Atrial Fibrillation/Flutter\"\n \t\t\t)\n union ( \"Encounter With Age Range and Without VTE Diagnosis or Obstetrical Conditions\" QualifyingEncounter\n \t\t\t\twith [\"Condition\": code in \"Venous Thromboembolism\"] VTEDiagnosis\n \t\t\t\tsuch that FHIRHelpers.ToConcept(VTEDiagnosis.clinicalStatus) in { Global.\"inactive\", Global.\"remission\", Global.\"resolved\" }\n \t\t\t\t\t//and VTEDiagnosis.verificationStatus = 'confirmed'\n \t\t\t\tand Global.\"Normalize Interval\"(VTEDiagnosis.onset) before start of QualifyingEncounter.period\n \t\t)"
},
{
"url" : "displaySequence",
"valueInteger" : 8
}
],
"url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"
},
{
"extension" : [
{
"url" : "libraryName",
"valueString" : "EXM108-FHIR"
},
{
"url" : "name",
"valueString" : "Encounter With Prior or Present Procedure of Hip or Knee Replacement Surgery"
},
{
"url" : "statement",
"valueString" : "define \"Encounter With Prior or Present Procedure of Hip or Knee Replacement Surgery\":\n\t\"Encounter With Age Range and Without VTE Diagnosis or Obstetrical Conditions\" QualifyingEncounter\n\twith ( [\"Procedure\": \"Hip Replacement Surgery\"]\n \t\t\tunion [\"Procedure\": \"Knee Replacement Surgery\"] ) HipKneeProcedure\n\tsuch that HipKneeProcedure.status = 'completed'\n\t and Global.\"Normalize Interval\"(HipKneeProcedure.performed) starts on or before end of QualifyingEncounter.period"
},
{
"url" : "displaySequence",
"valueInteger" : 9
}
],
"url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"
},
{
"extension" : [
{
"url" : "libraryName",
"valueString" : "EXM108-FHIR"
},
{
"url" : "name",
"valueString" : "Is In Low Risk for VTE or On Anticoagulant"
},
{
"url" : "statement",
"valueString" : "define \"Is In Low Risk for VTE or On Anticoagulant\":\n\t ( [\"Observation\": \"Risk for venous thromboembolism\"] VTERiskAssessment\n\t\t\t where VTERiskAssessment.value in \"Low Risk\"\n and VTERiskAssessment.status in {'final','amended', 'corrected'}\n\t )\n union ( [\"Observation\": \"INR\"] INRLabTest\n where INRLabTest.value as Quantity > 3.0\n and INRLabTest.status in {'final','amended', 'corrected'}\n return \"Observation\" { id: INRLabTest.id, effective: INRLabTest.issued }\n )\n union ((( [\"MedicationAdministration\": \"Unfractionated Heparin\"] UnfractionatedHeparin\n where UnfractionatedHeparin.dosage.route in \"Intravenous route\"\n )\n union [\"MedicationAdministration\": \"Direct Thrombin Inhibitor\"]\n union [\"MedicationAdministration\": \"Glycoprotein IIb/IIIa Inhibitors\"] ) AnticoagulantMedication\n where AnticoagulantMedication.status = 'complete'\n return \"Observation\" { id: AnticoagulantMedication.id, effective: AnticoagulantMedication.effective }\n )"
},
{
"url" : "displaySequence",
"valueInteger" : 10
}
],
"url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"
},
{
"extension" : [
{
"url" : "libraryName",
"valueString" : "EXM108-FHIR"
},
{
"url" : "name",
"valueString" : "Low Risk for VTE or Anticoagulant Administered From Day of Start of Hospitalization To Day After Admission"
},
{
"url" : "statement",
"valueString" : "define \"Low Risk for VTE or Anticoagulant Administered From Day of Start of Hospitalization To Day After Admission\":\n \t\"Encounter With Age Range and Without VTE Diagnosis or Obstetrical Conditions\" QualifyingEncounter\n with \"Is In Low Risk for VTE or On Anticoagulant\" VTERiskAssessment\n such that Global.\"Normalize Interval\"(VTERiskAssessment.effective) starts during VTEICU.\"FromDayOfStartOfHospitalizationToDayAfterAdmission\"(QualifyingEncounter)"
},
{
"url" : "displaySequence",
"valueInteger" : 11
}
],
"url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"
},
{
"extension" : [
{
"url" : "libraryName",
"valueString" : "EXM108-FHIR"
},
{
"url" : "name",
"valueString" : "Low Risk for VTE or Anticoagulant Administered on Day of or Day After Procedure"
},
{
"url" : "statement",
"valueString" : "define \"Low Risk for VTE or Anticoagulant Administered on Day of or Day After Procedure\":\n \tfrom\n \t\t\"Encounter With Age Range and Without VTE Diagnosis or Obstetrical Conditions\" QualifyingEncounter,\n \t\t[\"Procedure\": \"General or Neuraxial Anesthesia\"] AnesthesiaProcedure,\n \t\t\"Is In Low Risk for VTE or On Anticoagulant\" VTERiskAssessment\n\twhere Global.\"Normalize Interval\"(AnesthesiaProcedure.performed) ends 1 day after day of start of QualifyingEncounter.period\n \t\t\tand Global.\"Normalize Interval\"(VTERiskAssessment.effective) starts during TJC.\"CalendarDayOfOrDayAfter\"(end of Global.\"Normalize Interval\"(AnesthesiaProcedure.performed))\n\treturn QualifyingEncounter"
},
{
"url" : "displaySequence",
"valueInteger" : 12
}
],
"url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"
},
{
"extension" : [
{
"url" : "libraryName",
"valueString" : "EXM108-FHIR"
},
{
"url" : "name",
"valueString" : "Encounter With Low Risk for VTE or Anticoagulant Administered"
},
{
"url" : "statement",
"valueString" : "define \"Encounter With Low Risk for VTE or Anticoagulant Administered\":\n \"Low Risk for VTE or Anticoagulant Administered From Day of Start of Hospitalization To Day After Admission\"\n \t union \"Low Risk for VTE or Anticoagulant Administered on Day of or Day After Procedure\""
},
{
"url" : "displaySequence",
"valueInteger" : 13
}
],
"url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"
},
{
"extension" : [
{
"url" : "libraryName",
"valueString" : "EXM108-FHIR"
},
{
"url" : "name",
"valueString" : "No VTE Prophylaxis Medication Administered or Ordered"
},
{
"url" : "statement",
"valueString" : "define \"No VTE Prophylaxis Medication Administered or Ordered\":\n ((\t[\"MedicationAdministration\": medication in \"Low Dose Unfractionated Heparin for VTE Prophylaxis\"]\n union\n\t [\"MedicationAdministration\": medication in \"Low Molecular Weight Heparin for VTE Prophylaxis\"]\n union\n\t [\"MedicationAdministration\": medication in \"Injectable Factor Xa Inhibitor for VTE Prophylaxis\"]\n union\n\t [\"MedicationAdministration\": medication in \"Warfarin\"]\n ) MedicationAdm\n where MedicationAdm.status = 'not-done'\n )\n union\n\t ((\t[\"MedicationRequest\": medication in \"Low Dose Unfractionated Heparin for VTE Prophylaxis\"]\n \tunion\n \t [\"MedicationRequest\": medication in \"Low Molecular Weight Heparin for VTE Prophylaxis\"]\n union\n \t[\"MedicationRequest\": medication in \"Injectable Factor Xa Inhibitor for VTE Prophylaxis\"]\n union\n \t[\"MedicationRequest\": medication in \"Warfarin\"]\n ) MedicationOrder\n \twhere\tMedicationOrder.doNotPerform is true\n and MedicationOrder.status in {'completed', 'cancelled'}\n //11/5 discussion: all expressions for QI-Core must include a status.\n //Therefore, we need ServiceRequest.status = completed; and MedicationRequest.status = cancelled (or completed, since cancelled indicates it was once ordered but intentionally never filled).\n //So the not done issue is handled by ServiceRequest.doNotPerform = True Or MedicationRequest.doNotPerform = True\n )"
},
{
"url" : "displaySequence",
"valueInteger" : 14
}
],
"url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"
},
{
"extension" : [
{
"url" : "libraryName",
"valueString" : "EXM108-FHIR"
},
{
"url" : "name",
"valueString" : "No VTE Prophylaxis Medication Due to Medical Reason From Day of Start of Hospitalization To Day After Admission"
},
{
"url" : "statement",
"valueString" : "define \"No VTE Prophylaxis Medication Due to Medical Reason From Day of Start of Hospitalization To Day After Admission\":\n \t\"Encounter With Age Range and Without VTE Diagnosis or Obstetrical Conditions\" QualifyingEncounter\n with\t\"No VTE Prophylaxis Medication Administered or Ordered\" NoVTEMedication\n \tsuch that Coalesce(NoVTEMedication.statusReason,NoVTEMedication.reasonCode) in \"Medical Reason\"\n \t\t\tand Coalesce(NoVTEMedication.authoredOn, start of Global.\"Normalize Interval\"(NoVTEMedication.effective)) during VTEICU.\"FromDayOfStartOfHospitalizationToDayAfterAdmission\"(QualifyingEncounter)"
},
{
"url" : "displaySequence",
"valueInteger" : 15
}
],
"url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"
},
{
"extension" : [
{
"url" : "libraryName",
"valueString" : "EXM108-FHIR"
},
{
"url" : "name",
"valueString" : "No VTE Prophylaxis Device Applied or Ordered"
},
{
"url" : "statement",
"valueString" : "define \"No VTE Prophylaxis Device Applied or Ordered\":\n ((\n [\"ServiceRequest\": \"Venous foot pumps (VFP)\"]\n union [\"ServiceRequest\": \"Intermittent pneumatic compression devices (IPC)\"]\n union [\"ServiceRequest\": \"Graduated compression stockings (GCS)\"]\n ) DeviceOrder\n where DeviceOrder.status = 'completed'\n //11/5 discussion: all expressions for QI-Core must include a status\n //ServiceRequest.status - draft | active | suspended | completed | entered-in-error | cancelled\n and DeviceOrder.doNotPerform is true\n return {id: DeviceOrder.id, requestStatusReason: GetStatusReason(DeviceOrder), authoredOn: DeviceOrder.authoredOn}\n )\n union\n (\n [\"Procedure\": \"Device Application\"] DeviceApplied\n let DeviceNotDoneTiming: Global.GetExtension(DeviceApplied, 'qicore-recorded').value\n where (DeviceApplied.usedCode in \"Intermittent pneumatic compression devices (IPC)\"\n or DeviceApplied.usedCode in \"Venous foot pumps (VFP)\"\n or DeviceApplied.usedCode in \"Graduated compression stockings (GCS)\"\n )\n and DeviceApplied.status = 'not-done'\n return {id: DeviceApplied.id, requestStatusReason: DeviceApplied.statusReason, authoredOn: DeviceNotDoneTiming}\n\n )"
},
{
"url" : "displaySequence",
"valueInteger" : 16
}
],
"url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"
},
{
"extension" : [
{
"url" : "libraryName",
"valueString" : "EXM108-FHIR"
},
{
"url" : "name",
"valueString" : "No VTE Prophylaxis Device Due to Medical Reason From Day of Start of Hospitalization To Day After Admission"
},
{
"url" : "statement",
"valueString" : "define \"No VTE Prophylaxis Device Due to Medical Reason From Day of Start of Hospitalization To Day After Admission\":\n \"Encounter With Age Range and Without VTE Diagnosis or Obstetrical Conditions\" QualifyingEncounter\n \twith \"No VTE Prophylaxis Device Applied or Ordered\" NoVTEDevice\n such that NoVTEDevice.requestStatusReason in \"Medical Reason\"\n and NoVTEDevice.authoredOn during VTEICU.\"FromDayOfStartOfHospitalizationToDayAfterAdmission\"(QualifyingEncounter)"
},
{
"url" : "displaySequence",
"valueInteger" : 17
}
],
"url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"
},
{
"extension" : [
{
"url" : "libraryName",
"valueString" : "EXM108-FHIR"
},
{
"url" : "name",
"valueString" : "No VTE Prophylaxis Medication Due to Medical Reason on Day of or Day After Procedure"
},
{
"url" : "statement",
"valueString" : "define \"No VTE Prophylaxis Medication Due to Medical Reason on Day of or Day After Procedure\":\n\tfrom\n \t\t\"Encounter With Age Range and Without VTE Diagnosis or Obstetrical Conditions\" QualifyingEncounter,\n \t\t[\"Procedure\": \"General or Neuraxial Anesthesia\"] AnesthesiaProcedure,\n \t\t\"No VTE Prophylaxis Medication Administered or Ordered\" NoVTEMedication\n\twhere Coalesce(NoVTEMedication.statusReason,NoVTEMedication.reasonCode) in \"Medical Reason\"\n\t\t\tand AnesthesiaProcedure.status = 'completed'\n\t\t\tand Global.\"Normalize Interval\"(AnesthesiaProcedure.performed) ends 1 day after day of start of QualifyingEncounter.period\n\t\t\tand Coalesce(NoVTEMedication.authoredOn, start of Global.\"Normalize Interval\"(NoVTEMedication.effective)) during TJC.\"CalendarDayOfOrDayAfter\"(end of Global.\"Normalize Interval\"(AnesthesiaProcedure.performed))\n return QualifyingEncounter"
},
{
"url" : "displaySequence",
"valueInteger" : 18
}
],
"url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"
},
{
"extension" : [
{
"url" : "libraryName",
"valueString" : "EXM108-FHIR"
},
{
"url" : "name",
"valueString" : "No VTE Prophylaxis Device Due to Medical Reason on Day of or Day After Procedure"
},
{
"url" : "statement",
"valueString" : "define \"No VTE Prophylaxis Device Due to Medical Reason on Day of or Day After Procedure\":\n from\n \t\t\"Encounter With Age Range and Without VTE Diagnosis or Obstetrical Conditions\" QualifyingEncounter,\n \t\t[\"Procedure\": \"General or Neuraxial Anesthesia\"] AnesthesiaProcedure,\n \t\t\"No VTE Prophylaxis Device Applied or Ordered\" NoVTEDevice\n where NoVTEDevice.requestStatusReason in \"Medical Reason\"\n and AnesthesiaProcedure.status = 'completed'\n \t\tand Global.\"Normalize Interval\"(AnesthesiaProcedure.performed) ends 1 day after day of start of QualifyingEncounter.period\n and NoVTEDevice.authoredOn during TJC.\"CalendarDayOfOrDayAfter\"(end of Global.\"Normalize Interval\"(AnesthesiaProcedure.performed))\n return QualifyingEncounter"
},
{
"url" : "displaySequence",
"valueInteger" : 19
}
],
"url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"
},
{
"extension" : [
{
"url" : "libraryName",
"valueString" : "EXM108-FHIR"
},
{
"url" : "name",
"valueString" : "Encounter With No VTE Prophylaxis Due to Medical Reason"
},
{
"url" : "statement",
"valueString" : "define \"Encounter With No VTE Prophylaxis Due to Medical Reason\":\n ( \"No VTE Prophylaxis Medication Due to Medical Reason From Day of Start of Hospitalization To Day After Admission\"\n intersect \"No VTE Prophylaxis Device Due to Medical Reason From Day of Start of Hospitalization To Day After Admission\"\n )\n union ( \"No VTE Prophylaxis Medication Due to Medical Reason on Day of or Day After Procedure\"\n intersect \"No VTE Prophylaxis Device Due to Medical Reason on Day of or Day After Procedure\"\n )"
},
{
"url" : "displaySequence",
"valueInteger" : 20
}
],
"url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"
},
{
"extension" : [
{
"url" : "libraryName",
"valueString" : "EXM108-FHIR"
},
{
"url" : "name",
"valueString" : "No VTE Prophylaxis Medication or Device Due to Patient Refusal"
},
{
"url" : "statement",
"valueString" : "define \"No VTE Prophylaxis Medication or Device Due to Patient Refusal\":\n ( \"No VTE Prophylaxis Medication Administered or Ordered\" NoVTEMedication\n where Coalesce(NoVTEMedication.statusReason,NoVTEMedication.reasonCode) in \"Patient Refusal\"\n )\n union (\"No VTE Prophylaxis Device Applied or Ordered\" NoVTEDevice\n where NoVTEDevice.requestStatusReason in \"Patient Refusal\"\n )"
},
{
"url" : "displaySequence",
"valueInteger" : 21
}
],
"url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"
},
{
"extension" : [
{
"url" : "libraryName",
"valueString" : "EXM108-FHIR"
},
{
"url" : "name",
"valueString" : "No VTE Prophylaxis Due to Patient Refusal From Day of Start of Hospitalization To Day After Admission"
},
{
"url" : "statement",
"valueString" : "define \"No VTE Prophylaxis Due to Patient Refusal From Day of Start of Hospitalization To Day After Admission\":\n \t\"Encounter With Age Range and Without VTE Diagnosis or Obstetrical Conditions\" QualifyingEncounter\n\t with \"No VTE Prophylaxis Medication or Device Due to Patient Refusal\" PatientRefusal\n such that Coalesce(start of Global.\"Normalize Interval\"(PatientRefusal.effective), PatientRefusal.authoredOn)\n during VTEICU.\"FromDayOfStartOfHospitalizationToDayAfterAdmission\"(QualifyingEncounter)"
},
{
"url" : "displaySequence",
"valueInteger" : 22
}
],
"url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"
},
{
"extension" : [
{
"url" : "libraryName",
"valueString" : "EXM108-FHIR"
},
{
"url" : "name",
"valueString" : "No VTE Prophylaxis Due to Patient Refusal on Day of or Day After Procedure"
},
{
"url" : "statement",
"valueString" : "define \"No VTE Prophylaxis Due to Patient Refusal on Day of or Day After Procedure\":\n \tfrom\n \t\t\"Encounter With Age Range and Without VTE Diagnosis or Obstetrical Conditions\" QualifyingEncounter,\n \t\t[\"Procedure\": \"General or Neuraxial Anesthesia\"] AnesthesiaProcedure,\n \t\t\"No VTE Prophylaxis Medication or Device Due to Patient Refusal\" PatientRefusal\n\twhere Global.\"Normalize Interval\"(AnesthesiaProcedure.performed) ends 1 day after day of start of QualifyingEncounter.period\n \t\t\tand Coalesce(start of Global.\"Normalize Interval\"(PatientRefusal.effective), PatientRefusal.authoredOn)\n during TJC.\"CalendarDayOfOrDayAfter\"(end of Global.\"Normalize Interval\"(AnesthesiaProcedure.performed))\n\treturn QualifyingEncounter"
},
{
"url" : "displaySequence",
"valueInteger" : 23
}
],
"url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"
},
{
"extension" : [
{
"url" : "libraryName",
"valueString" : "EXM108-FHIR"
},
{
"url" : "name",
"valueString" : "Encounter With No VTE Prophylaxis Due to Patient Refusal"
},
{
"url" : "statement",
"valueString" : "define \"Encounter With No VTE Prophylaxis Due to Patient Refusal\":\n \"No VTE Prophylaxis Due to Patient Refusal From Day of Start of Hospitalization To Day After Admission\"\n \tunion \"No VTE Prophylaxis Due to Patient Refusal on Day of or Day After Procedure\""
},
{
"url" : "displaySequence",
"valueInteger" : 24
}
],
"url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"
},
{
"extension" : [
{
"url" : "libraryName",
"valueString" : "EXM108-FHIR"
},
{
"url" : "name",
"valueString" : "Numerator"
},
{
"url" : "statement",
"valueString" : "define \"Numerator\":\n \"Encounter With VTE Prophylaxis Received on Day of or Day After Admission or Procedure\"\n union ( \"Encounter With Medication Oral Factor Xa Inhibitor Administered on Day of or Day After Admission or Procedure\"\n \t\t\t intersect ( \"Encounter With Prior or Present Diagnosis of Atrial Fibrillation or VTE\"\n \t\t\t\t\t\t union \"Encounter With Prior or Present Procedure of Hip or Knee Replacement Surgery\"\n \t\t\t )\n )\n union \"Encounter With Low Risk for VTE or Anticoagulant Administered\"\n union \"Encounter With No VTE Prophylaxis Due to Medical Reason\"\n union \"Encounter With No VTE Prophylaxis Due to Patient Refusal\""
},
{
"url" : "displaySequence",
"valueInteger" : 25
}
],
"url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"
},
{
"extension" : [
{
"url" : "libraryName",
"valueString" : "EXM108-FHIR"
},
{
"url" : "name",
"valueString" : "Initial Population"
},
{
"url" : "statement",
"valueString" : "define \"Initial Population\":\n \"Encounter With Age Range and Without VTE Diagnosis or Obstetrical Conditions\""
},
{
"url" : "displaySequence",
"valueInteger" : 26
}
],
"url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"
},
{
"extension" : [
{
"url" : "libraryName",
"valueString" : "EXM108-FHIR"
},
{
"url" : "name",
"valueString" : "Denominator"
},
{
"url" : "statement",
"valueString" : "define \"Denominator\":\n \"Initial Population\""
},
{
"url" : "displaySequence",
"valueInteger" : 27
}
],
"url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"
},
{
"extension" : [
{
"url" : "libraryName",
"valueString" : "SupplementalDataElements"
},
{
"url" : "name",
"valueString" : "SDE Payer"
},
{
"url" : "statement",
"valueString" : "define \"SDE Payer\":\n [Coverage: type in \"Payer\"] Payer\n return {\n code: Payer.type,\n period: Payer.period\n }"
},
{
"url" : "displaySequence",
"valueInteger" : 28
}
],
"url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"
},
{
"extension" : [
{
"url" : "libraryName",
"valueString" : "EXM108-FHIR"
},
{
"url" : "name",
"valueString" : "SDE Payer"
},
{
"url" : "statement",
"valueString" : "define \"SDE Payer\":\n\tSDE.\"SDE Payer\""
},
{
"url" : "displaySequence",
"valueInteger" : 29
}
],
"url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"
},
{
"extension" : [
{
"url" : "libraryName",
"valueString" : "SupplementalDataElements"
},
{
"url" : "name",
"valueString" : "SDE Ethnicity"
},
{
"url" : "statement",
"valueString" : "define \"SDE Ethnicity\":\n (flatten (\n Patient.extension Extension\n where Extension.url = 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity'\n return Extension.extension\n )) E\n where E.url = 'ombCategory'\n or E.url = 'detailed'\n return E.value as Coding"
},
{
"url" : "displaySequence",
"valueInteger" : 30
}
],
"url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"
},
{
"extension" : [
{
"url" : "libraryName",
"valueString" : "EXM108-FHIR"
},
{
"url" : "name",
"valueString" : "SDE Ethnicity"
},
{
"url" : "statement",
"valueString" : "define \"SDE Ethnicity\":\n SDE.\"SDE Ethnicity\""
},
{
"url" : "displaySequence",
"valueInteger" : 31
}
],
"url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"
},
{
"extension" : [
{
"url" : "libraryName",
"valueString" : "EXM108-FHIR"
},
{
"url" : "name",
"valueString" : "Encounter Less Than 2 Days"
},
{
"url" : "statement",
"valueString" : "define \"Encounter Less Than 2 Days\":\n \"Encounter With Age Range and Without VTE Diagnosis or Obstetrical Conditions\" QualifyingEncounter\n \twhere Global.\"LengthInDays\"(QualifyingEncounter.period)< 2"
},
{
"url" : "displaySequence",
"valueInteger" : 32
}
],
"url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"
},
{
"extension" : [
{
"url" : "libraryName",
"valueString" : "EXM108-FHIR"
},
{
"url" : "name",
"valueString" : "Encounter With ICU Location Stay 1 Day or More"
},
{
"url" : "statement",
"valueString" : "define \"Encounter With ICU Location Stay 1 Day or More\":\n \"Encounter With Age Range and Without VTE Diagnosis or Obstetrical Conditions\" QualifyingEncounter\n where exists ( QualifyingEncounter.location Location\n \t\twhere Global.GetLocation(Location.location).type in \"Intensive Care Unit\"\n \t\t\tand Global.\"LengthInDays\"(Location.period)>= 1\n \t\t\tand Location.period starts during TJC.\"CalendarDayOfOrDayAfter\"(start of QualifyingEncounter.period)\n\t )"
},
{
"url" : "displaySequence",
"valueInteger" : 33
}
],
"url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"
},
{
"extension" : [
{
"url" : "libraryName",
"valueString" : "EXM108-FHIR"
},
{
"url" : "name",
"valueString" : "Encounter With Principal Diagnosis of Mental Disorder or Stroke"
},
{
"url" : "statement",
"valueString" : "define \"Encounter With Principal Diagnosis of Mental Disorder or Stroke\":\n \"Encounter With Age Range and Without VTE Diagnosis or Obstetrical Conditions\" QualifyingEncounter\n where Global.\"PrincipalDiagnosis\"(QualifyingEncounter).code in \"Mental Health Diagnoses\"\n or Global.\"PrincipalDiagnosis\"(QualifyingEncounter).code in \"Hemorrhagic Stroke\"\n or Global.\"PrincipalDiagnosis\"(QualifyingEncounter).code in \"Ischemic Stroke\""
},
{
"url" : "displaySequence",
"valueInteger" : 34
}
],
"url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"
},
{
"extension" : [
{
"url" : "libraryName",
"valueString" : "EXM108-FHIR"
},
{
"url" : "name",
"valueString" : "SCIP VTE Selected Surgery"
},
{
"url" : "statement",
"valueString" : "define \"SCIP VTE Selected Surgery\":\n (\t[\"Procedure\": \"General Surgery\"]\n union [\"Procedure\": \"Gynecological Surgery\"]\n union [\"Procedure\": \"Hip Fracture Surgery\"]\n union [\"Procedure\": \"Hip Replacement Surgery\"]\n union [\"Procedure\": \"Intracranial Neurosurgery\"]\n union [\"Procedure\": \"Knee Replacement Surgery\"]\n union [\"Procedure\": \"Urological Surgery\"] ) Procedure\n where Procedure.status = 'completed'"
},
{
"url" : "displaySequence",
"valueInteger" : 35
}
],
"url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"
},
{
"extension" : [
{
"url" : "libraryName",
"valueString" : "EXM108-FHIR"
},
{
"url" : "name",
"valueString" : "Encounter With Principal Procedure of SCIP VTE Selected Surgery"
},
{
"url" : "statement",
"valueString" : "/* NOTE: 2 options to express Principal Procedure to retrive \"encounter Procedure as an url\" and proedure \"rank as extension\" in R4\n VTE-1 uses Option 1 - generic extension funtion\n VTE-2 uses Option 2 - Specific extension functions\n TODO: Mapping Table needs revision on using \"Encounter.procedure.code\", \"Encounter.procedure.sequence\"\n*/\ndefine \"Encounter With Principal Procedure of SCIP VTE Selected Surgery\":\n from\n \"Encounter With Age Range and Without VTE Diagnosis or Obstetrical Conditions\" QualifyingEncounter,\n \"SCIP VTE Selected Surgery\" SelectedProcedure\n let EncounterProcedure: Global.GetExtension(QualifyingEncounter, 'qicore-encounter-procedure')\n where FHIRHelpers.ToInteger(Global.GetExtension(EncounterProcedure, 'rank').value as FHIR.positiveInt) = 1\n and Global.GetId(FHIRHelpers.ToString((Global.GetExtension(EncounterProcedure, 'procedure').value as FHIR.Reference).reference)) = SelectedProcedure.id\n and Global.\"Normalize Interval\"(SelectedProcedure.performed) during QualifyingEncounter.period"
},
{
"url" : "displaySequence",
"valueInteger" : 36
}
],
"url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"
},
{
"extension" : [
{
"url" : "libraryName",
"valueString" : "EXM108-FHIR"
},
{
"url" : "name",
"valueString" : "Intervention Comfort Measures"
},
{
"url" : "statement",
"valueString" : "define \"Intervention Comfort Measures\":\n\t([\"ServiceRequest\": \"Comfort Measures\"] P\n \t\twhere P.intent = 'order'\n )\n \tunion\n \t([\"Procedure\": \"Comfort Measures\"] InterventionPerformed\n \twhere InterventionPerformed.status in {'completed', 'in-progress'})"
},
{
"url" : "displaySequence",
"valueInteger" : 37
}
],
"url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"
},
{
"extension" : [
{
"url" : "libraryName",
"valueString" : "EXM108-FHIR"
},
{
"url" : "name",
"valueString" : "Encounter With Intervention Comfort Measures From Day of Start of Hospitalization To Day After Admission"
},
{
"url" : "statement",
"valueString" : "define \"Encounter With Intervention Comfort Measures From Day of Start of Hospitalization To Day After Admission\":\n\t\"Encounter With Age Range and Without VTE Diagnosis or Obstetrical Conditions\" QualifyingEncounter\n\t\twith \"Intervention Comfort Measures\" ComfortMeasure\n\t\tsuch that Coalesce(start of Global.\"Normalize Interval\"(ComfortMeasure.performed), ComfortMeasure.authoredOn) during VTEICU.\"FromDayOfStartOfHospitalizationToDayAfterAdmission\"(QualifyingEncounter)"
},
{
"url" : "displaySequence",
"valueInteger" : 38
}
],
"url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"
},
{
"extension" : [
{
"url" : "libraryName",
"valueString" : "EXM108-FHIR"
},
{
"url" : "name",
"valueString" : "Encounter With Intervention Comfort Measures on Day of or Day After Procedure"
},
{
"url" : "statement",
"valueString" : "define \"Encounter With Intervention Comfort Measures on Day of or Day After Procedure\":\n from\n \t\t\"Encounter With Age Range and Without VTE Diagnosis or Obstetrical Conditions\" QualifyingEncounter,\n \t\t[\"Procedure\": \"General or Neuraxial Anesthesia\"] AnesthesiaProcedure,\n \t\t\"Intervention Comfort Measures\" ComfortMeasure\n\t\twhere AnesthesiaProcedure.status = 'completed'\n\t\t\t\tand Global.\"Normalize Interval\"(AnesthesiaProcedure.performed) ends 1 day after day of start of QualifyingEncounter.period\n and Coalesce(start of Global.\"Normalize Interval\"(ComfortMeasure.performed), ComfortMeasure.authoredOn) during TJC.\"CalendarDayOfOrDayAfter\"(end of Global.\"Normalize Interval\"(AnesthesiaProcedure.performed))\n return QualifyingEncounter"
},
{
"url" : "displaySequence",
"valueInteger" : 39
}
],
"url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"
},
{
"extension" : [
{
"url" : "libraryName",
"valueString" : "EXM108-FHIR"
},
{
"url" : "name",
"valueString" : "Denominator Exclusion"
},
{
"url" : "statement",
"valueString" : "define \"Denominator Exclusion\":\n \"Encounter Less Than 2 Days\"\n union \"Encounter With ICU Location Stay 1 Day or More\"\n union \"Encounter With Principal Diagnosis of Mental Disorder or Stroke\"\n union \"Encounter With Principal Procedure of SCIP VTE Selected Surgery\"\n union \"Encounter With Intervention Comfort Measures From Day of Start of Hospitalization To Day After Admission\"\n union \"Encounter With Intervention Comfort Measures on Day of or Day After Procedure\""
},
{
"url" : "displaySequence",
"valueInteger" : 40
}
],
"url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"
},
{
"extension" : [
{
"url" : "libraryName",
"valueString" : "SupplementalDataElements"
},
{
"url" : "name",
"valueString" : "SDE Race"
},
{
"url" : "statement",
"valueString" : "define \"SDE Race\":\n (flatten (\n Patient.extension Extension\n where Extension.url = 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-race'\n return Extension.extension\n )) E\n where E.url = 'ombCategory'\n or E.url = 'detailed'\n return E.value as Coding"
},
{
"url" : "displaySequence",
"valueInteger" : 41
}
],
"url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"
},
{
"extension" : [
{
"url" : "libraryName",
"valueString" : "EXM108-FHIR"
},
{
"url" : "name",
"valueString" : "SDE Race"
},
{
"url" : "statement",
"valueString" : "define \"SDE Race\":\n SDE.\"SDE Race\""
},
{
"url" : "displaySequence",
"valueInteger" : 42
}
],
"url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"
}
],
"name" : "EffectiveDataRequirements",
"status" : "active",
"type" : {
"coding" : [
{
"system" : "http://terminology.hl7.org/CodeSystem/library-type",
"code" : "module-definition"
}
]
},
"date" : "2022-02-22T10:37:04-07:00",
"relatedArtifact" : [
{
"type" : "depends-on",
"display" : "Library SDE",
"resource" : "http://hl7.org/fhir/us/cqfmeasures/Library/SupplementalDataElements|2.0.000"
},
{
"type" : "depends-on",
"display" : "Library FHIRHelpers",
"resource" : "http://fhir.org/guides/cqf/common/Library/FHIRHelpers|4.0.1"
},
{
"type" : "depends-on",
"display" : "Library Global",
"resource" : "http://hl7.org/fhir/us/cqfmeasures/Library/MATGlobalCommonFunctions|5.0.000"
},
{
"type" : "depends-on",
"display" : "Library TJC",
"resource" : "http://hl7.org/fhir/us/cqfmeasures/Library/TJCOverall|4.0.000"
},
{
"type" : "depends-on",
"display" : "Library VTEICU",
"resource" : "http://hl7.org/fhir/us/cqfmeasures/Library/VTEICU|5.0.000"
},
{
"type" : "depends-on",
"display" : "Code system ConditionClinicalStatusCodes",
"resource" : "http://terminology.hl7.org/CodeSystem/condition-clinical"
},
{
"type" : "depends-on",
"display" : "Code system LOINC",
"resource" : "http://loinc.org"
},
{
"type" : "depends-on",
"display" : "Value set Encounter Inpatient",
"resource" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.666.5.307"
},
{
"type" : "depends-on",
"display" : "Value set Obstetrics",
"resource" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.263"
},
{
"type" : "depends-on",
"display" : "Value set Venous Thromboembolism",
"resource" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.279"
},
{
"type" : "depends-on",
"display" : "Value set Obstetrics VTE",
"resource" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.264"
},
{
"type" : "depends-on",
"display" : "Value set Low Dose Unfractionated Heparin for VTE Prophylaxis",
"resource" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1045.39"
},
{
"type" : "depends-on",
"display" : "Value set Subcutaneous route",
"resource" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.223"
},
{
"type" : "depends-on",
"display" : "Value set Low Molecular Weight Heparin for VTE Prophylaxis",
"resource" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.219"
},
{
"type" : "depends-on",
"display" : "Value set Injectable Factor Xa Inhibitor for VTE Prophylaxis",
"resource" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.211"
},
{
"type" : "depends-on",
"display" : "Value set Warfarin",
"resource" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.232"
},
{
"type" : "depends-on",
"display" : "Value set Device Application",
"resource" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1110.48"
},
{
"type" : "depends-on",
"display" : "Value set Intermittent pneumatic compression devices (IPC)",
"resource" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.214"
},
{
"type" : "depends-on",
"display" : "Value set Venous foot pumps (VFP)",
"resource" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.230"
},
{
"type" : "depends-on",
"display" : "Value set Graduated compression stockings (GCS)",
"resource" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.256"
},
{
"type" : "depends-on",
"display" : "Value set General or Neuraxial Anesthesia",
"resource" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.666.5.1743"
},
{
"type" : "depends-on",
"display" : "Value set Oral Factor Xa Inhibitor for VTE Prophylaxis or VTE Treatment",
"resource" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.134"
},
{
"type" : "depends-on",
"display" : "Value set Atrial Fibrillation/Flutter",
"resource" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.202"
},
{
"type" : "depends-on",
"display" : "Value set Hip Replacement Surgery",
"resource" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.259"
},
{
"type" : "depends-on",
"display" : "Value set Knee Replacement Surgery",
"resource" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.261"
},
{
"type" : "depends-on",
"display" : "Value set Low Risk",
"resource" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.400"
},
{
"type" : "depends-on",
"display" : "Value set INR",
"resource" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.213"
},
{
"type" : "depends-on",
"display" : "Value set Unfractionated Heparin",
"resource" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.218"
},
{
"type" : "depends-on",
"display" : "Value set Intravenous route",
"resource" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.222"
},
{
"type" : "depends-on",
"display" : "Value set Direct Thrombin Inhibitor",
"resource" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.205"
},
{
"type" : "depends-on",
"display" : "Value set Glycoprotein IIb/IIIa Inhibitors",
"resource" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1045.41"
},
{
"type" : "depends-on",
"display" : "Value set Observation Services",
"resource" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1111.143"
},
{
"type" : "depends-on",
"display" : "Value set Emergency Department Visit",
"resource" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.292"
},
{
"type" : "depends-on",
"display" : "Value set Medical Reason",
"resource" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.473"
},
{
"type" : "depends-on",
"display" : "Value set Patient Refusal",
"resource" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.93"
},
{
"type" : "depends-on",
"display" : "Value set Payer",
"resource" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3591"
},
{
"type" : "depends-on",
"display" : "Value set Intensive Care Unit",
"resource" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1110.23"
},
{
"type" : "depends-on",
"display" : "Value set Mental Health Diagnoses",
"resource" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.105.12.1004"
},
{
"type" : "depends-on",
"display" : "Value set Hemorrhagic Stroke",
"resource" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.212"
},
{
"type" : "depends-on",
"display" : "Value set Ischemic Stroke",
"resource" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.247"
},
{
"type" : "depends-on",
"display" : "Value set General Surgery",
"resource" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.255"
},
{
"type" : "depends-on",
"display" : "Value set Gynecological Surgery",
"resource" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.257"
},
{
"type" : "depends-on",
"display" : "Value set Hip Fracture Surgery",
"resource" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.258"
},
{
"type" : "depends-on",
"display" : "Value set Intracranial Neurosurgery",
"resource" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.260"
},
{
"type" : "depends-on",
"display" : "Value set Urological Surgery",
"resource" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.272"
},
{
"type" : "depends-on",
"display" : "Value set Comfort Measures",
"resource" : "http://cts.nlm.nih.gov/fhir/ValueSet/1.3.6.1.4.1.33895.1.3.0.45"
}
],
"parameter" : [
{
"name" : "Measurement Period",
"use" : "in",
"min" : 0,
"max" : "1",
"type" : "Period"
},
{
"name" : "SDE Sex",
"use" : "out",
"min" : 0,
"max" : "1",
"type" : "Coding"
},
{
"name" : "Numerator",
"use" : "out",
"min" : 0,
"max" : "*",
"type" : "Encounter"
},
{
"name" : "Denominator",
"use" : "out",
"min" : 0,
"max" : "*",
"type" : "Encounter"
},
{
"name" : "SDE Payer",
"use" : "out",
"min" : 0,
"max" : "*",
"type" : "Resource"
},
{
"name" : "Initial Population",
"use" : "out",
"min" : 0,
"max" : "*",
"type" : "Encounter"
},
{
"name" : "SDE Ethnicity",
"use" : "out",
"min" : 0,
"max" : "*",
"type" : "Coding"
},
{
"name" : "Denominator Exclusion",
"use" : "out",
"min" : 0,
"max" : "*",
"type" : "Resource"
},
{
"name" : "SDE Race",
"use" : "out",
"min" : 0,
"max" : "*",
"type" : "Coding"
}
],
"dataRequirement" : [
{
"type" : "Patient",
"profile" : [
"http://hl7.org/fhir/StructureDefinition/Patient"
],
"mustSupport" : [
"extension",
"value",
"birthDate",
"url"
]
},
{
"type" : "Encounter",
"profile" : [
"http://hl7.org/fhir/StructureDefinition/Encounter"
],
"mustSupport" : [
"period",
"type"
],
"codeFilter" : [
{
"path" : "type",
"valueSet" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.292"
}
]
},
{
"type" : "Encounter",
"profile" : [
"http://hl7.org/fhir/StructureDefinition/Encounter"
],
"mustSupport" : [
"period",
"type"
],
"codeFilter" : [
{
"path" : "type",
"valueSet" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1111.143"
}
]
},
{
"type" : "Encounter",
"profile" : [
"http://hl7.org/fhir/StructureDefinition/Encounter"
],
"mustSupport" : [
"period",
"type",
"status"
],
"codeFilter" : [
{
"path" : "type",
"valueSet" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.666.5.307"
}
]
},
{
"type" : "MedicationAdministration",
"profile" : [
"http://hl7.org/fhir/StructureDefinition/MedicationAdministration"
],
"mustSupport" : [
"dosage.route",
"dosage",
"medication"
],
"codeFilter" : [
{
"path" : "medication",
"valueSet" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.218"
}
]
},
{
"type" : "MedicationAdministration",
"profile" : [
"http://hl7.org/fhir/StructureDefinition/MedicationAdministration"
],
"mustSupport" : [
"medication"
],
"codeFilter" : [
{
"path" : "medication",
"valueSet" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.205"
}
]
},
{
"type" : "MedicationAdministration",
"profile" : [
"http://hl7.org/fhir/StructureDefinition/MedicationAdministration"
],
"mustSupport" : [
"medication"
],
"codeFilter" : [
{
"path" : "medication",
"valueSet" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1045.41"
}
]
},
{
"type" : "MedicationAdministration",
"profile" : [
"http://hl7.org/fhir/StructureDefinition/MedicationAdministration"
],
"mustSupport" : [
"dosage.route",
"dosage",
"medication",
"status"
],
"codeFilter" : [
{
"path" : "medication",
"valueSet" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1045.39"
}
]
},
{
"type" : "MedicationAdministration",
"profile" : [
"http://hl7.org/fhir/StructureDefinition/MedicationAdministration"
],
"mustSupport" : [
"medication",
"status"
],
"codeFilter" : [
{
"path" : "medication",
"valueSet" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.219"
}
]
},
{
"type" : "MedicationAdministration",
"profile" : [
"http://hl7.org/fhir/StructureDefinition/MedicationAdministration"
],
"mustSupport" : [
"medication",
"status"
],
"codeFilter" : [
{
"path" : "medication",
"valueSet" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.211"
}
]
},
{
"type" : "MedicationAdministration",
"profile" : [
"http://hl7.org/fhir/StructureDefinition/MedicationAdministration"
],
"mustSupport" : [
"medication",
"status"
],
"codeFilter" : [
{
"path" : "medication",
"valueSet" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.232"
}
]
},
{
"type" : "MedicationAdministration",
"profile" : [
"http://hl7.org/fhir/StructureDefinition/MedicationAdministration"
],
"mustSupport" : [
"effective",
"medication",
"status"
],
"codeFilter" : [
{
"path" : "medication",
"valueSet" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.134"
}
]
},
{
"type" : "MedicationRequest",
"profile" : [
"http://hl7.org/fhir/StructureDefinition/MedicationRequest"
],
"mustSupport" : [
"medication"
],
"codeFilter" : [
{
"path" : "medication",
"valueSet" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1045.39"
}
]
},
{
"type" : "MedicationRequest",
"profile" : [
"http://hl7.org/fhir/StructureDefinition/MedicationRequest"
],
"mustSupport" : [
"medication"
],
"codeFilter" : [
{
"path" : "medication",
"valueSet" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.219"
}
]
},
{
"type" : "MedicationRequest",
"profile" : [
"http://hl7.org/fhir/StructureDefinition/MedicationRequest"
],
"mustSupport" : [
"medication"
],
"codeFilter" : [
{
"path" : "medication",
"valueSet" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.211"
}
]
},
{
"type" : "MedicationRequest",
"profile" : [
"http://hl7.org/fhir/StructureDefinition/MedicationRequest"
],
"mustSupport" : [
"medication"
],
"codeFilter" : [
{
"path" : "medication",
"valueSet" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.232"
}
]
},
{
"type" : "ServiceRequest",
"profile" : [
"http://hl7.org/fhir/StructureDefinition/ServiceRequest"
],
"mustSupport" : [
"code"
],
"codeFilter" : [
{
"path" : "code",
"valueSet" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.230"
}
]
},
{
"type" : "ServiceRequest",
"profile" : [
"http://hl7.org/fhir/StructureDefinition/ServiceRequest"
],
"mustSupport" : [
"code"
],
"codeFilter" : [
{
"path" : "code",
"valueSet" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.214"
}
]
},
{
"type" : "ServiceRequest",
"profile" : [
"http://hl7.org/fhir/StructureDefinition/ServiceRequest"
],
"mustSupport" : [
"code"
],
"codeFilter" : [
{
"path" : "code",
"valueSet" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.256"
}
]
},
{
"type" : "ServiceRequest",
"profile" : [
"http://hl7.org/fhir/StructureDefinition/ServiceRequest"
],
"mustSupport" : [
"code",
"intent"
],
"codeFilter" : [
{
"path" : "code",
"valueSet" : "http://cts.nlm.nih.gov/fhir/ValueSet/1.3.6.1.4.1.33895.1.3.0.45"
}
]
},
{
"type" : "Procedure",
"profile" : [
"http://hl7.org/fhir/StructureDefinition/Procedure"
],
"mustSupport" : [
"code"
],
"codeFilter" : [
{
"path" : "code",
"valueSet" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.255"
}
]
},
{
"type" : "Procedure",
"profile" : [
"http://hl7.org/fhir/StructureDefinition/Procedure"
],
"mustSupport" : [
"code"
],
"codeFilter" : [
{
"path" : "code",
"valueSet" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.257"
}
]
},
{
"type" : "Procedure",
"profile" : [
"http://hl7.org/fhir/StructureDefinition/Procedure"
],
"mustSupport" : [
"code"
],
"codeFilter" : [
{
"path" : "code",
"valueSet" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.258"
}
]
},
{
"type" : "Procedure",
"profile" : [
"http://hl7.org/fhir/StructureDefinition/Procedure"
],
"mustSupport" : [
"code"
],
"codeFilter" : [
{
"path" : "code",
"valueSet" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.260"
}
]
},
{
"type" : "Procedure",
"profile" : [
"http://hl7.org/fhir/StructureDefinition/Procedure"
],
"mustSupport" : [
"code"
],
"codeFilter" : [
{
"path" : "code",
"valueSet" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.272"
}
]
},
{
"type" : "Procedure",
"profile" : [
"http://hl7.org/fhir/StructureDefinition/Procedure"
],
"mustSupport" : [
"code",
"status"
],
"codeFilter" : [
{
"path" : "code",
"valueSet" : "http://cts.nlm.nih.gov/fhir/ValueSet/1.3.6.1.4.1.33895.1.3.0.45"
}
]
},
{
"type" : "Procedure",
"profile" : [
"http://hl7.org/fhir/StructureDefinition/Procedure"
],
"mustSupport" : [
"code"
],
"codeFilter" : [
{
"path" : "code",
"valueSet" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.259"
}
]
},
{
"type" : "Procedure",
"profile" : [
"http://hl7.org/fhir/StructureDefinition/Procedure"
],
"mustSupport" : [
"code"
],
"codeFilter" : [
{
"path" : "code",
"valueSet" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.261"
}
]
},
{
"type" : "Procedure",
"profile" : [
"http://hl7.org/fhir/StructureDefinition/Procedure"
],
"mustSupport" : [
"code",
"statusReason",
"usedCode",
"id",
"status"
],
"codeFilter" : [
{
"path" : "code",
"valueSet" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1110.48"
}
]
},
{
"type" : "Procedure",
"profile" : [
"http://hl7.org/fhir/StructureDefinition/Procedure"
],
"mustSupport" : [
"code",
"performed",
"status"
],
"codeFilter" : [
{
"path" : "code",
"valueSet" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.666.5.1743"
}
]
},
{
"type" : "Condition",
"profile" : [
"http://hl7.org/fhir/StructureDefinition/Condition"
],
"mustSupport" : [
"id"
]
},
{
"type" : "Condition",
"profile" : [
"http://hl7.org/fhir/StructureDefinition/Condition"
],
"mustSupport" : [
"code",
"clinicalStatus",
"onset"
],
"codeFilter" : [
{
"path" : "code",
"valueSet" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.202"
}
]
},
{
"type" : "Condition",
"profile" : [
"http://hl7.org/fhir/StructureDefinition/Condition"
],
"mustSupport" : [
"code",
"clinicalStatus",
"onset"
],
"codeFilter" : [
{
"path" : "code",
"valueSet" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.279"
}
]
},
{
"type" : "Observation",
"profile" : [
"http://hl7.org/fhir/StructureDefinition/Observation"
],
"mustSupport" : [
"code",
"value",
"status"
],
"codeFilter" : [
{
"path" : "code",
"code" : [
{
"system" : "http://loinc.org",
"code" : "72136-5",
"display" : "Risk for venous thromboembolism"
}
]
}
]
},
{
"type" : "Observation",
"profile" : [
"http://hl7.org/fhir/StructureDefinition/Observation"
],
"mustSupport" : [
"code",
"id",
"issued",
"value",
"status"
],
"codeFilter" : [
{
"path" : "code",
"valueSet" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.213"
}
]
},
{
"type" : "Coverage",
"profile" : [
"http://hl7.org/fhir/StructureDefinition/Coverage"
],
"mustSupport" : [
"period",
"type"
],
"codeFilter" : [
{
"path" : "type",
"valueSet" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3591"
}
]
},
{
"type" : "Location",
"profile" : [
"http://hl7.org/fhir/StructureDefinition/Location"
],
"mustSupport" : [
"id"
]
}
]
}
],
"extension" : [
{
"url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-populationBasis",
"valueCode" : "Encounter"
},
{
"url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-softwaresystem",
"valueReference" : {
"reference" : "Device/software-system-example"
}
},
{
"id" : "effective-data-requirements",
"url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-effectiveDataRequirements",
"valueReference" : {
"reference" : "#effective-data-requirements"
}
}
],
"url" : "http://hl7.org/fhir/us/cqfmeasures/Measure/EXM108-FHIR",
"identifier" : [
{
"use" : "official",
"system" : "http://example.org/fhir/cqi/ecqm/Measure/Identifier/cms",
"value" : "108"
}
],
"version" : "8.2.000",
"name" : "EXM108",
"title" : "EXM108 - Venous Thromboembolism Prophylaxis",
"status" : "active",
"experimental" : true,
"date" : "2022-02-22",
"publisher" : "Clinical Quality Information WG",
"contact" : [
{
"telecom" : [
{
"system" : "url",
"value" : "http://www.hl7.org/Special/committees/cqi"
}
]
}
],
"description" : "This measure assesses the number of patients who received VTE prophylaxis or have documentation why no VTE prophylaxis was given the day of or the day after hospital admission or surgery end date for surgeries that start the day of or the day after hospital admission",
"useContext" : [
{
"code" : {
"system" : "http://terminology.hl7.org/CodeSystem/usage-context-type",
"code" : "program"
},
"valueCodeableConcept" : {
"coding" : [
{
"system" : "http://hl7.org/fhir/us/cqfmeasures/CodeSystem/quality-programs",
"code" : "eh-cah",
"display" : "EH/CAH"
}
]
}
}
],
"jurisdiction" : [
{
"coding" : [
{
"system" : "urn:iso:std:iso:3166",
"code" : "US"
}
]
}
],
"copyright" : "Measure specifications are in the Public Domain.\n\nLOINC(R) is a registered trademark of the Regenstrief Institute.\n\nThis material contains SNOMED Clinical Terms(R) (SNOMED CT(C)) copyright 2004-2017 International Health Terminology Standards Development Organization. All rights reserved.",
"approvalDate" : "2019-03-08",
"lastReviewDate" : "2019-03-08",
"effectivePeriod" : {
"start" : "2018-01-01",
"end" : "2018-12-31"
},
"topic" : [
{
"coding" : [
{
"system" : "http://loinc.org",
"code" : "57024-2",
"display" : "Health Quality Measure Document"
}
]
}
],
"library" : [
"http://hl7.org/fhir/us/cqfmeasures/Library/EXM108-FHIR"
],
"disclaimer" : "These performance measures are not clinical guidelines and do not establish a standard of medical care, and have not been tested for all potential applications. The measures and specifications are provided without warranty",
"scoring" : {
"coding" : [
{
"system" : "http://terminology.hl7.org/CodeSystem/measure-scoring",
"code" : "proportion",
"display" : "Proportion"
}
]
},
"type" : [
{
"coding" : [
{
"system" : "http://terminology.hl7.org/CodeSystem/measure-type",
"code" : "process"
}
]
}
],
"rationale" : "Hospitalized patients at high-risk for VTE may develop an asymptomatic deep vein thrombosis (DVT), and die from pulmonary embolism (PE) even before the diagnosis is suspected. The majority of fatal events occur as sudden or abrupt death, underscoring the importance of prevention as the most critical action step for reducing death from PE (Geerts, et al, 2008).\n\nThe estimated annual incidence of deep-vein thrombosis (DVT) and pulmonary embolism (PE), known collectively as venous thromboembolism (VTE), is approximately 900,000 (Geerts, et al, 2008). Approximately two-thirds of cases of DVT or PE are associated with recent hospitalization. This is consistent with the 2001 report by The Agency for Healthcare Research and Quality (AHRQ). AHRQ indicates that \"the appropriate application of effective preventive measures in hospitals has major potential for improving patient safety by reducing the incidence of venous thromboembolism\" (Shojania, 2001).\n\nDespite its proven effectiveness, rates of appropriate thromboprophylaxis remain low in both medical and surgical patients. A recent analysis from the ENDORSE survey, which evaluated prophylaxis rates in 17,084 major surgery patients, found that more than one third of patients at risk for VTE (38%) did not receive prophylaxis and that rates varied by surgery type (Cohen, et al., 2008).\n\nIn a review of evidence-based patient safety practices, the Agency for Healthcare Research and Quality defined thromboprophylaxis against VTE as the \"number one patient safety practice\" for hospitalized patients (Shojania, 2001). Updated \"safe practices\" published by the National Quality Forum (NQF) recommend routine evaluation of hospitalized patients for risk of VTE and use of appropriate prophylaxis (National Quality Forum. National Voluntary Consensus Standards for Prevention and Care of Venous Thromboembolism, 2006).\n\nAs noted by the ACCP, a vast number of randomized clinical trials provide irrefutable evidence that thromboprophylaxis reduces VTE events, and there are studies that have also shown that fatal PE is prevented by thromboprophylaxis (Geerts, et al. 2008).\n\nSome select surgeries have previously been monitored in the Surgical Care Improvement Project; since performance on these surgeries has achieved very high levels, they are not included in this measure.",
"clinicalRecommendationStatement" : "Failure to recognize and protect patients at risk for venous thromboembolism (VTE) increases the chances for acutely ill hospitalized patients at high risk for developing a deep vein thrombosis or dying from a pulmonary emboli. Screening all patients is the only evidence based practice in reducing incidence of disease. All hospitalized patients should be evaluated for primary VTE prophylaxis, and given appropriate prophylaxis when indicated.",
"improvementNotation" : {
"coding" : [
{
"system" : "http://terminology.hl7.org/CodeSystem/measure-improvement-notation",
"code" : "increase",
"display" : "Increased score indicates improvement"
}
]
},
"guidance" : "When low dose unfractionated heparin is administered for VTE Prophylaxis, the intended administration route for low dose unfractionated heparin is subcutaneous.\n\nReasons for no pharmacological and no mechanical VTE prophylaxis must be explicitly documented by the MD/APN/PA or pharmacist and linked with VTE prophylaxis. Ambulation alone is not a sufficient reason for not administering VTE prophylaxis. In order for ambulation/patient ambulating to be considered as an acceptable reason, there needs to be explicit documentation, e.g., \"patient out of bed and ambulating in halls - no VTE prophylaxis needed.\"",
"group" : [
{
"population" : [
{
"code" : {
"coding" : [
{
"system" : "http://terminology.hl7.org/CodeSystem/measure-population",
"code" : "initial-population",
"display" : "Initial Population"
}
]
},
"description" : "Patients age 18 and older discharged from hospital inpatient acute care without a diagnosis of venous thromboembolism (VTE) or obstetrics with a length of stay less than or equal to 120 days that ends during the measurement period",
"criteria" : {
"language" : "text/cql-identifier",
"expression" : "Initial Population"
}
},
{
"code" : {
"coding" : [
{
"system" : "http://terminology.hl7.org/CodeSystem/measure-population",
"code" : "numerator",
"display" : "Numerator"
}
]
},
"description" : "Patients who received VTE prophylaxis:\n- the day of or the day after hospital admission\n- the day of or the day after surgery end date for surgeries that end the day of or the day after hospital admission\n\nPatients who have documentation of a reason why no VTE prophylaxis was given:\n- between arrival and hospital admission\n- the day of or the day after hospital admission\n- the day of or the day after surgery end date (for surgeries that end the day of or the day after hospital admission)",
"criteria" : {
"language" : "text/cql-identifier",
"expression" : "Numerator"
}
},
{
"code" : {
"coding" : [
{
"system" : "http://terminology.hl7.org/CodeSystem/measure-population",
"code" : "denominator",
"display" : "Denominator"
}
]
},
"description" : "All patients in the initial population",
"criteria" : {
"language" : "text/cql-identifier",
"expression" : "Denominator"
}
},
{
"code" : {
"coding" : [
{
"system" : "http://terminology.hl7.org/CodeSystem/measure-population",
"code" : "denominator-exclusion",
"display" : "Denominator Exclusion"
}
]
},
"description" : "* Patients who have a length of stay less than 2 days\n* Patients with comfort measures documented anytime between arrival and the day after hospital admission\n* Patients with comfort measures documented by the day after surgery end date for surgeries that start the day of or the day after hospital admission\n* Patients who are direct admits to intensive care unit (ICU), or transferred to ICU the day of or the day after hospital admission with ICU length of stay greater than or equal to one day\n* Patients with a principal diagnosis of mental disorders or stroke\n* Patients with a principal procedure of Surgical Care Improvement Project (SCIP) VTE selected surgeries",
"criteria" : {
"language" : "text/cql-identifier",
"expression" : "Denominator Exclusion"
}
}
]
}
],
"supplementalData" : [
{
"extension" : [
{
"url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-includeInReportType",
"valueCode" : "summary"
}
],
"usage" : [
{
"coding" : [
{
"system" : "http://terminology.hl7.org/CodeSystem/measure-data-usage",
"code" : "supplemental-data"
}
]
}
],
"criteria" : {
"language" : "text/cql-identifier",
"expression" : "SDE Ethnicity"
}
},
{
"extension" : [
{
"url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-includeInReportType",
"valueCode" : "summary"
}
],
"usage" : [
{
"coding" : [
{
"system" : "http://terminology.hl7.org/CodeSystem/measure-data-usage",
"code" : "supplemental-data"
}
]
}
],
"criteria" : {
"language" : "text/cql-identifier",
"expression" : "SDE Payer"
}
},
{
"extension" : [
{
"url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-includeInReportType",
"valueCode" : "summary"
}
],
"usage" : [
{
"coding" : [
{
"system" : "http://terminology.hl7.org/CodeSystem/measure-data-usage",
"code" : "supplemental-data"
}
]
}
],
"criteria" : {
"language" : "text/cql-identifier",
"expression" : "SDE Race"
}
},
{
"extension" : [
{
"url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-includeInReportType",
"valueCode" : "summary"
}
],
"usage" : [
{
"coding" : [
{
"system" : "http://terminology.hl7.org/CodeSystem/measure-data-usage",
"code" : "supplemental-data"
}
]
}
],
"criteria" : {
"language" : "text/cql-identifier",
"expression" : "SDE Sex"
}
}
]
}
IG © 2019+ Clinical Quality Information WG. Package hl7.fhir.us.cqfmeasures#4.0.0 based on FHIR 4.0.1. Generated 2023-08-28
Links: Table of Contents |
QA Report
| Version History |
|
Propose a change