Quality Measure STU1 for FHIR STU3 Implementation Guide

This page is part of the Quality Measure STU2 for FHIR R4 Implementation Guide (v1.0.0: STU 1) based on FHIR R3. The current version which supercedes this version is 3.0.0. For a full list of available versions, see the Directory of published versions

VTE_1_FHIR

@prefix fhir: <http://hl7.org/fhir/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

 a fhir:Measure;
  fhir:nodeRole fhir:treeRoot;
  fhir:Resource.id [ fhir:value "measure-vte-1-FHIR"];
  fhir:Resource.meta [
     fhir:Meta.versionId [ fhir:value "5" ];
     fhir:Meta.lastUpdated [ fhir:value "2019-11-06T18:37:59.147-05:00"^^xsd:dateTime ];
     fhir:Meta.profile [
       fhir:value "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/proportion-measure-cqfm";
       fhir:index 0     ]
  ];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ];
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><table style=\"width: 60%; border-bottom: none;\" class=\"header_table\">      <!-- <tr th:if=\"${resource.hasId()}\" style=\"vertical-align: top;\"><th style=\"background-color:#656565; width:20%\" scope=\"row\"><span class=\"td_label\">Id: </span></th><td style=\"width:80%\" colspan=\"3\"  th:narrative=\"${resource.id}\"></td></tr> --><tr style=\"vertical-align: top;\"><td scope=\"row\" style=\"background-color:#656565; width:20%\"><span class=\"td_label\">Measure Title</span></td><td colspan=\"1\" style=\"width:60%\"><h1 style=\"font-size:10px\">Venous Thromboembolism Prophylaxis</h1></td><td scope=\"row\" style=\"background-color:#656565; width:10%\"><span class=\"td_label\">Measure ID</span></td><td colspan=\"1\" style=\"width:10%\"><h1 style=\"font-size:10px\">VTE_1_FHIR</h1></td></tr>      <!-- <th:block th:each=\"ident, iter : ${resource.identifier}\"><tr th:if=\"${ident.type.coding[0].code == 'CMS'}\" style=\"vertical-align: top;\"><td style=\"background-color:#656565; width:20%\" scope=\"row\"><span class=\"td_label\">eCQM Identifier (Measure Authoring Tool)</span></td><td style=\"width:30%\" th:narrative=\"${ident.value}\"></td><td style=\"background-color:#656565; width:20%\" scope=\"row\"><span class=\"td_label\">eCQM Version number</span></td><td style=\"width:30%\" th:narrative=\"${resource.version}\"></td></tr></th:block><th:block th:each=\"ident, iter : ${resource.identifier}\"><tr th:if=\"${ident.type.coding[0].code == 'NQF'}\" style=\"vertical-align: top;\"><td style=\"background-color:#656565; width:20%\" scope=\"row\"><span class=\"td_label\">NQF Number</span></td><td style=\"width:30%\" th:narrative=\"${ident.value}\"></td><td style=\"background-color:#656565; width:20%\" scope=\"row\"><span class=\"td_label\">GUID</span></td><td style=\"width:30%\" th:narrative=\"${resource.url}\"></td></tr></th:block> --><tr style=\"vertical-align: top;\"><td scope=\"row\" style=\"background-color:#656565; width:20%\"><span class=\"td_label\">Description</span></td><td colspan=\"3\" style=\"width:80%\"><div style=\"width:660px;overflow-x:hidden;overflow-y:auto\"><pre><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</pre>\n                </div>\n            </td>\n        </tr>\n        <tr>\n            <td scope=\"row\" style=\"background-color:#656565; width:20%\"><span class=\"td_label\">Measurement Period</span></td>\n            <td colspan=\"3\" style=\"width:80%\">January 1 - December 31</td>\n        </tr>\n              <!-- <tr>\n            <td style=\"background-color:#656565; width:20%\" scope=\"row\"><span class=\"td_label\">Measure Steward</span></td>\n            <td style=\"width:80%\" colspan=\"3\" th:narrative=\"${resource.publisher}\"></td>\n        </tr>\n        <tr>\n            <td style=\"background-color:#656565; width:20%\" scope=\"row\"><span class=\"td_label\">Measure Developer</span></td>\n            <td style=\"width:80%\" colspan=\"3\" th:narrative=\"${resource.publisher}\"></td>\n        </tr> -->\n              <!-- <tr th:if=\"${resource.hasDisclaimer()}\">\n            <td style=\"background-color:#656565; width:20%\" scope=\"row\"><span class=\"td_label\">Disclaimer</span></td>\n            <td style=\"width:80%\" colspan=\"3\">\n                <div style=\"width:660px;overflow-x:hidden;overflow-y:auto\">\n                    <pre th:text=\"${resource.disclaimer}\"></pre>\n                </div>\n            </td>\n        </tr> -->\n        <tr>\n            <td scope=\"row\" style=\"background-color:#656565; width:20%\"><span class=\"td_label\">Copyright and Disclaimer Notice</span></td>\n            <td colspan=\"3\" style=\"width:80%\">\n                <div style=\"width:660px;overflow-x:hidden;overflow-y:auto\">\n                    <pre>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</pre>\n                    <br/>\n                    <pre>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.</pre>\n                </div>\n            </td>\n        </tr>\n        <tr>\n            <td scope=\"row\" style=\"background-color:#656565; width:20%\"><span class=\"td_label\">Clinical Recommendation Statement</span></td>\n            <td colspan=\"3\" style=\"width:80%\">\n                <div style=\"width:660px;overflow-x:hidden;overflow-y:auto\"><p>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.</p>\n</div>\n            </td>\n        </tr>\n        \n            <tr style=\"vertical-align: top;\">\n                <td rowspan=\"5\" scope=\"row\" style=\"background-color:#656565; width:20%\"><span class=\"td_label\">References</span></td>\n                <td colspan=\"3\" style=\"width:80%\">\n                    <div style=\"width:660px;overflow-x:hidden;overflow-y:auto\">\n                        <pre>Geerts  WH, Bergqvist D, Pineo GF, Heit JA, Samama CM, Lassen MR, Colwell CW. Prevention of venous thromboembolism. The Eighth ACCP Conference on antithrombotic and thrombolytic therapy. Chest. 2008; 133:381S-453S</pre>\n                    </div>\n                </td>\n            </tr>\n        \n        \n            <tr style=\"vertical-align: top;\">\n                \n                <td colspan=\"3\" style=\"width:80%\">\n                    <div style=\"width:660px;overflow-x:hidden;overflow-y:auto\">\n                        <pre>Guyatt, G.H., Akl, E.A., Crowther, M., Gutterman, D., Schunemann, H. Antithrombotic Therapy and Prevention of Thrombosis, 9th edition: American College of Chest Physicians Evidence-Based Clinical Practice Guidelines. CHEST 2012; 141(2)(Supp):7S-47S</pre>\n                    </div>\n                </td>\n            </tr>\n        \n        \n            <tr style=\"vertical-align: top;\">\n                \n                <td colspan=\"3\" style=\"width:80%\">\n                    <div style=\"width:660px;overflow-x:hidden;overflow-y:auto\">\n                        <pre>Kearon C, Akl EA, Comerota AJ, Prandoni P, Bounameaux H, Goldhaber SZ, Nelson ME, Wells PS, Gould MK, Dentali F, Crowther M, Kahn SR. Antithrombotic therapy for VTE disease: Antithrombotic Therapy and Prevention of Thrombosis, 9th Edition: American College of Chest Physicians Evidence-based Clinical Practice Guidelines. CHEST 2012 Feb; 141(2) (Supp):e419S-94S.</pre>\n                    </div>\n                </td>\n            </tr>\n        \n        \n            <tr style=\"vertical-align: top;\">\n                \n                <td colspan=\"3\" style=\"width:80%\">\n                    <div style=\"width:660px;overflow-x:hidden;overflow-y:auto\">\n                        <pre>National Quality Forum. National Voluntary Consensus Standards for Prevention and Care of Venous Thromboembolism: Policy, Preferred Practices, and Initial Performance Measures. A Consensus Report. Washington, DC. NQF; 2006</pre>\n                    </div>\n                </td>\n            </tr>\n        \n        \n            <tr style=\"vertical-align: top;\">\n                \n                <td colspan=\"3\" style=\"width:80%\">\n                    <div style=\"width:660px;overflow-x:hidden;overflow-y:auto\">\n                        <pre>Shojania KG, Duncan BW, McDonald DM, et al. (Eds.). (2001). Making healthcare safer; A critical analysis of patient safety practices (Evidence Report/Technology Assessment No. 43). Prepared by the University of California at San Francisco-Stanford Evidenced-based Practice Center under Contract no. 290-97-0013 (AHRQ Publication NO.01-E058). Rockville, MD:Agency for Healthcare Research and Quality.</pre>\n                    </div>\n                </td>\n            </tr>\n        \n        <tr>\n            <td colspan=\"4\" scope=\"row\" style=\"background-color:#656565; width:100%\"><span class=\"td_label\">Characteristics</span></td>\n        </tr>\n        <tr>\n            <td scope=\"row\" style=\"width:20%\"><span>Scoring</span></td>\n            <td colspan=\"3\" style=\"width:80%\">Proportion</td>\n        </tr>\n              <!-- <tr th:if=\"${resource.hasCompositeScoring()}\">\n            <td style=\"width:20%\" scope=\"row\"><span class=\"td_label\">Composite Scoring</span></td>\n            <td style=\"width:80%\" colspan=\"3\" th:narrative=\"${resource.compositeScoring.getText().substring(0, 1).toUpperCase() + resource.compositeScoring.getText().substring(1)}\"></td>\n        </tr> -->\n        \n            <tr style=\"vertical-align: top;\">\n                <td rowspan=\"1\" scope=\"row\" style=\"width:20%\"><span>Type</span></td>\n                <td colspan=\"3\" style=\"width:80%\">Process</td>\n            </tr>\n        \n              <!-- <tr th:if=\"${resource.hasStatus()}\" style=\"vertical-align: top;\">\n            <td style=\"background-color:#656565; width:20%\" scope=\"row\"><span class=\"td_label\">Status</span></td>\n            <td style=\"width:80%\" colspan=\"3\" th:narrative=\"${resource.status.toString().substring(0, 1).toUpperCase() + resource.status.toString().substring(1).toLowerCase()}\"></td>\n        </tr>\n        <tr th:if=\"${resource.hasPurpose()}\" style=\"vertical-align: top;\">\n            <td style=\"background-color:#656565; width:20%\" scope=\"row\"><span class=\"td_label\">Purpose</span></td>\n            <td style=\"width:80%\" colspan=\"3\" th:narrative=\"${resource.purpose}\"></td>\n        </tr>\n        <tr th:if=\"${resource.hasUsage()}\" style=\"vertical-align: top;\" >\n            <td style=\"background-color:#656565; width:20%\" scope=\"row\"><span class=\"td_label\">Usage</span></td>\n            <td style=\"width:80%\" colspan=\"3\" th:narrative=\"${resource.usage}\"></td>\n        </tr>\n        <th:block th:each=\"context, iter : ${resource.useContext}\" >\n            <tr style=\"vertical-align: top;\">\n                <td th:if=\"${iter.index == 0}\" th:rowspan=\"${iter.size}\" style=\"background-color:#656565; width:20%\" scope=\"row\"><span class=\"td_label\">Use Context</span></td>\n                <td style=\"width:80%\" colspan=\"3\" th:narrative=\"${context}\"></td>\n            </tr>\n        </th:block>\n        <th:block th:each=\"topics, iter : ${resource.topic}\" >\n            <tr style=\"vertical-align: top;\">\n                <td th:if=\"${iter.index == 0}\" th:rowspan=\"${iter.size}\" style=\"background-color:#656565; width:20%\" scope=\"row\"><span class=\"td_label\">Topic</span></td>\n                <td style=\"width:80%\" colspan=\"3\" th:narrative=\"${topics}\"></td>\n            </tr>\n        </th:block>\n        <th:block th:each=\"cont, iter : ${resource.contributor}\" >\n            <tr style=\"vertical-align: top;\">\n                <td th:if=\"${iter.index == 0}\" th:rowspan=\"${iter.size}\" style=\"background-color:#656565; width:20%\" scope=\"row\"><span class=\"td_label\">Contributor</span></td>\n                <td style=\"width:80%\" colspan=\"3\">\n                    <b><span th:narrative=\"${cont.type.toCode()}\"></span>: </b><span th:narrative=\"${cont.name}\"></span>\n                </td>\n            </tr>\n        </th:block> -->\n              <!-- <th:block th:each=\"lib, iter : ${resource.library}\" >\n            <tr style=\"vertical-align: top;\">\n                <td th:if=\"${iter.index == 0}\" th:rowspan=\"${iter.size}\" style=\"background-color:#656565; width:20%\" scope=\"row\"><span class=\"td_label\">Library</span></td>\n                <td style=\"width:80%\" colspan=\"3\">\n                    <p th:if=\"${lib.hasIdentifier()}\"><b>identifier: </b><span th:narrative=\"${lib.identifier}\"></span></p>\n                    <p th:if=\"${lib.hasReference()}\"><b>reference: </b><span th:narrative=\"${lib.reference}\"></span></p>\n                    <p th:if=\"${lib.hasDisplay()}\"><b>display: </b><span th:narrative=\"${lib.display}\"></span></p>\n                </td>\n            </tr>\n        </th:block> -->\n        \n              <!-- <tr th:if=\"${resource.hasRateAggregation()}\" >\n            <td style=\"background-color:#656565; width:20%\" scope=\"row\"><span class=\"td_label\">Rate Aggregation</span></td>\n            <td style=\"width:80%\" colspan=\"3\">\n                <div style=\"width:660px;overflow-x:hidden;overflow-y:auto\">\n                    <pre th:text=\"${resource.rateAggregation}\"></pre>\n                </div>\n            </td>\n        </tr>\n        <tr th:if=\"${resource.hasRationale()}\">\n            <td style=\"background-color:#656565; width:20%\" scope=\"row\"><span class=\"td_label\">Rationale</span></td>\n            <td style=\"width:80%\" colspan=\"3\">\n                <div style=\"width:660px;overflow-x:hidden;overflow-y:auto\">\n                    <pre th:text=\"${resource.rationale}\"></pre>\n                </div>\n            </td>\n        </tr> -->\n        <tr>\n            <td scope=\"row\" style=\"width:20%\"><span>Improvement Notation</span></td>\n            <td colspan=\"3\" style=\"width:80%\">A higher rate indicates better performance.</td>\n            \n        </tr>\n        <tr>\n            <td scope=\"row\" style=\"width:20%\"><span>Guidance</span></td>\n            <td colspan=\"3\" style=\"width:80%\">\n                <div style=\"width:660px;overflow-x:hidden;overflow-y:auto\"><p>When low dose unfractionated heparin is administered for VTE Prophylaxis, the intended administration route for low dose unfractionated heparin is subcutaneous.</p>\n<p>Reasons 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., &quot;patient out of bed and ambulating in halls - no VTE prophylaxis needed.&quot;</p>\n</div>\n            </td>\n        </tr>\n        <tr>\n            <td colspan=\"4\" scope=\"row\" style=\"background-color:#656565; width:100%\"><span class=\"td_label\">Definitions</span></td>\n        </tr>\n        \n        \n            <tr style=\"vertical-align: top;\">\n                <td scope=\"row\" style=\"background-color:#656565; width:20%\"><span class=\"td_label\">Numerator</span></td>\n                <td colspan=\"3\" style=\"width:80%\">\n                    <div style=\"width:660px;overflow-x:hidden;overflow-y:auto\">\n                        <pre>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)</pre>\n                    </div>\n                </td>\n            </tr>\n        \n        \n            <tr style=\"vertical-align: top;\">\n                <td scope=\"row\" style=\"background-color:#656565; width:20%\"><span class=\"td_label\">Denominator</span></td>\n                <td colspan=\"3\" style=\"width:80%\">\n                    <div style=\"width:660px;overflow-x:hidden;overflow-y:auto\">\n                        <pre>All patients in the initial population</pre>\n                    </div>\n                </td>\n            </tr>\n        \n        \n            <tr style=\"vertical-align: top;\">\n                <td scope=\"row\" style=\"background-color:#656565; width:20%\"><span class=\"td_label\">Initial Population</span></td>\n                <td colspan=\"3\" style=\"width:80%\">\n                    <div style=\"width:660px;overflow-x:hidden;overflow-y:auto\">\n                        <pre>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</pre>\n                    </div>\n                </td>\n            </tr>\n        \n        \n            <tr style=\"vertical-align: top;\">\n                <td scope=\"row\" style=\"background-color:#656565; width:20%\"><span class=\"td_label\">Denominator Exclusion</span></td>\n                <td colspan=\"3\" style=\"width:80%\">\n                    <div style=\"width:660px;overflow-x:hidden;overflow-y:auto\">\n                        <pre>* 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</pre>\n                    </div>\n                </td>\n            </tr>\n        \n              <!-- <th:block th:each=\"groups, iter : ${resource.uniquePopulationGroup}\" >\n            <tr style=\"vertical-align: top;\">\n                <td style=\"background-color:#656565; width:20%\" scope=\"row\"><span class=\"td_label\" th:text=\"${groups.identifier.value}\"></span></td>\n                <td style=\"width:80%\" colspan=\"3\">\n                    <div style=\"width:660px;overflow-x:hidden;overflow-y:auto\">\n                        <pre th:text=\"${pops.description}\"></pre>\n                    </div>\n                </td>\n            </tr>\n        </th:block> -->\n    </table>\n    <table style=\"width: 60%; border-top: none; border-bottom: none\" class=\"header_table\">\n        \n    </table>\n    <table style=\"width: 60%; border-top: none;\" class=\"header_table\">\n              <!-- <th:block th:each=\"supples, iter : ${resource.supplementalData}\">\n            <tr>\n                <th th:if=\"${iter.index == 0}\" th:rowspan=\"${iter.size}\" scope=\"row\"><b>Supplemental Data:</b></th>\n                <td style=\"width:80%\" colspan=\"3\" >\n                    <p style=\"margin-bottom: 5px;\" th:narrative=\"${supples.identifier}\"></p>\n                    <p style=\"margin-bottom: 5px;\" th:each=\"uses : ${supples.usage}\">\n                        <b>usage: </b>\n                        <span th:narrative=\"${uses}\"></span>\n                    </p>\n                    <p style=\"margin-bottom: 5px;\" th:if=\"${supples.hasCriteria()}\">\n                        <b>criteria: </b>\n                        <span th:narrative=\"${supples.criteria}\"></span>\n                    </p>\n                    <p style=\"margin-bottom: 5px;\" th:if=\"${supples.hasPath()}\">\n                        <b>path: </b>\n                        <span th:narrative=\"${supples.path}\"></span>\n                    </p>\n                </td>\n            </tr>\n        </th:block> -->\n              <!-- <th:block th:each=\"param, iter : ${resource.parameter}\">\n            <tr style=\"vertical-align: top;\">\n                <th th:if=\"${iter.index == 0}\" th:rowspan=\"${iter.size}\" scope=\"row\"><b>Parameter: </b></th>\n                <td style=\"width:80%\" colspan=\"3\" >\n                    <span th:if=\"${param.hasName()}\">\n                        <b>name: </b>\n                        <span th:narrative=\"${param.name}\"></span>\n                        <br/>\n                    </span>\n                    <b>use: </b>\n                    <span th:narrative=\"${param.use.toCode()}\"></span>\n                    <br/>\n                    <span th:if=\"${param.hasMin()}\">\n                        <b>minimum cardinality: </b>\n                        <span th:narrative=\"${param.min}\"></span>\n                        <br/>\n                    </span>\n                    <span th:if=\"${param.hasMax()}\">\n                        <b>maximum cardinality: </b>\n                        <span th:narrative=\"${param.max}\"></span>\n                        <br/>\n                    </span>\n                    <b>type: </b>\n                    <span th:narrative=\"${param.type}\"></span>\n                    <br/>\n                    <span th:if=\"${param.hasDocumentation()}\">\n                        <b>documentation: </b>\n                        <span th:narrative=\"${param.documentation}\"></span>\n                        <br/>\n                    </span>\n                    <span th:if=\"${param.hasProfile()}\">\n                        <b>profile: </b>\n                        <span th:narrative=\"${param.profile}\"></span>\n                        <br/>\n                    </span>\n                    <p style=\"margin-bottom: 5px;\"></p>\n                </td>\n            </tr>\n        </th:block> -->\n              <!-- <th:block th:each=\"dataReq, iter : ${resource.dataRequirement}\">\n            <tr style=\"vertical-align: top;\">\n                    <th th:if=\"${iter.index == 0}\" th:rowspan=\"${iter.size}\" scope=\"row\" ><b>Data Requirements: </b></th>\n                    <td style=\"width:80%\" colspan=\"3\" th:narrative=\"${dataReq}\"></td>\n            </tr>\n        </th:block> -->\n    </table>\n  <h2><a name=\"toc\">Table of Contents</a></h2>\n  <ul style=\"padding-left: 50px;\">\n   <li><a href=\"#d1e405\">Population Criteria</a></li>\n   <li><a href=\"#d1e649\">Definitions</a></li>\n   <li><a href=\"#d1e650\">Functions</a></li>\n   <li><a href=\"#d1e555\">Terminology</a></li>\n   <li><a href=\"#d1e647\">Data Criteria (QDM Data Elements)</a></li>\n   <li><a href=\"#d1e767\">Supplemental Data Elements</a></li>\n   <li><a href=\"#d1e879\">Risk Adjustment Variables</a></li>\n  </ul>\n  <div style=\"float:left; background:teal; height:3px; width:80%\"/>\n  \n    <pre><br/></pre>\n    <h3><a name=\"d1e405\" href=\"#toc\">Population Criteria</a></h3>\n    <div>\n    <ul style=\"list-style:none;padding-left:10px;\">\n        <li style=\"list-style:none;padding-left:0px;\" class=\"list-unstyled\">\n        \n        <div class=\"treeview hover p-l-10\">\n        <ul class=\"list-unstyled\">\n        <li class=\"list-unstyled\"><input id=\"Initial Population\" type=\"checkbox\"/><label for=\"Initial Population\" class=\"list-header\"><strong>Initial Population</strong></label>\n            <ul class=\"code\">\n            <li class=\"list-unstyled\">\n            <div class=\"treeview hover p-l-10\">\n            <ul>\n                <li style=\"padding-left: 0px;\">\n                <div>\n                <pre class=\"cql-definition-body\">	&quot;Encounter With Age Range and Without VTE Diagnosis or Obstetrical Conditions&quot;</pre>\n                </div></li>\n            </ul> \n            </div></li>\n            </ul></li>\n        </ul>\n        </div>\n        \n        \n        <div class=\"treeview hover p-l-10\">\n        <ul class=\"list-unstyled\">\n        <li class=\"list-unstyled\"><input id=\"Numerator\" type=\"checkbox\"/><label for=\"Numerator\" class=\"list-header\"><strong>Numerator</strong></label>\n            <ul class=\"code\">\n            <li class=\"list-unstyled\">\n            <div class=\"treeview hover p-l-10\">\n            <ul>\n                <li style=\"padding-left: 0px;\">\n                <div>\n                <pre class=\"cql-definition-body\">	&quot;VTE Prophylaxis Received on Day of or Day After Admission or Procedure&quot;\r\n		union ( &quot;Medication Oral Factor Xa Inhibitor Administered on Day of or Day After Admission or Procedure&quot;\r\n				intersect ( &quot;Encounter With Prior or Present Diagnosis of Atrial Fibrillation or VTE&quot;\r\n						union &quot;Encounter With Prior or Present Procedure of Hip or Knee Replacement Surgery&quot;\r\n				)\r\n		)\r\n		union &quot;Low Risk for VTE or Anticoagulant Administered&quot;\r\n		union &quot;No VTE Prophylaxis Due to Medical Reason&quot;\r\n		union &quot;No VTE Prophylaxis Due to Patient Refusal&quot;</pre>\n                </div></li>\n            </ul> \n            </div></li>\n            </ul></li>\n        </ul>\n        </div>\n        \n        \n        <div class=\"treeview hover p-l-10\">\n        <ul class=\"list-unstyled\">\n        <li class=\"list-unstyled\"><input id=\"Denominator\" type=\"checkbox\"/><label for=\"Denominator\" class=\"list-header\"><strong>Denominator</strong></label>\n            <ul class=\"code\">\n            <li class=\"list-unstyled\">\n            <div class=\"treeview hover p-l-10\">\n            <ul>\n                <li style=\"padding-left: 0px;\">\n                <div>\n                <pre class=\"cql-definition-body\">	&quot;Initial Population&quot;</pre>\n                </div></li>\n            </ul> \n            </div></li>\n            </ul></li>\n        </ul>\n        </div>\n        \n        \n        <div class=\"treeview hover p-l-10\">\n        <ul class=\"list-unstyled\">\n        <li class=\"list-unstyled\"><input id=\"Denominator Exclusion\" type=\"checkbox\"/><label for=\"Denominator Exclusion\" class=\"list-header\"><strong>Denominator Exclusion</strong></label>\n            <ul class=\"code\">\n            <li class=\"list-unstyled\">\n            <div class=\"treeview hover p-l-10\">\n            <ul>\n                <li style=\"padding-left: 0px;\">\n                <div>\n                <pre class=\"cql-definition-body\">	&quot;Encounter Less Than 2 Days&quot;\r\n		union &quot;Encounter With ICU Location Stay 1 Day or More&quot;\r\n		union &quot;Encounter With Principal Diagnosis of Mental Disorder or Stroke&quot;\r\n		union &quot;Encounter With Principal Procedure of SCIP VTE Selected Surgery&quot;\r\n		union &quot;Intervention Comfort Measures on Day of or Day After Start of Hospitalization&quot;\r\n		union &quot;Intervention Comfort Measures on Day of or Day After Procedure&quot;</pre>\n                </div></li>\n            </ul> \n            </div></li>\n            </ul></li>\n        </ul>\n        </div>\n        \n        \n    </li>\n    </ul>\n    </div>\n\n  <h3><a name=\"d1e649\" href=\"#toc\">Definitions</a></h3>\n  <div>\n   <ul style=\"list-style:none;padding-left: 10px;\">\n    <li style=\"list-style:none;\" class=\"list-unstyled\">\n     <div>\n      <ul style=\"list-style:none;padding-left:0;\" class=\"list-unstyled\">\n       <li class=\"list-unstyled\">\n        <div class=\"treeview hover p-l-10\">\n         <input id=\"Admission Without VTE or Obstetrical Conditions\" type=\"checkbox\"/>\n         <label for=\"Admission Without VTE or Obstetrical Conditions\" class=\"list-header\"><strong>Admission Without VTE or Obstetrical Conditions</strong></label>\n         <ul style=\"margin-right: 20%; opacity: 1;\" class=\"code\">\n          <li class=\"list-unstyled\">\n           <div>\n            <ul style=\"padding-left: 0px;\">\n             <li style=\"padding-left: 0px;\" class=\"list-unstyled\">\n              <div>\n               <pre class=\"cql-definition-body\">		(Global.&quot;Inpatient Encounter&quot; InpatientEncounter\r\n		where not (Global.EncounterDiagnosis(InpatientEncounter).code in &quot;Obstetrics&quot;\r\n								or Global.EncounterDiagnosis(InpatientEncounter).code in &quot;Venous Thromboembolism&quot;\r\n								or Global.EncounterDiagnosis(InpatientEncounter).code in &quot;Obstetrics VTE&quot;\r\n							)\r\n    )\r\n		intersect (Global.&quot;Inpatient Encounter&quot; InpatientEncounter\r\n				without ( [&quot;Condition&quot;: code in &quot;Obstetrics&quot;]\r\n									union [&quot;Condition&quot;: code in &quot;Venous Thromboembolism&quot;]\r\n									union [&quot;Condition&quot;: code in &quot;Obstetrics VTE&quot;])	Diagnosis\r\n				such that Diagnosis.clinicalStatus = 'active'\r\n        		and Diagnosis.verificationStatus = 'confirmed'\r\n						and Global.&quot;Normalize Onset&quot;(Diagnosis.onset) during Global.&quot;Hospitalization&quot;(InpatientEncounter)\r\n						)</pre>\n              </div></li>\n            </ul> \n           </div></li>\n         </ul>\n        </div></li>\n      </ul>\n     </div></li>\n   </ul>\n  </div>\n  <div>\n   <ul style=\"list-style:none;padding-left: 10px;\">\n    <li style=\"list-style:none;\" class=\"list-unstyled\">\n     <div>\n      <ul style=\"list-style:none;padding-left:0;\" class=\"list-unstyled\">\n       <li class=\"list-unstyled\">\n        <div class=\"treeview hover p-l-10\">\n         <input id=\"Denominator\" type=\"checkbox\"/>\n         <label for=\"Denominator\" class=\"list-header\"><strong>Denominator</strong></label>\n         <ul style=\"margin-right: 20%; opacity: 1;\" class=\"code\">\n          <li class=\"list-unstyled\">\n           <div>\n            <ul style=\"padding-left: 0px;\">\n             <li style=\"padding-left: 0px;\" class=\"list-unstyled\">\n              <div>\n               <pre class=\"cql-definition-body\">	&quot;Initial Population&quot;</pre>\n              </div></li>\n            </ul> \n           </div></li>\n         </ul>\n        </div></li>\n      </ul>\n     </div></li>\n   </ul>\n  </div>\n  <div>\n   <ul style=\"list-style:none;padding-left: 10px;\">\n    <li style=\"list-style:none;\" class=\"list-unstyled\">\n     <div>\n      <ul style=\"list-style:none;padding-left:0;\" class=\"list-unstyled\">\n       <li class=\"list-unstyled\">\n        <div class=\"treeview hover p-l-10\">\n         <input id=\"Denominator Exclusion\" type=\"checkbox\"/>\n         <label for=\"Denominator Exclusion\" class=\"list-header\"><strong>Denominator Exclusion</strong></label>\n         <ul style=\"margin-right: 20%; opacity: 1;\" class=\"code\">\n          <li class=\"list-unstyled\">\n           <div>\n            <ul style=\"padding-left: 0px;\">\n             <li style=\"padding-left: 0px;\" class=\"list-unstyled\">\n              <div>\n               <pre class=\"cql-definition-body\">	&quot;Encounter Less Than 2 Days&quot;\r\n		union &quot;Encounter With ICU Location Stay 1 Day or More&quot;\r\n		union &quot;Encounter With Principal Diagnosis of Mental Disorder or Stroke&quot;\r\n		union &quot;Encounter With Principal Procedure of SCIP VTE Selected Surgery&quot;\r\n		union &quot;Intervention Comfort Measures on Day of or Day After Start of Hospitalization&quot;\r\n		union &quot;Intervention Comfort Measures on Day of or Day After Procedure&quot;</pre>\n              </div></li>\n            </ul> \n           </div></li>\n         </ul>\n        </div></li>\n      </ul>\n     </div></li>\n   </ul>\n  </div>\n  <div>\n   <ul style=\"list-style:none;padding-left: 10px;\">\n    <li style=\"list-style:none;\" class=\"list-unstyled\">\n     <div>\n      <ul style=\"list-style:none;padding-left:0;\" class=\"list-unstyled\">\n       <li class=\"list-unstyled\">\n        <div class=\"treeview hover p-l-10\">\n         <input id=\"ED Visit\" type=\"checkbox\"/>\n         <label for=\"ED Visit\" class=\"list-header\"><strong>ED Visit</strong></label>\n         <ul style=\"margin-right: 20%; opacity: 1;\" class=\"code\">\n          <li class=\"list-unstyled\">\n           <div>\n            <ul style=\"padding-left: 0px;\">\n             <li style=\"padding-left: 0px;\" class=\"list-unstyled\">\n              <div>\n               <pre class=\"cql-definition-body\">	[&quot;Encounter&quot;: type in &quot;Emergency Department Visit&quot;] EDVisit\r\n    where EDVisit.status = 'finished'</pre>\n              </div></li>\n            </ul> \n           </div></li>\n         </ul>\n        </div></li>\n      </ul>\n     </div></li>\n   </ul>\n  </div>\n  <div>\n   <ul style=\"list-style:none;padding-left: 10px;\">\n    <li style=\"list-style:none;\" class=\"list-unstyled\">\n     <div>\n      <ul style=\"list-style:none;padding-left:0;\" class=\"list-unstyled\">\n       <li class=\"list-unstyled\">\n        <div class=\"treeview hover p-l-10\">\n         <input id=\"Encounter Less Than 2 Days\" type=\"checkbox\"/>\n         <label for=\"Encounter Less Than 2 Days\" class=\"list-header\"><strong>Encounter Less Than 2 Days</strong></label>\n         <ul style=\"margin-right: 20%; opacity: 1;\" class=\"code\">\n          <li class=\"list-unstyled\">\n           <div>\n            <ul style=\"padding-left: 0px;\">\n             <li style=\"padding-left: 0px;\" class=\"list-unstyled\">\n              <div>\n               <pre class=\"cql-definition-body\">	&quot;Encounter With Age Range and Without VTE Diagnosis or Obstetrical Conditions&quot; QualifyingEncounter\r\n		where Global.&quot;LengthInDays&quot;(FHIRHelpers.ToInterval(QualifyingEncounter.period))&lt; 2</pre>\n              </div></li>\n            </ul> \n           </div></li>\n         </ul>\n        </div></li>\n      </ul>\n     </div></li>\n   </ul>\n  </div>\n  <div>\n   <ul style=\"list-style:none;padding-left: 10px;\">\n    <li style=\"list-style:none;\" class=\"list-unstyled\">\n     <div>\n      <ul style=\"list-style:none;padding-left:0;\" class=\"list-unstyled\">\n       <li class=\"list-unstyled\">\n        <div class=\"treeview hover p-l-10\">\n         <input id=\"Encounter With Age Range and Without VTE Diagnosis or Obstetrical Conditions\" type=\"checkbox\"/>\n         <label for=\"Encounter With Age Range and Without VTE Diagnosis or Obstetrical Conditions\" class=\"list-header\"><strong>Encounter With Age Range and Without VTE Diagnosis or Obstetrical Conditions</strong></label>\n         <ul style=\"margin-right: 20%; opacity: 1;\" class=\"code\">\n          <li class=\"list-unstyled\">\n           <div>\n            <ul style=\"padding-left: 0px;\">\n             <li style=\"padding-left: 0px;\" class=\"list-unstyled\">\n              <div>\n               <pre class=\"cql-definition-body\">	( Global.&quot;Inpatient Encounter&quot; InpatientEncounter\r\n			with [&quot;Patient&quot;] BirthDate\r\n				such that Global.&quot;CalendarAgeInYearsAt&quot;(ToDateTime(BirthDate.birthDate), start of FHIRHelpers.ToInterval(InpatientEncounter.period)) &gt;= 18\r\n	)\r\n		intersect &quot;Admission Without VTE or Obstetrical Conditions&quot;</pre>\n              </div></li>\n            </ul> \n           </div></li>\n         </ul>\n        </div></li>\n      </ul>\n     </div></li>\n   </ul>\n  </div>\n  <div>\n   <ul style=\"list-style:none;padding-left: 10px;\">\n    <li style=\"list-style:none;\" class=\"list-unstyled\">\n     <div>\n      <ul style=\"list-style:none;padding-left:0;\" class=\"list-unstyled\">\n       <li class=\"list-unstyled\">\n        <div class=\"treeview hover p-l-10\">\n         <input id=\"Encounter With ICU Location Stay 1 Day or More\" type=\"checkbox\"/>\n         <label for=\"Encounter With ICU Location Stay 1 Day or More\" class=\"list-header\"><strong>Encounter With ICU Location Stay 1 Day or More</strong></label>\n         <ul style=\"margin-right: 20%; opacity: 1;\" class=\"code\">\n          <li class=\"list-unstyled\">\n           <div>\n            <ul style=\"padding-left: 0px;\">\n             <li style=\"padding-left: 0px;\" class=\"list-unstyled\">\n              <div>\n               <pre class=\"cql-definition-body\">	&quot;Encounter With Age Range and Without VTE Diagnosis or Obstetrical Conditions&quot; QualifyingEncounter\r\n		where exists ( QualifyingEncounter.location Location\r\n				where Global.GetLocation(Location.location).type in &quot;Intensive Care Unit&quot;\r\n					and Global.&quot;LengthInDays&quot;(Location.period)&gt;= 1\r\n					and Location.period starts during VTEICU.&quot;CalendarDayOfOrDayAfter&quot;(start of FHIRHelpers.ToInterval(QualifyingEncounter.period))\r\n		)</pre>\n              </div></li>\n            </ul> \n           </div></li>\n         </ul>\n        </div></li>\n      </ul>\n     </div></li>\n   </ul>\n  </div>\n  <div>\n   <ul style=\"list-style:none;padding-left: 10px;\">\n    <li style=\"list-style:none;\" class=\"list-unstyled\">\n     <div>\n      <ul style=\"list-style:none;padding-left:0;\" class=\"list-unstyled\">\n       <li class=\"list-unstyled\">\n        <div class=\"treeview hover p-l-10\">\n         <input id=\"Encounter With Principal Diagnosis of Mental Disorder or Stroke\" type=\"checkbox\"/>\n         <label for=\"Encounter With Principal Diagnosis of Mental Disorder or Stroke\" class=\"list-header\"><strong>Encounter With Principal Diagnosis of Mental Disorder or Stroke</strong></label>\n         <ul style=\"margin-right: 20%; opacity: 1;\" class=\"code\">\n          <li class=\"list-unstyled\">\n           <div>\n            <ul style=\"padding-left: 0px;\">\n             <li style=\"padding-left: 0px;\" class=\"list-unstyled\">\n              <div>\n               <pre class=\"cql-definition-body\">	&quot;Encounter With Age Range and Without VTE Diagnosis or Obstetrical Conditions&quot; QualifyingEncounter\r\n		where Global.&quot;PrincipalDiagnosis&quot;(QualifyingEncounter).code in &quot;Mental Health Diagnoses&quot;\r\n			or Global.&quot;PrincipalDiagnosis&quot;(QualifyingEncounter).code in &quot;Hemorrhagic Stroke&quot;\r\n			or Global.&quot;PrincipalDiagnosis&quot;(QualifyingEncounter).code in &quot;Ischemic Stroke&quot;</pre>\n              </div></li>\n            </ul> \n           </div></li>\n         </ul>\n        </div></li>\n      </ul>\n     </div></li>\n   </ul>\n  </div>\n  <div>\n   <ul style=\"list-style:none;padding-left: 10px;\">\n    <li style=\"list-style:none;\" class=\"list-unstyled\">\n     <div>\n      <ul style=\"list-style:none;padding-left:0;\" class=\"list-unstyled\">\n       <li class=\"list-unstyled\">\n        <div class=\"treeview hover p-l-10\">\n         <input id=\"Encounter With Principal Procedure of SCIP VTE Selected Surgery\" type=\"checkbox\"/>\n         <label for=\"Encounter With Principal Procedure of SCIP VTE Selected Surgery\" class=\"list-header\"><strong>Encounter With Principal Procedure of SCIP VTE Selected Surgery</strong></label>\n         <ul style=\"margin-right: 20%; opacity: 1;\" class=\"code\">\n          <li class=\"list-unstyled\">\n           <div>\n            <ul style=\"padding-left: 0px;\">\n             <li style=\"padding-left: 0px;\" class=\"list-unstyled\">\n              <div>\n               <pre class=\"cql-definition-body\">	&quot;Encounter With Age Range and Without VTE Diagnosis or Obstetrical Conditions&quot; QualifyingEncounter\r\n		with ( &quot;SCIP VTE Selected Surgery&quot; Procedure\r\n			where GetExtension(Procedure.extension, 'http://example.org/StructureDefinition/ordinality').value ~ &quot;Principal&quot; ) SelectedProcedure\r\n			such that SelectedProcedure.performed during FHIRHelpers.ToInterval( QualifyingEncounter.period)</pre>\n              </div></li>\n            </ul> \n           </div></li>\n         </ul>\n        </div></li>\n      </ul>\n     </div></li>\n   </ul>\n  </div>\n  <div>\n   <ul style=\"list-style:none;padding-left: 10px;\">\n    <li style=\"list-style:none;\" class=\"list-unstyled\">\n     <div>\n      <ul style=\"list-style:none;padding-left:0;\" class=\"list-unstyled\">\n       <li class=\"list-unstyled\">\n        <div class=\"treeview hover p-l-10\">\n         <input id=\"Encounter With Prior or Present Diagnosis of Atrial Fibrillation or VTE\" type=\"checkbox\"/>\n         <label for=\"Encounter With Prior or Present Diagnosis of Atrial Fibrillation or VTE\" class=\"list-header\"><strong>Encounter With Prior or Present Diagnosis of Atrial Fibrillation or VTE</strong></label>\n         <ul style=\"margin-right: 20%; opacity: 1;\" class=\"code\">\n          <li class=\"list-unstyled\">\n           <div>\n            <ul style=\"padding-left: 0px;\">\n             <li style=\"padding-left: 0px;\" class=\"list-unstyled\">\n              <div>\n               <pre class=\"cql-definition-body\">	( &quot;Encounter With Age Range and Without VTE Diagnosis or Obstetrical Conditions&quot; QualifyingEncounter\r\n			with [&quot;Condition&quot;: code in &quot;Atrial Fibrillation/Flutter&quot;] AtrialFibrillation\r\n				such that AtrialFibrillation.clinicalStatus = 'active'\r\n				and AtrialFibrillation.verificationStatus = 'confirmed'\r\n				and Global.&quot;Normalize Onset&quot;(AtrialFibrillation.onset) on or before end of FHIRHelpers.ToInterval(QualifyingEncounter.period)\r\n	)\r\n		union ( &quot;Encounter With Age Range and Without VTE Diagnosis or Obstetrical Conditions&quot; QualifyingEncounter\r\n				where Global.EncounterDiagnosis(QualifyingEncounter).code in &quot;Atrial Fibrillation/Flutter&quot;\r\n			)\r\n		union ( &quot;Encounter With Age Range and Without VTE Diagnosis or Obstetrical Conditions&quot; QualifyingEncounter\r\n				with [&quot;Condition&quot;: code in &quot;Venous Thromboembolism&quot;] VTEDiagnosis\r\n					such that  VTEDiagnosis.clinicalStatus in { 'inactive', 'remission', 'resolved' }\r\n					and VTEDiagnosis.verificationStatus = 'confirmed'\r\n					and Global.&quot;Normalize Onset&quot;(VTEDiagnosis.onset) before start of FHIRHelpers.ToInterval(QualifyingEncounter.period)\r\n		)</pre>\n              </div></li>\n            </ul> \n           </div></li>\n         </ul>\n        </div></li>\n      </ul>\n     </div></li>\n   </ul>\n  </div>\n  <div>\n   <ul style=\"list-style:none;padding-left: 10px;\">\n    <li style=\"list-style:none;\" class=\"list-unstyled\">\n     <div>\n      <ul style=\"list-style:none;padding-left:0;\" class=\"list-unstyled\">\n       <li class=\"list-unstyled\">\n        <div class=\"treeview hover p-l-10\">\n         <input id=\"Encounter With Prior or Present Procedure of Hip or Knee Replacement Surgery\" type=\"checkbox\"/>\n         <label for=\"Encounter With Prior or Present Procedure of Hip or Knee Replacement Surgery\" class=\"list-header\"><strong>Encounter With Prior or Present Procedure of Hip or Knee Replacement Surgery</strong></label>\n         <ul style=\"margin-right: 20%; opacity: 1;\" class=\"code\">\n          <li class=\"list-unstyled\">\n           <div>\n            <ul style=\"padding-left: 0px;\">\n             <li style=\"padding-left: 0px;\" class=\"list-unstyled\">\n              <div>\n               <pre class=\"cql-definition-body\">	&quot;Encounter With Age Range and Without VTE Diagnosis or Obstetrical Conditions&quot; QualifyingEncounter\r\n		with ( [&quot;Procedure&quot;: &quot;Hip Replacement Surgery&quot;]\r\n			union [&quot;Procedure&quot;: &quot;Knee Replacement Surgery&quot;] ) HipKneeProcedure\r\n			such that HipKneeProcedure.status = 'completed'\r\n				and HipKneeProcedure.performed starts on or before end of FHIRHelpers.ToInterval(QualifyingEncounter.period)</pre>\n              </div></li>\n            </ul> \n           </div></li>\n         </ul>\n        </div></li>\n      </ul>\n     </div></li>\n   </ul>\n  </div>\n  <div>\n   <ul style=\"list-style:none;padding-left: 10px;\">\n    <li style=\"list-style:none;\" class=\"list-unstyled\">\n     <div>\n      <ul style=\"list-style:none;padding-left:0;\" class=\"list-unstyled\">\n       <li class=\"list-unstyled\">\n        <div class=\"treeview hover p-l-10\">\n         <input id=\"Initial Population\" type=\"checkbox\"/>\n         <label for=\"Initial Population\" class=\"list-header\"><strong>Initial Population</strong></label>\n         <ul style=\"margin-right: 20%; opacity: 1;\" class=\"code\">\n          <li class=\"list-unstyled\">\n           <div>\n            <ul style=\"padding-left: 0px;\">\n             <li style=\"padding-left: 0px;\" class=\"list-unstyled\">\n              <div>\n               <pre class=\"cql-definition-body\">	&quot;Encounter With Age Range and Without VTE Diagnosis or Obstetrical Conditions&quot;</pre>\n              </div></li>\n            </ul> \n           </div></li>\n         </ul>\n        </div></li>\n      </ul>\n     </div></li>\n   </ul>\n  </div>\n  <div>\n   <ul style=\"list-style:none;padding-left: 10px;\">\n    <li style=\"list-style:none;\" class=\"list-unstyled\">\n     <div>\n      <ul style=\"list-style:none;padding-left:0;\" class=\"list-unstyled\">\n       <li class=\"list-unstyled\">\n        <div class=\"treeview hover p-l-10\">\n         <input id=\"Intervention Comfort Measures\" type=\"checkbox\"/>\n         <label for=\"Intervention Comfort Measures\" class=\"list-header\"><strong>Intervention Comfort Measures</strong></label>\n         <ul style=\"margin-right: 20%; opacity: 1;\" class=\"code\">\n          <li class=\"list-unstyled\">\n           <div>\n            <ul style=\"padding-left: 0px;\">\n             <li style=\"padding-left: 0px;\" class=\"list-unstyled\">\n              <div>\n               <pre class=\"cql-definition-body\">	([&quot;ProcedureRequest&quot;: &quot;Comfort Measures&quot;] P\r\n		where P.intent = 'order')\r\n		union\r\n		([&quot;Procedure&quot;: &quot;Comfort Measures&quot;] IntervetionPerformed\r\n		where IntervetionPerformed.status = 'completed')</pre>\n              </div></li>\n            </ul> \n           </div></li>\n         </ul>\n        </div></li>\n      </ul>\n     </div></li>\n   </ul>\n  </div>\n  <div>\n   <ul style=\"list-style:none;padding-left: 10px;\">\n    <li style=\"list-style:none;\" class=\"list-unstyled\">\n     <div>\n      <ul style=\"list-style:none;padding-left:0;\" class=\"list-unstyled\">\n       <li class=\"list-unstyled\">\n        <div class=\"treeview hover p-l-10\">\n         <input id=\"Intervention Comfort Measures on Day of or Day After Procedure\" type=\"checkbox\"/>\n         <label for=\"Intervention Comfort Measures on Day of or Day After Procedure\" class=\"list-header\"><strong>Intervention Comfort Measures on Day of or Day After Procedure</strong></label>\n         <ul style=\"margin-right: 20%; opacity: 1;\" class=\"code\">\n          <li class=\"list-unstyled\">\n           <div>\n            <ul style=\"padding-left: 0px;\">\n             <li style=\"padding-left: 0px;\" class=\"list-unstyled\">\n              <div>\n               <pre class=\"cql-definition-body\">	from\r\n		&quot;Encounter With Age Range and Without VTE Diagnosis or Obstetrical Conditions&quot; QualifyingEncounter,\r\n		[&quot;Procedure&quot;: &quot;General or Neuraxial Anesthesia&quot;] AnesthesiaProcedure,\r\n		&quot;Intervention Comfort Measures&quot; ComfortMeasure\r\n		where  AnesthesiaProcedure.status = 'completed'\r\n				and AnesthesiaProcedure.performed ends 1 day after day of start of FHIRHelpers.ToInterval(QualifyingEncounter.period)\r\n				and Coalesce(ComfortMeasure.authoredOn, start of ComfortMeasure.performed) 1 day or less on or after day of end of AnesthesiaProcedure.performed</pre>\n              </div></li>\n            </ul> \n           </div></li>\n         </ul>\n        </div></li>\n      </ul>\n     </div></li>\n   </ul>\n  </div>\n  <div>\n   <ul style=\"list-style:none;padding-left: 10px;\">\n    <li style=\"list-style:none;\" class=\"list-unstyled\">\n     <div>\n      <ul style=\"list-style:none;padding-left:0;\" class=\"list-unstyled\">\n       <li class=\"list-unstyled\">\n        <div class=\"treeview hover p-l-10\">\n         <input id=\"Intervention Comfort Measures on Day of or Day After Start of Hospitalization\" type=\"checkbox\"/>\n         <label for=\"Intervention Comfort Measures on Day of or Day After Start of Hospitalization\" class=\"list-header\"><strong>Intervention Comfort Measures on Day of or Day After Start of Hospitalization</strong></label>\n         <ul style=\"margin-right: 20%; opacity: 1;\" class=\"code\">\n          <li class=\"list-unstyled\">\n           <div>\n            <ul style=\"padding-left: 0px;\">\n             <li style=\"padding-left: 0px;\" class=\"list-unstyled\">\n              <div>\n               <pre class=\"cql-definition-body\">	&quot;Encounter With Age Range and Without VTE Diagnosis or Obstetrical Conditions&quot; QualifyingEncounter\r\n		with &quot;Intervention Comfort Measures&quot; ComfortMeasure\r\n	// TODO: Profile of procedure to ensure performed is a Period\r\n			such that Coalesce(ComfortMeasure.authoredOn, start of ComfortMeasure.performed) 1 day or less on or after day of start of Global.&quot;Hospitalization&quot;(QualifyingEncounter)</pre>\n              </div></li>\n            </ul> \n           </div></li>\n         </ul>\n        </div></li>\n      </ul>\n     </div></li>\n   </ul>\n  </div>\n  <div>\n   <ul style=\"list-style:none;padding-left: 10px;\">\n    <li style=\"list-style:none;\" class=\"list-unstyled\">\n     <div>\n      <ul style=\"list-style:none;padding-left:0;\" class=\"list-unstyled\">\n       <li class=\"list-unstyled\">\n        <div class=\"treeview hover p-l-10\">\n         <input id=\"Is In Low Risk for VTE or On Anticoagulant\" type=\"checkbox\"/>\n         <label for=\"Is In Low Risk for VTE or On Anticoagulant\" class=\"list-header\"><strong>Is In Low Risk for VTE or On Anticoagulant</strong></label>\n         <ul style=\"margin-right: 20%; opacity: 1;\" class=\"code\">\n          <li class=\"list-unstyled\">\n           <div>\n            <ul style=\"padding-left: 0px;\">\n             <li style=\"padding-left: 0px;\" class=\"list-unstyled\">\n              <div>\n               <pre class=\"cql-definition-body\">	( [&quot;Observation&quot;: &quot;Risk for venous thromboembolism&quot;] VTERiskAssessment\r\n			where VTERiskAssessment.value in &quot;Low Risk&quot;\r\n	)</pre>\n              </div></li>\n            </ul> \n           </div></li>\n         </ul>\n        </div></li>\n      </ul>\n     </div></li>\n   </ul>\n  </div>\n  <div>\n   <ul style=\"list-style:none;padding-left: 10px;\">\n    <li style=\"list-style:none;\" class=\"list-unstyled\">\n     <div>\n      <ul style=\"list-style:none;padding-left:0;\" class=\"list-unstyled\">\n       <li class=\"list-unstyled\">\n        <div class=\"treeview hover p-l-10\">\n         <input id=\"Low Risk for VTE or Anticoagulant Administered\" type=\"checkbox\"/>\n         <label for=\"Low Risk for VTE or Anticoagulant Administered\" class=\"list-header\"><strong>Low Risk for VTE or Anticoagulant Administered</strong></label>\n         <ul style=\"margin-right: 20%; opacity: 1;\" class=\"code\">\n          <li class=\"list-unstyled\">\n           <div>\n            <ul style=\"padding-left: 0px;\">\n             <li style=\"padding-left: 0px;\" class=\"list-unstyled\">\n              <div>\n               <pre class=\"cql-definition-body\">	&quot;Low Risk for VTE or Anticoagulant Administered During ED Visit&quot;\r\n		union &quot;Low Risk for VTE or Anticoagulant Administered on Day of or Day After Admission&quot;\r\n		union &quot;Low Risk for VTE or Anticoagulant Administered on Day of or Day After Procedure&quot;</pre>\n              </div></li>\n            </ul> \n           </div></li>\n         </ul>\n        </div></li>\n      </ul>\n     </div></li>\n   </ul>\n  </div>\n  <div>\n   <ul style=\"list-style:none;padding-left: 10px;\">\n    <li style=\"list-style:none;\" class=\"list-unstyled\">\n     <div>\n      <ul style=\"list-style:none;padding-left:0;\" class=\"list-unstyled\">\n       <li class=\"list-unstyled\">\n        <div class=\"treeview hover p-l-10\">\n         <input id=\"Low Risk for VTE or Anticoagulant Administered During ED Visit\" type=\"checkbox\"/>\n         <label for=\"Low Risk for VTE or Anticoagulant Administered During ED Visit\" class=\"list-header\"><strong>Low Risk for VTE or Anticoagulant Administered During ED Visit</strong></label>\n         <ul style=\"margin-right: 20%; opacity: 1;\" class=\"code\">\n          <li class=\"list-unstyled\">\n           <div>\n            <ul style=\"padding-left: 0px;\">\n             <li style=\"padding-left: 0px;\" class=\"list-unstyled\">\n              <div>\n               <pre class=\"cql-definition-body\">	from\r\n		&quot;Encounter With Age Range and Without VTE Diagnosis or Obstetrical Conditions&quot; QualifyingEncounter,\r\n		&quot;ED Visit&quot; EDVisit,\r\n		&quot;Is In Low Risk for VTE or On Anticoagulant&quot; VTERiskAssessment\r\n		where FHIRHelpers.ToInterval(EDVisit.period) ends 1 hour or less on or before start of FHIRHelpers.ToInterval(QualifyingEncounter.period)\r\n			and VTERiskAssessment.issued during FHIRHelpers.ToInterval(EDVisit.period)\r\n		return QualifyingEncounter</pre>\n              </div></li>\n            </ul> \n           </div></li>\n         </ul>\n        </div></li>\n      </ul>\n     </div></li>\n   </ul>\n  </div>\n  <div>\n   <ul style=\"list-style:none;padding-left: 10px;\">\n    <li style=\"list-style:none;\" class=\"list-unstyled\">\n     <div>\n      <ul style=\"list-style:none;padding-left:0;\" class=\"list-unstyled\">\n       <li class=\"list-unstyled\">\n        <div class=\"treeview hover p-l-10\">\n         <input id=\"Low Risk for VTE or Anticoagulant Administered on Day of or Day After Admission\" type=\"checkbox\"/>\n         <label for=\"Low Risk for VTE or Anticoagulant Administered on Day of or Day After Admission\" class=\"list-header\"><strong>Low Risk for VTE or Anticoagulant Administered on Day of or Day After Admission</strong></label>\n         <ul style=\"margin-right: 20%; opacity: 1;\" class=\"code\">\n          <li class=\"list-unstyled\">\n           <div>\n            <ul style=\"padding-left: 0px;\">\n             <li style=\"padding-left: 0px;\" class=\"list-unstyled\">\n              <div>\n               <pre class=\"cql-definition-body\">	&quot;Encounter With Age Range and Without VTE Diagnosis or Obstetrical Conditions&quot; QualifyingEncounter\r\n		with &quot;Is In Low Risk for VTE or On Anticoagulant&quot; VTERiskAssessment\r\n			such that VTERiskAssessment.issued during VTEICU.&quot;CalendarDayOfOrDayAfter&quot;(start of FHIRHelpers.ToInterval(QualifyingEncounter.period))</pre>\n              </div></li>\n            </ul> \n           </div></li>\n         </ul>\n        </div></li>\n      </ul>\n     </div></li>\n   </ul>\n  </div>\n  <div>\n   <ul style=\"list-style:none;padding-left: 10px;\">\n    <li style=\"list-style:none;\" class=\"list-unstyled\">\n     <div>\n      <ul style=\"list-style:none;padding-left:0;\" class=\"list-unstyled\">\n       <li class=\"list-unstyled\">\n        <div class=\"treeview hover p-l-10\">\n         <input id=\"Low Risk for VTE or Anticoagulant Administered on Day of or Day After Procedure\" type=\"checkbox\"/>\n         <label for=\"Low Risk for VTE or Anticoagulant Administered on Day of or Day After Procedure\" class=\"list-header\"><strong>Low Risk for VTE or Anticoagulant Administered on Day of or Day After Procedure</strong></label>\n         <ul style=\"margin-right: 20%; opacity: 1;\" class=\"code\">\n          <li class=\"list-unstyled\">\n           <div>\n            <ul style=\"padding-left: 0px;\">\n             <li style=\"padding-left: 0px;\" class=\"list-unstyled\">\n              <div>\n               <pre class=\"cql-definition-body\">	from\r\n		&quot;Encounter With Age Range and Without VTE Diagnosis or Obstetrical Conditions&quot; QualifyingEncounter,\r\n		[&quot;Procedure&quot;: &quot;General or Neuraxial Anesthesia&quot;] AnesthesiaProcedure,\r\n		&quot;Is In Low Risk for VTE or On Anticoagulant&quot; VTERiskAssessment\r\n		where AnesthesiaProcedure.performed ends 1 day after day of start of FHIRHelpers.ToInterval(QualifyingEncounter.period)\r\n			and VTERiskAssessment.issued during VTEICU.&quot;CalendarDayOfOrDayAfter&quot;(end of FHIRHelpers.ToInterval(AnesthesiaProcedure.performed))\r\n		return QualifyingEncounter</pre>\n              </div></li>\n            </ul> \n           </div></li>\n         </ul>\n        </div></li>\n      </ul>\n     </div></li>\n   </ul>\n  </div>\n  <div>\n   <ul style=\"list-style:none;padding-left: 10px;\">\n    <li style=\"list-style:none;\" class=\"list-unstyled\">\n     <div>\n      <ul style=\"list-style:none;padding-left:0;\" class=\"list-unstyled\">\n       <li class=\"list-unstyled\">\n        <div class=\"treeview hover p-l-10\">\n         <input id=\"Medication Oral Factor Xa Inhibitor Administered on Day of or Day After Admission or Procedure\" type=\"checkbox\"/>\n         <label for=\"Medication Oral Factor Xa Inhibitor Administered on Day of or Day After Admission or Procedure\" class=\"list-header\"><strong>Medication Oral Factor Xa Inhibitor Administered on Day of or Day After Admission or Procedure</strong></label>\n         <ul style=\"margin-right: 20%; opacity: 1;\" class=\"code\">\n          <li class=\"list-unstyled\">\n           <div>\n            <ul style=\"padding-left: 0px;\">\n             <li style=\"padding-left: 0px;\" class=\"list-unstyled\">\n              <div>\n               <pre class=\"cql-definition-body\">	( from\r\n			&quot;Encounter With Age Range and Without VTE Diagnosis or Obstetrical Conditions&quot; QualifyingEncounter,\r\n			[&quot;MedicationAdministration&quot;: medication in &quot;Oral Factor Xa Inhibitor for VTE Prophylaxis or VTE Treatment&quot;] FactorXaMedication\r\n			where FactorXaMedication.effective starts during VTEICU.&quot;CalendarDayOfOrDayAfter&quot;(start of FHIRHelpers.ToInterval(QualifyingEncounter.period))\r\n			return QualifyingEncounter\r\n	)\r\n		union ( from\r\n				&quot;Encounter With Age Range and Without VTE Diagnosis or Obstetrical Conditions&quot; QualifyingEncounter,\r\n				[&quot;Procedure&quot;: &quot;General or Neuraxial Anesthesia&quot;] AnesthesiaProcedure,\r\n				[&quot;MedicationAdministration&quot;: medication in &quot;Oral Factor Xa Inhibitor for VTE Prophylaxis or VTE Treatment&quot;] FactorXaMedication\r\n				where AnesthesiaProcedure.status = 'completed'\r\n				and AnesthesiaProcedure.performed ends 1 day after day of start of FHIRHelpers.ToInterval(QualifyingEncounter.period)\r\n					and FactorXaMedication.effective starts during VTEICU.&quot;CalendarDayOfOrDayAfter&quot;(end of AnesthesiaProcedure.performed)\r\n				return QualifyingEncounter\r\n		)</pre>\n              </div></li>\n            </ul> \n           </div></li>\n         </ul>\n        </div></li>\n      </ul>\n     </div></li>\n   </ul>\n  </div>\n  <div>\n   <ul style=\"list-style:none;padding-left: 10px;\">\n    <li style=\"list-style:none;\" class=\"list-unstyled\">\n     <div>\n      <ul style=\"list-style:none;padding-left:0;\" class=\"list-unstyled\">\n       <li class=\"list-unstyled\">\n        <div class=\"treeview hover p-l-10\">\n         <input id=\"No VTE Prophylaxis Device Applied or Ordered\" type=\"checkbox\"/>\n         <label for=\"No VTE Prophylaxis Device Applied or Ordered\" class=\"list-header\"><strong>No VTE Prophylaxis Device Applied or Ordered</strong></label>\n         <ul style=\"margin-right: 20%; opacity: 1;\" class=\"code\">\n          <li class=\"list-unstyled\">\n           <div>\n            <ul style=\"padding-left: 0px;\">\n             <li style=\"padding-left: 0px;\" class=\"list-unstyled\">\n              <div>\n               <pre class=\"cql-definition-body\">  // NOTE: Should be using device.code, but that requires CQL 1.4\r\n  (([&quot;DeviceUseStatement&quot;: code in &quot;Venous foot pumps (VFP)&quot;]\r\n    union [&quot;DeviceUseStatement&quot;: code in &quot;Intermittent pneumatic compression devices (IPC)&quot;]\r\n    union [&quot;DeviceUseStatement&quot;: code in &quot;Graduated compression stockings (GCS)&quot;]\r\n  ) D\r\n    where GetExtension(D.extension, 'http://example.org/fhir/extensions/notDone').value is true\r\n    //where D.notDone is true // Needs a QI-Core extension to support\r\n  )\r\n  union ((\r\n    [&quot;DeviceRequest&quot;: code in &quot;Venous foot pumps (VFP)&quot;]\r\n      union [&quot;DeviceRequest&quot;: code in &quot;Intermittent pneumatic compression devices (IPC)&quot;]\r\n      union [&quot;DeviceRequest&quot;: code in &quot;Graduated compression stockings (GCS)&quot;]\r\n  ) D\r\n    where D.intent ~ ToConcept(&quot;Order&quot;)\r\n      and GetExtension(D.extension, 'http://example.org/fhir/extensions/doNotPerform').value is true\r\n    //where D.doNotPerform is true // Needs a QI-Core extension to support\r\n  )</pre>\n              </div></li>\n            </ul> \n           </div></li>\n         </ul>\n        </div></li>\n      </ul>\n     </div></li>\n   </ul>\n  </div>\n  <div>\n   <ul style=\"list-style:none;padding-left: 10px;\">\n    <li style=\"list-style:none;\" class=\"list-unstyled\">\n     <div>\n      <ul style=\"list-style:none;padding-left:0;\" class=\"list-unstyled\">\n       <li class=\"list-unstyled\">\n        <div class=\"treeview hover p-l-10\">\n         <input id=\"No VTE Prophylaxis Device Due to Medical Reason During ED Visit\" type=\"checkbox\"/>\n         <label for=\"No VTE Prophylaxis Device Due to Medical Reason During ED Visit\" class=\"list-header\"><strong>No VTE Prophylaxis Device Due to Medical Reason During ED Visit</strong></label>\n         <ul style=\"margin-right: 20%; opacity: 1;\" class=\"code\">\n          <li class=\"list-unstyled\">\n           <div>\n            <ul style=\"padding-left: 0px;\">\n             <li style=\"padding-left: 0px;\" class=\"list-unstyled\">\n              <div>\n               <pre class=\"cql-definition-body\">	from\r\n		&quot;Encounter With Age Range and Without VTE Diagnosis or Obstetrical Conditions&quot; QualifyingEncounter,\r\n		&quot;ED Visit&quot; EDVisit,\r\n		&quot;No VTE Prophylaxis Device Applied or Ordered&quot; NoVTEDevice\r\n		where FHIRHelpers.ToInterval(EDVisit.period) ends 1 hour or less on or before start of FHIRHelpers.ToInterval(QualifyingEncounter.period)\r\n			and (singleton from NoVTEDevice.reasonCode in &quot;Medical Reason&quot;)\r\n			and Coalesce(NoVTEDevice.authoredOn, NoVTEDevice.recordedOn) during FHIRHelpers.ToInterval(EDVisit.period)</pre>\n              </div></li>\n            </ul> \n           </div></li>\n         </ul>\n        </div></li>\n      </ul>\n     </div></li>\n   </ul>\n  </div>\n  <div>\n   <ul style=\"list-style:none;padding-left: 10px;\">\n    <li style=\"list-style:none;\" class=\"list-unstyled\">\n     <div>\n      <ul style=\"list-style:none;padding-left:0;\" class=\"list-unstyled\">\n       <li class=\"list-unstyled\">\n        <div class=\"treeview hover p-l-10\">\n         <input id=\"No VTE Prophylaxis Device Due to Medical Reason on Day of or Day After Admission\" type=\"checkbox\"/>\n         <label for=\"No VTE Prophylaxis Device Due to Medical Reason on Day of or Day After Admission\" class=\"list-header\"><strong>No VTE Prophylaxis Device Due to Medical Reason on Day of or Day After Admission</strong></label>\n         <ul style=\"margin-right: 20%; opacity: 1;\" class=\"code\">\n          <li class=\"list-unstyled\">\n           <div>\n            <ul style=\"padding-left: 0px;\">\n             <li style=\"padding-left: 0px;\" class=\"list-unstyled\">\n              <div>\n               <pre class=\"cql-definition-body\">	from\r\n		&quot;Encounter With Age Range and Without VTE Diagnosis or Obstetrical Conditions&quot; QualifyingEncounter,\r\n		&quot;No VTE Prophylaxis Device Applied or Ordered&quot; NoVTEDevice\r\n		where (singleton from NoVTEDevice.reasonCode in &quot;Medical Reason&quot;)\r\n			and Coalesce(NoVTEDevice.authoredOn, NoVTEDevice.recordedOn) during VTEICU.&quot;CalendarDayOfOrDayAfter&quot;(start of FHIRHelpers.ToInterval(QualifyingEncounter.period))</pre>\n              </div></li>\n            </ul> \n           </div></li>\n         </ul>\n        </div></li>\n      </ul>\n     </div></li>\n   </ul>\n  </div>\n  <div>\n   <ul style=\"list-style:none;padding-left: 10px;\">\n    <li style=\"list-style:none;\" class=\"list-unstyled\">\n     <div>\n      <ul style=\"list-style:none;padding-left:0;\" class=\"list-unstyled\">\n       <li class=\"list-unstyled\">\n        <div class=\"treeview hover p-l-10\">\n         <input id=\"No VTE Prophylaxis Device Due to Medical Reason on Day of or Day After Procedure\" type=\"checkbox\"/>\n         <label for=\"No VTE Prophylaxis Device Due to Medical Reason on Day of or Day After Procedure\" class=\"list-header\"><strong>No VTE Prophylaxis Device Due to Medical Reason on Day of or Day After Procedure</strong></label>\n         <ul style=\"margin-right: 20%; opacity: 1;\" class=\"code\">\n          <li class=\"list-unstyled\">\n           <div>\n            <ul style=\"padding-left: 0px;\">\n             <li style=\"padding-left: 0px;\" class=\"list-unstyled\">\n              <div>\n               <pre class=\"cql-definition-body\">	from\r\n		&quot;Encounter With Age Range and Without VTE Diagnosis or Obstetrical Conditions&quot; QualifyingEncounter,\r\n		[&quot;Procedure&quot;: &quot;General or Neuraxial Anesthesia&quot;] AnesthesiaProcedure,\r\n		&quot;No VTE Prophylaxis Device Applied or Ordered&quot; NoVTEDevice\r\n		where NoVTEDevice.reasonCode in &quot;Medical Reason&quot;\r\n			and AnesthesiaProcedure.status = 'completed'\r\n			// TODO: Profile of procedure to ensure performed is a Period\r\n			and AnesthesiaProcedure.performed ends 1 day after day of start of FHIRHelpers.ToInterval(QualifyingEncounter.period)\r\n			and  Coalesce(NoVTEDevice.authoredOn, NoVTEDevice.recordedOn) during VTEICU.&quot;CalendarDayOfOrDayAfter&quot;(end of AnesthesiaProcedure.performed)\r\n		return QualifyingEncounter</pre>\n              </div></li>\n            </ul> \n           </div></li>\n         </ul>\n        </div></li>\n      </ul>\n     </div></li>\n   </ul>\n  </div>\n  <div>\n   <ul style=\"list-style:none;padding-left: 10px;\">\n    <li style=\"list-style:none;\" class=\"list-unstyled\">\n     <div>\n      <ul style=\"list-style:none;padding-left:0;\" class=\"list-unstyled\">\n       <li class=\"list-unstyled\">\n        <div class=\"treeview hover p-l-10\">\n         <input id=\"No VTE Prophylaxis Due to Medical Reason\" type=\"checkbox\"/>\n         <label for=\"No VTE Prophylaxis Due to Medical Reason\" class=\"list-header\"><strong>No VTE Prophylaxis Due to Medical Reason</strong></label>\n         <ul style=\"margin-right: 20%; opacity: 1;\" class=\"code\">\n          <li class=\"list-unstyled\">\n           <div>\n            <ul style=\"padding-left: 0px;\">\n             <li style=\"padding-left: 0px;\" class=\"list-unstyled\">\n              <div>\n               <pre class=\"cql-definition-body\">	( &quot;No VTE Prophylaxis Medication Due to Medical Reason During ED Visit&quot;\r\n			intersect &quot;No VTE Prophylaxis Device Due to Medical Reason During ED Visit&quot;\r\n	)\r\n		union ( &quot;No VTE Prophylaxis Medication Due to Medical Reason on Day of or Day After Admission&quot;\r\n				intersect &quot;No VTE Prophylaxis Device Due to Medical Reason on Day of or Day After Admission&quot;\r\n		)\r\n		union ( &quot;No VTE Prophylaxis Medication Due to Medical Reason on Day of or Day After Procedure&quot;\r\n				intersect &quot;No VTE Prophylaxis Device Due to Medical Reason on Day of or Day After Procedure&quot;\r\n		)</pre>\n              </div></li>\n            </ul> \n           </div></li>\n         </ul>\n        </div></li>\n      </ul>\n     </div></li>\n   </ul>\n  </div>\n  <div>\n   <ul style=\"list-style:none;padding-left: 10px;\">\n    <li style=\"list-style:none;\" class=\"list-unstyled\">\n     <div>\n      <ul style=\"list-style:none;padding-left:0;\" class=\"list-unstyled\">\n       <li class=\"list-unstyled\">\n        <div class=\"treeview hover p-l-10\">\n         <input id=\"No VTE Prophylaxis Due to Patient Refusal\" type=\"checkbox\"/>\n         <label for=\"No VTE Prophylaxis Due to Patient Refusal\" class=\"list-header\"><strong>No VTE Prophylaxis Due to Patient Refusal</strong></label>\n         <ul style=\"margin-right: 20%; opacity: 1;\" class=\"code\">\n          <li class=\"list-unstyled\">\n           <div>\n            <ul style=\"padding-left: 0px;\">\n             <li style=\"padding-left: 0px;\" class=\"list-unstyled\">\n              <div>\n               <pre class=\"cql-definition-body\">	&quot;No VTE Prophylaxis Due to Patient Refusal During ED Visit&quot;\r\n		union &quot;No VTE Prophylaxis Due to Patient Refusal on Day of or Day After Admission&quot;\r\n		union &quot;No VTE Prophylaxis Due to Patient Refusal on Day of or Day After Procedure&quot;</pre>\n              </div></li>\n            </ul> \n           </div></li>\n         </ul>\n        </div></li>\n      </ul>\n     </div></li>\n   </ul>\n  </div>\n  <div>\n   <ul style=\"list-style:none;padding-left: 10px;\">\n    <li style=\"list-style:none;\" class=\"list-unstyled\">\n     <div>\n      <ul style=\"list-style:none;padding-left:0;\" class=\"list-unstyled\">\n       <li class=\"list-unstyled\">\n        <div class=\"treeview hover p-l-10\">\n         <input id=\"No VTE Prophylaxis Due to Patient Refusal During ED Visit\" type=\"checkbox\"/>\n         <label for=\"No VTE Prophylaxis Due to Patient Refusal During ED Visit\" class=\"list-header\"><strong>No VTE Prophylaxis Due to Patient Refusal During ED Visit</strong></label>\n         <ul style=\"margin-right: 20%; opacity: 1;\" class=\"code\">\n          <li class=\"list-unstyled\">\n           <div>\n            <ul style=\"padding-left: 0px;\">\n             <li style=\"padding-left: 0px;\" class=\"list-unstyled\">\n              <div>\n               <pre class=\"cql-definition-body\">	from\r\n		&quot;Encounter With Age Range and Without VTE Diagnosis or Obstetrical Conditions&quot; QualifyingEncounter,\r\n		&quot;ED Visit&quot; EDVisit,\r\n		&quot;No VTE Prophylaxis Medication or Device Due to Patient Refusal&quot; PatientRefusal\r\n		where EDVisit.period ends 1 hour or less on or before start of QualifyingEncounter.period\r\n			and Coalesce(PatientRefusal.effective, PatientRefusal.authoredOn, PatientRefusal.recordedOn) during EDVisit.period\r\n		return QualifyingEncounter</pre>\n              </div></li>\n            </ul> \n           </div></li>\n         </ul>\n        </div></li>\n      </ul>\n     </div></li>\n   </ul>\n  </div>\n  <div>\n   <ul style=\"list-style:none;padding-left: 10px;\">\n    <li style=\"list-style:none;\" class=\"list-unstyled\">\n     <div>\n      <ul style=\"list-style:none;padding-left:0;\" class=\"list-unstyled\">\n       <li class=\"list-unstyled\">\n        <div class=\"treeview hover p-l-10\">\n         <input id=\"No VTE Prophylaxis Due to Patient Refusal on Day of or Day After Admission\" type=\"checkbox\"/>\n         <label for=\"No VTE Prophylaxis Due to Patient Refusal on Day of or Day After Admission\" class=\"list-header\"><strong>No VTE Prophylaxis Due to Patient Refusal on Day of or Day After Admission</strong></label>\n         <ul style=\"margin-right: 20%; opacity: 1;\" class=\"code\">\n          <li class=\"list-unstyled\">\n           <div>\n            <ul style=\"padding-left: 0px;\">\n             <li style=\"padding-left: 0px;\" class=\"list-unstyled\">\n              <div>\n               <pre class=\"cql-definition-body\">	from\r\n		&quot;Encounter With Age Range and Without VTE Diagnosis or Obstetrical Conditions&quot; QualifyingEncounter,\r\n		&quot;No VTE Prophylaxis Medication or Device Due to Patient Refusal&quot; PatientRefusal\r\n		where Coalesce(start of PatientRefusal.effective, PatientRefusal.authoredOn, PatientRefusal.recordedOn)\r\n      during VTEICU.&quot;CalendarDayOfOrDayAfter&quot;(start of QualifyingEncounter.period)\r\n		return QualifyingEncounter</pre>\n              </div></li>\n            </ul> \n           </div></li>\n         </ul>\n        </div></li>\n      </ul>\n     </div></li>\n   </ul>\n  </div>\n  <div>\n   <ul style=\"list-style:none;padding-left: 10px;\">\n    <li style=\"list-style:none;\" class=\"list-unstyled\">\n     <div>\n      <ul style=\"list-style:none;padding-left:0;\" class=\"list-unstyled\">\n       <li class=\"list-unstyled\">\n        <div class=\"treeview hover p-l-10\">\n         <input id=\"No VTE Prophylaxis Due to Patient Refusal on Day of or Day After Procedure\" type=\"checkbox\"/>\n         <label for=\"No VTE Prophylaxis Due to Patient Refusal on Day of or Day After Procedure\" class=\"list-header\"><strong>No VTE Prophylaxis Due to Patient Refusal on Day of or Day After Procedure</strong></label>\n         <ul style=\"margin-right: 20%; opacity: 1;\" class=\"code\">\n          <li class=\"list-unstyled\">\n           <div>\n            <ul style=\"padding-left: 0px;\">\n             <li style=\"padding-left: 0px;\" class=\"list-unstyled\">\n              <div>\n               <pre class=\"cql-definition-body\">	from\r\n		&quot;Encounter With Age Range and Without VTE Diagnosis or Obstetrical Conditions&quot; QualifyingEncounter,\r\n		[&quot;Procedure&quot;: &quot;General or Neuraxial Anesthesia&quot;] AnesthesiaProcedure,\r\n		&quot;No VTE Prophylaxis Medication or Device Due to Patient Refusal&quot; PatientRefusal\r\n		where AnesthesiaProcedure.performed ends 1 day after day of start of QualifyingEncounter.period\r\n			and Coalesce(start of PatientRefusal.effective, PatientRefusal.authoredOn, PatientRefusal.recordedOn)\r\n        during VTEICU.&quot;CalendarDayOfOrDayAfter&quot;(end of AnesthesiaProcedure.performed)\r\n		return QualifyingEncounter</pre>\n              </div></li>\n            </ul> \n           </div></li>\n         </ul>\n        </div></li>\n      </ul>\n     </div></li>\n   </ul>\n  </div>\n  <div>\n   <ul style=\"list-style:none;padding-left: 10px;\">\n    <li style=\"list-style:none;\" class=\"list-unstyled\">\n     <div>\n      <ul style=\"list-style:none;padding-left:0;\" class=\"list-unstyled\">\n       <li class=\"list-unstyled\">\n        <div class=\"treeview hover p-l-10\">\n         <input id=\"No VTE Prophylaxis Medication Administered or Ordered\" type=\"checkbox\"/>\n         <label for=\"No VTE Prophylaxis Medication Administered or Ordered\" class=\"list-header\"><strong>No VTE Prophylaxis Medication Administered or Ordered</strong></label>\n         <ul style=\"margin-right: 20%; opacity: 1;\" class=\"code\">\n          <li class=\"list-unstyled\">\n           <div>\n            <ul style=\"padding-left: 0px;\">\n             <li style=\"padding-left: 0px;\" class=\"list-unstyled\">\n              <div>\n               <pre class=\"cql-definition-body\">	((	[&quot;MedicationAdministration&quot;: medication in &quot;Low Dose Unfractionated Heparin for VTE Prophylaxis&quot;]\r\n	union\r\n	[&quot;MedicationAdministration&quot;: medication in &quot;Low Molecular Weight Heparin for VTE Prophylaxis&quot;]\r\n	union\r\n	[&quot;MedicationAdministration&quot;: medication in &quot;Injectable Factor Xa Inhibitor for VTE Prophylaxis&quot;]\r\n	union\r\n	[&quot;MedicationAdministration&quot;: medication in &quot;Warfarin&quot;]\r\n	) MedicationAdm\r\n		where MedicationAdm.notGiven is true\r\n	)\r\n	union\r\n	 // TODO: Tracker for QI-core to add doNotPerform extension for MedicationRequest and suggest to the base Resource\r\n	((	[&quot;MedicationRequest&quot;: medication in &quot;Low Dose Unfractionated Heparin for VTE Prophylaxis&quot;]\r\n	union\r\n	[&quot;MedicationRequest&quot;: medication in &quot;Low Molecular Weight Heparin for VTE Prophylaxis&quot;]\r\n	union\r\n	[&quot;MedicationRequest&quot;: medication in &quot;Injectable Factor Xa Inhibitor for VTE Prophylaxis&quot;]\r\n	union\r\n	[&quot;MedicationRequest&quot;: medication in &quot;Warfarin&quot;]\r\n	) MedicationOrder\r\n	where	MedicationOrder.intent = 'order'\r\n		and GetExtension(MedicationOrder.extension, 'http://example.org/fhir/extensions/doNotPerform').value is true\r\n		//MedicationOrder.doNotPerform is true // Needs a QI-Core extension to support\r\n	)</pre>\n              </div></li>\n            </ul> \n           </div></li>\n         </ul>\n        </div></li>\n      </ul>\n     </div></li>\n   </ul>\n  </div>\n  <div>\n   <ul style=\"list-style:none;padding-left: 10px;\">\n    <li style=\"list-style:none;\" class=\"list-unstyled\">\n     <div>\n      <ul style=\"list-style:none;padding-left:0;\" class=\"list-unstyled\">\n       <li class=\"list-unstyled\">\n        <div class=\"treeview hover p-l-10\">\n         <input id=\"No VTE Prophylaxis Medication Due to Medical Reason During ED Visit\" type=\"checkbox\"/>\n         <label for=\"No VTE Prophylaxis Medication Due to Medical Reason During ED Visit\" class=\"list-header\"><strong>No VTE Prophylaxis Medication Due to Medical Reason During ED Visit</strong></label>\n         <ul style=\"margin-right: 20%; opacity: 1;\" class=\"code\">\n          <li class=\"list-unstyled\">\n           <div>\n            <ul style=\"padding-left: 0px;\">\n             <li style=\"padding-left: 0px;\" class=\"list-unstyled\">\n              <div>\n               <pre class=\"cql-definition-body\">	from\r\n		&quot;Encounter With Age Range and Without VTE Diagnosis or Obstetrical Conditions&quot; QualifyingEncounter,\r\n		&quot;ED Visit&quot; EDVisit,\r\n		&quot;No VTE Prophylaxis Medication Administered or Ordered&quot; NoVTEMedication\r\n		where FHIRHelpers.ToInterval(EDVisit.period) ends 1 hour or less on or before start of FHIRHelpers.ToInterval(QualifyingEncounter.period)\r\n			and (singleton from NoVTEMedication.reasonCode in &quot;Medical Reason&quot;)\r\n		// TODO: Profile of MedicationAdministration to ensure effective is a Period\r\n			and Coalesce(NoVTEMedication.authoredOn, start of NoVTEMedication.effective) during FHIRHelpers.ToInterval(EDVisit.period)\r\n		return QualifyingEncounter</pre>\n              </div></li>\n            </ul> \n           </div></li>\n         </ul>\n        </div></li>\n      </ul>\n     </div></li>\n   </ul>\n  </div>\n  <div>\n   <ul style=\"list-style:none;padding-left: 10px;\">\n    <li style=\"list-style:none;\" class=\"list-unstyled\">\n     <div>\n      <ul style=\"list-style:none;padding-left:0;\" class=\"list-unstyled\">\n       <li class=\"list-unstyled\">\n        <div class=\"treeview hover p-l-10\">\n         <input id=\"No VTE Prophylaxis Medication Due to Medical Reason on Day of or Day After Admission\" type=\"checkbox\"/>\n         <label for=\"No VTE Prophylaxis Medication Due to Medical Reason on Day of or Day After Admission\" class=\"list-header\"><strong>No VTE Prophylaxis Medication Due to Medical Reason on Day of or Day After Admission</strong></label>\n         <ul style=\"margin-right: 20%; opacity: 1;\" class=\"code\">\n          <li class=\"list-unstyled\">\n           <div>\n            <ul style=\"padding-left: 0px;\">\n             <li style=\"padding-left: 0px;\" class=\"list-unstyled\">\n              <div>\n               <pre class=\"cql-definition-body\">	from\r\n		&quot;Encounter With Age Range and Without VTE Diagnosis or Obstetrical Conditions&quot; QualifyingEncounter,\r\n		&quot;No VTE Prophylaxis Medication Administered or Ordered&quot; NoVTEMedication\r\n		where (singleton from NoVTEMedication.reasonCode in &quot;Medical Reason&quot;)\r\n			and Coalesce(NoVTEMedication.authoredOn, start of NoVTEMedication.effective) during VTEICU.&quot;CalendarDayOfOrDayAfter&quot;(start of FHIRHelpers.ToInterval(QualifyingEncounter.period))\r\n		return QualifyingEncounter</pre>\n              </div></li>\n            </ul> \n           </div></li>\n         </ul>\n        </div></li>\n      </ul>\n     </div></li>\n   </ul>\n  </div>\n  <div>\n   <ul style=\"list-style:none;padding-left: 10px;\">\n    <li style=\"list-style:none;\" class=\"list-unstyled\">\n     <div>\n      <ul style=\"list-style:none;padding-left:0;\" class=\"list-unstyled\">\n       <li class=\"list-unstyled\">\n        <div class=\"treeview hover p-l-10\">\n         <input id=\"No VTE Prophylaxis Medication Due to Medical Reason on Day of or Day After Procedure\" type=\"checkbox\"/>\n         <label for=\"No VTE Prophylaxis Medication Due to Medical Reason on Day of or Day After Procedure\" class=\"list-header\"><strong>No VTE Prophylaxis Medication Due to Medical Reason on Day of or Day After Procedure</strong></label>\n         <ul style=\"margin-right: 20%; opacity: 1;\" class=\"code\">\n          <li class=\"list-unstyled\">\n           <div>\n            <ul style=\"padding-left: 0px;\">\n             <li style=\"padding-left: 0px;\" class=\"list-unstyled\">\n              <div>\n               <pre class=\"cql-definition-body\">	from\r\n		&quot;Encounter With Age Range and Without VTE Diagnosis or Obstetrical Conditions&quot; QualifyingEncounter,\r\n		[&quot;Procedure&quot;: &quot;General or Neuraxial Anesthesia&quot;] AnesthesiaProcedure,\r\n		&quot;No VTE Prophylaxis Medication Administered or Ordered&quot; NoVTEMedication\r\n		where NoVTEMedication.reasonCode in &quot;Medical Reason&quot;\r\n			and AnesthesiaProcedure.status = 'completed'\r\n			and AnesthesiaProcedure.performed ends 1 day after day of start of FHIRHelpers.ToInterval(QualifyingEncounter.period)\r\n			// TODO: Profile of MedicationAdministration to ensure effective is a Period\r\n			and Coalesce(NoVTEMedication.authoredOn, start of NoVTEMedication.effective) during VTEICU.&quot;CalendarDayOfOrDayAfter&quot;(end of AnesthesiaProcedure.performed)\r\n		return QualifyingEncounter</pre>\n              </div></li>\n            </ul> \n           </div></li>\n         </ul>\n        </div></li>\n      </ul>\n     </div></li>\n   </ul>\n  </div>\n  <div>\n   <ul style=\"list-style:none;padding-left: 10px;\">\n    <li style=\"list-style:none;\" class=\"list-unstyled\">\n     <div>\n      <ul style=\"list-style:none;padding-left:0;\" class=\"list-unstyled\">\n       <li class=\"list-unstyled\">\n        <div class=\"treeview hover p-l-10\">\n         <input id=\"No VTE Prophylaxis Medication or Device Due to Patient Refusal\" type=\"checkbox\"/>\n         <label for=\"No VTE Prophylaxis Medication or Device Due to Patient Refusal\" class=\"list-header\"><strong>No VTE Prophylaxis Medication or Device Due to Patient Refusal</strong></label>\n         <ul style=\"margin-right: 20%; opacity: 1;\" class=\"code\">\n          <li class=\"list-unstyled\">\n           <div>\n            <ul style=\"padding-left: 0px;\">\n             <li style=\"padding-left: 0px;\" class=\"list-unstyled\">\n              <div>\n               <pre class=\"cql-definition-body\">	( &quot;No VTE Prophylaxis Medication Administered or Ordered&quot;\r\n		union &quot;No VTE Prophylaxis Device Applied or Ordered&quot; ) NoVTEProphylaxis\r\n		where GetExtension(NoVTEProphylaxis.extension, 'http://example.org/StructureDefinition/notDoneReason').value in &quot;Patient Refusal&quot;</pre>\n              </div></li>\n            </ul> \n           </div></li>\n         </ul>\n        </div></li>\n      </ul>\n     </div></li>\n   </ul>\n  </div>\n  <div>\n   <ul style=\"list-style:none;padding-left: 10px;\">\n    <li style=\"list-style:none;\" class=\"list-unstyled\">\n     <div>\n      <ul style=\"list-style:none;padding-left:0;\" class=\"list-unstyled\">\n       <li class=\"list-unstyled\">\n        <div class=\"treeview hover p-l-10\">\n         <input id=\"Numerator\" type=\"checkbox\"/>\n         <label for=\"Numerator\" class=\"list-header\"><strong>Numerator</strong></label>\n         <ul style=\"margin-right: 20%; opacity: 1;\" class=\"code\">\n          <li class=\"list-unstyled\">\n           <div>\n            <ul style=\"padding-left: 0px;\">\n             <li style=\"padding-left: 0px;\" class=\"list-unstyled\">\n              <div>\n               <pre class=\"cql-definition-body\">	&quot;VTE Prophylaxis Received on Day of or Day After Admission or Procedure&quot;\r\n		union ( &quot;Medication Oral Factor Xa Inhibitor Administered on Day of or Day After Admission or Procedure&quot;\r\n				intersect ( &quot;Encounter With Prior or Present Diagnosis of Atrial Fibrillation or VTE&quot;\r\n						union &quot;Encounter With Prior or Present Procedure of Hip or Knee Replacement Surgery&quot;\r\n				)\r\n		)\r\n		union &quot;Low Risk for VTE or Anticoagulant Administered&quot;\r\n		union &quot;No VTE Prophylaxis Due to Medical Reason&quot;\r\n		union &quot;No VTE Prophylaxis Due to Patient Refusal&quot;</pre>\n              </div></li>\n            </ul> \n           </div></li>\n         </ul>\n        </div></li>\n      </ul>\n     </div></li>\n   </ul>\n  </div>\n  <div>\n   <ul style=\"list-style:none;padding-left: 10px;\">\n    <li style=\"list-style:none;\" class=\"list-unstyled\">\n     <div>\n      <ul style=\"list-style:none;padding-left:0;\" class=\"list-unstyled\">\n       <li class=\"list-unstyled\">\n        <div class=\"treeview hover p-l-10\">\n         <input id=\"SCIP VTE Selected Surgery\" type=\"checkbox\"/>\n         <label for=\"SCIP VTE Selected Surgery\" class=\"list-header\"><strong>SCIP VTE Selected Surgery</strong></label>\n         <ul style=\"margin-right: 20%; opacity: 1;\" class=\"code\">\n          <li class=\"list-unstyled\">\n           <div>\n            <ul style=\"padding-left: 0px;\">\n             <li style=\"padding-left: 0px;\" class=\"list-unstyled\">\n              <div>\n               <pre class=\"cql-definition-body\">	(	[&quot;Procedure&quot;: &quot;General Surgery&quot;]\r\n		union [&quot;Procedure&quot;: &quot;Gynecological Surgery&quot;]\r\n		union [&quot;Procedure&quot;: &quot;Hip Fracture Surgery&quot;]\r\n		union [&quot;Procedure&quot;: &quot;Hip Replacement Surgery&quot;]\r\n		union [&quot;Procedure&quot;: &quot;Intracranial Neurosurgery&quot;]\r\n		union [&quot;Procedure&quot;: &quot;Knee Replacement Surgery&quot;]\r\n		union [&quot;Procedure&quot;: &quot;Urological Surgery&quot;] ) P\r\n		where P.status = 'completed'</pre>\n              </div></li>\n            </ul> \n           </div></li>\n         </ul>\n        </div></li>\n      </ul>\n     </div></li>\n   </ul>\n  </div>\n  <div>\n   <ul style=\"list-style:none;padding-left: 10px;\">\n    <li style=\"list-style:none;\" class=\"list-unstyled\">\n     <div>\n      <ul style=\"list-style:none;padding-left:0;\" class=\"list-unstyled\">\n       <li class=\"list-unstyled\">\n        <div class=\"treeview hover p-l-10\">\n         <input id=\"SDE Ethnicity\" type=\"checkbox\"/>\n         <label for=\"SDE Ethnicity\" class=\"list-header\"><strong>SDE Ethnicity</strong></label>\n         <ul style=\"margin-right: 20%; opacity: 1;\" class=\"code\">\n          <li class=\"list-unstyled\">\n           <div>\n            <ul style=\"padding-left: 0px;\">\n             <li style=\"padding-left: 0px;\" class=\"list-unstyled\">\n              <div>\n               <pre class=\"cql-definition-body\">  SDE.&quot;SDE Ethnicity&quot;</pre>\n              </div></li>\n            </ul> \n           </div></li>\n         </ul>\n        </div></li>\n      </ul>\n     </div></li>\n   </ul>\n  </div>\n  <div>\n   <ul style=\"list-style:none;padding-left: 10px;\">\n    <li style=\"list-style:none;\" class=\"list-unstyled\">\n     <div>\n      <ul style=\"list-style:none;padding-left:0;\" class=\"list-unstyled\">\n       <li class=\"list-unstyled\">\n        <div class=\"treeview hover p-l-10\">\n         <input id=\"SDE Payer\" type=\"checkbox\"/>\n         <label for=\"SDE Payer\" class=\"list-header\"><strong>SDE Payer</strong></label>\n         <ul style=\"margin-right: 20%; opacity: 1;\" class=\"code\">\n          <li class=\"list-unstyled\">\n           <div>\n            <ul style=\"padding-left: 0px;\">\n             <li style=\"padding-left: 0px;\" class=\"list-unstyled\">\n              <div>\n               <pre class=\"cql-definition-body\">	SDE.&quot;SDE Payer&quot;</pre>\n              </div></li>\n            </ul> \n           </div></li>\n         </ul>\n        </div></li>\n      </ul>\n     </div></li>\n   </ul>\n  </div>\n  <div>\n   <ul style=\"list-style:none;padding-left: 10px;\">\n    <li style=\"list-style:none;\" class=\"list-unstyled\">\n     <div>\n      <ul style=\"list-style:none;padding-left:0;\" class=\"list-unstyled\">\n       <li class=\"list-unstyled\">\n        <div class=\"treeview hover p-l-10\">\n         <input id=\"SDE Race\" type=\"checkbox\"/>\n         <label for=\"SDE Race\" class=\"list-header\"><strong>SDE Race</strong></label>\n         <ul style=\"margin-right: 20%; opacity: 1;\" class=\"code\">\n          <li class=\"list-unstyled\">\n           <div>\n            <ul style=\"padding-left: 0px;\">\n             <li style=\"padding-left: 0px;\" class=\"list-unstyled\">\n              <div>\n               <pre class=\"cql-definition-body\">  SDE.&quot;SDE Race&quot;</pre>\n              </div></li>\n            </ul> \n           </div></li>\n         </ul>\n        </div></li>\n      </ul>\n     </div></li>\n   </ul>\n  </div>\n  <div>\n   <ul style=\"list-style:none;padding-left: 10px;\">\n    <li style=\"list-style:none;\" class=\"list-unstyled\">\n     <div>\n      <ul style=\"list-style:none;padding-left:0;\" class=\"list-unstyled\">\n       <li class=\"list-unstyled\">\n        <div class=\"treeview hover p-l-10\">\n         <input id=\"SDE Sex\" type=\"checkbox\"/>\n         <label for=\"SDE Sex\" class=\"list-header\"><strong>SDE Sex</strong></label>\n         <ul style=\"margin-right: 20%; opacity: 1;\" class=\"code\">\n          <li class=\"list-unstyled\">\n           <div>\n            <ul style=\"padding-left: 0px;\">\n             <li style=\"padding-left: 0px;\" class=\"list-unstyled\">\n              <div>\n               <pre class=\"cql-definition-body\">	SDE.&quot;SDE Sex&quot;</pre>\n              </div></li>\n            </ul> \n           </div></li>\n         </ul>\n        </div></li>\n      </ul>\n     </div></li>\n   </ul>\n  </div>\n  <div>\n   <ul style=\"list-style:none;padding-left: 10px;\">\n    <li style=\"list-style:none;\" class=\"list-unstyled\">\n     <div>\n      <ul style=\"list-style:none;padding-left:0;\" class=\"list-unstyled\">\n       <li class=\"list-unstyled\">\n        <div class=\"treeview hover p-l-10\">\n         <input id=\"VTE Prophylaxis by Medication Administered or Device Applied\" type=\"checkbox\"/>\n         <label for=\"VTE Prophylaxis by Medication Administered or Device Applied\" class=\"list-header\"><strong>VTE Prophylaxis by Medication Administered or Device Applied</strong></label>\n         <ul style=\"margin-right: 20%; opacity: 1;\" class=\"code\">\n          <li class=\"list-unstyled\">\n           <div>\n            <ul style=\"padding-left: 0px;\">\n             <li style=\"padding-left: 0px;\" class=\"list-unstyled\">\n              <div>\n               <pre class=\"cql-definition-body\">	( [&quot;MedicationAdministration&quot;: medication in &quot;Low Dose Unfractionated Heparin for VTE Prophylaxis&quot;] VTEMedication\r\n			where VTEMedication.status = 'completed'\r\n						and VTEMedication.dosage.route in &quot;Subcutaneous route&quot;\r\n	)\r\n		union [&quot;MedicationAdministration&quot;: medication in &quot;Low Molecular Weight Heparin for VTE Prophylaxis&quot;]\r\n		union [&quot;MedicationAdministration&quot;: medication in &quot;Injectable Factor Xa Inhibitor for VTE Prophylaxis&quot;]\r\n		union [&quot;MedicationAdministration&quot;: medication in &quot;Warfarin&quot;]\r\n		union ((\r\n				[&quot;DeviceUseStatement&quot;: code in &quot;Intermittent pneumatic compression devices (IPC)&quot;]\r\n				union [&quot;DeviceUseStatement&quot;: code in &quot;Venous foot pumps (VFP)&quot;]\r\n				union [&quot;DeviceUseStatement&quot;: code in &quot;Graduated compression stockings (GCS)&quot;]\r\n      ) DeviceApplied\r\n				where DeviceApplied.status = 'completed'\r\n    )</pre>\n              </div></li>\n            </ul> \n           </div></li>\n         </ul>\n        </div></li>\n      </ul>\n     </div></li>\n   </ul>\n  </div>\n  <div>\n   <ul style=\"list-style:none;padding-left: 10px;\">\n    <li style=\"list-style:none;\" class=\"list-unstyled\">\n     <div>\n      <ul style=\"list-style:none;padding-left:0;\" class=\"list-unstyled\">\n       <li class=\"list-unstyled\">\n        <div class=\"treeview hover p-l-10\">\n         <input id=\"VTE Prophylaxis Received on Day of or Day After Admission or Procedure\" type=\"checkbox\"/>\n         <label for=\"VTE Prophylaxis Received on Day of or Day After Admission or Procedure\" class=\"list-header\"><strong>VTE Prophylaxis Received on Day of or Day After Admission or Procedure</strong></label>\n         <ul style=\"margin-right: 20%; opacity: 1;\" class=\"code\">\n          <li class=\"list-unstyled\">\n           <div>\n            <ul style=\"padding-left: 0px;\">\n             <li style=\"padding-left: 0px;\" class=\"list-unstyled\">\n              <div>\n               <pre class=\"cql-definition-body\">	( from\r\n			&quot;Encounter With Age Range and Without VTE Diagnosis or Obstetrical Conditions&quot; QualifyingEncounter,\r\n			&quot;VTE Prophylaxis by Medication Administered or Device Applied&quot; HasVTEProphylaxis\r\n			// TODO: Profile of MedicationAdministration to ensure effective is a Period\r\n			where Coalesce(HasVTEProphylaxis.recordedOn, start of HasVTEProphylaxis.effective) during VTEICU.&quot;CalendarDayOfOrDayAfter&quot;(start of FHIRHelpers.ToInterval(QualifyingEncounter.period))\r\n			return QualifyingEncounter\r\n	)\r\n		union ( from\r\n				&quot;Encounter With Age Range and Without VTE Diagnosis or Obstetrical Conditions&quot; QualifyingEncounter,\r\n				[&quot;Procedure&quot;: &quot;General or Neuraxial Anesthesia&quot;] AnesthesiaProcedure,\r\n				&quot;VTE Prophylaxis by Medication Administered or Device Applied&quot; HasVTEProphylaxis\r\n				where AnesthesiaProcedure.performed ends 1 day after day of start of FHIRHelpers.ToInterval(QualifyingEncounter.period)\r\n					and Coalesce(HasVTEProphylaxis.recordedOn, start of HasVTEProphylaxis.effective) during VTEICU.&quot;CalendarDayOfOrDayAfter&quot;(end of AnesthesiaProcedure.performed)\r\n				return QualifyingEncounter\r\n		)</pre>\n              </div></li>\n            </ul> \n           </div></li>\n         </ul>\n        </div></li>\n      </ul>\n     </div></li>\n   </ul>\n  </div>\n  <h3><a name=\"d1e650\" href=\"#toc\">Functions</a></h3>\n  <div>\n   <ul style=\"list-style:none;padding-left: 10px;\">\n    <li style=\"list-style:none;\" class=\"list-unstyled\">\n     <div>\n      <ul style=\"list-style:none;padding-left:0;\" class=\"list-unstyled\">\n       <li class=\"list-unstyled\">\n        <div class=\"treeview hover p-l-10\">\n         <input id=\"GetExtension\" type=\"checkbox\"/>\n         <label for=\"GetExtension\" class=\"list-header\"><strong>GetExtension</strong></label>\n         <ul style=\"margin-right: 20%; opacity: 1;\" class=\"code\">\n          <li class=\"list-unstyled\">\n           <div>\n            <ul style=\"padding-left: 0px;\">\n             <li style=\"padding-left: 0px;\" class=\"list-unstyled\">\n              <div>\n               <pre class=\"cql-definition-body\">define function GetExtension(Extensions List&lt;Extension&gt;, URL String):\r\n  singleton from (Extensions E where E.url = URL return E)</pre>\n              </div></li>\n            </ul> \n           </div></li>\n         </ul>\n        </div></li>\n      </ul>\n     </div></li>\n   </ul>\n  </div>\n  <h3><a name=\"d1e555\" href=\"#toc\">Terminology</a></h3>\n  <div>\n   <ul style=\"padding-left: 50px;\">\n    <li style=\"width:80%\">codesystem &quot;LOINC&quot; : 'http://loinc.org'</li>\n    <li style=\"width:80%\">codesystem &quot;RequestIntent&quot; : 'http://hl7.org/fhir/request-intent'</li>\n    <li style=\"width:80%\">codesystem &quot;SNOMED CT&quot; : 'http://snomed.info/sct'</li>\n    <li style=\"width:80%\">code &quot;Order&quot; : 'order' from &quot;RequestIntent&quot; display 'Order'</li>\n    <li style=\"width:80%\">code &quot;Principal&quot; : '63161005' from &quot;SNOMED CT&quot; display 'Principal (qualifier value)'</li>\n    <li style=\"width:80%\">code &quot;Risk for venous thromboembolism&quot; : '72136-5' from &quot;LOINC&quot; display 'Risk for venous thromboembolism'</li>\n    <li style=\"width:80%\">valueset &quot;Atrial Fibrillation/Flutter&quot; : 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.202'</li>\n    <li style=\"width:80%\">valueset &quot;Comfort Measures&quot; : 'http://cts.nlm.nih.gov/fhir/ValueSet/1.3.6.1.4.1.33895.1.3.0.45'</li>\n    <li style=\"width:80%\">valueset &quot;Direct Thrombin Inhibitor&quot; : 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.205'</li>\n    <li style=\"width:80%\">valueset &quot;Emergency Department Visit&quot; : 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.292'</li>\n    <li style=\"width:80%\">valueset &quot;Ethnicity&quot; : 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.837'</li>\n    <li style=\"width:80%\">valueset &quot;General or Neuraxial Anesthesia&quot; : 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.666.5.1743'</li>\n    <li style=\"width:80%\">valueset &quot;General Surgery&quot; : 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.255'</li>\n    <li style=\"width:80%\">valueset &quot;Glycoprotein IIb/IIIa Inhibitors&quot; : 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1045.41'</li>\n    <li style=\"width:80%\">valueset &quot;Graduated compression stockings (GCS)&quot; : 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.256'</li>\n    <li style=\"width:80%\">valueset &quot;Gynecological Surgery&quot; : 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.257'</li>\n    <li style=\"width:80%\">valueset &quot;Hemorrhagic Stroke&quot; : 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.212'</li>\n    <li style=\"width:80%\">valueset &quot;Hip Fracture Surgery&quot; : 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.258'</li>\n    <li style=\"width:80%\">valueset &quot;Hip Replacement Surgery&quot; : 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.259'</li>\n    <li style=\"width:80%\">valueset &quot;Injectable Factor Xa Inhibitor for VTE Prophylaxis&quot; : 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.211'</li>\n    <li style=\"width:80%\">valueset &quot;INR&quot; : 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.213'</li>\n    <li style=\"width:80%\">valueset &quot;Intensive Care Unit&quot; : 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1110.23'</li>\n    <li style=\"width:80%\">valueset &quot;Intermittent pneumatic compression devices (IPC)&quot; : 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.214'</li>\n    <li style=\"width:80%\">valueset &quot;Intracranial Neurosurgery&quot; : 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.260'</li>\n    <li style=\"width:80%\">valueset &quot;Intravenous route&quot; : 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.222'</li>\n    <li style=\"width:80%\">valueset &quot;Ischemic Stroke&quot; : 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.247'</li>\n    <li style=\"width:80%\">valueset &quot;Knee Replacement Surgery&quot; : 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.261'</li>\n    <li style=\"width:80%\">valueset &quot;Low Dose Unfractionated Heparin for VTE Prophylaxis&quot; : 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1045.39'</li>\n    <li style=\"width:80%\">valueset &quot;Low Molecular Weight Heparin for VTE Prophylaxis&quot; : 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.219'</li>\n    <li style=\"width:80%\">valueset &quot;Low Risk&quot; : 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.400'</li>\n    <li style=\"width:80%\">valueset &quot;Medical Reason&quot; : 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.473'</li>\n    <li style=\"width:80%\">valueset &quot;Mental Health Diagnoses&quot; : 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.105.12.1004'</li>\n    <li style=\"width:80%\">valueset &quot;Obstetrics VTE&quot; : 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.264'</li>\n    <li style=\"width:80%\">valueset &quot;Obstetrics&quot; : 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.263'</li>\n    <li style=\"width:80%\">valueset &quot;ONC Administrative Sex&quot; : 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1'</li>\n    <li style=\"width:80%\">valueset &quot;Oral Factor Xa Inhibitor for VTE Prophylaxis or VTE Treatment&quot; : 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.134'</li>\n    <li style=\"width:80%\">valueset &quot;Patient Refusal&quot; : 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.93'</li>\n    <li style=\"width:80%\">valueset &quot;Payer&quot; : 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3591'</li>\n    <li style=\"width:80%\">valueset &quot;Race&quot; : 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.836'</li>\n    <li style=\"width:80%\">valueset &quot;Subcutaneous route&quot; : 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.223'</li>\n    <li style=\"width:80%\">valueset &quot;Unfractionated Heparin&quot; : 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.218'</li>\n    <li style=\"width:80%\">valueset &quot;Urological Surgery&quot; : 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.272'</li>\n    <li style=\"width:80%\">valueset &quot;Venous foot pumps (VFP)&quot; : 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.230'</li>\n    <li style=\"width:80%\">valueset &quot;Venous Thromboembolism&quot; : 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.279'</li>\n    <li style=\"width:80%\">valueset &quot;Warfarin&quot; : 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.232'</li>\n   </ul>\n  </div>\n  <h3><a name=\"d1e647\" href=\"#toc\">Data Criteria (QDM Data Elements)</a></h3>\n  <div>\n    <ul style=\"padding-left: 50px;\">\n      <li style=\"width:80%\">&quot;Condition: Atrial Fibrillation/Flutter&quot; using &quot;Atrial Fibrillation/Flutter (http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.202)</li>\n      <li style=\"width:80%\">&quot;Condition: Obstetrics VTE&quot; using &quot;Obstetrics VTE (http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.264)</li>\n      <li style=\"width:80%\">&quot;Condition: Obstetrics&quot; using &quot;Obstetrics (http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.263)</li>\n      <li style=\"width:80%\">&quot;Condition: Venous Thromboembolism&quot; using &quot;Venous Thromboembolism (http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.279)</li>\n      <li style=\"width:80%\">&quot;Coverage: Payer&quot; using &quot;Payer (http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3591)</li>\n      <li style=\"width:80%\">&quot;DeviceRequest: Graduated compression stockings (GCS)&quot; using &quot;Graduated compression stockings (GCS) (http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.256)</li>\n      <li style=\"width:80%\">&quot;DeviceRequest: Intermittent pneumatic compression devices (IPC)&quot; using &quot;Intermittent pneumatic compression devices (IPC) (http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.214)</li>\n      <li style=\"width:80%\">&quot;DeviceRequest: Venous foot pumps (VFP)&quot; using &quot;Venous foot pumps (VFP) (http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.230)</li>\n      <li style=\"width:80%\">&quot;DeviceUseStatement: Graduated compression stockings (GCS)&quot; using &quot;Graduated compression stockings (GCS) (http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.256)</li>\n      <li style=\"width:80%\">&quot;DeviceUseStatement: Intermittent pneumatic compression devices (IPC)&quot; using &quot;Intermittent pneumatic compression devices (IPC) (http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.214)</li>\n      <li style=\"width:80%\">&quot;DeviceUseStatement: Venous foot pumps (VFP)&quot; using &quot;Venous foot pumps (VFP) (http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.230)</li>\n      <li style=\"width:80%\">&quot;Encounter: Emergency Department Visit&quot; using &quot;Emergency Department Visit (http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.292)</li>\n      <li style=\"width:80%\">&quot;MedicationAdministration: Injectable Factor Xa Inhibitor for VTE Prophylaxis&quot; using &quot;Injectable Factor Xa Inhibitor for VTE Prophylaxis (http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.211)</li>\n      <li style=\"width:80%\">&quot;MedicationAdministration: Low Dose Unfractionated Heparin for VTE Prophylaxis&quot; using &quot;Low Dose Unfractionated Heparin for VTE Prophylaxis (http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1045.39)</li>\n      <li style=\"width:80%\">&quot;MedicationAdministration: Low Molecular Weight Heparin for VTE Prophylaxis&quot; using &quot;Low Molecular Weight Heparin for VTE Prophylaxis (http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.219)</li>\n      <li style=\"width:80%\">&quot;MedicationAdministration: Oral Factor Xa Inhibitor for VTE Prophylaxis or VTE Treatment&quot; using &quot;Oral Factor Xa Inhibitor for VTE Prophylaxis or VTE Treatment (http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.134)</li>\n      <li style=\"width:80%\">&quot;MedicationAdministration: Warfarin&quot; using &quot;Warfarin (http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.232)</li>\n      <li style=\"width:80%\">&quot;MedicationRequest: Injectable Factor Xa Inhibitor for VTE Prophylaxis&quot; using &quot;Injectable Factor Xa Inhibitor for VTE Prophylaxis (http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.211)</li>\n      <li style=\"width:80%\">&quot;MedicationRequest: Low Dose Unfractionated Heparin for VTE Prophylaxis&quot; using &quot;Low Dose Unfractionated Heparin for VTE Prophylaxis (http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1045.39)</li>\n      <li style=\"width:80%\">&quot;MedicationRequest: Low Molecular Weight Heparin for VTE Prophylaxis&quot; using &quot;Low Molecular Weight Heparin for VTE Prophylaxis (http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.219)</li>\n      <li style=\"width:80%\">&quot;MedicationRequest: Warfarin&quot; using &quot;Warfarin (http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.232)</li>\n      <li style=\"width:80%\">&quot;Procedure: Comfort Measures&quot; using &quot;Comfort Measures (http://cts.nlm.nih.gov/fhir/ValueSet/1.3.6.1.4.1.33895.1.3.0.45)</li>\n      <li style=\"width:80%\">&quot;Procedure: General or Neuraxial Anesthesia&quot; using &quot;General or Neuraxial Anesthesia (http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.666.5.1743)</li>\n      <li style=\"width:80%\">&quot;Procedure: General Surgery&quot; using &quot;General Surgery (http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.255)</li>\n      <li style=\"width:80%\">&quot;Procedure: Gynecological Surgery&quot; using &quot;Gynecological Surgery (http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.257)</li>\n      <li style=\"width:80%\">&quot;Procedure: Hip Fracture Surgery&quot; using &quot;Hip Fracture Surgery (http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.258)</li>\n      <li style=\"width:80%\">&quot;Procedure: Hip Replacement Surgery&quot; using &quot;Hip Replacement Surgery (http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.259)</li>\n      <li style=\"width:80%\">&quot;Procedure: Intracranial Neurosurgery&quot; using &quot;Intracranial Neurosurgery (http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.260)</li>\n      <li style=\"width:80%\">&quot;Procedure: Knee Replacement Surgery&quot; using &quot;Knee Replacement Surgery (http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.261)</li>\n      <li style=\"width:80%\">&quot;Procedure: Urological Surgery&quot; using &quot;Urological Surgery (http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.272)</li>\n      <li style=\"width:80%\">&quot;ProcedureRequest: Comfort Measures&quot; using &quot;Comfort Measures (http://cts.nlm.nih.gov/fhir/ValueSet/1.3.6.1.4.1.33895.1.3.0.45)</li>\n    </ul>\n  </div>\n  <h3><a name=\"d1e767\" href=\"#toc\">Supplemental Data Elements</a></h3>\n  <div>\n   <ul style=\"list-style:none;padding-left: 25px;\">\n    <li class=\"list-unstyled\">\n     <div class=\"treeview hover p-l-10\">\n      <input id=\"SDE Ethnicity\" type=\"checkbox\"/>\n      <label for=\"SDE Ethnicity\" class=\"list-header\"><strong>SDE Ethnicity</strong></label>\n      <ul style=\"margin-right: 20%; opacity: 1;\" class=\"code\">\n       <li class=\"list-unstyled\">\n        <div>\n         <ul style=\"padding-left: 0px;\">\n          <li style=\"padding-left: 0px;\" class=\"list-unstyled\">\n           <div>\n            <pre class=\"cql-definition-body\">  SDE.&quot;SDE Ethnicity&quot;</pre>\n           </div></li>\n         </ul> \n        </div></li>\n      </ul>\n     </div></li>\n   </ul>\n  </div>\n  <div>\n   <ul style=\"list-style:none;padding-left: 25px;\">\n    <li class=\"list-unstyled\">\n     <div class=\"treeview hover p-l-10\">\n      <input id=\"SDE Payer\" type=\"checkbox\"/>\n      <label for=\"SDE Payer\" class=\"list-header\"><strong>SDE Payer</strong></label>\n      <ul style=\"margin-right: 20%; opacity: 1;\" class=\"code\">\n       <li class=\"list-unstyled\">\n        <div>\n         <ul style=\"padding-left: 0px;\">\n          <li style=\"padding-left: 0px;\" class=\"list-unstyled\">\n           <div>\n            <pre class=\"cql-definition-body\">	SDE.&quot;SDE Payer&quot;</pre>\n           </div></li>\n         </ul> \n        </div></li>\n      </ul>\n     </div></li>\n   </ul>\n  </div>\n  <div>\n   <ul style=\"list-style:none;padding-left: 25px;\">\n    <li class=\"list-unstyled\">\n     <div class=\"treeview hover p-l-10\">\n      <input id=\"SDE Race\" type=\"checkbox\"/>\n      <label for=\"SDE Race\" class=\"list-header\"><strong>SDE Race</strong></label>\n      <ul style=\"margin-right: 20%; opacity: 1;\" class=\"code\">\n       <li class=\"list-unstyled\">\n        <div>\n         <ul style=\"padding-left: 0px;\">\n          <li style=\"padding-left: 0px;\" class=\"list-unstyled\">\n           <div>\n            <pre class=\"cql-definition-body\">  SDE.&quot;SDE Race&quot;</pre>\n           </div></li>\n         </ul> \n        </div></li>\n      </ul>\n     </div></li>\n   </ul>\n  </div>\n  <div>\n   <ul style=\"list-style:none;padding-left: 25px;\">\n    <li class=\"list-unstyled\">\n     <div class=\"treeview hover p-l-10\">\n      <input id=\"SDE Sex\" type=\"checkbox\"/>\n      <label for=\"SDE Sex\" class=\"list-header\"><strong>SDE Sex</strong></label>\n      <ul style=\"margin-right: 20%; opacity: 1;\" class=\"code\">\n       <li class=\"list-unstyled\">\n        <div>\n         <ul style=\"padding-left: 0px;\">\n          <li style=\"padding-left: 0px;\" class=\"list-unstyled\">\n           <div>\n            <pre class=\"cql-definition-body\">	SDE.&quot;SDE Sex&quot;</pre>\n           </div></li>\n         </ul> \n        </div></li>\n      </ul>\n     </div></li>\n   </ul>\n  </div>\n  \n  <h3><a name=\"d1e879\" href=\"#toc\">Risk Adjustment Variables</a></h3>\n  <div>\n   <ul style=\"list-style:none;padding-left: 25px;\">\n    <li>None</li>\n   </ul>\n  </div>\n  <div style=\"float:left; background:teal; height:3px; width:80%\"/>\n  <table>\n        \n              <!-- <th:block th:each=\"con, iter : ${resource.content}\">\n            <tr th:if=\"${con.contentType == 'text/cql'}\" style=\"vertical-align: top;\">\n                <td style=\"background-color:#656565; width:20%\" scope=\"row\"><span class=\"td_label\">Content</span></td>\n                <td style=\"width:80%\" ><b>type: </b><span th:text=\"${con.contentType}\"></span></td>\n            </tr>\n            <tr th:if=\"${con.contentType == 'text/cql'}\">\n                <td style=\"width:100%\" colspan=\"2\" >\n                    <th:block th:if=\"${con.getData() != null }\" >\n                        <pre><code th:class=\"${con.contentType == 'text/cql' ? 'language-cql' : 'language-xml'}\" th:text=\"${new java.lang.String(con.getData())}\"></code></pre>\n                    </th:block>\n                    <th:block th:if=\"${con.getData() == null }\" >\n                        <span><i>&lt;content is empty&gt;</i></span>\n                    </th:block>\n                </td>\n            </tr>\n        </th:block > -->\n    </table>\n</div>"
  ];
  fhir:DomainResource.extension [
     fhir:index 0;
     fhir:Extension.url [ fhir:value "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-populationBasis" ];
     fhir:Extension.valueCode [ fhir:value "Encounter" ]
  ];
  fhir:Measure.url [ fhir:value "http://hl7.org/fhir/us/cqfmeasures/Measure/measure-vte-1-FHIR"];
  fhir:Measure.identifier [
     fhir:index 0;
     fhir:Identifier.use [ fhir:value "official" ];
     fhir:Identifier.system [ fhir:value "http://hl7.org/fhir/cqi/ecqm/Measure/Identifier/cms" ];
     fhir:Identifier.value [ fhir:value "108" ]
  ], [
     fhir:index 1;
     fhir:Identifier.use [ fhir:value "official" ];
     fhir:Identifier.system [ fhir:value "http://hl7.org/fhir/cqi/ecqm/Measure/Identifier/nqf" ];
     fhir:Identifier.value [ fhir:value "0371" ]
  ];
  fhir:Measure.version [ fhir:value "1.0.0"];
  fhir:Measure.name [ fhir:value "VTE_1_FHIR"];
  fhir:Measure.title [ fhir:value "Venous Thromboembolism Prophylaxis"];
  fhir:Measure.status [ fhir:value "active"];
  fhir:Measure.experimental [ fhir:value "true"^^xsd:boolean];
  fhir:Measure.date [ fhir:value "2018-08-31T00:00:00-04:00"^^xsd:dateTime];
  fhir:Measure.publisher [ fhir:value "The Joint Commission"];
  fhir:Measure.description [ fhir:value "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"];
  fhir:Measure.approvalDate [ fhir:value "2019-03-08"^^xsd:date];
  fhir:Measure.lastReviewDate [ fhir:value "2019-03-08"^^xsd:date];
  fhir:Measure.effectivePeriod [
     fhir:Period.start [ fhir:value "2018-01-01T00:00:00-05:00"^^xsd:dateTime ];
     fhir:Period.end [ fhir:value "2018-12-31T00:00:00-05:00"^^xsd:dateTime ]
  ];
  fhir:Measure.useContext [
     fhir:index 0;
     fhir:UsageContext.code [
       fhir:Coding.code [ fhir:value "program" ]     ];
     fhir:UsageContext.valueCodeableConcept [
       fhir:CodeableConcept.text [ fhir:value "eligibile-hospital" ]     ]
  ];
  fhir:Measure.jurisdiction [
     fhir:index 0;
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "urn:iso:std:iso:3166" ];
       fhir:Coding.code [ fhir:value "US" ];
       fhir:Coding.display [ fhir:value "United States of America" ]     ]
  ];
  fhir:Measure.contributor [
     fhir:index 0;
     fhir:Contributor.type [ fhir:value "author" ];
     fhir:Contributor.name [ fhir:value "The Joint Commission" ]
  ];
  fhir:Measure.contact [
     fhir:index 0;
     fhir:ContactDetail.telecom [
       fhir:index 0;
       fhir:ContactPoint.system [ fhir:value "url" ];
       fhir:ContactPoint.value [ fhir:value "https://www.jointcommission.org/" ]     ]
  ];
  fhir:Measure.copyright [ fhir:value "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."];
  fhir:Measure.relatedArtifact [
     fhir:index 0;
     fhir:RelatedArtifact.type [ fhir:value "citation" ];
     fhir:RelatedArtifact.citation [ fhir:value "Geerts  WH, Bergqvist D, Pineo GF, Heit JA, Samama CM, Lassen MR, Colwell CW. Prevention of venous thromboembolism. The Eighth ACCP Conference on antithrombotic and thrombolytic therapy. Chest. 2008; 133:381S-453S" ]
  ], [
     fhir:index 1;
     fhir:RelatedArtifact.type [ fhir:value "citation" ];
     fhir:RelatedArtifact.citation [ fhir:value "Guyatt, G.H., Akl, E.A., Crowther, M., Gutterman, D., Schunemann, H. Antithrombotic Therapy and Prevention of Thrombosis, 9th edition: American College of Chest Physicians Evidence-Based Clinical Practice Guidelines. CHEST 2012; 141(2)(Supp):7S-47S" ]
  ], [
     fhir:index 2;
     fhir:RelatedArtifact.type [ fhir:value "citation" ];
     fhir:RelatedArtifact.citation [ fhir:value "Kearon C, Akl EA, Comerota AJ, Prandoni P, Bounameaux H, Goldhaber SZ, Nelson ME, Wells PS, Gould MK, Dentali F, Crowther M, Kahn SR. Antithrombotic therapy for VTE disease: Antithrombotic Therapy and Prevention of Thrombosis, 9th Edition: American College of Chest Physicians Evidence-based Clinical Practice Guidelines. CHEST 2012 Feb; 141(2) (Supp):e419S-94S." ]
  ], [
     fhir:index 3;
     fhir:RelatedArtifact.type [ fhir:value "citation" ];
     fhir:RelatedArtifact.citation [ fhir:value "National Quality Forum. National Voluntary Consensus Standards for Prevention and Care of Venous Thromboembolism: Policy, Preferred Practices, and Initial Performance Measures. A Consensus Report. Washington, DC. NQF; 2006" ]
  ], [
     fhir:index 4;
     fhir:RelatedArtifact.type [ fhir:value "citation" ];
     fhir:RelatedArtifact.citation [ fhir:value "Shojania KG, Duncan BW, McDonald DM, et al. (Eds.). (2001). Making healthcare safer; A critical analysis of patient safety practices (Evidence Report/Technology Assessment No. 43). Prepared by the University of California at San Francisco-Stanford Evidenced-based Practice Center under Contract no. 290-97-0013 (AHRQ Publication NO.01-E058). Rockville, MD:Agency for Healthcare Research and Quality." ]
  ], [
     fhir:index 5;
     fhir:RelatedArtifact.type [ fhir:value "depends-on" ];
     fhir:RelatedArtifact.resource [
       fhir:Reference.reference [ fhir:value "Library/fhirhelpers" ]     ]
  ], [
     fhir:index 6;
     fhir:RelatedArtifact.type [ fhir:value "depends-on" ];
     fhir:RelatedArtifact.resource [
       fhir:Reference.reference [ fhir:value "Library/matglobalcommonfunctions-fhir" ]     ]
  ], [
     fhir:index 7;
     fhir:RelatedArtifact.type [ fhir:value "depends-on" ];
     fhir:RelatedArtifact.resource [
       fhir:Reference.reference [ fhir:value "Library/vteicu-fhir" ]     ]
  ], [
     fhir:index 8;
     fhir:RelatedArtifact.type [ fhir:value "depends-on" ];
     fhir:RelatedArtifact.resource [
       fhir:Reference.reference [ fhir:value "Library/supplementaldataelements-fhir" ]     ]
  ];
  fhir:Measure.library [
     fhir:index 0;
     fhir:Reference.reference [ fhir:value "Library/vte-1-fhir" ]
  ];
  fhir:Measure.disclaimer [ fhir:value "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"];
  fhir:Measure.scoring [
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "http://hl7.org/fhir/measure-scoring" ];
       fhir:Coding.code [ fhir:value "proportion" ]     ]
  ];
  fhir:Measure.type [
     fhir:index 0;
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "http://hl7.org/fhir/measure-type" ];
       fhir:Coding.code [ fhir:value "process" ]     ]
  ];
  fhir:Measure.rationale [ fhir:value "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."];
  fhir:Measure.clinicalRecommendationStatement [ fhir:value "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."];
  fhir:Measure.improvementNotation [ fhir:value "increase"];
  fhir:Measure.guidance [ fhir:value "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.\""];
  fhir:Measure.group [
     fhir:index 0;
     fhir:Measure.group.identifier [
       fhir:Identifier.value [ fhir:value "CMS125-group-1" ]     ];
     fhir:Measure.group.population [
       fhir:index 0;
       fhir:Measure.group.population.code [
         fhir:CodeableConcept.coding [
           fhir:index 0;
           fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/measure-population" ];
           fhir:Coding.code [ fhir:value "initial-population" ];
           fhir:Coding.display [ fhir:value "Initial Population" ]         ]       ];
       fhir:Measure.group.population.description [ fhir:value "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" ];
       fhir:Measure.group.population.criteria [ fhir:value "Initial Population" ]     ], [
       fhir:index 1;
       fhir:Measure.group.population.code [
         fhir:CodeableConcept.coding [
           fhir:index 0;
           fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/measure-population" ];
           fhir:Coding.code [ fhir:value "numerator" ];
           fhir:Coding.display [ fhir:value "Numerator" ]         ]       ];
       fhir:Measure.group.population.description [ fhir:value "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)" ];
       fhir:Measure.group.population.criteria [ fhir:value "Numerator" ]     ], [
       fhir:index 2;
       fhir:Measure.group.population.code [
         fhir:CodeableConcept.coding [
           fhir:index 0;
           fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/measure-population" ];
           fhir:Coding.code [ fhir:value "denominator" ];
           fhir:Coding.display [ fhir:value "Denominator" ]         ]       ];
       fhir:Measure.group.population.description [ fhir:value "All patients in the initial population" ];
       fhir:Measure.group.population.criteria [ fhir:value "Denominator" ]     ], [
       fhir:index 3;
       fhir:Measure.group.population.code [
         fhir:CodeableConcept.coding [
           fhir:index 0;
           fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/measure-population" ];
           fhir:Coding.code [ fhir:value "denominator-exclusion" ];
           fhir:Coding.display [ fhir:value "Denominator Exclusion" ]         ]       ];
       fhir:Measure.group.population.description [ fhir:value "* 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" ];
       fhir:Measure.group.population.criteria [ fhir:value "Denominator Exclusion" ]     ]
  ].

# - ontology header ------------------------------------------------------------

 a owl:Ontology;
  owl:imports fhir:fhir.ttl.