eCQM QICore Content Implementation Guide
2024.0.0 - CI Build

eCQM QICore Content Implementation Guide, published by cqframework. This guide is not an authorized publication; it is the continuous build for version 2024.0.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/cqframework/ecqm-content-qicore-2024/ and changes regularly. See the Directory of published versions

: Venous Thromboembolism ProphylaxisFHIR - JSON Representation

Draft as of 2024-07-09

Raw json | Download

{
  "resourceType" : "Measure",
  "id" : "VenousThromboembolismProphylaxisFHIR",
  "meta" : {
    "profile" : [
      🔗 "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/computable-measure-cqfm"🔗 ,
      "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/publishable-measure-cqfm"🔗 ,
      "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/executable-measure-cqfm"
    ]
  },
  "text" : {
    "status" : "extensions",
    "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n    <table class=\"grid dict\">\n        \n            <tr>\n                <th scope=\"row\"><b>Title: </b></th>\n                <td style=\"padding-left: 4px;\">Venous Thromboembolism ProphylaxisFHIR</td>\n            </tr>\n        \n\n        \n\n        \n            <tr>\n                <th scope=\"row\"><b>Id: </b></th>\n                <td style=\"padding-left: 4px;\">VenousThromboembolismProphylaxisFHIR</td>\n            </tr>\n        \n\n        \n            <tr>\n                <th scope=\"row\"><b>Version: </b></th>\n                <td style=\"padding-left: 4px;\">0.2.000</td>\n            </tr>\n        \n\n        \n            <tr>\n                <th scope=\"row\"><b>Url: </b></th>\n                <td style=\"padding-left: 4px;\"><a href=\"Measure-VenousThromboembolismProphylaxisFHIR.html\">Venous Thromboembolism ProphylaxisFHIR</a></td>\n            </tr>\n        \n\n        \n            <tr>\n                <th scope=\"row\">\n                    <b>\n                        \n                            \n                                short-name identifier:\n                            \n                        \n                    </b>\n                </th>\n\n                <td style=\"padding-left: 4px;\">\n                    \n                        <p style=\"margin-bottom: 5px;\">\n                            <span>CMS108FHIR</span>\n                        </p>\n                    \n                </td>\n            </tr>\n        \n            <tr>\n                <th scope=\"row\">\n                    <b>\n                        \n                            \n                                version-independent identifier:\n                            \n                        \n                    </b>\n                </th>\n\n                <td style=\"padding-left: 4px;\">\n                    \n                        <p style=\"margin-bottom: 5px;\">\n                            <span>urn:uuid:fa570e9c-c75f-4972-a77e-9488816d14af</span>\n                        </p>\n                    \n                </td>\n            </tr>\n        \n            <tr>\n                <th scope=\"row\">\n                    <b>\n                        \n                            \n                                version-specific identifier:\n                            \n                        \n                    </b>\n                </th>\n\n                <td style=\"padding-left: 4px;\">\n                    \n                        <p style=\"margin-bottom: 5px;\">\n                            <span>urn:uuid:1b60bbd2-6837-4b68-921c-ffeead0bc2ca</span>\n                        </p>\n                    \n                </td>\n            </tr>\n        \n            <tr>\n                <th scope=\"row\">\n                    <b>\n                        \n                            \n                                publisher (CMS) identifier:\n                            \n                        \n                    </b>\n                </th>\n\n                <td style=\"padding-left: 4px;\">\n                    \n                        <p style=\"margin-bottom: 5px;\">\n                            <span>108FHIR</span>\n                        </p>\n                    \n                </td>\n            </tr>\n        \n\n        \n            <tr>\n                <th scope=\"row\"><b>Effective Period: </b></th>\n                <td style=\"padding-left: 4px;\">2025-01-01..2025-12-31</td>\n            </tr>\n        \n\n        \n            <tr>\n                <th scope=\"row\"><b>Status: </b></th>\n                <td style=\"padding-left: 4px;\">draft</td>\n            </tr>\n        \n\n        \n\n        \n            <tr>\n                <th scope=\"row\"><b>Publisher: </b></th>\n                <td style=\"padding-left: 4px;\">The Joint Commission</td>\n            </tr>\n        \n\n        \n        <tr>\n            <th scope=\"row\"><b>Author: </b></th>\n            <td style=\"padding-left: 4px;\">The Joint Commission</td>\n        </tr>\n        \n\n        \n\n        \n            <tr>\n                <th scope=\"row\"><b>Description: </b></th>\n                <td style=\"padding-left: 4px;\"><div><p>This measure assesses the number of patients who received Venous Thromboembolism (VTE) prophylaxis or have documentation why no VTE prophylaxis was given between the day of arrival to the day after hospital admission or surgery end date for surgeries that start the day of or the day after hospital admission</p>\n</div></td>\n            </tr>\n        \n\n        \n\n        \n\n        \n\n        \n\n        \n\n        \n            <tr>\n                <th scope=\"row\"><b>Purpose: </b></th>\n                <td style=\"padding-left: 4px;\"><div><p>UNKNOWN</p>\n</div></td>\n            </tr>\n        \n\n        \n            <tr>\n                <th scope=\"row\"><b>Copyright: </b></th>\n                <td style=\"padding-left: 4px;\"><div><p>Measure specifications are in the Public Domain.</p>\n<p>LOINC(R) copyright 2004-2023 Regenstrief Institute, Inc. This material contains SNOMED Clinical Terms(R) (SNOMED CT[R]) copyright 2004-2023 International Health Terminology Standards Development Organisation. ICD-10 copyright 2023 World Health Organization. All Rights Reserved.</p>\n</div></td>\n            </tr>\n        \n\n        \n            <tr>\n                <th scope=\"row\"><b>Disclaimer: </b></th>\n                <td style=\"padding-left: 4px;\"><div><p>These performance measures are not clinical guidelines and do not establish a standard of medical care and have not been tested for all potential applications. The measures and specifications are provided without warranty.</p>\n</div></td>\n            </tr>\n        \n\n        \n\n        \n\n        \n            <tr>\n                <th scope=\"row\"><b>Scoring: </b></th>\n                <td style=\"padding-left: 4px;\">\n                    \n                        \n                            <p style=\"margin-bottom: 5px;\">\n                                <span>Proportion </span>\n                            </p>\n                        \n                    \n                    \n                </td>\n            </tr>\n        \n\n        \n\n        \n\n        \n\n        \n\n        \n        <tr>\n            <th scope=\"row\"><b>Rationale: </b></th>\n            <td style=\"padding-left: 4px;\"><div><p>The estimated annual incidence of deep-vein thrombosis (DVT) and pulmonary embolism (PE), known collectively as venous thromboembolism (VTE), ranges from 350,000 to 600,000 (Maynard, 2016). According to the Centers for Disease Control and Prevention (CDC) 2020 statistics, 1-2 per 1,000 adults in the United States are clinically diagnosed with VTE each year (CDC, 2020). Increased incidence is reported in the elderly (1 per 100) compared to young adults (1 per 10,000) (Henke et al., 2020).</p>\n<p>VTE is a known complication of hospitalization, frequently extending the length of stay and increasing hospital mortality (Maynard, 2016). Approximately 20% of VTE are associated with a surgical procedure (Henke et al., 2020). Hospitalized patients at high-risk for VTE may develop an asymptomatic DVT, and die from 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).</p>\n<p>American Society of Hematology (ASH) 2018 VTE prophylaxis guidelines strongly recommend pharmacological prophylaxis using unfractionated heparin (UFH), low molecular weight heparin (LMWH) or fondaparinux for acutely and critically ill hospitalized medical patients, unless contraindicated. The use of mechanical prophylaxis is an acceptable alternative for patients with increased risk of bleeding and preferred over no prophylaxis. ASH 2019 guidelines for surgical patients similarly recommend pharmacological or mechanical prophylaxis over no VTE prophylaxis. (NOTE: Some 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.)</p>\n<p>Despite its proven effectiveness, VTE prophylaxis remains underused or inappropriately used in both medical and surgical patients (Kahn et al., 2018). The ENDORSE study evaluated prophylaxis rates in 17,084 major surgery patients and found that more than one third of patients at risk for VTE (38%) did not receive prophylaxis with various rates reported for different types of surgery (Cohen et al., 2008). More recently, a systemic review of multiple randomized controlled trials found that system-wide interventions, such as computer alerts to physicians and other healthcare professionals, increased the use of appropriate VTE prophylaxis while reducing the number of symptomatic VTE at three months (Kahn et al., 2018).</p>\n</div></td>\n        </tr>\n        \n\n        \n        <tr>\n            <th scope=\"row\"><b>Clinical recommendation statement: </b></th>\n            <td style=\"padding-left: 4px;\"><div><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 embolism. 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></td>\n        </tr>\n        \n\n        \n\n        \n            <tr>\n                <th scope=\"row\"><b>Guidance (Usage): </b></th>\n                <td style=\"padding-left: 4px;\">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., &quot;patient out of bed and ambulating in halls - no VTE prophylaxis needed.&quot;\n\nThe denominator population includes patients with inpatient hospitalizations and patients from Acute Hospital Care at Home programs, who are treated and billed as inpatients but receive care in their home.\n\nThis eCQM is an episode-based measure. An episode is defined as each inpatient hospitalization or encounter that ends during the measurement period.\n\nThis FHIR-based measure has been derived from the QDM-based measure: CMS108v13.\n\nPlease refer to the HL7 QI-Core Implementation Guide (https://hl7.org/fhir/us/qicore/STU4.1.1/) for more information on QI-Core and mapping recommendations from QDM to QI-Core 4.1.1 (https://hl7.org/fhir/us/qicore/STU4.1.1/qdm-to-qicore.html).</td>\n            </tr>\n        \n\n        \n            \n                <tr>\n                    <th scope=\"row\"><b>Population Criteria: </b></th>\n                    <td style=\"padding-left: 4px;\">\n                        \n                            <table class=\"grid-dict\">\n                                \n                                    <tr>\n                                        <th><b>64f8bc45da013638e7b3d874</b></th>\n                                    </tr>\n                                \n                                \n                                    <tr>\n                                        <td>Initial Population:</td>\n\n                                        \n                                            \n                                                <td>Inpatient hospitalizations for patients age 18 and older, discharged from hospital inpatient acute care without a diagnosis of venous thromboembolism (VTE) or obstetrics that ends during the measurement period</td>\n                                            \n                                        \n\n                                    </tr>\n                                \n                                    <tr>\n                                        <td>Denominator:</td>\n\n                                        \n                                            \n                                                <td>Initial population</td>\n                                            \n                                        \n\n                                    </tr>\n                                \n                                    <tr>\n                                        <td>Denominator Exclusion:</td>\n\n                                        \n                                            \n                                                <td>- Inpatient hospitalizations for patients who have a length of stay less than 2 days\n- Inpatient hospitalizations for 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- Inpatient hospitalizations for patients with a principal diagnosis of mental disorders or stroke\n- Inpatient hospitalizations for patients with a principal procedure of Surgical Care Improvement Project (SCIP) VTE selected surgeries\n- Inpatient hospitalizations for patients with comfort measures documented anytime between the day of arrival and the day after hospital admission\n- Inpatient hospitalizations for patients with comfort measures documented by the day after surgery end date for surgeries that end the day of or the day after hospital admission</td>\n                                            \n                                        \n\n                                    </tr>\n                                \n                                    <tr>\n                                        <td>Numerator:</td>\n\n                                        \n                                            \n                                                <td>Inpatient hospitalizations for patients who received VTE prophylaxis:\n- between the day of arrival and 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\nInpatient hospitalizations for patients who have documentation of a reason why no VTE prophylaxis was given:\n- between the day of arrival and the day after hospital admission\n- the day of or the day after surgery end date (for surgeries that end the day of or the day after hospital admission)</td>\n                                            \n                                        \n\n                                    </tr>\n                                \n                                \n                            </table>\n                        \n                    </td>\n                </tr>\n            \n        \n\n        \n            <tr>\n                <th scope=\"row\"><b> Supplemental Data Elements: </b></th>\n                <td style=\"padding-left: 4px;\">\n                    \n                        \n                            \n                                <p>SDE Ethnicity</p>\n                            \n                        \n                    \n                        \n                            \n                                <p>SDE Race</p>\n                            \n                        \n                    \n                        \n                            \n                                <p>SDE Sex</p>\n                            \n                        \n                    \n                        \n                            \n                                <p>SDE Payer</p>\n                            \n                        \n                    \n                </td>\n            </tr>\n        \n\n        \n\n        \n            <tr>\n                <th scope=\"row\">\n                    <b> Supplemental Data Guidance\n                        : </b></th>\n                <td style=\"padding-left: 4px;\"> For every patient evaluated by this measure also identify payer, race, ethnicity and sex; SDE Ethnicity-Patient's Ethnicity:\nHispanic or Latino\nNot Hispanic or Latino \n SDE Race-Patient's Race:\nNative Hawaiian or Other Pacific Islander\nAsian\nAmerican Indian or Alaska Native\nOther Race\nWhite\nBlack or African American \n SDE Sex-Patient's Sex:\nGender identity restricted to only Male and Female used in administrative situations requiring a restriction to these two categories. \n SDE Payer \n  </td>\n            </tr>\n        \n\n        \n            <tr>\n                <th scope=\"row\"><b>Libraries: </b></th>\n                <td style=\"padding-left: 4px;\">\n                    <table class=\"grid-dict\">\n                        \n                            <tr>\n                                <td><a href=\"Library-VenousThromboembolismProphylaxisFHIR.html\">VenousThromboembolismProphylaxisFHIR</a></td>\n                            </tr>\n                        \n                    </table>\n                </td>\n            </tr>\n        \n\n        \n\n        \n            \n                <tr>\n                    <th scope=\"row\"><b>Terminology and Other Dependencies: </b></th>\n                    <td style=\"padding-left: 4px;\">\n                        \n                            <li><code>Library/SupplementalDataElements|3.5.000</code></li>\n                        \n                            <li><code>Library/VTE|8.8.000</code></li>\n                        \n                            <li><code>Library/CQMCommon|2.2.000</code></li>\n                        \n                            <li><code>Library/FHIRHelpers|4.4.000</code></li>\n                        \n                            <li><code>Library/QICoreCommon|2.1.000</code></li>\n                        \n                            <li><code>Library/TJCOverall|8.14.000</code></li>\n                        \n                            <li><a href=\"http://hl7.org/fhir/R4/codesystem-administrative-gender.html\">AdministrativeGender</a></li>\n                        \n                            <li><a href=\"http://terminology.hl7.org/5.5.0/CodeSystem-condition-clinical.html\">Condition Clinical Status Codes</a></li>\n                        \n                            <li><a href=\"http://terminology.hl7.org/5.5.0/CodeSystem-condition-ver-status.html\">ConditionVerificationStatus</a></li>\n                        \n                            <li><a href=\"http://terminology.hl7.org/5.5.0/CodeSystem-v3-loinc.html\">Logical Observation Identifiers, Names and Codes (LOINC)</a></li>\n                        \n                            <li><a href=\"http://terminology.hl7.org/5.5.0/CodeSystem-diagnosis-role.html\">Diagnosis Role</a></li>\n                        \n                            <li><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.666.5.307/expansion\">Encounter Inpatient</a></li>\n                        \n                            <li><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.117.1.7.1.263/expansion\">Obstetrics</a></li>\n                        \n                            <li><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.117.1.7.1.279/expansion\">Venous Thromboembolism</a></li>\n                        \n                            <li><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.117.1.7.1.264/expansion\">Obstetrics VTE</a></li>\n                        \n                            <li><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1045.39/expansion\">Low Dose Unfractionated Heparin for VTE Prophylaxis</a></li>\n                        \n                            <li><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.117.1.7.1.223/expansion\">Subcutaneous route</a></li>\n                        \n                            <li><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.117.1.7.1.219/expansion\">Low Molecular Weight Heparin for VTE Prophylaxis</a></li>\n                        \n                            <li><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.117.1.7.1.211/expansion\">Injectable Factor Xa Inhibitor for VTE Prophylaxis</a></li>\n                        \n                            <li><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.117.1.7.1.232/expansion\">Warfarin</a></li>\n                        \n                            <li><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1110.50/expansion\">Rivaroxaban and Betrixaban for VTE Prophylaxis</a></li>\n                        \n                            <li><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1110.65/expansion\">http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1110.65</a></li>\n                        \n                            <li><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1110.64/expansion\">http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1110.64</a></li>\n                        \n                            <li><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1110.66/expansion\">http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1110.66</a></li>\n                        \n                            <li><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1111.143/expansion\">Observation Services</a></li>\n                        \n                            <li><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.117.1.7.1.292/expansion\">Emergency Department Visit</a></li>\n                        \n                            <li><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.666.5.1743/expansion\">General or Neuraxial Anesthesia</a></li>\n                        \n                            <li><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.117.1.7.1.134/expansion\">Oral Factor Xa Inhibitor for VTE Prophylaxis or VTE Treatment</a></li>\n                        \n                            <li><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.117.1.7.1.202/expansion\">Atrial Fibrillation/Flutter</a></li>\n                        \n                            <li><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.117.1.7.1.259/expansion\">Hip Replacement Surgery</a></li>\n                        \n                            <li><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.117.1.7.1.261/expansion\">Knee Replacement Surgery</a></li>\n                        \n                            <li><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.117.1.7.1.400/expansion\">Low Risk</a></li>\n                        \n                            <li><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.117.1.7.1.213/expansion\">INR</a></li>\n                        \n                            <li><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.117.1.7.1.218/expansion\">Unfractionated Heparin</a></li>\n                        \n                            <li><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.117.1.7.1.222/expansion\">Intravenous route</a></li>\n                        \n                            <li><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.117.1.7.1.205/expansion\">Direct Thrombin Inhibitor</a></li>\n                        \n                            <li><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1045.41/expansion\">Glycoprotein IIb/IIIa Inhibitors</a></li>\n                        \n                            <li><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.117.1.7.1.473/expansion\">Medical Reason</a></li>\n                        \n                            <li><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.117.1.7.1.230/expansion\">Venous foot pumps (VFP)</a></li>\n                        \n                            <li><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.117.1.7.1.214/expansion\">Intermittent pneumatic compression devices (IPC)</a></li>\n                        \n                            <li><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.117.1.7.1.256/expansion\">Graduated compression stockings (GCS)</a></li>\n                        \n                            <li><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.117.1.7.1.93/expansion\">Patient Refusal</a></li>\n                        \n                            <li><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.114222.4.11.3591/expansion\">Payer</a></li>\n                        \n                            <li><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1029.206/expansion\">Intensive Care Unit</a></li>\n                        \n                            <li><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.464.1003.105.12.1004/expansion\">Mental Health Diagnoses</a></li>\n                        \n                            <li><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.117.1.7.1.212/expansion\">Hemorrhagic Stroke</a></li>\n                        \n                            <li><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.117.1.7.1.247/expansion\">Ischemic Stroke</a></li>\n                        \n                            <li><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.117.1.7.1.255/expansion\">General Surgery</a></li>\n                        \n                            <li><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.117.1.7.1.257/expansion\">Gynecological Surgery</a></li>\n                        \n                            <li><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.117.1.7.1.258/expansion\">Hip Fracture Surgery</a></li>\n                        \n                            <li><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.117.1.7.1.260/expansion\">Intracranial Neurosurgery</a></li>\n                        \n                            <li><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.117.1.7.1.272/expansion\">Urological Surgery</a></li>\n                        \n                            <li><a href=\"https://vsac.nlm.nih.gov/valueset/1.3.6.1.4.1.33895.1.3.0.45/expansion\">Comfort Measures</a></li>\n                        \n                    </td>\n                </tr>\n                <tr>\n                    <th scope=\"row\"><b>Parameters:</b></th>\n                    <td style=\"padding-left: 4px;\">\n                        <table class=\"grid-dict\">\n                            <tr>\n                                <th><b>name</b></th>\n                                <th><b>use</b></th>\n                                <th><b>min</b></th>\n                                <th><b>max</b></th>\n                                <th><b>type</b></th>\n                            </tr>\n                            \n                                <tr>\n                                    <td>Measurement Period</td>\n                                    <td>In</td>\n                                    <td>0</td>\n                                    <td>1</td>\n                                    <td>Period</td>\n                                </tr>\n                            \n                                <tr>\n                                    <td>SDE Sex</td>\n                                    <td>Out</td>\n                                    <td>0</td>\n                                    <td>1</td>\n                                    <td>Coding</td>\n                                </tr>\n                            \n                                <tr>\n                                    <td>Numerator</td>\n                                    <td>Out</td>\n                                    <td>0</td>\n                                    <td>*</td>\n                                    <td>Resource</td>\n                                </tr>\n                            \n                                <tr>\n                                    <td>Denominator</td>\n                                    <td>Out</td>\n                                    <td>0</td>\n                                    <td>*</td>\n                                    <td>Resource</td>\n                                </tr>\n                            \n                                <tr>\n                                    <td>SDE Payer</td>\n                                    <td>Out</td>\n                                    <td>0</td>\n                                    <td>*</td>\n                                    <td>Resource</td>\n                                </tr>\n                            \n                                <tr>\n                                    <td>Initial Population</td>\n                                    <td>Out</td>\n                                    <td>0</td>\n                                    <td>*</td>\n                                    <td>Resource</td>\n                                </tr>\n                            \n                                <tr>\n                                    <td>SDE Ethnicity</td>\n                                    <td>Out</td>\n                                    <td>0</td>\n                                    <td>1</td>\n                                    <td>Resource</td>\n                                </tr>\n                            \n                                <tr>\n                                    <td>Denominator Exclusions</td>\n                                    <td>Out</td>\n                                    <td>0</td>\n                                    <td>*</td>\n                                    <td>Resource</td>\n                                </tr>\n                            \n                                <tr>\n                                    <td>SDE Race</td>\n                                    <td>Out</td>\n                                    <td>0</td>\n                                    <td>1</td>\n                                    <td>Resource</td>\n                                </tr>\n                            \n                        </table>\n                    </td>\n                </tr>\n\n                <tr>\n                    <th scope=\"row\"><b>DataRequirements:</b></th>\n                    <td style=\"padding-left: 4px;\">\n                        <table class=\"grid-dict\">\n                            <tr>\n                                <th><b>Resource Type</b></th>\n                                <th><b>Resource Elements</b></th>\n                                <th><b>Valueset Name</b></th>\n                                <th><b>Valueset</b></th>\n                            </tr>\n                            \n                                <tr>\n                                    <td>Patient(<a href=\"http://hl7.org/fhir/us/qicore/STU4.1.1/StructureDefinition-qicore-patient.html\">QICorePatient</a>)</td>\n                                    <td>\n                                        \n                                            ethnicity\n                                        \n                                            race\n                                        \n                                    </td>\n                                    <td>\n                                        \n                                    </td>\n                                    <td/>\n                                </tr>\n                            \n                                <tr>\n                                    <td>Encounter(<a href=\"http://hl7.org/fhir/us/qicore/STU4.1.1/StructureDefinition-qicore-encounter.html\">QICoreEncounter</a>)</td>\n                                    <td>\n                                        \n                                            type\n                                        \n                                            status\n                                        \n                                            status.value\n                                        \n                                            period\n                                        \n                                            condition\n                                        \n                                            condition.reference\n                                        \n                                            condition.reference.value\n                                        \n                                            period.low\n                                        \n                                            period.lowClosed\n                                        \n                                            period.high\n                                        \n                                            period.highClosed\n                                        \n                                            location\n                                        \n                                            rank\n                                        \n                                            rank.value\n                                        \n                                            use\n                                        \n                                            extension\n                                        \n                                    </td>\n                                    <td>\n                                        \n                                            \n                                                 Observation Services\n                                            \n                                        \n                                    </td>\n                                    <td><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1111.143/expansion\">Observation Services</a></td>\n                                </tr>\n                            \n                                <tr>\n                                    <td>Encounter(<a href=\"http://hl7.org/fhir/us/qicore/STU4.1.1/StructureDefinition-qicore-encounter.html\">QICoreEncounter</a>)</td>\n                                    <td>\n                                        \n                                            type\n                                        \n                                            status\n                                        \n                                            status.value\n                                        \n                                            period\n                                        \n                                            condition\n                                        \n                                            condition.reference\n                                        \n                                            condition.reference.value\n                                        \n                                            period.low\n                                        \n                                            period.lowClosed\n                                        \n                                            period.high\n                                        \n                                            period.highClosed\n                                        \n                                            location\n                                        \n                                            rank\n                                        \n                                            rank.value\n                                        \n                                            use\n                                        \n                                            extension\n                                        \n                                    </td>\n                                    <td>\n                                        \n                                            \n                                                 Emergency Department Visit\n                                            \n                                        \n                                    </td>\n                                    <td><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.117.1.7.1.292/expansion\">Emergency Department Visit</a></td>\n                                </tr>\n                            \n                                <tr>\n                                    <td>Encounter(<a href=\"http://hl7.org/fhir/us/qicore/STU4.1.1/StructureDefinition-qicore-encounter.html\">QICoreEncounter</a>)</td>\n                                    <td>\n                                        \n                                            type\n                                        \n                                            status\n                                        \n                                            status.value\n                                        \n                                            period\n                                        \n                                            condition\n                                        \n                                            condition.reference\n                                        \n                                            condition.reference.value\n                                        \n                                            period.low\n                                        \n                                            period.lowClosed\n                                        \n                                            period.high\n                                        \n                                            period.highClosed\n                                        \n                                            location\n                                        \n                                            rank\n                                        \n                                            rank.value\n                                        \n                                            use\n                                        \n                                            extension\n                                        \n                                    </td>\n                                    <td>\n                                        \n                                            \n                                                 Encounter Inpatient\n                                            \n                                        \n                                    </td>\n                                    <td><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.666.5.307/expansion\">Encounter Inpatient</a></td>\n                                </tr>\n                            \n                                <tr>\n                                    <td>Condition(<a href=\"http://hl7.org/fhir/us/qicore/STU4.1.1/StructureDefinition-qicore-condition.html\">QICoreCondition</a>)</td>\n                                    <td>\n                                        \n                                            code\n                                        \n                                            verificationStatus\n                                        \n                                            onset\n                                        \n                                    </td>\n                                    <td>\n                                        \n                                            \n                                                 Atrial Fibrillation or Flutter\n                                            \n                                        \n                                    </td>\n                                    <td><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.117.1.7.1.202/expansion\">Atrial Fibrillation/Flutter</a></td>\n                                </tr>\n                            \n                                <tr>\n                                    <td>Condition(<a href=\"http://hl7.org/fhir/us/qicore/STU4.1.1/StructureDefinition-qicore-condition.html\">QICoreCondition</a>)</td>\n                                    <td>\n                                        \n                                            code\n                                        \n                                            clinicalStatus\n                                        \n                                            verificationStatus\n                                        \n                                            onset\n                                        \n                                    </td>\n                                    <td>\n                                        \n                                            \n                                                 Venous Thromboembolism\n                                            \n                                        \n                                    </td>\n                                    <td><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.117.1.7.1.279/expansion\">Venous Thromboembolism</a></td>\n                                </tr>\n                            \n                                <tr>\n                                    <td>Condition(<a href=\"http://hl7.org/fhir/us/qicore/STU4.1.1/StructureDefinition-qicore-condition.html\">QICoreCondition</a>)</td>\n                                    <td>\n                                        \n                                            id\n                                        \n                                            id.value\n                                        \n                                            code\n                                        \n                                    </td>\n                                    <td>\n                                        \n                                    </td>\n                                    <td/>\n                                </tr>\n                            \n                                <tr>\n                                    <td>MedicationAdministration(<a href=\"http://hl7.org/fhir/us/qicore/STU4.1.1/StructureDefinition-qicore-medicationadministration.html\">QICoreMedicationAdministration</a>)</td>\n                                    <td>\n                                        \n                                            medication\n                                        \n                                            status\n                                        \n                                            status.value\n                                        \n                                            dosage\n                                        \n                                            dosage.route\n                                        \n                                            effective\n                                        \n                                            id\n                                        \n                                            id.value\n                                        \n                                    </td>\n                                    <td>\n                                        \n                                            \n                                                 Low Dose Unfractionated Heparin for VTE Prophylaxis\n                                            \n                                        \n                                    </td>\n                                    <td><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1045.39/expansion\">Low Dose Unfractionated Heparin for VTE Prophylaxis</a></td>\n                                </tr>\n                            \n                                <tr>\n                                    <td>MedicationAdministration(<a href=\"http://hl7.org/fhir/us/qicore/STU4.1.1/StructureDefinition-qicore-medicationadministration.html\">QICoreMedicationAdministration</a>)</td>\n                                    <td>\n                                        \n                                            medication\n                                        \n                                            status\n                                        \n                                            status.value\n                                        \n                                            dosage\n                                        \n                                            dosage.route\n                                        \n                                            effective\n                                        \n                                            id\n                                        \n                                            id.value\n                                        \n                                    </td>\n                                    <td>\n                                        \n                                            \n                                                 Low Molecular Weight Heparin for VTE Prophylaxis\n                                            \n                                        \n                                    </td>\n                                    <td><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.117.1.7.1.219/expansion\">Low Molecular Weight Heparin for VTE Prophylaxis</a></td>\n                                </tr>\n                            \n                                <tr>\n                                    <td>MedicationAdministration(<a href=\"http://hl7.org/fhir/us/qicore/STU4.1.1/StructureDefinition-qicore-medicationadministration.html\">QICoreMedicationAdministration</a>)</td>\n                                    <td>\n                                        \n                                            medication\n                                        \n                                            status\n                                        \n                                            status.value\n                                        \n                                            dosage\n                                        \n                                            dosage.route\n                                        \n                                            effective\n                                        \n                                            id\n                                        \n                                            id.value\n                                        \n                                    </td>\n                                    <td>\n                                        \n                                            \n                                                 Injectable Factor Xa Inhibitor for VTE Prophylaxis\n                                            \n                                        \n                                    </td>\n                                    <td><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.117.1.7.1.211/expansion\">Injectable Factor Xa Inhibitor for VTE Prophylaxis</a></td>\n                                </tr>\n                            \n                                <tr>\n                                    <td>MedicationAdministration(<a href=\"http://hl7.org/fhir/us/qicore/STU4.1.1/StructureDefinition-qicore-medicationadministration.html\">QICoreMedicationAdministration</a>)</td>\n                                    <td>\n                                        \n                                            medication\n                                        \n                                            status\n                                        \n                                            status.value\n                                        \n                                            dosage\n                                        \n                                            dosage.route\n                                        \n                                            effective\n                                        \n                                            id\n                                        \n                                            id.value\n                                        \n                                    </td>\n                                    <td>\n                                        \n                                            \n                                                 Warfarin\n                                            \n                                        \n                                    </td>\n                                    <td><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.117.1.7.1.232/expansion\">Warfarin</a></td>\n                                </tr>\n                            \n                                <tr>\n                                    <td>MedicationAdministration(<a href=\"http://hl7.org/fhir/us/qicore/STU4.1.1/StructureDefinition-qicore-medicationadministration.html\">QICoreMedicationAdministration</a>)</td>\n                                    <td>\n                                        \n                                            medication\n                                        \n                                            status\n                                        \n                                            status.value\n                                        \n                                            dosage\n                                        \n                                            dosage.route\n                                        \n                                            effective\n                                        \n                                            id\n                                        \n                                            id.value\n                                        \n                                    </td>\n                                    <td>\n                                        \n                                            \n                                                 Rivaroxaban for VTE Prophylaxis\n                                            \n                                        \n                                    </td>\n                                    <td><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1110.50/expansion\">Rivaroxaban and Betrixaban for VTE Prophylaxis</a></td>\n                                </tr>\n                            \n                                <tr>\n                                    <td>MedicationAdministration(<a href=\"http://hl7.org/fhir/us/qicore/STU4.1.1/StructureDefinition-qicore-medicationadministration.html\">QICoreMedicationAdministration</a>)</td>\n                                    <td>\n                                        \n                                            medication\n                                        \n                                            status\n                                        \n                                            status.value\n                                        \n                                            dosage\n                                        \n                                            dosage.route\n                                        \n                                            effective\n                                        \n                                            id\n                                        \n                                            id.value\n                                        \n                                    </td>\n                                    <td>\n                                        \n                                            \n                                                 Oral Factor Xa Inhibitor for VTE Prophylaxis or VTE Treatment\n                                            \n                                        \n                                    </td>\n                                    <td><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.117.1.7.1.134/expansion\">Oral Factor Xa Inhibitor for VTE Prophylaxis or VTE Treatment</a></td>\n                                </tr>\n                            \n                                <tr>\n                                    <td>MedicationAdministration(<a href=\"http://hl7.org/fhir/us/qicore/STU4.1.1/StructureDefinition-qicore-medicationadministration.html\">QICoreMedicationAdministration</a>)</td>\n                                    <td>\n                                        \n                                            medication\n                                        \n                                            status\n                                        \n                                            status.value\n                                        \n                                            dosage\n                                        \n                                            dosage.route\n                                        \n                                            effective\n                                        \n                                            id\n                                        \n                                            id.value\n                                        \n                                    </td>\n                                    <td>\n                                        \n                                            \n                                                 Unfractionated Heparin\n                                            \n                                        \n                                    </td>\n                                    <td><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.117.1.7.1.218/expansion\">Unfractionated Heparin</a></td>\n                                </tr>\n                            \n                                <tr>\n                                    <td>MedicationAdministration(<a href=\"http://hl7.org/fhir/us/qicore/STU4.1.1/StructureDefinition-qicore-medicationadministration.html\">QICoreMedicationAdministration</a>)</td>\n                                    <td>\n                                        \n                                            medication\n                                        \n                                            status\n                                        \n                                            status.value\n                                        \n                                            dosage\n                                        \n                                            dosage.route\n                                        \n                                            effective\n                                        \n                                            id\n                                        \n                                            id.value\n                                        \n                                    </td>\n                                    <td>\n                                        \n                                            \n                                                 Direct Thrombin Inhibitor\n                                            \n                                        \n                                    </td>\n                                    <td><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.117.1.7.1.205/expansion\">Direct Thrombin Inhibitor</a></td>\n                                </tr>\n                            \n                                <tr>\n                                    <td>MedicationAdministration(<a href=\"http://hl7.org/fhir/us/qicore/STU4.1.1/StructureDefinition-qicore-medicationadministration.html\">QICoreMedicationAdministration</a>)</td>\n                                    <td>\n                                        \n                                            medication\n                                        \n                                            status\n                                        \n                                            status.value\n                                        \n                                            dosage\n                                        \n                                            dosage.route\n                                        \n                                            effective\n                                        \n                                            id\n                                        \n                                            id.value\n                                        \n                                    </td>\n                                    <td>\n                                        \n                                            \n                                                 Glycoprotein IIb/IIIa Inhibitors\n                                            \n                                        \n                                    </td>\n                                    <td><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1045.41/expansion\">Glycoprotein IIb/IIIa Inhibitors</a></td>\n                                </tr>\n                            \n                                <tr>\n                                    <td>Procedure(<a href=\"http://hl7.org/fhir/us/qicore/STU4.1.1/StructureDefinition-qicore-procedure.html\">QICoreProcedure</a>)</td>\n                                    <td>\n                                        \n                                            code\n                                        \n                                            status\n                                        \n                                            status.value\n                                        \n                                            performed\n                                        \n                                            id\n                                        \n                                            id.value\n                                        \n                                    </td>\n                                    <td>\n                                        \n                                            \n                                                 Application of Intermittent Pneumatic Compression Devices\n                                            \n                                        \n                                    </td>\n                                    <td><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1110.65/expansion\">http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1110.65</a></td>\n                                </tr>\n                            \n                                <tr>\n                                    <td>Procedure(<a href=\"http://hl7.org/fhir/us/qicore/STU4.1.1/StructureDefinition-qicore-procedure.html\">QICoreProcedure</a>)</td>\n                                    <td>\n                                        \n                                            code\n                                        \n                                            status\n                                        \n                                            status.value\n                                        \n                                            performed\n                                        \n                                            id\n                                        \n                                            id.value\n                                        \n                                    </td>\n                                    <td>\n                                        \n                                            \n                                                 Application of Venous Foot Pumps\n                                            \n                                        \n                                    </td>\n                                    <td><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1110.64/expansion\">http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1110.64</a></td>\n                                </tr>\n                            \n                                <tr>\n                                    <td>Procedure(<a href=\"http://hl7.org/fhir/us/qicore/STU4.1.1/StructureDefinition-qicore-procedure.html\">QICoreProcedure</a>)</td>\n                                    <td>\n                                        \n                                            code\n                                        \n                                            status\n                                        \n                                            status.value\n                                        \n                                            performed\n                                        \n                                            id\n                                        \n                                            id.value\n                                        \n                                    </td>\n                                    <td>\n                                        \n                                            \n                                                 Application of Graduated Compression Stockings\n                                            \n                                        \n                                    </td>\n                                    <td><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1110.66/expansion\">http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1110.66</a></td>\n                                </tr>\n                            \n                                <tr>\n                                    <td>Procedure(<a href=\"http://hl7.org/fhir/us/qicore/STU4.1.1/StructureDefinition-qicore-procedure.html\">QICoreProcedure</a>)</td>\n                                    <td>\n                                        \n                                            code\n                                        \n                                            status\n                                        \n                                            status.value\n                                        \n                                            performed\n                                        \n                                            id\n                                        \n                                            id.value\n                                        \n                                    </td>\n                                    <td>\n                                        \n                                            \n                                                 General Surgery\n                                            \n                                        \n                                    </td>\n                                    <td><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.117.1.7.1.255/expansion\">General Surgery</a></td>\n                                </tr>\n                            \n                                <tr>\n                                    <td>Procedure(<a href=\"http://hl7.org/fhir/us/qicore/STU4.1.1/StructureDefinition-qicore-procedure.html\">QICoreProcedure</a>)</td>\n                                    <td>\n                                        \n                                            code\n                                        \n                                            status\n                                        \n                                            status.value\n                                        \n                                            performed\n                                        \n                                            id\n                                        \n                                            id.value\n                                        \n                                    </td>\n                                    <td>\n                                        \n                                            \n                                                 Gynecological Surgery\n                                            \n                                        \n                                    </td>\n                                    <td><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.117.1.7.1.257/expansion\">Gynecological Surgery</a></td>\n                                </tr>\n                            \n                                <tr>\n                                    <td>Procedure(<a href=\"http://hl7.org/fhir/us/qicore/STU4.1.1/StructureDefinition-qicore-procedure.html\">QICoreProcedure</a>)</td>\n                                    <td>\n                                        \n                                            code\n                                        \n                                            status\n                                        \n                                            status.value\n                                        \n                                            performed\n                                        \n                                            id\n                                        \n                                            id.value\n                                        \n                                    </td>\n                                    <td>\n                                        \n                                            \n                                                 Hip Fracture Surgery\n                                            \n                                        \n                                    </td>\n                                    <td><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.117.1.7.1.258/expansion\">Hip Fracture Surgery</a></td>\n                                </tr>\n                            \n                                <tr>\n                                    <td>Procedure(<a href=\"http://hl7.org/fhir/us/qicore/STU4.1.1/StructureDefinition-qicore-procedure.html\">QICoreProcedure</a>)</td>\n                                    <td>\n                                        \n                                            code\n                                        \n                                            status\n                                        \n                                            status.value\n                                        \n                                            performed\n                                        \n                                            id\n                                        \n                                            id.value\n                                        \n                                    </td>\n                                    <td>\n                                        \n                                            \n                                                 Hip Replacement Surgery\n                                            \n                                        \n                                    </td>\n                                    <td><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.117.1.7.1.259/expansion\">Hip Replacement Surgery</a></td>\n                                </tr>\n                            \n                                <tr>\n                                    <td>Procedure(<a href=\"http://hl7.org/fhir/us/qicore/STU4.1.1/StructureDefinition-qicore-procedure.html\">QICoreProcedure</a>)</td>\n                                    <td>\n                                        \n                                            code\n                                        \n                                            status\n                                        \n                                            status.value\n                                        \n                                            performed\n                                        \n                                            id\n                                        \n                                            id.value\n                                        \n                                    </td>\n                                    <td>\n                                        \n                                            \n                                                 Intracranial Neurosurgery\n                                            \n                                        \n                                    </td>\n                                    <td><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.117.1.7.1.260/expansion\">Intracranial Neurosurgery</a></td>\n                                </tr>\n                            \n                                <tr>\n                                    <td>Procedure(<a href=\"http://hl7.org/fhir/us/qicore/STU4.1.1/StructureDefinition-qicore-procedure.html\">QICoreProcedure</a>)</td>\n                                    <td>\n                                        \n                                            code\n                                        \n                                            status\n                                        \n                                            status.value\n                                        \n                                            performed\n                                        \n                                            id\n                                        \n                                            id.value\n                                        \n                                    </td>\n                                    <td>\n                                        \n                                            \n                                                 Knee Replacement Surgery\n                                            \n                                        \n                                    </td>\n                                    <td><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.117.1.7.1.261/expansion\">Knee Replacement Surgery</a></td>\n                                </tr>\n                            \n                                <tr>\n                                    <td>Procedure(<a href=\"http://hl7.org/fhir/us/qicore/STU4.1.1/StructureDefinition-qicore-procedure.html\">QICoreProcedure</a>)</td>\n                                    <td>\n                                        \n                                            code\n                                        \n                                            status\n                                        \n                                            status.value\n                                        \n                                            performed\n                                        \n                                            id\n                                        \n                                            id.value\n                                        \n                                    </td>\n                                    <td>\n                                        \n                                            \n                                                 Urological Surgery\n                                            \n                                        \n                                    </td>\n                                    <td><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.117.1.7.1.272/expansion\">Urological Surgery</a></td>\n                                </tr>\n                            \n                                <tr>\n                                    <td>Procedure(<a href=\"http://hl7.org/fhir/us/qicore/STU4.1.1/StructureDefinition-qicore-procedure.html\">QICoreProcedure</a>)</td>\n                                    <td>\n                                        \n                                            code\n                                        \n                                            status\n                                        \n                                            status.value\n                                        \n                                            performed\n                                        \n                                            id\n                                        \n                                            id.value\n                                        \n                                    </td>\n                                    <td>\n                                        \n                                            \n                                                 Comfort Measures\n                                            \n                                        \n                                    </td>\n                                    <td><a href=\"https://vsac.nlm.nih.gov/valueset/1.3.6.1.4.1.33895.1.3.0.45/expansion\">Comfort Measures</a></td>\n                                </tr>\n                            \n                                <tr>\n                                    <td>Procedure(<a href=\"http://hl7.org/fhir/us/qicore/STU4.1.1/StructureDefinition-qicore-procedure.html\">QICoreProcedure</a>)</td>\n                                    <td>\n                                        \n                                            code\n                                        \n                                            status\n                                        \n                                            status.value\n                                        \n                                            performed\n                                        \n                                            performed.low\n                                        \n                                            performed.lowClosed\n                                        \n                                            performed.high\n                                        \n                                            performed.highClosed\n                                        \n                                            id\n                                        \n                                            id.value\n                                        \n                                    </td>\n                                    <td>\n                                        \n                                            \n                                                 General or Neuraxial Anesthesia\n                                            \n                                        \n                                    </td>\n                                    <td><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.666.5.1743/expansion\">General or Neuraxial Anesthesia</a></td>\n                                </tr>\n                            \n                                <tr>\n                                    <td>Observation(<a href=\"http://hl7.org/fhir/us/qicore/STU4.1.1/StructureDefinition-qicore-observation.html\">QICoreObservation</a>)</td>\n                                    <td>\n                                        \n                                            code\n                                        \n                                            value\n                                        \n                                            status\n                                        \n                                            status.value\n                                        \n                                            id\n                                        \n                                            id.value\n                                        \n                                            effective\n                                        \n                                    </td>\n                                    <td>\n                                        \n                                    </td>\n                                    <td/>\n                                </tr>\n                            \n                                <tr>\n                                    <td>Observation(<a href=\"http://hl7.org/fhir/us/core/STU3.1.1/StructureDefinition-us-core-observation-lab.html\">US Core Laboratory Result Observation Profile</a>)</td>\n                                    <td>\n                                        \n                                            code\n                                        \n                                            value\n                                        \n                                            status\n                                        \n                                            status.value\n                                        \n                                            id\n                                        \n                                            id.value\n                                        \n                                            issued\n                                        \n                                            issued.value\n                                        \n                                    </td>\n                                    <td>\n                                        \n                                            \n                                                 INR\n                                            \n                                        \n                                    </td>\n                                    <td><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.117.1.7.1.213/expansion\">INR</a></td>\n                                </tr>\n                            \n                                <tr>\n                                    <td>MedicationAdministration(<a href=\"http://hl7.org/fhir/us/qicore/STU4.1.1/StructureDefinition-qicore-mednotadministered.html\">QICoreMedicationAdministrationNotDone</a>)</td>\n                                    <td>\n                                        \n                                            medication\n                                        \n                                            id\n                                        \n                                            id.value\n                                        \n                                            statusReason\n                                        \n                                            extension\n                                        \n                                    </td>\n                                    <td>\n                                        \n                                            \n                                                 Low Dose Unfractionated Heparin for VTE Prophylaxis\n                                            \n                                        \n                                    </td>\n                                    <td><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1045.39/expansion\">Low Dose Unfractionated Heparin for VTE Prophylaxis</a></td>\n                                </tr>\n                            \n                                <tr>\n                                    <td>MedicationAdministration(<a href=\"http://hl7.org/fhir/us/qicore/STU4.1.1/StructureDefinition-qicore-mednotadministered.html\">QICoreMedicationAdministrationNotDone</a>)</td>\n                                    <td>\n                                        \n                                            medication\n                                        \n                                            id\n                                        \n                                            id.value\n                                        \n                                            statusReason\n                                        \n                                            extension\n                                        \n                                    </td>\n                                    <td>\n                                        \n                                            \n                                                 Low Dose Unfractionated Heparin for VTE Prophylaxis\n                                            \n                                        \n                                    </td>\n                                    <td><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1045.39/expansion\">Low Dose Unfractionated Heparin for VTE Prophylaxis</a></td>\n                                </tr>\n                            \n                                <tr>\n                                    <td>MedicationAdministration(<a href=\"http://hl7.org/fhir/us/qicore/STU4.1.1/StructureDefinition-qicore-mednotadministered.html\">QICoreMedicationAdministrationNotDone</a>)</td>\n                                    <td>\n                                        \n                                            medication\n                                        \n                                            id\n                                        \n                                            id.value\n                                        \n                                            statusReason\n                                        \n                                            extension\n                                        \n                                    </td>\n                                    <td>\n                                        \n                                            \n                                                 Low Molecular Weight Heparin for VTE Prophylaxis\n                                            \n                                        \n                                    </td>\n                                    <td><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.117.1.7.1.219/expansion\">Low Molecular Weight Heparin for VTE Prophylaxis</a></td>\n                                </tr>\n                            \n                                <tr>\n                                    <td>MedicationAdministration(<a href=\"http://hl7.org/fhir/us/qicore/STU4.1.1/StructureDefinition-qicore-mednotadministered.html\">QICoreMedicationAdministrationNotDone</a>)</td>\n                                    <td>\n                                        \n                                            medication\n                                        \n                                            id\n                                        \n                                            id.value\n                                        \n                                            statusReason\n                                        \n                                            extension\n                                        \n                                    </td>\n                                    <td>\n                                        \n                                            \n                                                 Low Molecular Weight Heparin for VTE Prophylaxis\n                                            \n                                        \n                                    </td>\n                                    <td><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.117.1.7.1.219/expansion\">Low Molecular Weight Heparin for VTE Prophylaxis</a></td>\n                                </tr>\n                            \n                                <tr>\n                                    <td>MedicationAdministration(<a href=\"http://hl7.org/fhir/us/qicore/STU4.1.1/StructureDefinition-qicore-mednotadministered.html\">QICoreMedicationAdministrationNotDone</a>)</td>\n                                    <td>\n                                        \n                                            medication\n                                        \n                                            id\n                                        \n                                            id.value\n                                        \n                                            statusReason\n                                        \n                                            extension\n                                        \n                                    </td>\n                                    <td>\n                                        \n                                            \n                                                 Injectable Factor Xa Inhibitor for VTE Prophylaxis\n                                            \n                                        \n                                    </td>\n                                    <td><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.117.1.7.1.211/expansion\">Injectable Factor Xa Inhibitor for VTE Prophylaxis</a></td>\n                                </tr>\n                            \n                                <tr>\n                                    <td>MedicationAdministration(<a href=\"http://hl7.org/fhir/us/qicore/STU4.1.1/StructureDefinition-qicore-mednotadministered.html\">QICoreMedicationAdministrationNotDone</a>)</td>\n                                    <td>\n                                        \n                                            medication\n                                        \n                                            id\n                                        \n                                            id.value\n                                        \n                                            statusReason\n                                        \n                                            extension\n                                        \n                                    </td>\n                                    <td>\n                                        \n                                            \n                                                 Injectable Factor Xa Inhibitor for VTE Prophylaxis\n                                            \n                                        \n                                    </td>\n                                    <td><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.117.1.7.1.211/expansion\">Injectable Factor Xa Inhibitor for VTE Prophylaxis</a></td>\n                                </tr>\n                            \n                                <tr>\n                                    <td>MedicationAdministration(<a href=\"http://hl7.org/fhir/us/qicore/STU4.1.1/StructureDefinition-qicore-mednotadministered.html\">QICoreMedicationAdministrationNotDone</a>)</td>\n                                    <td>\n                                        \n                                            medication\n                                        \n                                            id\n                                        \n                                            id.value\n                                        \n                                            statusReason\n                                        \n                                            extension\n                                        \n                                    </td>\n                                    <td>\n                                        \n                                            \n                                                 Warfarin\n                                            \n                                        \n                                    </td>\n                                    <td><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.117.1.7.1.232/expansion\">Warfarin</a></td>\n                                </tr>\n                            \n                                <tr>\n                                    <td>MedicationAdministration(<a href=\"http://hl7.org/fhir/us/qicore/STU4.1.1/StructureDefinition-qicore-mednotadministered.html\">QICoreMedicationAdministrationNotDone</a>)</td>\n                                    <td>\n                                        \n                                            medication\n                                        \n                                            id\n                                        \n                                            id.value\n                                        \n                                            statusReason\n                                        \n                                            extension\n                                        \n                                    </td>\n                                    <td>\n                                        \n                                            \n                                                 Warfarin\n                                            \n                                        \n                                    </td>\n                                    <td><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.117.1.7.1.232/expansion\">Warfarin</a></td>\n                                </tr>\n                            \n                                <tr>\n                                    <td>MedicationAdministration(<a href=\"http://hl7.org/fhir/us/qicore/STU4.1.1/StructureDefinition-qicore-mednotadministered.html\">QICoreMedicationAdministrationNotDone</a>)</td>\n                                    <td>\n                                        \n                                            medication\n                                        \n                                            id\n                                        \n                                            id.value\n                                        \n                                            statusReason\n                                        \n                                            extension\n                                        \n                                    </td>\n                                    <td>\n                                        \n                                            \n                                                 Rivaroxaban for VTE Prophylaxis\n                                            \n                                        \n                                    </td>\n                                    <td><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1110.50/expansion\">Rivaroxaban and Betrixaban for VTE Prophylaxis</a></td>\n                                </tr>\n                            \n                                <tr>\n                                    <td>MedicationAdministration(<a href=\"http://hl7.org/fhir/us/qicore/STU4.1.1/StructureDefinition-qicore-mednotadministered.html\">QICoreMedicationAdministrationNotDone</a>)</td>\n                                    <td>\n                                        \n                                            medication\n                                        \n                                            id\n                                        \n                                            id.value\n                                        \n                                            statusReason\n                                        \n                                            extension\n                                        \n                                    </td>\n                                    <td>\n                                        \n                                            \n                                                 Rivaroxaban for VTE Prophylaxis\n                                            \n                                        \n                                    </td>\n                                    <td><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1110.50/expansion\">Rivaroxaban and Betrixaban for VTE Prophylaxis</a></td>\n                                </tr>\n                            \n                                <tr>\n                                    <td>MedicationRequest(<a href=\"http://hl7.org/fhir/us/qicore/STU4.1.1/StructureDefinition-qicore-mednotrequested.html\">QICoreMedicationNotRequested</a>)</td>\n                                    <td>\n                                        \n                                            medication\n                                        \n                                            intent\n                                        \n                                            intent.value\n                                        \n                                            id\n                                        \n                                            id.value\n                                        \n                                            reasonCode\n                                        \n                                            authoredOn\n                                        \n                                            authoredOn.value\n                                        \n                                    </td>\n                                    <td>\n                                        \n                                            \n                                                 Low Dose Unfractionated Heparin for VTE Prophylaxis\n                                            \n                                        \n                                    </td>\n                                    <td><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1045.39/expansion\">Low Dose Unfractionated Heparin for VTE Prophylaxis</a></td>\n                                </tr>\n                            \n                                <tr>\n                                    <td>MedicationRequest(<a href=\"http://hl7.org/fhir/us/qicore/STU4.1.1/StructureDefinition-qicore-mednotrequested.html\">QICoreMedicationNotRequested</a>)</td>\n                                    <td>\n                                        \n                                            medication\n                                        \n                                            intent\n                                        \n                                            intent.value\n                                        \n                                            id\n                                        \n                                            id.value\n                                        \n                                            reasonCode\n                                        \n                                            authoredOn\n                                        \n                                            authoredOn.value\n                                        \n                                    </td>\n                                    <td>\n                                        \n                                            \n                                                 Low Dose Unfractionated Heparin for VTE Prophylaxis\n                                            \n                                        \n                                    </td>\n                                    <td><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1045.39/expansion\">Low Dose Unfractionated Heparin for VTE Prophylaxis</a></td>\n                                </tr>\n                            \n                                <tr>\n                                    <td>MedicationRequest(<a href=\"http://hl7.org/fhir/us/qicore/STU4.1.1/StructureDefinition-qicore-mednotrequested.html\">QICoreMedicationNotRequested</a>)</td>\n                                    <td>\n                                        \n                                            medication\n                                        \n                                            intent\n                                        \n                                            intent.value\n                                        \n                                            id\n                                        \n                                            id.value\n                                        \n                                            reasonCode\n                                        \n                                            authoredOn\n                                        \n                                            authoredOn.value\n                                        \n                                    </td>\n                                    <td>\n                                        \n                                            \n                                                 Low Molecular Weight Heparin for VTE Prophylaxis\n                                            \n                                        \n                                    </td>\n                                    <td><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.117.1.7.1.219/expansion\">Low Molecular Weight Heparin for VTE Prophylaxis</a></td>\n                                </tr>\n                            \n                                <tr>\n                                    <td>MedicationRequest(<a href=\"http://hl7.org/fhir/us/qicore/STU4.1.1/StructureDefinition-qicore-mednotrequested.html\">QICoreMedicationNotRequested</a>)</td>\n                                    <td>\n                                        \n                                            medication\n                                        \n                                            intent\n                                        \n                                            intent.value\n                                        \n                                            id\n                                        \n                                            id.value\n                                        \n                                            reasonCode\n                                        \n                                            authoredOn\n                                        \n                                            authoredOn.value\n                                        \n                                    </td>\n                                    <td>\n                                        \n                                            \n                                                 Low Molecular Weight Heparin for VTE Prophylaxis\n                                            \n                                        \n                                    </td>\n                                    <td><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.117.1.7.1.219/expansion\">Low Molecular Weight Heparin for VTE Prophylaxis</a></td>\n                                </tr>\n                            \n                                <tr>\n                                    <td>MedicationRequest(<a href=\"http://hl7.org/fhir/us/qicore/STU4.1.1/StructureDefinition-qicore-mednotrequested.html\">QICoreMedicationNotRequested</a>)</td>\n                                    <td>\n                                        \n                                            medication\n                                        \n                                            intent\n                                        \n                                            intent.value\n                                        \n                                            id\n                                        \n                                            id.value\n                                        \n                                            reasonCode\n                                        \n                                            authoredOn\n                                        \n                                            authoredOn.value\n                                        \n                                    </td>\n                                    <td>\n                                        \n                                            \n                                                 Injectable Factor Xa Inhibitor for VTE Prophylaxis\n                                            \n                                        \n                                    </td>\n                                    <td><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.117.1.7.1.211/expansion\">Injectable Factor Xa Inhibitor for VTE Prophylaxis</a></td>\n                                </tr>\n                            \n                                <tr>\n                                    <td>MedicationRequest(<a href=\"http://hl7.org/fhir/us/qicore/STU4.1.1/StructureDefinition-qicore-mednotrequested.html\">QICoreMedicationNotRequested</a>)</td>\n                                    <td>\n                                        \n                                            medication\n                                        \n                                            intent\n                                        \n                                            intent.value\n                                        \n                                            id\n                                        \n                                            id.value\n                                        \n                                            reasonCode\n                                        \n                                            authoredOn\n                                        \n                                            authoredOn.value\n                                        \n                                    </td>\n                                    <td>\n                                        \n                                            \n                                                 Injectable Factor Xa Inhibitor for VTE Prophylaxis\n                                            \n                                        \n                                    </td>\n                                    <td><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.117.1.7.1.211/expansion\">Injectable Factor Xa Inhibitor for VTE Prophylaxis</a></td>\n                                </tr>\n                            \n                                <tr>\n                                    <td>MedicationRequest(<a href=\"http://hl7.org/fhir/us/qicore/STU4.1.1/StructureDefinition-qicore-mednotrequested.html\">QICoreMedicationNotRequested</a>)</td>\n                                    <td>\n                                        \n                                            medication\n                                        \n                                            intent\n                                        \n                                            intent.value\n                                        \n                                            id\n                                        \n                                            id.value\n                                        \n                                            reasonCode\n                                        \n                                            authoredOn\n                                        \n                                            authoredOn.value\n                                        \n                                    </td>\n                                    <td>\n                                        \n                                            \n                                                 Warfarin\n                                            \n                                        \n                                    </td>\n                                    <td><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.117.1.7.1.232/expansion\">Warfarin</a></td>\n                                </tr>\n                            \n                                <tr>\n                                    <td>MedicationRequest(<a href=\"http://hl7.org/fhir/us/qicore/STU4.1.1/StructureDefinition-qicore-mednotrequested.html\">QICoreMedicationNotRequested</a>)</td>\n                                    <td>\n                                        \n                                            medication\n                                        \n                                            intent\n                                        \n                                            intent.value\n                                        \n                                            id\n                                        \n                                            id.value\n                                        \n                                            reasonCode\n                                        \n                                            authoredOn\n                                        \n                                            authoredOn.value\n                                        \n                                    </td>\n                                    <td>\n                                        \n                                            \n                                                 Warfarin\n                                            \n                                        \n                                    </td>\n                                    <td><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.117.1.7.1.232/expansion\">Warfarin</a></td>\n                                </tr>\n                            \n                                <tr>\n                                    <td>MedicationRequest(<a href=\"http://hl7.org/fhir/us/qicore/STU4.1.1/StructureDefinition-qicore-mednotrequested.html\">QICoreMedicationNotRequested</a>)</td>\n                                    <td>\n                                        \n                                            medication\n                                        \n                                            intent\n                                        \n                                            intent.value\n                                        \n                                            id\n                                        \n                                            id.value\n                                        \n                                            reasonCode\n                                        \n                                            authoredOn\n                                        \n                                            authoredOn.value\n                                        \n                                    </td>\n                                    <td>\n                                        \n                                            \n                                                 Rivaroxaban for VTE Prophylaxis\n                                            \n                                        \n                                    </td>\n                                    <td><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1110.50/expansion\">Rivaroxaban and Betrixaban for VTE Prophylaxis</a></td>\n                                </tr>\n                            \n                                <tr>\n                                    <td>MedicationRequest(<a href=\"http://hl7.org/fhir/us/qicore/STU4.1.1/StructureDefinition-qicore-mednotrequested.html\">QICoreMedicationNotRequested</a>)</td>\n                                    <td>\n                                        \n                                            medication\n                                        \n                                            intent\n                                        \n                                            intent.value\n                                        \n                                            id\n                                        \n                                            id.value\n                                        \n                                            reasonCode\n                                        \n                                            authoredOn\n                                        \n                                            authoredOn.value\n                                        \n                                    </td>\n                                    <td>\n                                        \n                                            \n                                                 Rivaroxaban for VTE Prophylaxis\n                                            \n                                        \n                                    </td>\n                                    <td><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1110.50/expansion\">Rivaroxaban and Betrixaban for VTE Prophylaxis</a></td>\n                                </tr>\n                            \n                                <tr>\n                                    <td>ServiceRequest(<a href=\"http://hl7.org/fhir/us/qicore/STU4.1.1/StructureDefinition-qicore-servicenotrequested.html\">QICoreServiceNotRequested</a>)</td>\n                                    <td>\n                                        \n                                            code\n                                        \n                                            intent\n                                        \n                                            intent.value\n                                        \n                                            id\n                                        \n                                            id.value\n                                        \n                                            extension\n                                        \n                                            authoredOn\n                                        \n                                            authoredOn.value\n                                        \n                                    </td>\n                                    <td>\n                                        \n                                            \n                                                 Venous foot pumps\n                                            \n                                        \n                                    </td>\n                                    <td><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.117.1.7.1.230/expansion\">Venous foot pumps (VFP)</a></td>\n                                </tr>\n                            \n                                <tr>\n                                    <td>ServiceRequest(<a href=\"http://hl7.org/fhir/us/qicore/STU4.1.1/StructureDefinition-qicore-servicenotrequested.html\">QICoreServiceNotRequested</a>)</td>\n                                    <td>\n                                        \n                                            code\n                                        \n                                            intent\n                                        \n                                            intent.value\n                                        \n                                            id\n                                        \n                                            id.value\n                                        \n                                            extension\n                                        \n                                            authoredOn\n                                        \n                                            authoredOn.value\n                                        \n                                    </td>\n                                    <td>\n                                        \n                                            \n                                                 Venous foot pumps\n                                            \n                                        \n                                    </td>\n                                    <td><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.117.1.7.1.230/expansion\">Venous foot pumps (VFP)</a></td>\n                                </tr>\n                            \n                                <tr>\n                                    <td>ServiceRequest(<a href=\"http://hl7.org/fhir/us/qicore/STU4.1.1/StructureDefinition-qicore-servicenotrequested.html\">QICoreServiceNotRequested</a>)</td>\n                                    <td>\n                                        \n                                            code\n                                        \n                                            intent\n                                        \n                                            intent.value\n                                        \n                                            id\n                                        \n                                            id.value\n                                        \n                                            extension\n                                        \n                                            authoredOn\n                                        \n                                            authoredOn.value\n                                        \n                                    </td>\n                                    <td>\n                                        \n                                            \n                                                 Intermittent pneumatic compression devices\n                                            \n                                        \n                                    </td>\n                                    <td><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.117.1.7.1.214/expansion\">Intermittent pneumatic compression devices (IPC)</a></td>\n                                </tr>\n                            \n                                <tr>\n                                    <td>ServiceRequest(<a href=\"http://hl7.org/fhir/us/qicore/STU4.1.1/StructureDefinition-qicore-servicenotrequested.html\">QICoreServiceNotRequested</a>)</td>\n                                    <td>\n                                        \n                                            code\n                                        \n                                            intent\n                                        \n                                            intent.value\n                                        \n                                            id\n                                        \n                                            id.value\n                                        \n                                            extension\n                                        \n                                            authoredOn\n                                        \n                                            authoredOn.value\n                                        \n                                    </td>\n                                    <td>\n                                        \n                                            \n                                                 Intermittent pneumatic compression devices\n                                            \n                                        \n                                    </td>\n                                    <td><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.117.1.7.1.214/expansion\">Intermittent pneumatic compression devices (IPC)</a></td>\n                                </tr>\n                            \n                                <tr>\n                                    <td>ServiceRequest(<a href=\"http://hl7.org/fhir/us/qicore/STU4.1.1/StructureDefinition-qicore-servicenotrequested.html\">QICoreServiceNotRequested</a>)</td>\n                                    <td>\n                                        \n                                            code\n                                        \n                                            intent\n                                        \n                                            intent.value\n                                        \n                                            id\n                                        \n                                            id.value\n                                        \n                                            extension\n                                        \n                                            authoredOn\n                                        \n                                            authoredOn.value\n                                        \n                                    </td>\n                                    <td>\n                                        \n                                            \n                                                 Graduated compression stockings\n                                            \n                                        \n                                    </td>\n                                    <td><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.117.1.7.1.256/expansion\">Graduated compression stockings (GCS)</a></td>\n                                </tr>\n                            \n                                <tr>\n                                    <td>ServiceRequest(<a href=\"http://hl7.org/fhir/us/qicore/STU4.1.1/StructureDefinition-qicore-servicenotrequested.html\">QICoreServiceNotRequested</a>)</td>\n                                    <td>\n                                        \n                                            code\n                                        \n                                            intent\n                                        \n                                            intent.value\n                                        \n                                            id\n                                        \n                                            id.value\n                                        \n                                            extension\n                                        \n                                            authoredOn\n                                        \n                                            authoredOn.value\n                                        \n                                    </td>\n                                    <td>\n                                        \n                                            \n                                                 Graduated compression stockings\n                                            \n                                        \n                                    </td>\n                                    <td><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.117.1.7.1.256/expansion\">Graduated compression stockings (GCS)</a></td>\n                                </tr>\n                            \n                                <tr>\n                                    <td>Procedure(<a href=\"http://hl7.org/fhir/us/qicore/STU4.1.1/StructureDefinition-qicore-procedurenotdone.html\">QICoreProcedureNotDone</a>)</td>\n                                    <td>\n                                        \n                                            code\n                                        \n                                            extension\n                                        \n                                            id\n                                        \n                                            id.value\n                                        \n                                            statusReason\n                                        \n                                    </td>\n                                    <td>\n                                        \n                                            \n                                                 Application of Intermittent Pneumatic Compression Devices\n                                            \n                                        \n                                    </td>\n                                    <td><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1110.65/expansion\">http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1110.65</a></td>\n                                </tr>\n                            \n                                <tr>\n                                    <td>Procedure(<a href=\"http://hl7.org/fhir/us/qicore/STU4.1.1/StructureDefinition-qicore-procedurenotdone.html\">QICoreProcedureNotDone</a>)</td>\n                                    <td>\n                                        \n                                            code\n                                        \n                                            extension\n                                        \n                                            id\n                                        \n                                            id.value\n                                        \n                                            statusReason\n                                        \n                                    </td>\n                                    <td>\n                                        \n                                            \n                                                 Application of Intermittent Pneumatic Compression Devices\n                                            \n                                        \n                                    </td>\n                                    <td><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1110.65/expansion\">http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1110.65</a></td>\n                                </tr>\n                            \n                                <tr>\n                                    <td>Procedure(<a href=\"http://hl7.org/fhir/us/qicore/STU4.1.1/StructureDefinition-qicore-procedurenotdone.html\">QICoreProcedureNotDone</a>)</td>\n                                    <td>\n                                        \n                                            code\n                                        \n                                            extension\n                                        \n                                            id\n                                        \n                                            id.value\n                                        \n                                            statusReason\n                                        \n                                    </td>\n                                    <td>\n                                        \n                                            \n                                                 Application of Venous Foot Pumps\n                                            \n                                        \n                                    </td>\n                                    <td><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1110.64/expansion\">http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1110.64</a></td>\n                                </tr>\n                            \n                                <tr>\n                                    <td>Procedure(<a href=\"http://hl7.org/fhir/us/qicore/STU4.1.1/StructureDefinition-qicore-procedurenotdone.html\">QICoreProcedureNotDone</a>)</td>\n                                    <td>\n                                        \n                                            code\n                                        \n                                            extension\n                                        \n                                            id\n                                        \n                                            id.value\n                                        \n                                            statusReason\n                                        \n                                    </td>\n                                    <td>\n                                        \n                                            \n                                                 Application of Venous Foot Pumps\n                                            \n                                        \n                                    </td>\n                                    <td><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1110.64/expansion\">http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1110.64</a></td>\n                                </tr>\n                            \n                                <tr>\n                                    <td>Procedure(<a href=\"http://hl7.org/fhir/us/qicore/STU4.1.1/StructureDefinition-qicore-procedurenotdone.html\">QICoreProcedureNotDone</a>)</td>\n                                    <td>\n                                        \n                                            code\n                                        \n                                            extension\n                                        \n                                            id\n                                        \n                                            id.value\n                                        \n                                            statusReason\n                                        \n                                    </td>\n                                    <td>\n                                        \n                                            \n                                                 Application of Graduated Compression Stockings\n                                            \n                                        \n                                    </td>\n                                    <td><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1110.66/expansion\">http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1110.66</a></td>\n                                </tr>\n                            \n                                <tr>\n                                    <td>Procedure(<a href=\"http://hl7.org/fhir/us/qicore/STU4.1.1/StructureDefinition-qicore-procedurenotdone.html\">QICoreProcedureNotDone</a>)</td>\n                                    <td>\n                                        \n                                            code\n                                        \n                                            extension\n                                        \n                                            id\n                                        \n                                            id.value\n                                        \n                                            statusReason\n                                        \n                                    </td>\n                                    <td>\n                                        \n                                            \n                                                 Application of Graduated Compression Stockings\n                                            \n                                        \n                                    </td>\n                                    <td><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1110.66/expansion\">http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1110.66</a></td>\n                                </tr>\n                            \n                                <tr>\n                                    <td>Coverage(<a href=\"http://hl7.org/fhir/us/qicore/STU4.1.1/StructureDefinition-qicore-coverage.html\">QICoreCoverage</a>)</td>\n                                    <td>\n                                        \n                                            type\n                                        \n                                            period\n                                        \n                                    </td>\n                                    <td>\n                                        \n                                            \n                                                 Payer Type\n                                            \n                                        \n                                    </td>\n                                    <td><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.114222.4.11.3591/expansion\">Payer</a></td>\n                                </tr>\n                            \n                                <tr>\n                                    <td>Location(<a href=\"http://hl7.org/fhir/us/qicore/STU4.1.1/StructureDefinition-qicore-location.html\">QICoreLocation</a>)</td>\n                                    <td>\n                                        \n                                            id\n                                        \n                                            id.value\n                                        \n                                    </td>\n                                    <td>\n                                        \n                                    </td>\n                                    <td/>\n                                </tr>\n                            \n                                <tr>\n                                    <td>ServiceRequest(<a href=\"http://hl7.org/fhir/us/qicore/STU4.1.1/StructureDefinition-qicore-servicerequest.html\">QICoreServiceRequest</a>)</td>\n                                    <td>\n                                        \n                                            code\n                                        \n                                            intent\n                                        \n                                            intent.value\n                                        \n                                            status\n                                        \n                                            status.value\n                                        \n                                            doNotPerform\n                                        \n                                            doNotPerform.value\n                                        \n                                    </td>\n                                    <td>\n                                        \n                                            \n                                                 Comfort Measures\n                                            \n                                        \n                                    </td>\n                                    <td><a href=\"https://vsac.nlm.nih.gov/valueset/1.3.6.1.4.1.33895.1.3.0.45/expansion\">Comfort Measures</a></td>\n                                </tr>\n                            \n                        </table>\n                    </td>\n                </tr>\n\n                \n                    <tr>\n                        <th scope=\"row\"><b>Direct Reference Codes:</b></th>\n                        <td style=\"padding-left: 4px;\">\n                            <table class=\"grid-dict\">\n                                <tr>\n                                    <th><b>display</b></th>\n                                    <th><b>code</b></th>\n                                    <th><b>system</b></th>\n                                </tr>\n                                \n                                    <tr>\n                                        <td>Male</td>\n                                        <td>M</td>\n                                        <td><a href=\"http://hl7.org/fhir/R4/codesystem-administrative-gender.html\">http://hl7.org/fhir/administrative-gender</a></td>\n                                    </tr>\n                                \n                                    <tr>\n                                        <td>Female</td>\n                                        <td>F</td>\n                                        <td><a href=\"http://hl7.org/fhir/R4/codesystem-administrative-gender.html\">http://hl7.org/fhir/administrative-gender</a></td>\n                                    </tr>\n                                \n                                    <tr>\n                                        <td>Active</td>\n                                        <td>active</td>\n                                        <td><a href=\"http://hl7.org/fhir/R4/codesystem-condition-clinical.html\">http://terminology.hl7.org/CodeSystem/condition-clinical</a></td>\n                                    </tr>\n                                \n                                    <tr>\n                                        <td>Recurrence</td>\n                                        <td>recurrence</td>\n                                        <td><a href=\"http://hl7.org/fhir/R4/codesystem-condition-clinical.html\">http://terminology.hl7.org/CodeSystem/condition-clinical</a></td>\n                                    </tr>\n                                \n                                    <tr>\n                                        <td>Relapse</td>\n                                        <td>relapse</td>\n                                        <td><a href=\"http://hl7.org/fhir/R4/codesystem-condition-clinical.html\">http://terminology.hl7.org/CodeSystem/condition-clinical</a></td>\n                                    </tr>\n                                \n                                    <tr>\n                                        <td>Confirmed</td>\n                                        <td>confirmed</td>\n                                        <td><a href=\"http://hl7.org/fhir/R4/codesystem-condition-ver-status.html\">http://terminology.hl7.org/CodeSystem/condition-ver-status</a></td>\n                                    </tr>\n                                \n                                    <tr>\n                                        <td>Inactive</td>\n                                        <td>inactive</td>\n                                        <td><a href=\"http://hl7.org/fhir/R4/codesystem-condition-clinical.html\">http://terminology.hl7.org/CodeSystem/condition-clinical</a></td>\n                                    </tr>\n                                \n                                    <tr>\n                                        <td>Remission</td>\n                                        <td>remission</td>\n                                        <td><a href=\"http://hl7.org/fhir/R4/codesystem-condition-clinical.html\">http://terminology.hl7.org/CodeSystem/condition-clinical</a></td>\n                                    </tr>\n                                \n                                    <tr>\n                                        <td>Resolved</td>\n                                        <td>resolved</td>\n                                        <td><a href=\"http://hl7.org/fhir/R4/codesystem-condition-clinical.html\">http://terminology.hl7.org/CodeSystem/condition-clinical</a></td>\n                                    </tr>\n                                \n                                    <tr>\n                                        <td>Risk for venous thromboembolism</td>\n                                        <td>72136-5</td>\n                                        <td><a href=\"http://terminology.hl7.org/5.5.0/CodeSystem-v3-loinc.html\">http://loinc.org</a></td>\n                                    </tr>\n                                \n                                    <tr>\n                                        <td>Billing</td>\n                                        <td>billing</td>\n                                        <td><a href=\"http://hl7.org/fhir/R4/codesystem-diagnosis-role.html\">http://terminology.hl7.org/CodeSystem/diagnosis-role</a></td>\n                                    </tr>\n                                \n                            </table>\n                        </td>\n                    </tr>\n                \n\n                \n                <tr>\n                    <th scope=\"row\"><b>Logic Definitions:</b></th>\n                    <td style=\"padding-left: 4px;\">\n                        \n                        <table class=\"grid-dict\">\n                            <tr>\n                                <th><b>Group</b></th>\n                                <th><b>Scoring</b></th>\n                                <th><b>Population Criteria</b></th>\n                                <th><b>Expression</b></th>\n                            </tr>\n                            <tr>\n                                \n                                <td> 64f8bc45da013638e7b3d874 </td>\n                                <td colspan=\"3\" style=\"padding-left: 4px;\">\n                                    \n                                        <b>Group scoring:</b>\n                                        \n                                            <span>  proportion </span>\n                                        \n                                    \n\n                                    \n\n                                    \n                                        <b>Measure scoring:</b>\n                                        \n                                            <p style=\"margin-bottom: 5px;\">\n                                                <span>Proportion</span>\n                                            </p>\n                                        \n                                    \n\n                                    \n\n                                    \n                                        <tr>\n                                        \n                                            <th scope=\"row\"><b>Type: </b></th>\n                                            <td style=\"padding-left: 4px;\">\n                                                \n                                                    \n                                                        <p style=\"margin-bottom: 5px;\">\n                                                            <span>Process </span>\n                                                        </p>\n                                                    \n                                                \n                                                \n                                            </td>\n                                        \n                                        </tr>\n                                    \n\n                                    \n\n                                    \n                                    <tr>\n                                        <th scope=\"row\"><b>Rate Aggregation: </b></th>\n                                        <td colspan=\"3\" style=\"padding-left: 4px;\">None</td>\n                                    </tr>\n                                    \n\n                                    \n                                        <tr>\n                                            <th scope=\"row\"><b>Improvement Notation: </b></th>\n                                            <td style=\"padding-left: 4px;\">\n                                            \n                                                \n                                                    \n                                                        <p style=\"margin-bottom: 5px;\">\n                                                            <span>increase </span>\n                                                        </p>\n                                                    \n                                                \n                                                \n                                            \n                                            </td>\n                                        </tr>\n                                    \n\n                                    \n\n                                </td>\n                                \n                                <tr>\n                                    <td/>\n                                    <td/>\n                                    <td>Initial Population</td>\n                                    <td>\n                                        \n                                            <pre><code class=\"language-cql\">define &quot;Initial Population&quot;:\n  VTE.&quot;Encounter with Age Range and without VTE Diagnosis or Obstetrical Conditions&quot;</code></pre>\n                                        \n                                    </td>\n                                </tr>\n                                \n                                <tr>\n                                    <td/>\n                                    <td/>\n                                    <td>Denominator</td>\n                                    <td>\n                                        \n                                            <pre><code class=\"language-cql\">define &quot;Denominator&quot;:\n  &quot;Initial Population&quot;</code></pre>\n                                        \n                                    </td>\n                                </tr>\n                                \n                                <tr>\n                                    <td/>\n                                    <td/>\n                                    <td>Denominator Exclusion</td>\n                                    <td>\n                                        \n                                            <pre><code class=\"language-cql\">define &quot;Denominator Exclusions&quot;:\n  &quot;Encounter Less Than 2 Days&quot;\n    union &quot;Encounter with ICU Location Stay 1 Day or More&quot;\n    union &quot;Encounter with Principal Diagnosis of Mental Disorder or Stroke&quot;\n    union &quot;Encounter with Principal Procedure of SCIP VTE Selected Surgery&quot;\n    union &quot;Encounter with Intervention Comfort Measures From Day of Start of Hospitalization To Day After Admission&quot;\n    union &quot;Encounter with Intervention Comfort Measures on Day of or Day After Procedure&quot;</code></pre>\n                                        \n                                    </td>\n                                </tr>\n                                \n                                <tr>\n                                    <td/>\n                                    <td/>\n                                    <td>Numerator</td>\n                                    <td>\n                                        \n                                            <pre><code class=\"language-cql\">define &quot;Numerator&quot;:\n  &quot;Encounter with VTE Prophylaxis Received From Day of Start of Hospitalization To Day After Admission or Procedure&quot;\n    union ( &quot;Encounter with Medication Oral Factor Xa Inhibitor Administered on Day of or Day After Admission or Procedure&quot;\n        intersect ( &quot;Encounter with Prior or Present Diagnosis of Atrial Fibrillation or Prior Diagnosis of VTE&quot;\n            union &quot;Encounter with Prior or Present Procedure of Hip or Knee Replacement Surgery&quot;\n        )\n    )\n    union &quot;Encounter with Low Risk for VTE or Anticoagulant Administered&quot;\n    union &quot;Encounter with No VTE Prophylaxis Due to Medical Reason&quot;\n    union &quot;Encounter with No VTE Prophylaxis Due to Patient Refusal&quot;</code></pre>\n                                        \n                                    </td>\n                                </tr>\n                                \n                                \n                            \n                            </tr>\n                        </table>\n                \n\n                <table class=\"grid-dict\">\n                    \n                        <tr>\n                            <th><b>Library Name</b></th>\n                            <th><b>Name</b></th>\n                        </tr>\n                        <tr>\n                            \n                                <td>SupplementalDataElements</td>\n                            \n                            \n                                <td>SDE Sex</td>\n                            \n                        </tr>\n                        <tr>\n                            \n                                <td/>\n                                <td>\n                                    <pre class=\"highlight language-cql\"><code class=\"language-cql\">define &quot;SDE Sex&quot;:\n  case\n    when Patient.gender = 'male' then &quot;M&quot;\n    when Patient.gender = 'female' then &quot;F&quot;\n    else null\n  end</code></pre>\n                                </td>\n                            \n                        </tr>\n                    \n                        <tr>\n                            <th><b>Library Name</b></th>\n                            <th><b>Name</b></th>\n                        </tr>\n                        <tr>\n                            \n                                <td>VenousThromboembolismProphylaxisFHIR</td>\n                            \n                            \n                                <td>SDE Sex</td>\n                            \n                        </tr>\n                        <tr>\n                            \n                                <td/>\n                                <td>\n                                    <pre class=\"highlight language-cql\"><code class=\"language-cql\">define &quot;SDE Sex&quot;:\n  SDE.&quot;SDE Sex&quot;</code></pre>\n                                </td>\n                            \n                        </tr>\n                    \n                        <tr>\n                            <th><b>Library Name</b></th>\n                            <th><b>Name</b></th>\n                        </tr>\n                        <tr>\n                            \n                                <td>CQMCommon</td>\n                            \n                            \n                                <td>Inpatient Encounter</td>\n                            \n                        </tr>\n                        <tr>\n                            \n                                <td/>\n                                <td>\n                                    <pre class=\"highlight language-cql\"><code class=\"language-cql\">define &quot;Inpatient Encounter&quot;:\n  [Encounter: &quot;Encounter Inpatient&quot;] EncounterInpatient\n\t\twhere EncounterInpatient.status = 'finished'\n\t\tand EncounterInpatient.period ends during day of &quot;Measurement Period&quot;</code></pre>\n                                </td>\n                            \n                        </tr>\n                    \n                        <tr>\n                            <th><b>Library Name</b></th>\n                            <th><b>Name</b></th>\n                        </tr>\n                        <tr>\n                            \n                                <td>VTE</td>\n                            \n                            \n                                <td>Admission without VTE or Obstetrical Conditions</td>\n                            \n                        </tr>\n                        <tr>\n                            \n                                <td/>\n                                <td>\n                                    <pre class=\"highlight language-cql\"><code class=\"language-cql\">define &quot;Admission without VTE or Obstetrical Conditions&quot;:\n  CQMCommon.&quot;Inpatient Encounter&quot; InpatientEncounter\n   where not (exists (InpatientEncounter.encounterDiagnosis()) EncDx\n                 where (EncDx.code in &quot;Obstetrical or Pregnancy Related Conditions&quot; \n                      or EncDx.code in &quot;Venous Thromboembolism&quot;\n          \t\t\t\tor EncDx.code in &quot;Obstetrics VTE&quot;\n          \t\t\t         )\n                     )</code></pre>\n                                </td>\n                            \n                        </tr>\n                    \n                        <tr>\n                            <th><b>Library Name</b></th>\n                            <th><b>Name</b></th>\n                        </tr>\n                        <tr>\n                            \n                                <td>VTE</td>\n                            \n                            \n                                <td>Encounter with Age Range and without VTE Diagnosis or Obstetrical Conditions</td>\n                            \n                        </tr>\n                        <tr>\n                            \n                                <td/>\n                                <td>\n                                    <pre class=\"highlight language-cql\"><code class=\"language-cql\">define &quot;Encounter with Age Range and without VTE Diagnosis or Obstetrical Conditions&quot;:\n ( CQMCommon.&quot;Inpatient Encounter&quot; InpatientEncounter\n     where AgeInYearsAt(date from start of InpatientEncounter.period) &gt;= 18 )\n    intersect &quot;Admission without VTE or Obstetrical Conditions&quot;</code></pre>\n                                </td>\n                            \n                        </tr>\n                    \n                        <tr>\n                            <th><b>Library Name</b></th>\n                            <th><b>Name</b></th>\n                        </tr>\n                        <tr>\n                            \n                                <td>VenousThromboembolismProphylaxisFHIR</td>\n                            \n                            \n                                <td>Pharmacological or Mechanical VTE Prophylaxis Received</td>\n                            \n                        </tr>\n                        <tr>\n                            \n                                <td/>\n                                <td>\n                                    <pre class=\"highlight language-cql\"><code class=\"language-cql\">define &quot;Pharmacological or Mechanical VTE Prophylaxis Received&quot;:\n  ( [&quot;MedicationAdministration&quot;: &quot;Low Dose Unfractionated Heparin for VTE Prophylaxis&quot;] VTEMedication\n      where VTEMedication.status = 'completed'\n        and VTEMedication.dosage.route in &quot;Subcutaneous route&quot;\n  )\n    union ( [&quot;MedicationAdministration&quot;: &quot;Low Molecular Weight Heparin for VTE Prophylaxis&quot;] LMWH\n        where LMWH.status = 'completed'\n    )\n    union ( [&quot;MedicationAdministration&quot;: &quot;Injectable Factor Xa Inhibitor for VTE Prophylaxis&quot;] FactorXa\n        where FactorXa.status = 'completed'\n    )\n    union ( [&quot;MedicationAdministration&quot;: &quot;Warfarin&quot;] Warfarin\n        where Warfarin.status = 'completed'\n    )\n    union ( [&quot;MedicationAdministration&quot;: &quot;Rivaroxaban for VTE Prophylaxis&quot;] Rivaroxaban\n        where Rivaroxaban.status = 'completed'\n    )\n    union ( ( [&quot;Procedure&quot;: &quot;Application of Intermittent Pneumatic Compression Devices&quot;]\n        union [&quot;Procedure&quot;: &quot;Application of Venous Foot Pumps&quot;]\n        union [&quot;Procedure&quot;: &quot;Application of Graduated Compression Stockings&quot;] ) DeviceApplied\n        where DeviceApplied.status = 'completed'\n    )</code></pre>\n                                </td>\n                            \n                        </tr>\n                    \n                        <tr>\n                            <th><b>Library Name</b></th>\n                            <th><b>Name</b></th>\n                        </tr>\n                        <tr>\n                            \n                                <td>VenousThromboembolismProphylaxisFHIR</td>\n                            \n                            \n                                <td>Encounter with VTE Prophylaxis Received From Day of Start of Hospitalization To Day After Admission or Procedure</td>\n                            \n                        </tr>\n                        <tr>\n                            \n                                <td/>\n                                <td>\n                                    <pre class=\"highlight language-cql\"><code class=\"language-cql\">define &quot;Encounter with VTE Prophylaxis Received From Day of Start of Hospitalization To Day After Admission or Procedure&quot;:\n  ( from\n      VTE.&quot;Encounter with Age Range and without VTE Diagnosis or Obstetrical Conditions&quot; QualifyingEncounter,\n      &quot;Pharmacological or Mechanical VTE Prophylaxis Received&quot; VTEProphylaxis\n      where Coalesce(VTEProphylaxis.effective.toInterval(), VTEProphylaxis.performed.toInterval()) starts during day of QualifyingEncounter.FromDayOfStartOfHospitalizationToDayAfterAdmission ( )\n      return QualifyingEncounter\n  )\n    union ( from\n        VTE.&quot;Encounter with Age Range and without VTE Diagnosis or Obstetrical Conditions&quot; QualifyingEncounter,\n        [&quot;Procedure&quot;: &quot;General or Neuraxial Anesthesia&quot;] AnesthesiaProcedure,\n        &quot;Pharmacological or Mechanical VTE Prophylaxis Received&quot; VTEProphylaxis\n        where AnesthesiaProcedure.status = 'completed'\n          and AnesthesiaProcedure.performed.toInterval ( ) ends 1 day after day of start of QualifyingEncounter.period\n          and Coalesce(VTEProphylaxis.effective.toInterval(), VTEProphylaxis.performed.toInterval()) starts during day of ( end of AnesthesiaProcedure.performed.toInterval ( ) ).CalendarDayOfOrDayAfter ( )\n        return QualifyingEncounter\n    )</code></pre>\n                                </td>\n                            \n                        </tr>\n                    \n                        <tr>\n                            <th><b>Library Name</b></th>\n                            <th><b>Name</b></th>\n                        </tr>\n                        <tr>\n                            \n                                <td>VenousThromboembolismProphylaxisFHIR</td>\n                            \n                            \n                                <td>Encounter with Medication Oral Factor Xa Inhibitor Administered on Day of or Day After Admission or Procedure</td>\n                            \n                        </tr>\n                        <tr>\n                            \n                                <td/>\n                                <td>\n                                    <pre class=\"highlight language-cql\"><code class=\"language-cql\">define &quot;Encounter with Medication Oral Factor Xa Inhibitor Administered on Day of or Day After Admission or Procedure&quot;:\n  ( from\n      VTE.&quot;Encounter with Age Range and without VTE Diagnosis or Obstetrical Conditions&quot; QualifyingEncounter,\n      [&quot;MedicationAdministration&quot;: &quot;Oral Factor Xa Inhibitor for VTE Prophylaxis or VTE Treatment&quot;] FactorXaMedication\n      where FactorXaMedication.status = 'completed'\n        and FactorXaMedication.effective.toInterval ( ) starts during day of ( start of QualifyingEncounter.period ).CalendarDayOfOrDayAfter ( )\n      return QualifyingEncounter\n  )\n    union ( from\n        VTE.&quot;Encounter with Age Range and without VTE Diagnosis or Obstetrical Conditions&quot; QualifyingEncounter,\n        [&quot;Procedure&quot;: &quot;General or Neuraxial Anesthesia&quot;] AnesthesiaProcedure,\n        [&quot;MedicationAdministration&quot;: &quot;Oral Factor Xa Inhibitor for VTE Prophylaxis or VTE Treatment&quot;] FactorXaMedication\n        where FactorXaMedication.status = 'completed'\n          and AnesthesiaProcedure.status = 'completed'\n          and AnesthesiaProcedure.performed.toInterval ( ) ends 1 day after day of start of QualifyingEncounter.period\n          and FactorXaMedication.effective.toInterval ( ) starts during day of ( end of AnesthesiaProcedure.performed.toInterval ( ) ).CalendarDayOfOrDayAfter ( )\n        return QualifyingEncounter\n    )</code></pre>\n                                </td>\n                            \n                        </tr>\n                    \n                        <tr>\n                            <th><b>Library Name</b></th>\n                            <th><b>Name</b></th>\n                        </tr>\n                        <tr>\n                            \n                                <td>VenousThromboembolismProphylaxisFHIR</td>\n                            \n                            \n                                <td>Encounter with Prior or Present Diagnosis of Atrial Fibrillation or Prior Diagnosis of VTE</td>\n                            \n                        </tr>\n                        <tr>\n                            \n                                <td/>\n                                <td>\n                                    <pre class=\"highlight language-cql\"><code class=\"language-cql\">define &quot;Encounter with Prior or Present Diagnosis of Atrial Fibrillation or Prior Diagnosis of VTE&quot;:\n  ( VTE.&quot;Encounter with Age Range and without VTE Diagnosis or Obstetrical Conditions&quot; QualifyingEncounter\n      with [&quot;Condition&quot;: &quot;Atrial Fibrillation or Flutter&quot;] AtrialFibrillation\n        such that AtrialFibrillation.isActive ( )\n          and AtrialFibrillation.verificationStatus is not null\n          and AtrialFibrillation.verificationStatus ~ QICoreCommon.&quot;confirmed&quot;\n          and AtrialFibrillation.onset.toInterval ( ) starts on or before end of QualifyingEncounter.period\n  )\n    union ( VTE.&quot;Encounter with Age Range and without VTE Diagnosis or Obstetrical Conditions&quot; QualifyingEncounter\n        where QualifyingEncounter.encounterDiagnosis ( ).code in &quot;Atrial Fibrillation or Flutter&quot;\n    )\n    union ( VTE.&quot;Encounter with Age Range and without VTE Diagnosis or Obstetrical Conditions&quot; QualifyingEncounter\n        with [&quot;Condition&quot;: &quot;Venous Thromboembolism&quot;] VTEDiagnosis\n          such that ( VTEDiagnosis.clinicalStatus ~ QICoreCommon.&quot;inactive&quot;\n              or VTEDiagnosis.clinicalStatus ~ QICoreCommon.&quot;remission&quot;\n              or VTEDiagnosis.clinicalStatus ~ QICoreCommon.&quot;resolved&quot;\n          )\n            and VTEDiagnosis.verificationStatus is not null\n            and VTEDiagnosis.verificationStatus ~ QICoreCommon.&quot;confirmed&quot;\n            and VTEDiagnosis.onset.toInterval ( ) before start of QualifyingEncounter.period\n    )</code></pre>\n                                </td>\n                            \n                        </tr>\n                    \n                        <tr>\n                            <th><b>Library Name</b></th>\n                            <th><b>Name</b></th>\n                        </tr>\n                        <tr>\n                            \n                                <td>VenousThromboembolismProphylaxisFHIR</td>\n                            \n                            \n                                <td>Encounter with Prior or Present Procedure of Hip or Knee Replacement Surgery</td>\n                            \n                        </tr>\n                        <tr>\n                            \n                                <td/>\n                                <td>\n                                    <pre class=\"highlight language-cql\"><code class=\"language-cql\">define &quot;Encounter with Prior or Present Procedure of Hip or Knee Replacement Surgery&quot;:\n  VTE.&quot;Encounter with Age Range and without VTE Diagnosis or Obstetrical Conditions&quot; QualifyingEncounter\n    with ( [&quot;Procedure&quot;: &quot;Hip Replacement Surgery&quot;]\n      union [&quot;Procedure&quot;: &quot;Knee Replacement Surgery&quot;] ) HipKneeProcedure\n      such that HipKneeProcedure.status = 'completed'\n        and HipKneeProcedure.performed.toInterval ( ) starts on or before end of QualifyingEncounter.period</code></pre>\n                                </td>\n                            \n                        </tr>\n                    \n                        <tr>\n                            <th><b>Library Name</b></th>\n                            <th><b>Name</b></th>\n                        </tr>\n                        <tr>\n                            \n                                <td>VenousThromboembolismProphylaxisFHIR</td>\n                            \n                            \n                                <td>Low Risk Indicator For VTE</td>\n                            \n                        </tr>\n                        <tr>\n                            \n                                <td/>\n                                <td>\n                                    <pre class=\"highlight language-cql\"><code class=\"language-cql\">define &quot;Low Risk Indicator For VTE&quot;:\n  ( [&quot;Observation&quot;: &quot;Risk for venous thromboembolism&quot;] VTERiskAssessment\n      where VTERiskAssessment.value as Concept in &quot;Low Risk&quot;\n        and VTERiskAssessment.status in { 'final', 'amended', 'corrected' }\n      return {\n        id: VTERiskAssessment.id,\n        LowRiskDatetime: VTERiskAssessment.effective.earliest ( )\n      }\n  )\n    union ( [&quot;US Core Laboratory Result Observation Profile&quot;: &quot;INR&quot;] INRLabTest\n        where INRLabTest.value as Quantity &gt; 3.0\n          and INRLabTest.status in { 'final', 'amended', 'corrected' }\n        return {\n          id: INRLabTest.id,\n          LowRiskDatetime: INRLabTest.issued\n        }\n    )\n    union ( ( ( [&quot;MedicationAdministration&quot;: &quot;Unfractionated Heparin&quot;] UnfractionatedHeparin\n          where UnfractionatedHeparin.dosage.route in &quot;Intravenous route&quot;\n      )\n        union [&quot;MedicationAdministration&quot;: &quot;Direct Thrombin Inhibitor&quot;]\n        union [&quot;MedicationAdministration&quot;: &quot;Glycoprotein IIb/IIIa Inhibitors&quot;] ) AnticoagulantMedication\n        where AnticoagulantMedication.status = 'completed'\n        return {\n          id: AnticoagulantMedication.id,\n          LowRiskDatetime: start of AnticoagulantMedication.effective.toInterval ( )\n        }\n    )</code></pre>\n                                </td>\n                            \n                        </tr>\n                    \n                        <tr>\n                            <th><b>Library Name</b></th>\n                            <th><b>Name</b></th>\n                        </tr>\n                        <tr>\n                            \n                                <td>VenousThromboembolismProphylaxisFHIR</td>\n                            \n                            \n                                <td>Low Risk for VTE or Anticoagulant Administered From Day of Start of Hospitalization To Day After Admission</td>\n                            \n                        </tr>\n                        <tr>\n                            \n                                <td/>\n                                <td>\n                                    <pre class=\"highlight language-cql\"><code class=\"language-cql\">define &quot;Low Risk for VTE or Anticoagulant Administered From Day of Start of Hospitalization To Day After Admission&quot;:\n  VTE.&quot;Encounter with Age Range and without VTE Diagnosis or Obstetrical Conditions&quot; QualifyingEncounter\n    with &quot;Low Risk Indicator For VTE&quot; LowRiskForVTE\n      such that LowRiskForVTE.LowRiskDatetime during day of QualifyingEncounter.FromDayOfStartOfHospitalizationToDayAfterAdmission ( )</code></pre>\n                                </td>\n                            \n                        </tr>\n                    \n                        <tr>\n                            <th><b>Library Name</b></th>\n                            <th><b>Name</b></th>\n                        </tr>\n                        <tr>\n                            \n                                <td>VenousThromboembolismProphylaxisFHIR</td>\n                            \n                            \n                                <td>Low Risk for VTE or Anticoagulant Administered on Day of or Day After Procedure</td>\n                            \n                        </tr>\n                        <tr>\n                            \n                                <td/>\n                                <td>\n                                    <pre class=\"highlight language-cql\"><code class=\"language-cql\">define &quot;Low Risk for VTE or Anticoagulant Administered on Day of or Day After Procedure&quot;:\n  from\n    VTE.&quot;Encounter with Age Range and without VTE Diagnosis or Obstetrical Conditions&quot; QualifyingEncounter,\n    [&quot;Procedure&quot;: &quot;General or Neuraxial Anesthesia&quot;] AnesthesiaProcedure,\n    &quot;Low Risk Indicator For VTE&quot; LowRiskForVTE\n    where AnesthesiaProcedure.status = 'completed'\n      and AnesthesiaProcedure.performed.toInterval ( ) ends 1 day after day of start of QualifyingEncounter.period\n      and LowRiskForVTE.LowRiskDatetime during day of ( end of AnesthesiaProcedure.performed.toInterval ( ) ).CalendarDayOfOrDayAfter ( )\n    return QualifyingEncounter</code></pre>\n                                </td>\n                            \n                        </tr>\n                    \n                        <tr>\n                            <th><b>Library Name</b></th>\n                            <th><b>Name</b></th>\n                        </tr>\n                        <tr>\n                            \n                                <td>VenousThromboembolismProphylaxisFHIR</td>\n                            \n                            \n                                <td>Encounter with Low Risk for VTE or Anticoagulant Administered</td>\n                            \n                        </tr>\n                        <tr>\n                            \n                                <td/>\n                                <td>\n                                    <pre class=\"highlight language-cql\"><code class=\"language-cql\">define &quot;Encounter with Low Risk for VTE or Anticoagulant Administered&quot;:\n  &quot;Low Risk for VTE or Anticoagulant Administered From Day of Start of Hospitalization To Day After Admission&quot;\n    union &quot;Low Risk for VTE or Anticoagulant Administered on Day of or Day After Procedure&quot;</code></pre>\n                                </td>\n                            \n                        </tr>\n                    \n                        <tr>\n                            <th><b>Library Name</b></th>\n                            <th><b>Name</b></th>\n                        </tr>\n                        <tr>\n                            \n                                <td>VenousThromboembolismProphylaxisFHIR</td>\n                            \n                            \n                                <td>No VTE Prophylaxis Medication Administered or Ordered</td>\n                            \n                        </tr>\n                        <tr>\n                            \n                                <td/>\n                                <td>\n                                    <pre class=\"highlight language-cql\"><code class=\"language-cql\">define &quot;No VTE Prophylaxis Medication Administered or Ordered&quot;:\n  ( ( [MedicationAdministrationNotDone: &quot;Low Dose Unfractionated Heparin for VTE Prophylaxis&quot;]\n      union [MedicationAdministrationNotDone: &quot;Low Molecular Weight Heparin for VTE Prophylaxis&quot;]\n      union [MedicationAdministrationNotDone: &quot;Injectable Factor Xa Inhibitor for VTE Prophylaxis&quot;]\n      union [MedicationAdministrationNotDone: &quot;Warfarin&quot;]\n      union [MedicationAdministrationNotDone: &quot;Rivaroxaban for VTE Prophylaxis&quot;] ) NoMedicationAdm\n      return {\n        id: NoMedicationAdm.id,\n        MedicationStatusReason: NoMedicationAdm.statusReason,\n        authoredOn: NoMedicationAdm.recorded\n      }\n  )\n    union ( ( [&quot;MedicationNotRequested&quot;: &quot;Low Dose Unfractionated Heparin for VTE Prophylaxis&quot;]\n        union [&quot;MedicationNotRequested&quot;: &quot;Low Molecular Weight Heparin for VTE Prophylaxis&quot;]\n        union [&quot;MedicationNotRequested&quot;: &quot;Injectable Factor Xa Inhibitor for VTE Prophylaxis&quot;]\n        union [&quot;MedicationNotRequested&quot;: &quot;Warfarin&quot;]\n        union [&quot;MedicationNotRequested&quot;: &quot;Rivaroxaban for VTE Prophylaxis&quot;] ) NoMedicationOrder\n        where NoMedicationOrder.intent in { 'order', 'original-order', 'reflex-order', 'filler-order', 'instance-order' }\n        return {\n          id: NoMedicationOrder.id,\n          MedicationStatusReason: NoMedicationOrder.reasonCode,\n          authoredOn: NoMedicationOrder.authoredOn\n        }\n    )</code></pre>\n                                </td>\n                            \n                        </tr>\n                    \n                        <tr>\n                            <th><b>Library Name</b></th>\n                            <th><b>Name</b></th>\n                        </tr>\n                        <tr>\n                            \n                                <td>VenousThromboembolismProphylaxisFHIR</td>\n                            \n                            \n                                <td>No VTE Prophylaxis Medication Due to Medical Reason From Day of Start of Hospitalization To Day After Admission</td>\n                            \n                        </tr>\n                        <tr>\n                            \n                                <td/>\n                                <td>\n                                    <pre class=\"highlight language-cql\"><code class=\"language-cql\">define &quot;No VTE Prophylaxis Medication Due to Medical Reason From Day of Start of Hospitalization To Day After Admission&quot;:\n  VTE.&quot;Encounter with Age Range and without VTE Diagnosis or Obstetrical Conditions&quot; QualifyingEncounter\n    with &quot;No VTE Prophylaxis Medication Administered or Ordered&quot; NoVTEMedication\n      such that NoVTEMedication.MedicationStatusReason in &quot;Medical Reason For Not Providing Treatment&quot;\n        and NoVTEMedication.authoredOn during day of QualifyingEncounter.FromDayOfStartOfHospitalizationToDayAfterAdmission ( )</code></pre>\n                                </td>\n                            \n                        </tr>\n                    \n                        <tr>\n                            <th><b>Library Name</b></th>\n                            <th><b>Name</b></th>\n                        </tr>\n                        <tr>\n                            \n                                <td>VenousThromboembolismProphylaxisFHIR</td>\n                            \n                            \n                                <td>No Mechanical VTE Prophylaxis Performed or Ordered</td>\n                            \n                        </tr>\n                        <tr>\n                            \n                                <td/>\n                                <td>\n                                    <pre class=\"highlight language-cql\"><code class=\"language-cql\">define &quot;No Mechanical VTE Prophylaxis Performed or Ordered&quot;:\n  ( ( [ServiceNotRequested: &quot;Venous foot pumps&quot;]\n      union [ServiceNotRequested: &quot;Intermittent pneumatic compression devices&quot;]\n      union [ServiceNotRequested: &quot;Graduated compression stockings&quot;] ) DeviceNotOrder\n      where DeviceNotOrder.intent in { 'order', 'original-order', 'reflex-order', 'filler-order', 'instance-order' }\n      return {\n        id: DeviceNotOrder.id,\n        requestStatusReason: DeviceNotOrder.reasonRefused,\n        authoredOn: DeviceNotOrder.authoredOn\n      }\n  )\n    union ( ( [ProcedureNotDone: &quot;Application of Intermittent Pneumatic Compression Devices&quot;]\n        union [ProcedureNotDone: &quot;Application of Venous Foot Pumps&quot;]\n        union [ProcedureNotDone: &quot;Application of Graduated Compression Stockings&quot;] ) DeviceNotApplied\n        let DeviceNotDoneTiming: DeviceNotApplied.recorded\n        return {\n          id: DeviceNotApplied.id,\n          requestStatusReason: DeviceNotApplied.statusReason,\n          authoredOn: DeviceNotDoneTiming\n        }\n    )</code></pre>\n                                </td>\n                            \n                        </tr>\n                    \n                        <tr>\n                            <th><b>Library Name</b></th>\n                            <th><b>Name</b></th>\n                        </tr>\n                        <tr>\n                            \n                                <td>VenousThromboembolismProphylaxisFHIR</td>\n                            \n                            \n                                <td>No Mechanical VTE Prophylaxis Due to Medical Reason From Day of Start of Hospitalization To Day After Admission</td>\n                            \n                        </tr>\n                        <tr>\n                            \n                                <td/>\n                                <td>\n                                    <pre class=\"highlight language-cql\"><code class=\"language-cql\">define &quot;No Mechanical VTE Prophylaxis Due to Medical Reason From Day of Start of Hospitalization To Day After Admission&quot;:\n  VTE.&quot;Encounter with Age Range and without VTE Diagnosis or Obstetrical Conditions&quot; QualifyingEncounter\n    with &quot;No Mechanical VTE Prophylaxis Performed or Ordered&quot; NoVTEDevice\n      such that NoVTEDevice.requestStatusReason in &quot;Medical Reason For Not Providing Treatment&quot;\n        and NoVTEDevice.authoredOn during day of QualifyingEncounter.FromDayOfStartOfHospitalizationToDayAfterAdmission ( )</code></pre>\n                                </td>\n                            \n                        </tr>\n                    \n                        <tr>\n                            <th><b>Library Name</b></th>\n                            <th><b>Name</b></th>\n                        </tr>\n                        <tr>\n                            \n                                <td>VenousThromboembolismProphylaxisFHIR</td>\n                            \n                            \n                                <td>No VTE Prophylaxis Medication Due to Medical Reason on Day of or Day After Procedure</td>\n                            \n                        </tr>\n                        <tr>\n                            \n                                <td/>\n                                <td>\n                                    <pre class=\"highlight language-cql\"><code class=\"language-cql\">define &quot;No VTE Prophylaxis Medication Due to Medical Reason on Day of or Day After Procedure&quot;:\n  from\n    VTE.&quot;Encounter with Age Range and without VTE Diagnosis or Obstetrical Conditions&quot; QualifyingEncounter,\n    [&quot;Procedure&quot;: &quot;General or Neuraxial Anesthesia&quot;] AnesthesiaProcedure,\n    &quot;No VTE Prophylaxis Medication Administered or Ordered&quot; NoVTEMedication\n    where NoVTEMedication.MedicationStatusReason in &quot;Medical Reason For Not Providing Treatment&quot;\n      and AnesthesiaProcedure.status = 'completed'\n      and AnesthesiaProcedure.performed.toInterval ( ) ends 1 day after day of start of QualifyingEncounter.period\n      and NoVTEMedication.authoredOn during day of ( end of AnesthesiaProcedure.performed.toInterval ( ) ).CalendarDayOfOrDayAfter ( )\n    return QualifyingEncounter</code></pre>\n                                </td>\n                            \n                        </tr>\n                    \n                        <tr>\n                            <th><b>Library Name</b></th>\n                            <th><b>Name</b></th>\n                        </tr>\n                        <tr>\n                            \n                                <td>VenousThromboembolismProphylaxisFHIR</td>\n                            \n                            \n                                <td>No Mechanical VTE Prophylaxis Due to Medical Reason on Day of or Day After Procedure</td>\n                            \n                        </tr>\n                        <tr>\n                            \n                                <td/>\n                                <td>\n                                    <pre class=\"highlight language-cql\"><code class=\"language-cql\">define &quot;No Mechanical VTE Prophylaxis Due to Medical Reason on Day of or Day After Procedure&quot;:\n  from\n    VTE.&quot;Encounter with Age Range and without VTE Diagnosis or Obstetrical Conditions&quot; QualifyingEncounter,\n    [&quot;Procedure&quot;: &quot;General or Neuraxial Anesthesia&quot;] AnesthesiaProcedure,\n    &quot;No Mechanical VTE Prophylaxis Performed or Ordered&quot; NoVTEDevice\n    where NoVTEDevice.requestStatusReason in &quot;Medical Reason For Not Providing Treatment&quot;\n      and AnesthesiaProcedure.status = 'completed'\n      and AnesthesiaProcedure.performed.toInterval ( ) ends 1 day after day of start of QualifyingEncounter.period\n      and NoVTEDevice.authoredOn during day of ( end of AnesthesiaProcedure.performed.toInterval ( ) ).CalendarDayOfOrDayAfter ( )\n    return QualifyingEncounter</code></pre>\n                                </td>\n                            \n                        </tr>\n                    \n                        <tr>\n                            <th><b>Library Name</b></th>\n                            <th><b>Name</b></th>\n                        </tr>\n                        <tr>\n                            \n                                <td>VenousThromboembolismProphylaxisFHIR</td>\n                            \n                            \n                                <td>Encounter with No VTE Prophylaxis Due to Medical Reason</td>\n                            \n                        </tr>\n                        <tr>\n                            \n                                <td/>\n                                <td>\n                                    <pre class=\"highlight language-cql\"><code class=\"language-cql\">define &quot;Encounter with No VTE Prophylaxis Due to Medical Reason&quot;:\n  ( &quot;No VTE Prophylaxis Medication Due to Medical Reason From Day of Start of Hospitalization To Day After Admission&quot;\n      intersect &quot;No Mechanical VTE Prophylaxis Due to Medical Reason From Day of Start of Hospitalization To Day After Admission&quot;\n  )\n    union ( &quot;No VTE Prophylaxis Medication Due to Medical Reason on Day of or Day After Procedure&quot;\n        intersect &quot;No Mechanical VTE Prophylaxis Due to Medical Reason on Day of or Day After Procedure&quot;\n    )</code></pre>\n                                </td>\n                            \n                        </tr>\n                    \n                        <tr>\n                            <th><b>Library Name</b></th>\n                            <th><b>Name</b></th>\n                        </tr>\n                        <tr>\n                            \n                                <td>VenousThromboembolismProphylaxisFHIR</td>\n                            \n                            \n                                <td>No Mechanical or Pharmacological VTE Prophylaxis Due to Patient Refusal</td>\n                            \n                        </tr>\n                        <tr>\n                            \n                                <td/>\n                                <td>\n                                    <pre class=\"highlight language-cql\"><code class=\"language-cql\">define &quot;No Mechanical or Pharmacological VTE Prophylaxis Due to Patient Refusal&quot;:\n  ( &quot;No VTE Prophylaxis Medication Administered or Ordered&quot; NoVTEMedication\n      where NoVTEMedication.MedicationStatusReason in &quot;Patient Refusal&quot;\n  )\n    union ( &quot;No Mechanical VTE Prophylaxis Performed or Ordered&quot; NoVTEDevice\n        where NoVTEDevice.requestStatusReason in &quot;Patient Refusal&quot;\n    )</code></pre>\n                                </td>\n                            \n                        </tr>\n                    \n                        <tr>\n                            <th><b>Library Name</b></th>\n                            <th><b>Name</b></th>\n                        </tr>\n                        <tr>\n                            \n                                <td>VenousThromboembolismProphylaxisFHIR</td>\n                            \n                            \n                                <td>No VTE Prophylaxis Due to Patient Refusal From Day of Start of Hospitalization To Day After Admission</td>\n                            \n                        </tr>\n                        <tr>\n                            \n                                <td/>\n                                <td>\n                                    <pre class=\"highlight language-cql\"><code class=\"language-cql\">define &quot;No VTE Prophylaxis Due to Patient Refusal From Day of Start of Hospitalization To Day After Admission&quot;:\n  VTE.&quot;Encounter with Age Range and without VTE Diagnosis or Obstetrical Conditions&quot; QualifyingEncounter\n    with &quot;No Mechanical or Pharmacological VTE Prophylaxis Due to Patient Refusal&quot; PatientRefusal\n      such that PatientRefusal.authoredOn during day of QualifyingEncounter.FromDayOfStartOfHospitalizationToDayAfterAdmission ( )</code></pre>\n                                </td>\n                            \n                        </tr>\n                    \n                        <tr>\n                            <th><b>Library Name</b></th>\n                            <th><b>Name</b></th>\n                        </tr>\n                        <tr>\n                            \n                                <td>VenousThromboembolismProphylaxisFHIR</td>\n                            \n                            \n                                <td>No VTE Prophylaxis Due to Patient Refusal on Day of or Day After Procedure</td>\n                            \n                        </tr>\n                        <tr>\n                            \n                                <td/>\n                                <td>\n                                    <pre class=\"highlight language-cql\"><code class=\"language-cql\">define &quot;No VTE Prophylaxis Due to Patient Refusal on Day of or Day After Procedure&quot;:\n  from\n    VTE.&quot;Encounter with Age Range and without VTE Diagnosis or Obstetrical Conditions&quot; QualifyingEncounter,\n    [&quot;Procedure&quot;: &quot;General or Neuraxial Anesthesia&quot;] AnesthesiaProcedure,\n    &quot;No Mechanical or Pharmacological VTE Prophylaxis Due to Patient Refusal&quot; PatientRefusal\n    where AnesthesiaProcedure.status = 'completed'\n      and QICoreCommon.&quot;ToInterval&quot; ( AnesthesiaProcedure.performed ) ends 1 day after day of start of QualifyingEncounter.period\n      and PatientRefusal.authoredOn during day of ( end of AnesthesiaProcedure.performed.toInterval ( ) ).CalendarDayOfOrDayAfter ( )\n    return QualifyingEncounter</code></pre>\n                                </td>\n                            \n                        </tr>\n                    \n                        <tr>\n                            <th><b>Library Name</b></th>\n                            <th><b>Name</b></th>\n                        </tr>\n                        <tr>\n                            \n                                <td>VenousThromboembolismProphylaxisFHIR</td>\n                            \n                            \n                                <td>Encounter with No VTE Prophylaxis Due to Patient Refusal</td>\n                            \n                        </tr>\n                        <tr>\n                            \n                                <td/>\n                                <td>\n                                    <pre class=\"highlight language-cql\"><code class=\"language-cql\">define &quot;Encounter with No VTE Prophylaxis Due to Patient Refusal&quot;:\n  &quot;No VTE Prophylaxis Due to Patient Refusal From Day of Start of Hospitalization To Day After Admission&quot;\n    union &quot;No VTE Prophylaxis Due to Patient Refusal on Day of or Day After Procedure&quot;</code></pre>\n                                </td>\n                            \n                        </tr>\n                    \n                        <tr>\n                            <th><b>Library Name</b></th>\n                            <th><b>Name</b></th>\n                        </tr>\n                        <tr>\n                            \n                                <td>VenousThromboembolismProphylaxisFHIR</td>\n                            \n                            \n                                <td>Numerator</td>\n                            \n                        </tr>\n                        <tr>\n                            \n                                <td/>\n                                <td>\n                                    <pre class=\"highlight language-cql\"><code class=\"language-cql\">define &quot;Numerator&quot;:\n  &quot;Encounter with VTE Prophylaxis Received From Day of Start of Hospitalization To Day After Admission or Procedure&quot;\n    union ( &quot;Encounter with Medication Oral Factor Xa Inhibitor Administered on Day of or Day After Admission or Procedure&quot;\n        intersect ( &quot;Encounter with Prior or Present Diagnosis of Atrial Fibrillation or Prior Diagnosis of VTE&quot;\n            union &quot;Encounter with Prior or Present Procedure of Hip or Knee Replacement Surgery&quot;\n        )\n    )\n    union &quot;Encounter with Low Risk for VTE or Anticoagulant Administered&quot;\n    union &quot;Encounter with No VTE Prophylaxis Due to Medical Reason&quot;\n    union &quot;Encounter with No VTE Prophylaxis Due to Patient Refusal&quot;</code></pre>\n                                </td>\n                            \n                        </tr>\n                    \n                        <tr>\n                            <th><b>Library Name</b></th>\n                            <th><b>Name</b></th>\n                        </tr>\n                        <tr>\n                            \n                                <td>VenousThromboembolismProphylaxisFHIR</td>\n                            \n                            \n                                <td>Initial Population</td>\n                            \n                        </tr>\n                        <tr>\n                            \n                                <td/>\n                                <td>\n                                    <pre class=\"highlight language-cql\"><code class=\"language-cql\">define &quot;Initial Population&quot;:\n  VTE.&quot;Encounter with Age Range and without VTE Diagnosis or Obstetrical Conditions&quot;</code></pre>\n                                </td>\n                            \n                        </tr>\n                    \n                        <tr>\n                            <th><b>Library Name</b></th>\n                            <th><b>Name</b></th>\n                        </tr>\n                        <tr>\n                            \n                                <td>VenousThromboembolismProphylaxisFHIR</td>\n                            \n                            \n                                <td>Denominator</td>\n                            \n                        </tr>\n                        <tr>\n                            \n                                <td/>\n                                <td>\n                                    <pre class=\"highlight language-cql\"><code class=\"language-cql\">define &quot;Denominator&quot;:\n  &quot;Initial Population&quot;</code></pre>\n                                </td>\n                            \n                        </tr>\n                    \n                        <tr>\n                            <th><b>Library Name</b></th>\n                            <th><b>Name</b></th>\n                        </tr>\n                        <tr>\n                            \n                                <td>SupplementalDataElements</td>\n                            \n                            \n                                <td>SDE Payer</td>\n                            \n                        </tr>\n                        <tr>\n                            \n                                <td/>\n                                <td>\n                                    <pre class=\"highlight language-cql\"><code class=\"language-cql\">define &quot;SDE Payer&quot;:\n  [Coverage: type in &quot;Payer Type&quot;] Payer\n    return {\n      code: Payer.type,\n      period: Payer.period\n    }</code></pre>\n                                </td>\n                            \n                        </tr>\n                    \n                        <tr>\n                            <th><b>Library Name</b></th>\n                            <th><b>Name</b></th>\n                        </tr>\n                        <tr>\n                            \n                                <td>VenousThromboembolismProphylaxisFHIR</td>\n                            \n                            \n                                <td>SDE Payer</td>\n                            \n                        </tr>\n                        <tr>\n                            \n                                <td/>\n                                <td>\n                                    <pre class=\"highlight language-cql\"><code class=\"language-cql\">define &quot;SDE Payer&quot;:\n  SDE.&quot;SDE Payer&quot;</code></pre>\n                                </td>\n                            \n                        </tr>\n                    \n                        <tr>\n                            <th><b>Library Name</b></th>\n                            <th><b>Name</b></th>\n                        </tr>\n                        <tr>\n                            \n                                <td>SupplementalDataElements</td>\n                            \n                            \n                                <td>SDE Ethnicity</td>\n                            \n                        </tr>\n                        <tr>\n                            \n                                <td/>\n                                <td>\n                                    <pre class=\"highlight language-cql\"><code class=\"language-cql\">define &quot;SDE Ethnicity&quot;:\n  Patient.ethnicity E\n    return Tuple {\n      codes: { E.ombCategory } union E.detailed,\n      display: E.text\n    }</code></pre>\n                                </td>\n                            \n                        </tr>\n                    \n                        <tr>\n                            <th><b>Library Name</b></th>\n                            <th><b>Name</b></th>\n                        </tr>\n                        <tr>\n                            \n                                <td>VenousThromboembolismProphylaxisFHIR</td>\n                            \n                            \n                                <td>SDE Ethnicity</td>\n                            \n                        </tr>\n                        <tr>\n                            \n                                <td/>\n                                <td>\n                                    <pre class=\"highlight language-cql\"><code class=\"language-cql\">define &quot;SDE Ethnicity&quot;:\n  SDE.&quot;SDE Ethnicity&quot;</code></pre>\n                                </td>\n                            \n                        </tr>\n                    \n                        <tr>\n                            <th><b>Library Name</b></th>\n                            <th><b>Name</b></th>\n                        </tr>\n                        <tr>\n                            \n                                <td>VenousThromboembolismProphylaxisFHIR</td>\n                            \n                            \n                                <td>Encounter Less Than 2 Days</td>\n                            \n                        </tr>\n                        <tr>\n                            \n                                <td/>\n                                <td>\n                                    <pre class=\"highlight language-cql\"><code class=\"language-cql\">define &quot;Encounter Less Than 2 Days&quot;:\n  VTE.&quot;Encounter with Age Range and without VTE Diagnosis or Obstetrical Conditions&quot; QualifyingEncounter\n    where QualifyingEncounter.period.lengthInDays ( ) &lt; 2</code></pre>\n                                </td>\n                            \n                        </tr>\n                    \n                        <tr>\n                            <th><b>Library Name</b></th>\n                            <th><b>Name</b></th>\n                        </tr>\n                        <tr>\n                            \n                                <td>VenousThromboembolismProphylaxisFHIR</td>\n                            \n                            \n                                <td>Encounter with ICU Location Stay 1 Day or More</td>\n                            \n                        </tr>\n                        <tr>\n                            \n                                <td/>\n                                <td>\n                                    <pre class=\"highlight language-cql\"><code class=\"language-cql\">define &quot;Encounter with ICU Location Stay 1 Day or More&quot;:\n  VTE.&quot;Encounter with Age Range and without VTE Diagnosis or Obstetrical Conditions&quot; QualifyingEncounter\n    where exists ( QualifyingEncounter.location Location\n        where Location.location.getLocation ( ).type in &quot;Intensive Care Unit&quot;\n          and Location.period.lengthInDays ( ) &gt;= 1\n          and Location.period starts on or after start of QualifyingEncounter.period\n          and date from ( start of Location.period ) during ( start of QualifyingEncounter.period ).CalendarDayOfOrDayAfter ( )\n    )</code></pre>\n                                </td>\n                            \n                        </tr>\n                    \n                        <tr>\n                            <th><b>Library Name</b></th>\n                            <th><b>Name</b></th>\n                        </tr>\n                        <tr>\n                            \n                                <td>VenousThromboembolismProphylaxisFHIR</td>\n                            \n                            \n                                <td>Encounter with Principal Diagnosis of Mental Disorder or Stroke</td>\n                            \n                        </tr>\n                        <tr>\n                            \n                                <td/>\n                                <td>\n                                    <pre class=\"highlight language-cql\"><code class=\"language-cql\">define &quot;Encounter with Principal Diagnosis of Mental Disorder or Stroke&quot;:\n  VTE.&quot;Encounter with Age Range and without VTE Diagnosis or Obstetrical Conditions&quot; QualifyingEncounter\n    where QualifyingEncounter.principalDiagnosis ( ).code in &quot;Mental Health Diagnoses&quot;\n      or QualifyingEncounter.principalDiagnosis ( ).code in &quot;Hemorrhagic Stroke&quot;\n      or QualifyingEncounter.principalDiagnosis ( ).code in &quot;Ischemic Stroke&quot;</code></pre>\n                                </td>\n                            \n                        </tr>\n                    \n                        <tr>\n                            <th><b>Library Name</b></th>\n                            <th><b>Name</b></th>\n                        </tr>\n                        <tr>\n                            \n                                <td>VenousThromboembolismProphylaxisFHIR</td>\n                            \n                            \n                                <td>SCIP VTE Selected Surgery</td>\n                            \n                        </tr>\n                        <tr>\n                            \n                                <td/>\n                                <td>\n                                    <pre class=\"highlight language-cql\"><code class=\"language-cql\">define &quot;SCIP VTE Selected Surgery&quot;:\n  ( [&quot;Procedure&quot;: &quot;General Surgery&quot;]\n    union [&quot;Procedure&quot;: &quot;Gynecological Surgery&quot;]\n    union [&quot;Procedure&quot;: &quot;Hip Fracture Surgery&quot;]\n    union [&quot;Procedure&quot;: &quot;Hip Replacement Surgery&quot;]\n    union [&quot;Procedure&quot;: &quot;Intracranial Neurosurgery&quot;]\n    union [&quot;Procedure&quot;: &quot;Knee Replacement Surgery&quot;]\n    union [&quot;Procedure&quot;: &quot;Urological Surgery&quot;] ) Procedure\n    where Procedure.status = 'completed'</code></pre>\n                                </td>\n                            \n                        </tr>\n                    \n                        <tr>\n                            <th><b>Library Name</b></th>\n                            <th><b>Name</b></th>\n                        </tr>\n                        <tr>\n                            \n                                <td>VenousThromboembolismProphylaxisFHIR</td>\n                            \n                            \n                                <td>Encounter with Principal Procedure of SCIP VTE Selected Surgery</td>\n                            \n                        </tr>\n                        <tr>\n                            \n                                <td/>\n                                <td>\n                                    <pre class=\"highlight language-cql\"><code class=\"language-cql\">define &quot;Encounter with Principal Procedure of SCIP VTE Selected Surgery&quot;:\n  from\n    VTE.&quot;Encounter with Age Range and without VTE Diagnosis or Obstetrical Conditions&quot; QualifyingEncounter,\n    &quot;SCIP VTE Selected Surgery&quot; SelectedProcedure\n    let EncounterProcedure: singleton from ( QualifyingEncounter.procedure P\n        where P.rank = 1\n    )\n    where EncounterProcedure.procedure.reference.getId ( ) = SelectedProcedure.id\n      and end of SelectedProcedure.performed.toInterval ( ) during QualifyingEncounter.period\n    return QualifyingEncounter</code></pre>\n                                </td>\n                            \n                        </tr>\n                    \n                        <tr>\n                            <th><b>Library Name</b></th>\n                            <th><b>Name</b></th>\n                        </tr>\n                        <tr>\n                            \n                                <td>VenousThromboembolismProphylaxisFHIR</td>\n                            \n                            \n                                <td>Intervention Comfort Measures</td>\n                            \n                        </tr>\n                        <tr>\n                            \n                                <td/>\n                                <td>\n                                    <pre class=\"highlight language-cql\"><code class=\"language-cql\">define &quot;Intervention Comfort Measures&quot;:\n  ( [&quot;ServiceRequest&quot;: &quot;Comfort Measures&quot;] InterventionRequest\n      where InterventionRequest.intent in { 'order', 'original-order', 'reflex-order', 'filler-order', 'instance-order' }\n        and InterventionRequest.status in { 'active', 'on-hold', 'completed' }\n        and InterventionRequest.doNotPerform is not true\n  )\n    union ( [&quot;Procedure&quot;: &quot;Comfort Measures&quot;] InterventionPerformed\n        where InterventionPerformed.status in { 'completed', 'in-progress' }\n    )</code></pre>\n                                </td>\n                            \n                        </tr>\n                    \n                        <tr>\n                            <th><b>Library Name</b></th>\n                            <th><b>Name</b></th>\n                        </tr>\n                        <tr>\n                            \n                                <td>VenousThromboembolismProphylaxisFHIR</td>\n                            \n                            \n                                <td>Encounter with Intervention Comfort Measures From Day of Start of Hospitalization To Day After Admission</td>\n                            \n                        </tr>\n                        <tr>\n                            \n                                <td/>\n                                <td>\n                                    <pre class=\"highlight language-cql\"><code class=\"language-cql\">define &quot;Encounter with Intervention Comfort Measures From Day of Start of Hospitalization To Day After Admission&quot;:\n  VTE.&quot;Encounter with Age Range and without VTE Diagnosis or Obstetrical Conditions&quot; QualifyingEncounter\n    with &quot;Intervention Comfort Measures&quot; ComfortMeasure\n      such that Coalesce(start of ComfortMeasure.performed.toInterval(), ComfortMeasure.authoredOn) during day of QualifyingEncounter.FromDayOfStartOfHospitalizationToDayAfterAdmission ( )</code></pre>\n                                </td>\n                            \n                        </tr>\n                    \n                        <tr>\n                            <th><b>Library Name</b></th>\n                            <th><b>Name</b></th>\n                        </tr>\n                        <tr>\n                            \n                                <td>VenousThromboembolismProphylaxisFHIR</td>\n                            \n                            \n                                <td>Encounter with Intervention Comfort Measures on Day of or Day After Procedure</td>\n                            \n                        </tr>\n                        <tr>\n                            \n                                <td/>\n                                <td>\n                                    <pre class=\"highlight language-cql\"><code class=\"language-cql\">define &quot;Encounter with Intervention Comfort Measures on Day of or Day After Procedure&quot;:\n  from\n    VTE.&quot;Encounter with Age Range and without VTE Diagnosis or Obstetrical Conditions&quot; QualifyingEncounter,\n    [&quot;Procedure&quot;: &quot;General or Neuraxial Anesthesia&quot;] AnesthesiaProcedure,\n    &quot;Intervention Comfort Measures&quot; ComfortMeasure\n    where AnesthesiaProcedure.status = 'completed'\n      and AnesthesiaProcedure.performed.toInterval ( ) ends 1 day after day of start of QualifyingEncounter.period\n      and Coalesce(start of ComfortMeasure.performed.toInterval(), ComfortMeasure.authoredOn) during day of ( end of AnesthesiaProcedure.performed.toInterval ( ) ).CalendarDayOfOrDayAfter ( )\n    return QualifyingEncounter</code></pre>\n                                </td>\n                            \n                        </tr>\n                    \n                        <tr>\n                            <th><b>Library Name</b></th>\n                            <th><b>Name</b></th>\n                        </tr>\n                        <tr>\n                            \n                                <td>VenousThromboembolismProphylaxisFHIR</td>\n                            \n                            \n                                <td>Denominator Exclusions</td>\n                            \n                        </tr>\n                        <tr>\n                            \n                                <td/>\n                                <td>\n                                    <pre class=\"highlight language-cql\"><code class=\"language-cql\">define &quot;Denominator Exclusions&quot;:\n  &quot;Encounter Less Than 2 Days&quot;\n    union &quot;Encounter with ICU Location Stay 1 Day or More&quot;\n    union &quot;Encounter with Principal Diagnosis of Mental Disorder or Stroke&quot;\n    union &quot;Encounter with Principal Procedure of SCIP VTE Selected Surgery&quot;\n    union &quot;Encounter with Intervention Comfort Measures From Day of Start of Hospitalization To Day After Admission&quot;\n    union &quot;Encounter with Intervention Comfort Measures on Day of or Day After Procedure&quot;</code></pre>\n                                </td>\n                            \n                        </tr>\n                    \n                        <tr>\n                            <th><b>Library Name</b></th>\n                            <th><b>Name</b></th>\n                        </tr>\n                        <tr>\n                            \n                                <td>SupplementalDataElements</td>\n                            \n                            \n                                <td>SDE Race</td>\n                            \n                        </tr>\n                        <tr>\n                            \n                                <td/>\n                                <td>\n                                    <pre class=\"highlight language-cql\"><code class=\"language-cql\">define &quot;SDE Race&quot;:\n  Patient.race R\n    return Tuple {\n      codes: R.ombCategory union R.detailed,\n      display: R.text\n    }</code></pre>\n                                </td>\n                            \n                        </tr>\n                    \n                        <tr>\n                            <th><b>Library Name</b></th>\n                            <th><b>Name</b></th>\n                        </tr>\n                        <tr>\n                            \n                                <td>VenousThromboembolismProphylaxisFHIR</td>\n                            \n                            \n                                <td>SDE Race</td>\n                            \n                        </tr>\n                        <tr>\n                            \n                                <td/>\n                                <td>\n                                    <pre class=\"highlight language-cql\"><code class=\"language-cql\">define &quot;SDE Race&quot;:\n  SDE.&quot;SDE Race&quot;</code></pre>\n                                </td>\n                            \n                        </tr>\n                    \n                        <tr>\n                            <th><b>Library Name</b></th>\n                            <th><b>Name</b></th>\n                        </tr>\n                        <tr>\n                            \n                                <td>CQMCommon</td>\n                            \n                            \n                                <td>encounterDiagnosis</td>\n                            \n                        </tr>\n                        <tr>\n                            \n                                <td/>\n                                <td>\n                                    <pre class=\"highlight language-cql\"><code class=\"language-cql\">/*\n@description: Returns the Condition resources referenced by the diagnosis element of the Encounter\n*/\ndefine fluent function encounterDiagnosis(Encounter Encounter ):\n  Encounter.diagnosis D\n    return singleton from ([Condition] C where C.id = D.condition.reference.getId())</code></pre>\n                                </td>\n                            \n                        </tr>\n                    \n                        <tr>\n                            <th><b>Library Name</b></th>\n                            <th><b>Name</b></th>\n                        </tr>\n                        <tr>\n                            \n                                <td>QICoreCommon</td>\n                            \n                            \n                                <td>getId</td>\n                            \n                        </tr>\n                        <tr>\n                            \n                                <td/>\n                                <td>\n                                    <pre class=\"highlight language-cql\"><code class=\"language-cql\">/*\n@description: Returns the tail of the given uri (i.e. everything after the last slash in the URI).\n@comment: This function can be used to determine the logical id of a given resource. It can be used in\na single-server environment to trace references. However, this function does not attempt to resolve\nor distinguish the base of the given url, and so cannot be used safely in multi-server environments.\n*/\ndefine fluent function getId(uri String):\n  Last(Split(uri, '/'))</code></pre>\n                                </td>\n                            \n                        </tr>\n                    \n                        <tr>\n                            <th><b>Library Name</b></th>\n                            <th><b>Name</b></th>\n                        </tr>\n                        <tr>\n                            \n                                <td>VTE</td>\n                            \n                            \n                                <td>FromDayOfStartOfHospitalizationToDayAfterAdmission</td>\n                            \n                        </tr>\n                        <tr>\n                            \n                                <td/>\n                                <td>\n                                    <pre class=\"highlight language-cql\"><code class=\"language-cql\">define fluent function &quot;FromDayOfStartOfHospitalizationToDayAfterAdmission&quot;(Encounter Encounter ):\n\tInterval[ date from (start of Encounter.hospitalizationWithObservation()), date from (start of Encounter.period) + 1 days]</code></pre>\n                                </td>\n                            \n                        </tr>\n                    \n                        <tr>\n                            <th><b>Library Name</b></th>\n                            <th><b>Name</b></th>\n                        </tr>\n                        <tr>\n                            \n                                <td>CQMCommon</td>\n                            \n                            \n                                <td>hospitalizationWithObservation</td>\n                            \n                        </tr>\n                        <tr>\n                            \n                                <td/>\n                                <td>\n                                    <pre class=\"highlight language-cql\"><code class=\"language-cql\">/*\n@description: Hospitalization with Observation returns the total interval from the start of any immediately prior emergency department visit through the observation visit to the discharge of the given encounter\n*/\ndefine fluent function hospitalizationWithObservation(TheEncounter Encounter ):\n  TheEncounter Visit\n  \t\tlet ObsVisit: Last([Encounter: &quot;Observation Services&quot;] LastObs\n  \t\t\t\twhere LastObs.status = 'finished'\n            and LastObs.period ends 1 hour or less on or before start of Visit.period\n  \t\t\t\tsort by end of period\n  \t\t\t),\n  \t\t\tVisitStart: Coalesce(start of ObsVisit.period, start of Visit.period),\n  \t\t\tEDVisit: Last([Encounter: &quot;Emergency Department Visit&quot;] LastED\n  \t\t\t\twhere LastED.status = 'finished'\n            and LastED.period ends 1 hour or less on or before VisitStart\n  \t\t\t\tsort by end of period\n  \t\t\t)\n  \t\treturn Interval[Coalesce(start of EDVisit.period, VisitStart), end of Visit.period]</code></pre>\n                                </td>\n                            \n                        </tr>\n                    \n                        <tr>\n                            <th><b>Library Name</b></th>\n                            <th><b>Name</b></th>\n                        </tr>\n                        <tr>\n                            \n                                <td>TJCOverall</td>\n                            \n                            \n                                <td>CalendarDayOfOrDayAfter</td>\n                            \n                        </tr>\n                        <tr>\n                            \n                                <td/>\n                                <td>\n                                    <pre class=\"highlight language-cql\"><code class=\"language-cql\">define fluent function CalendarDayOfOrDayAfter(StartValue DateTime):\n  Interval [date from (StartValue), date from (StartValue) + 1 day]</code></pre>\n                                </td>\n                            \n                        </tr>\n                    \n                        <tr>\n                            <th><b>Library Name</b></th>\n                            <th><b>Name</b></th>\n                        </tr>\n                        <tr>\n                            \n                                <td>QICoreCommon</td>\n                            \n                            \n                                <td>isActive</td>\n                            \n                        </tr>\n                        <tr>\n                            \n                                <td/>\n                                <td>\n                                    <pre class=\"highlight language-cql\"><code class=\"language-cql\">/* Candidates for FHIRCommon */\n\n/*\n@description: Returns true if the given condition has a clinical status of active, recurrence, or relapse\n*/\ndefine fluent function isActive(condition Condition):\n  condition.clinicalStatus ~ &quot;active&quot;\n    or condition.clinicalStatus ~ &quot;recurrence&quot;\n    or condition.clinicalStatus ~ &quot;relapse&quot;</code></pre>\n                                </td>\n                            \n                        </tr>\n                    \n                        <tr>\n                            <th><b>Library Name</b></th>\n                            <th><b>Name</b></th>\n                        </tr>\n                        <tr>\n                            \n                                <td>QICoreCommon</td>\n                            \n                            \n                                <td>earliest</td>\n                            \n                        </tr>\n                        <tr>\n                            \n                                <td/>\n                                <td>\n                                    <pre class=\"highlight language-cql\"><code class=\"language-cql\">/*\n@description: Given an interval, return the starting point if the interval has a starting boundary specified,\notherwise, return the ending point\n*/\ndefine fluent function earliest(choice Choice&lt;DateTime, Quantity, Interval&lt;DateTime&gt;, Interval&lt;Quantity&gt;&gt; ):\n  (choice.toInterval()) period\n    return\n      if (period.&quot;hasStart&quot;()) then start of period\n      else end of period</code></pre>\n                                </td>\n                            \n                        </tr>\n                    \n                        <tr>\n                            <th><b>Library Name</b></th>\n                            <th><b>Name</b></th>\n                        </tr>\n                        <tr>\n                            \n                                <td>FHIRHelpers</td>\n                            \n                            \n                                <td>ToConcept</td>\n                            \n                        </tr>\n                        <tr>\n                            \n                                <td/>\n                                <td>\n                                    <pre class=\"highlight language-cql\"><code class=\"language-cql\">/*\n@description: Converts the given FHIR [CodeableConcept](https://hl7.org/fhir/datatypes.html#CodeableConcept) value to a CQL Concept.\n*/\ndefine function ToConcept(concept FHIR.CodeableConcept):\n    if concept is null then\n        null\n    else\n        System.Concept {\n            codes: concept.coding C return ToCode(C),\n            display: concept.text.value\n        }</code></pre>\n                                </td>\n                            \n                        </tr>\n                    \n                        <tr>\n                            <th><b>Library Name</b></th>\n                            <th><b>Name</b></th>\n                        </tr>\n                        <tr>\n                            \n                                <td>FHIRHelpers</td>\n                            \n                            \n                                <td>ToString</td>\n                            \n                        </tr>\n                        <tr>\n                            \n                                <td/>\n                                <td>\n                                    <pre class=\"highlight language-cql\"><code class=\"language-cql\">define function ToString(value uri): value.value</code></pre>\n                                </td>\n                            \n                        </tr>\n                    \n                        <tr>\n                            <th><b>Library Name</b></th>\n                            <th><b>Name</b></th>\n                        </tr>\n                        <tr>\n                            \n                                <td>FHIRHelpers</td>\n                            \n                            \n                                <td>ToCode</td>\n                            \n                        </tr>\n                        <tr>\n                            \n                                <td/>\n                                <td>\n                                    <pre class=\"highlight language-cql\"><code class=\"language-cql\">/*\n@description: Converts the given FHIR [Coding](https://hl7.org/fhir/datatypes.html#Coding) value to a CQL Code.\n*/\ndefine function ToCode(coding FHIR.Coding):\n    if coding is null then\n        null\n    else\n        System.Code {\n          code: coding.code.value,\n          system: coding.system.value,\n          version: coding.version.value,\n          display: coding.display.value\n        }</code></pre>\n                                </td>\n                            \n                        </tr>\n                    \n                        <tr>\n                            <th><b>Library Name</b></th>\n                            <th><b>Name</b></th>\n                        </tr>\n                        <tr>\n                            \n                                <td>CQMCommon</td>\n                            \n                            \n                                <td>lengthInDays</td>\n                            \n                        </tr>\n                        <tr>\n                            \n                                <td/>\n                                <td>\n                                    <pre class=\"highlight language-cql\"><code class=\"language-cql\">/*\n@description: Calculates the difference in calendar days between the start and end of the given interval.\n*/\ndefine fluent function lengthInDays(Value Interval&lt;DateTime&gt; ):\n  difference in days between start of Value and end of Value</code></pre>\n                                </td>\n                            \n                        </tr>\n                    \n                        <tr>\n                            <th><b>Library Name</b></th>\n                            <th><b>Name</b></th>\n                        </tr>\n                        <tr>\n                            \n                                <td>CQMCommon</td>\n                            \n                            \n                                <td>getLocation</td>\n                            \n                        </tr>\n                        <tr>\n                            \n                                <td/>\n                                <td>\n                                    <pre class=\"highlight language-cql\"><code class=\"language-cql\">/*\n@description: Returns the Location resource specified by the given reference.\n*/\ndefine fluent function getLocation(reference Reference ):\n  singleton from (\n    [Location] L where L.id = reference.reference.getId()\n  )</code></pre>\n                                </td>\n                            \n                        </tr>\n                    \n                        <tr>\n                            <th><b>Library Name</b></th>\n                            <th><b>Name</b></th>\n                        </tr>\n                        <tr>\n                            \n                                <td>CQMCommon</td>\n                            \n                            \n                                <td>principalDiagnosis</td>\n                            \n                        </tr>\n                        <tr>\n                            \n                                <td/>\n                                <td>\n                                    <pre class=\"highlight language-cql\"><code class=\"language-cql\">/*\n@description: Returns the condition that is specified as the principal diagnosis for the encounter\n*/\ndefine fluent function principalDiagnosis(Encounter Encounter ):\n\tsingleton from ((Encounter.diagnosis D where D.rank = 1 and D.use ~ &quot;Billing&quot;) PD\n      return singleton from ([Condition] C where C.id = PD.condition.reference.getId())\n\t)</code></pre>\n                                </td>\n                            \n                        </tr>\n                    \n                    </table>\n                </td>\n            </tr>\n            \n        \n    \n\n    </table>\n</div>"
  },
  "contained" : [
    {
      "resourceType" : "Library",
      "id" : "effective-data-requirements",
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-directReferenceCode",
          "valueCoding" : {
            "system" : "http://hl7.org/fhir/administrative-gender",
            "code" : "M",
            "display" : "Male"
          }
        },
        {
          "url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-directReferenceCode",
          "valueCoding" : {
            "system" : "http://hl7.org/fhir/administrative-gender",
            "code" : "F",
            "display" : "Female"
          }
        },
        {
          "url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-directReferenceCode",
          "valueCoding" : {
            "system" : "http://terminology.hl7.org/CodeSystem/condition-clinical",
            "code" : "active",
            "display" : "Active"
          }
        },
        {
          "url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-directReferenceCode",
          "valueCoding" : {
            "system" : "http://terminology.hl7.org/CodeSystem/condition-clinical",
            "code" : "recurrence",
            "display" : "Recurrence"
          }
        },
        {
          "url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-directReferenceCode",
          "valueCoding" : {
            "system" : "http://terminology.hl7.org/CodeSystem/condition-clinical",
            "code" : "relapse",
            "display" : "Relapse"
          }
        },
        {
          "url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-directReferenceCode",
          "valueCoding" : {
            "system" : "http://terminology.hl7.org/CodeSystem/condition-ver-status",
            "code" : "confirmed",
            "display" : "Confirmed"
          }
        },
        {
          "url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-directReferenceCode",
          "valueCoding" : {
            "system" : "http://terminology.hl7.org/CodeSystem/condition-clinical",
            "code" : "inactive",
            "display" : "Inactive"
          }
        },
        {
          "url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-directReferenceCode",
          "valueCoding" : {
            "system" : "http://terminology.hl7.org/CodeSystem/condition-clinical",
            "code" : "remission",
            "display" : "Remission"
          }
        },
        {
          "url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-directReferenceCode",
          "valueCoding" : {
            "system" : "http://terminology.hl7.org/CodeSystem/condition-clinical",
            "code" : "resolved",
            "display" : "Resolved"
          }
        },
        {
          "url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-directReferenceCode",
          "valueCoding" : {
            "system" : "http://loinc.org",
            "code" : "72136-5",
            "display" : "Risk for venous thromboembolism"
          }
        },
        {
          "url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-directReferenceCode",
          "valueCoding" : {
            "system" : "http://terminology.hl7.org/CodeSystem/diagnosis-role",
            "code" : "billing",
            "display" : "Billing"
          }
        },
        {
          "extension" : [
            {
              "url" : "libraryName",
              "valueString" : "SupplementalDataElements"
            },
            {
              "url" : "name",
              "valueString" : "SDE Sex"
            },
            {
              "url" : "statement",
              "valueString" : "define \"SDE Sex\":\n  case\n    when Patient.gender = 'male' then \"M\"\n    when Patient.gender = 'female' then \"F\"\n    else null\n  end"
            },
            {
              "url" : "displaySequence",
              "valueInteger" : 0
            }
          ],
          "url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"
        },
        {
          "extension" : [
            {
              "url" : "libraryName",
              "valueString" : "VenousThromboembolismProphylaxisFHIR"
            },
            {
              "url" : "name",
              "valueString" : "SDE Sex"
            },
            {
              "url" : "statement",
              "valueString" : "define \"SDE Sex\":\n  SDE.\"SDE Sex\""
            },
            {
              "url" : "displaySequence",
              "valueInteger" : 1
            }
          ],
          "url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"
        },
        {
          "extension" : [
            {
              "url" : "libraryName",
              "valueString" : "CQMCommon"
            },
            {
              "url" : "name",
              "valueString" : "Inpatient Encounter"
            },
            {
              "url" : "statement",
              "valueString" : "define \"Inpatient Encounter\":\n  [Encounter: \"Encounter Inpatient\"] EncounterInpatient\n\t\twhere EncounterInpatient.status = 'finished'\n\t\tand EncounterInpatient.period ends during day of \"Measurement Period\""
            },
            {
              "url" : "displaySequence",
              "valueInteger" : 2
            }
          ],
          "url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"
        },
        {
          "extension" : [
            {
              "url" : "libraryName",
              "valueString" : "VTE"
            },
            {
              "url" : "name",
              "valueString" : "Admission without VTE or Obstetrical Conditions"
            },
            {
              "url" : "statement",
              "valueString" : "define \"Admission without VTE or Obstetrical Conditions\":\n  CQMCommon.\"Inpatient Encounter\" InpatientEncounter\n   where not (exists (InpatientEncounter.encounterDiagnosis()) EncDx\n                 where (EncDx.code in \"Obstetrical or Pregnancy Related Conditions\" \n                      or EncDx.code in \"Venous Thromboembolism\"\n          \t\t\t\tor EncDx.code in \"Obstetrics VTE\"\n          \t\t\t         )\n                     )"
            },
            {
              "url" : "displaySequence",
              "valueInteger" : 3
            }
          ],
          "url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"
        },
        {
          "extension" : [
            {
              "url" : "libraryName",
              "valueString" : "VTE"
            },
            {
              "url" : "name",
              "valueString" : "Encounter with Age Range and without VTE Diagnosis or Obstetrical Conditions"
            },
            {
              "url" : "statement",
              "valueString" : "define \"Encounter with Age Range and without VTE Diagnosis or Obstetrical Conditions\":\n ( CQMCommon.\"Inpatient Encounter\" InpatientEncounter\n     where AgeInYearsAt(date from start of InpatientEncounter.period) >= 18 )\n    intersect \"Admission without VTE or Obstetrical Conditions\""
            },
            {
              "url" : "displaySequence",
              "valueInteger" : 4
            }
          ],
          "url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"
        },
        {
          "extension" : [
            {
              "url" : "libraryName",
              "valueString" : "VenousThromboembolismProphylaxisFHIR"
            },
            {
              "url" : "name",
              "valueString" : "Pharmacological or Mechanical VTE Prophylaxis Received"
            },
            {
              "url" : "statement",
              "valueString" : "define \"Pharmacological or Mechanical VTE Prophylaxis Received\":\n  ( [\"MedicationAdministration\": \"Low Dose Unfractionated Heparin for VTE Prophylaxis\"] VTEMedication\n      where VTEMedication.status = 'completed'\n        and VTEMedication.dosage.route in \"Subcutaneous route\"\n  )\n    union ( [\"MedicationAdministration\": \"Low Molecular Weight Heparin for VTE Prophylaxis\"] LMWH\n        where LMWH.status = 'completed'\n    )\n    union ( [\"MedicationAdministration\": \"Injectable Factor Xa Inhibitor for VTE Prophylaxis\"] FactorXa\n        where FactorXa.status = 'completed'\n    )\n    union ( [\"MedicationAdministration\": \"Warfarin\"] Warfarin\n        where Warfarin.status = 'completed'\n    )\n    union ( [\"MedicationAdministration\": \"Rivaroxaban for VTE Prophylaxis\"] Rivaroxaban\n        where Rivaroxaban.status = 'completed'\n    )\n    union ( ( [\"Procedure\": \"Application of Intermittent Pneumatic Compression Devices\"]\n        union [\"Procedure\": \"Application of Venous Foot Pumps\"]\n        union [\"Procedure\": \"Application of Graduated Compression Stockings\"] ) DeviceApplied\n        where DeviceApplied.status = 'completed'\n    )"
            },
            {
              "url" : "displaySequence",
              "valueInteger" : 5
            }
          ],
          "url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"
        },
        {
          "extension" : [
            {
              "url" : "libraryName",
              "valueString" : "VenousThromboembolismProphylaxisFHIR"
            },
            {
              "url" : "name",
              "valueString" : "Encounter with VTE Prophylaxis Received From Day of Start of Hospitalization To Day After Admission or Procedure"
            },
            {
              "url" : "statement",
              "valueString" : "define \"Encounter with VTE Prophylaxis Received From Day of Start of Hospitalization To Day After Admission or Procedure\":\n  ( from\n      VTE.\"Encounter with Age Range and without VTE Diagnosis or Obstetrical Conditions\" QualifyingEncounter,\n      \"Pharmacological or Mechanical VTE Prophylaxis Received\" VTEProphylaxis\n      where Coalesce(VTEProphylaxis.effective.toInterval(), VTEProphylaxis.performed.toInterval()) starts during day of QualifyingEncounter.FromDayOfStartOfHospitalizationToDayAfterAdmission ( )\n      return QualifyingEncounter\n  )\n    union ( from\n        VTE.\"Encounter with Age Range and without VTE Diagnosis or Obstetrical Conditions\" QualifyingEncounter,\n        [\"Procedure\": \"General or Neuraxial Anesthesia\"] AnesthesiaProcedure,\n        \"Pharmacological or Mechanical VTE Prophylaxis Received\" VTEProphylaxis\n        where AnesthesiaProcedure.status = 'completed'\n          and AnesthesiaProcedure.performed.toInterval ( ) ends 1 day after day of start of QualifyingEncounter.period\n          and Coalesce(VTEProphylaxis.effective.toInterval(), VTEProphylaxis.performed.toInterval()) starts during day of ( end of AnesthesiaProcedure.performed.toInterval ( ) ).CalendarDayOfOrDayAfter ( )\n        return QualifyingEncounter\n    )"
            },
            {
              "url" : "displaySequence",
              "valueInteger" : 6
            }
          ],
          "url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"
        },
        {
          "extension" : [
            {
              "url" : "libraryName",
              "valueString" : "VenousThromboembolismProphylaxisFHIR"
            },
            {
              "url" : "name",
              "valueString" : "Encounter with Medication Oral Factor Xa Inhibitor Administered on Day of or Day After Admission or Procedure"
            },
            {
              "url" : "statement",
              "valueString" : "define \"Encounter with Medication Oral Factor Xa Inhibitor Administered on Day of or Day After Admission or Procedure\":\n  ( from\n      VTE.\"Encounter with Age Range and without VTE Diagnosis or Obstetrical Conditions\" QualifyingEncounter,\n      [\"MedicationAdministration\": \"Oral Factor Xa Inhibitor for VTE Prophylaxis or VTE Treatment\"] FactorXaMedication\n      where FactorXaMedication.status = 'completed'\n        and FactorXaMedication.effective.toInterval ( ) starts during day of ( start of QualifyingEncounter.period ).CalendarDayOfOrDayAfter ( )\n      return QualifyingEncounter\n  )\n    union ( from\n        VTE.\"Encounter with Age Range and without VTE Diagnosis or Obstetrical Conditions\" QualifyingEncounter,\n        [\"Procedure\": \"General or Neuraxial Anesthesia\"] AnesthesiaProcedure,\n        [\"MedicationAdministration\": \"Oral Factor Xa Inhibitor for VTE Prophylaxis or VTE Treatment\"] FactorXaMedication\n        where FactorXaMedication.status = 'completed'\n          and AnesthesiaProcedure.status = 'completed'\n          and AnesthesiaProcedure.performed.toInterval ( ) ends 1 day after day of start of QualifyingEncounter.period\n          and FactorXaMedication.effective.toInterval ( ) starts during day of ( end of AnesthesiaProcedure.performed.toInterval ( ) ).CalendarDayOfOrDayAfter ( )\n        return QualifyingEncounter\n    )"
            },
            {
              "url" : "displaySequence",
              "valueInteger" : 7
            }
          ],
          "url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"
        },
        {
          "extension" : [
            {
              "url" : "libraryName",
              "valueString" : "VenousThromboembolismProphylaxisFHIR"
            },
            {
              "url" : "name",
              "valueString" : "Encounter with Prior or Present Diagnosis of Atrial Fibrillation or Prior Diagnosis of VTE"
            },
            {
              "url" : "statement",
              "valueString" : "define \"Encounter with Prior or Present Diagnosis of Atrial Fibrillation or Prior Diagnosis of VTE\":\n  ( VTE.\"Encounter with Age Range and without VTE Diagnosis or Obstetrical Conditions\" QualifyingEncounter\n      with [\"Condition\": \"Atrial Fibrillation or Flutter\"] AtrialFibrillation\n        such that AtrialFibrillation.isActive ( )\n          and AtrialFibrillation.verificationStatus is not null\n          and AtrialFibrillation.verificationStatus ~ QICoreCommon.\"confirmed\"\n          and AtrialFibrillation.onset.toInterval ( ) starts on or before end of QualifyingEncounter.period\n  )\n    union ( VTE.\"Encounter with Age Range and without VTE Diagnosis or Obstetrical Conditions\" QualifyingEncounter\n        where QualifyingEncounter.encounterDiagnosis ( ).code in \"Atrial Fibrillation or Flutter\"\n    )\n    union ( VTE.\"Encounter with Age Range and without VTE Diagnosis or Obstetrical Conditions\" QualifyingEncounter\n        with [\"Condition\": \"Venous Thromboembolism\"] VTEDiagnosis\n          such that ( VTEDiagnosis.clinicalStatus ~ QICoreCommon.\"inactive\"\n              or VTEDiagnosis.clinicalStatus ~ QICoreCommon.\"remission\"\n              or VTEDiagnosis.clinicalStatus ~ QICoreCommon.\"resolved\"\n          )\n            and VTEDiagnosis.verificationStatus is not null\n            and VTEDiagnosis.verificationStatus ~ QICoreCommon.\"confirmed\"\n            and VTEDiagnosis.onset.toInterval ( ) before start of QualifyingEncounter.period\n    )"
            },
            {
              "url" : "displaySequence",
              "valueInteger" : 8
            }
          ],
          "url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"
        },
        {
          "extension" : [
            {
              "url" : "libraryName",
              "valueString" : "VenousThromboembolismProphylaxisFHIR"
            },
            {
              "url" : "name",
              "valueString" : "Encounter with Prior or Present Procedure of Hip or Knee Replacement Surgery"
            },
            {
              "url" : "statement",
              "valueString" : "define \"Encounter with Prior or Present Procedure of Hip or Knee Replacement Surgery\":\n  VTE.\"Encounter with Age Range and without VTE Diagnosis or Obstetrical Conditions\" QualifyingEncounter\n    with ( [\"Procedure\": \"Hip Replacement Surgery\"]\n      union [\"Procedure\": \"Knee Replacement Surgery\"] ) HipKneeProcedure\n      such that HipKneeProcedure.status = 'completed'\n        and HipKneeProcedure.performed.toInterval ( ) starts on or before end of QualifyingEncounter.period"
            },
            {
              "url" : "displaySequence",
              "valueInteger" : 9
            }
          ],
          "url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"
        },
        {
          "extension" : [
            {
              "url" : "libraryName",
              "valueString" : "VenousThromboembolismProphylaxisFHIR"
            },
            {
              "url" : "name",
              "valueString" : "Low Risk Indicator For VTE"
            },
            {
              "url" : "statement",
              "valueString" : "define \"Low Risk Indicator For VTE\":\n  ( [\"Observation\": \"Risk for venous thromboembolism\"] VTERiskAssessment\n      where VTERiskAssessment.value as Concept in \"Low Risk\"\n        and VTERiskAssessment.status in { 'final', 'amended', 'corrected' }\n      return {\n        id: VTERiskAssessment.id,\n        LowRiskDatetime: VTERiskAssessment.effective.earliest ( )\n      }\n  )\n    union ( [\"US Core Laboratory Result Observation Profile\": \"INR\"] INRLabTest\n        where INRLabTest.value as Quantity > 3.0\n          and INRLabTest.status in { 'final', 'amended', 'corrected' }\n        return {\n          id: INRLabTest.id,\n          LowRiskDatetime: INRLabTest.issued\n        }\n    )\n    union ( ( ( [\"MedicationAdministration\": \"Unfractionated Heparin\"] UnfractionatedHeparin\n          where UnfractionatedHeparin.dosage.route in \"Intravenous route\"\n      )\n        union [\"MedicationAdministration\": \"Direct Thrombin Inhibitor\"]\n        union [\"MedicationAdministration\": \"Glycoprotein IIb/IIIa Inhibitors\"] ) AnticoagulantMedication\n        where AnticoagulantMedication.status = 'completed'\n        return {\n          id: AnticoagulantMedication.id,\n          LowRiskDatetime: start of AnticoagulantMedication.effective.toInterval ( )\n        }\n    )"
            },
            {
              "url" : "displaySequence",
              "valueInteger" : 10
            }
          ],
          "url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"
        },
        {
          "extension" : [
            {
              "url" : "libraryName",
              "valueString" : "VenousThromboembolismProphylaxisFHIR"
            },
            {
              "url" : "name",
              "valueString" : "Low Risk for VTE or Anticoagulant Administered From Day of Start of Hospitalization To Day After Admission"
            },
            {
              "url" : "statement",
              "valueString" : "define \"Low Risk for VTE or Anticoagulant Administered From Day of Start of Hospitalization To Day After Admission\":\n  VTE.\"Encounter with Age Range and without VTE Diagnosis or Obstetrical Conditions\" QualifyingEncounter\n    with \"Low Risk Indicator For VTE\" LowRiskForVTE\n      such that LowRiskForVTE.LowRiskDatetime during day of QualifyingEncounter.FromDayOfStartOfHospitalizationToDayAfterAdmission ( )"
            },
            {
              "url" : "displaySequence",
              "valueInteger" : 11
            }
          ],
          "url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"
        },
        {
          "extension" : [
            {
              "url" : "libraryName",
              "valueString" : "VenousThromboembolismProphylaxisFHIR"
            },
            {
              "url" : "name",
              "valueString" : "Low Risk for VTE or Anticoagulant Administered on Day of or Day After Procedure"
            },
            {
              "url" : "statement",
              "valueString" : "define \"Low Risk for VTE or Anticoagulant Administered on Day of or Day After Procedure\":\n  from\n    VTE.\"Encounter with Age Range and without VTE Diagnosis or Obstetrical Conditions\" QualifyingEncounter,\n    [\"Procedure\": \"General or Neuraxial Anesthesia\"] AnesthesiaProcedure,\n    \"Low Risk Indicator For VTE\" LowRiskForVTE\n    where AnesthesiaProcedure.status = 'completed'\n      and AnesthesiaProcedure.performed.toInterval ( ) ends 1 day after day of start of QualifyingEncounter.period\n      and LowRiskForVTE.LowRiskDatetime during day of ( end of AnesthesiaProcedure.performed.toInterval ( ) ).CalendarDayOfOrDayAfter ( )\n    return QualifyingEncounter"
            },
            {
              "url" : "displaySequence",
              "valueInteger" : 12
            }
          ],
          "url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"
        },
        {
          "extension" : [
            {
              "url" : "libraryName",
              "valueString" : "VenousThromboembolismProphylaxisFHIR"
            },
            {
              "url" : "name",
              "valueString" : "Encounter with Low Risk for VTE or Anticoagulant Administered"
            },
            {
              "url" : "statement",
              "valueString" : "define \"Encounter with Low Risk for VTE or Anticoagulant Administered\":\n  \"Low Risk for VTE or Anticoagulant Administered From Day of Start of Hospitalization To Day After Admission\"\n    union \"Low Risk for VTE or Anticoagulant Administered on Day of or Day After Procedure\""
            },
            {
              "url" : "displaySequence",
              "valueInteger" : 13
            }
          ],
          "url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"
        },
        {
          "extension" : [
            {
              "url" : "libraryName",
              "valueString" : "VenousThromboembolismProphylaxisFHIR"
            },
            {
              "url" : "name",
              "valueString" : "No VTE Prophylaxis Medication Administered or Ordered"
            },
            {
              "url" : "statement",
              "valueString" : "define \"No VTE Prophylaxis Medication Administered or Ordered\":\n  ( ( [MedicationAdministrationNotDone: \"Low Dose Unfractionated Heparin for VTE Prophylaxis\"]\n      union [MedicationAdministrationNotDone: \"Low Molecular Weight Heparin for VTE Prophylaxis\"]\n      union [MedicationAdministrationNotDone: \"Injectable Factor Xa Inhibitor for VTE Prophylaxis\"]\n      union [MedicationAdministrationNotDone: \"Warfarin\"]\n      union [MedicationAdministrationNotDone: \"Rivaroxaban for VTE Prophylaxis\"] ) NoMedicationAdm\n      return {\n        id: NoMedicationAdm.id,\n        MedicationStatusReason: NoMedicationAdm.statusReason,\n        authoredOn: NoMedicationAdm.recorded\n      }\n  )\n    union ( ( [\"MedicationNotRequested\": \"Low Dose Unfractionated Heparin for VTE Prophylaxis\"]\n        union [\"MedicationNotRequested\": \"Low Molecular Weight Heparin for VTE Prophylaxis\"]\n        union [\"MedicationNotRequested\": \"Injectable Factor Xa Inhibitor for VTE Prophylaxis\"]\n        union [\"MedicationNotRequested\": \"Warfarin\"]\n        union [\"MedicationNotRequested\": \"Rivaroxaban for VTE Prophylaxis\"] ) NoMedicationOrder\n        where NoMedicationOrder.intent in { 'order', 'original-order', 'reflex-order', 'filler-order', 'instance-order' }\n        return {\n          id: NoMedicationOrder.id,\n          MedicationStatusReason: NoMedicationOrder.reasonCode,\n          authoredOn: NoMedicationOrder.authoredOn\n        }\n    )"
            },
            {
              "url" : "displaySequence",
              "valueInteger" : 14
            }
          ],
          "url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"
        },
        {
          "extension" : [
            {
              "url" : "libraryName",
              "valueString" : "VenousThromboembolismProphylaxisFHIR"
            },
            {
              "url" : "name",
              "valueString" : "No VTE Prophylaxis Medication Due to Medical Reason From Day of Start of Hospitalization To Day After Admission"
            },
            {
              "url" : "statement",
              "valueString" : "define \"No VTE Prophylaxis Medication Due to Medical Reason From Day of Start of Hospitalization To Day After Admission\":\n  VTE.\"Encounter with Age Range and without VTE Diagnosis or Obstetrical Conditions\" QualifyingEncounter\n    with \"No VTE Prophylaxis Medication Administered or Ordered\" NoVTEMedication\n      such that NoVTEMedication.MedicationStatusReason in \"Medical Reason For Not Providing Treatment\"\n        and NoVTEMedication.authoredOn during day of QualifyingEncounter.FromDayOfStartOfHospitalizationToDayAfterAdmission ( )"
            },
            {
              "url" : "displaySequence",
              "valueInteger" : 15
            }
          ],
          "url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"
        },
        {
          "extension" : [
            {
              "url" : "libraryName",
              "valueString" : "VenousThromboembolismProphylaxisFHIR"
            },
            {
              "url" : "name",
              "valueString" : "No Mechanical VTE Prophylaxis Performed or Ordered"
            },
            {
              "url" : "statement",
              "valueString" : "define \"No Mechanical VTE Prophylaxis Performed or Ordered\":\n  ( ( [ServiceNotRequested: \"Venous foot pumps\"]\n      union [ServiceNotRequested: \"Intermittent pneumatic compression devices\"]\n      union [ServiceNotRequested: \"Graduated compression stockings\"] ) DeviceNotOrder\n      where DeviceNotOrder.intent in { 'order', 'original-order', 'reflex-order', 'filler-order', 'instance-order' }\n      return {\n        id: DeviceNotOrder.id,\n        requestStatusReason: DeviceNotOrder.reasonRefused,\n        authoredOn: DeviceNotOrder.authoredOn\n      }\n  )\n    union ( ( [ProcedureNotDone: \"Application of Intermittent Pneumatic Compression Devices\"]\n        union [ProcedureNotDone: \"Application of Venous Foot Pumps\"]\n        union [ProcedureNotDone: \"Application of Graduated Compression Stockings\"] ) DeviceNotApplied\n        let DeviceNotDoneTiming: DeviceNotApplied.recorded\n        return {\n          id: DeviceNotApplied.id,\n          requestStatusReason: DeviceNotApplied.statusReason,\n          authoredOn: DeviceNotDoneTiming\n        }\n    )"
            },
            {
              "url" : "displaySequence",
              "valueInteger" : 16
            }
          ],
          "url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"
        },
        {
          "extension" : [
            {
              "url" : "libraryName",
              "valueString" : "VenousThromboembolismProphylaxisFHIR"
            },
            {
              "url" : "name",
              "valueString" : "No Mechanical VTE Prophylaxis Due to Medical Reason From Day of Start of Hospitalization To Day After Admission"
            },
            {
              "url" : "statement",
              "valueString" : "define \"No Mechanical VTE Prophylaxis Due to Medical Reason From Day of Start of Hospitalization To Day After Admission\":\n  VTE.\"Encounter with Age Range and without VTE Diagnosis or Obstetrical Conditions\" QualifyingEncounter\n    with \"No Mechanical VTE Prophylaxis Performed or Ordered\" NoVTEDevice\n      such that NoVTEDevice.requestStatusReason in \"Medical Reason For Not Providing Treatment\"\n        and NoVTEDevice.authoredOn during day of QualifyingEncounter.FromDayOfStartOfHospitalizationToDayAfterAdmission ( )"
            },
            {
              "url" : "displaySequence",
              "valueInteger" : 17
            }
          ],
          "url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"
        },
        {
          "extension" : [
            {
              "url" : "libraryName",
              "valueString" : "VenousThromboembolismProphylaxisFHIR"
            },
            {
              "url" : "name",
              "valueString" : "No VTE Prophylaxis Medication Due to Medical Reason on Day of or Day After Procedure"
            },
            {
              "url" : "statement",
              "valueString" : "define \"No VTE Prophylaxis Medication Due to Medical Reason on Day of or Day After Procedure\":\n  from\n    VTE.\"Encounter with Age Range and without VTE Diagnosis or Obstetrical Conditions\" QualifyingEncounter,\n    [\"Procedure\": \"General or Neuraxial Anesthesia\"] AnesthesiaProcedure,\n    \"No VTE Prophylaxis Medication Administered or Ordered\" NoVTEMedication\n    where NoVTEMedication.MedicationStatusReason in \"Medical Reason For Not Providing Treatment\"\n      and AnesthesiaProcedure.status = 'completed'\n      and AnesthesiaProcedure.performed.toInterval ( ) ends 1 day after day of start of QualifyingEncounter.period\n      and NoVTEMedication.authoredOn during day of ( end of AnesthesiaProcedure.performed.toInterval ( ) ).CalendarDayOfOrDayAfter ( )\n    return QualifyingEncounter"
            },
            {
              "url" : "displaySequence",
              "valueInteger" : 18
            }
          ],
          "url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"
        },
        {
          "extension" : [
            {
              "url" : "libraryName",
              "valueString" : "VenousThromboembolismProphylaxisFHIR"
            },
            {
              "url" : "name",
              "valueString" : "No Mechanical VTE Prophylaxis Due to Medical Reason on Day of or Day After Procedure"
            },
            {
              "url" : "statement",
              "valueString" : "define \"No Mechanical VTE Prophylaxis Due to Medical Reason on Day of or Day After Procedure\":\n  from\n    VTE.\"Encounter with Age Range and without VTE Diagnosis or Obstetrical Conditions\" QualifyingEncounter,\n    [\"Procedure\": \"General or Neuraxial Anesthesia\"] AnesthesiaProcedure,\n    \"No Mechanical VTE Prophylaxis Performed or Ordered\" NoVTEDevice\n    where NoVTEDevice.requestStatusReason in \"Medical Reason For Not Providing Treatment\"\n      and AnesthesiaProcedure.status = 'completed'\n      and AnesthesiaProcedure.performed.toInterval ( ) ends 1 day after day of start of QualifyingEncounter.period\n      and NoVTEDevice.authoredOn during day of ( end of AnesthesiaProcedure.performed.toInterval ( ) ).CalendarDayOfOrDayAfter ( )\n    return QualifyingEncounter"
            },
            {
              "url" : "displaySequence",
              "valueInteger" : 19
            }
          ],
          "url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"
        },
        {
          "extension" : [
            {
              "url" : "libraryName",
              "valueString" : "VenousThromboembolismProphylaxisFHIR"
            },
            {
              "url" : "name",
              "valueString" : "Encounter with No VTE Prophylaxis Due to Medical Reason"
            },
            {
              "url" : "statement",
              "valueString" : "define \"Encounter with No VTE Prophylaxis Due to Medical Reason\":\n  ( \"No VTE Prophylaxis Medication Due to Medical Reason From Day of Start of Hospitalization To Day After Admission\"\n      intersect \"No Mechanical VTE Prophylaxis Due to Medical Reason From Day of Start of Hospitalization To Day After Admission\"\n  )\n    union ( \"No VTE Prophylaxis Medication Due to Medical Reason on Day of or Day After Procedure\"\n        intersect \"No Mechanical VTE Prophylaxis Due to Medical Reason on Day of or Day After Procedure\"\n    )"
            },
            {
              "url" : "displaySequence",
              "valueInteger" : 20
            }
          ],
          "url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"
        },
        {
          "extension" : [
            {
              "url" : "libraryName",
              "valueString" : "VenousThromboembolismProphylaxisFHIR"
            },
            {
              "url" : "name",
              "valueString" : "No Mechanical or Pharmacological VTE Prophylaxis Due to Patient Refusal"
            },
            {
              "url" : "statement",
              "valueString" : "define \"No Mechanical or Pharmacological VTE Prophylaxis Due to Patient Refusal\":\n  ( \"No VTE Prophylaxis Medication Administered or Ordered\" NoVTEMedication\n      where NoVTEMedication.MedicationStatusReason in \"Patient Refusal\"\n  )\n    union ( \"No Mechanical VTE Prophylaxis Performed or Ordered\" NoVTEDevice\n        where NoVTEDevice.requestStatusReason in \"Patient Refusal\"\n    )"
            },
            {
              "url" : "displaySequence",
              "valueInteger" : 21
            }
          ],
          "url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"
        },
        {
          "extension" : [
            {
              "url" : "libraryName",
              "valueString" : "VenousThromboembolismProphylaxisFHIR"
            },
            {
              "url" : "name",
              "valueString" : "No VTE Prophylaxis Due to Patient Refusal From Day of Start of Hospitalization To Day After Admission"
            },
            {
              "url" : "statement",
              "valueString" : "define \"No VTE Prophylaxis Due to Patient Refusal From Day of Start of Hospitalization To Day After Admission\":\n  VTE.\"Encounter with Age Range and without VTE Diagnosis or Obstetrical Conditions\" QualifyingEncounter\n    with \"No Mechanical or Pharmacological VTE Prophylaxis Due to Patient Refusal\" PatientRefusal\n      such that PatientRefusal.authoredOn during day of QualifyingEncounter.FromDayOfStartOfHospitalizationToDayAfterAdmission ( )"
            },
            {
              "url" : "displaySequence",
              "valueInteger" : 22
            }
          ],
          "url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"
        },
        {
          "extension" : [
            {
              "url" : "libraryName",
              "valueString" : "VenousThromboembolismProphylaxisFHIR"
            },
            {
              "url" : "name",
              "valueString" : "No VTE Prophylaxis Due to Patient Refusal on Day of or Day After Procedure"
            },
            {
              "url" : "statement",
              "valueString" : "define \"No VTE Prophylaxis Due to Patient Refusal on Day of or Day After Procedure\":\n  from\n    VTE.\"Encounter with Age Range and without VTE Diagnosis or Obstetrical Conditions\" QualifyingEncounter,\n    [\"Procedure\": \"General or Neuraxial Anesthesia\"] AnesthesiaProcedure,\n    \"No Mechanical or Pharmacological VTE Prophylaxis Due to Patient Refusal\" PatientRefusal\n    where AnesthesiaProcedure.status = 'completed'\n      and QICoreCommon.\"ToInterval\" ( AnesthesiaProcedure.performed ) ends 1 day after day of start of QualifyingEncounter.period\n      and PatientRefusal.authoredOn during day of ( end of AnesthesiaProcedure.performed.toInterval ( ) ).CalendarDayOfOrDayAfter ( )\n    return QualifyingEncounter"
            },
            {
              "url" : "displaySequence",
              "valueInteger" : 23
            }
          ],
          "url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"
        },
        {
          "extension" : [
            {
              "url" : "libraryName",
              "valueString" : "VenousThromboembolismProphylaxisFHIR"
            },
            {
              "url" : "name",
              "valueString" : "Encounter with No VTE Prophylaxis Due to Patient Refusal"
            },
            {
              "url" : "statement",
              "valueString" : "define \"Encounter with No VTE Prophylaxis Due to Patient Refusal\":\n  \"No VTE Prophylaxis Due to Patient Refusal From Day of Start of Hospitalization To Day After Admission\"\n    union \"No VTE Prophylaxis Due to Patient Refusal on Day of or Day After Procedure\""
            },
            {
              "url" : "displaySequence",
              "valueInteger" : 24
            }
          ],
          "url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"
        },
        {
          "extension" : [
            {
              "url" : "libraryName",
              "valueString" : "VenousThromboembolismProphylaxisFHIR"
            },
            {
              "url" : "name",
              "valueString" : "Numerator"
            },
            {
              "url" : "statement",
              "valueString" : "define \"Numerator\":\n  \"Encounter with VTE Prophylaxis Received From Day of Start of Hospitalization To Day After Admission or Procedure\"\n    union ( \"Encounter with Medication Oral Factor Xa Inhibitor Administered on Day of or Day After Admission or Procedure\"\n        intersect ( \"Encounter with Prior or Present Diagnosis of Atrial Fibrillation or Prior Diagnosis of VTE\"\n            union \"Encounter with Prior or Present Procedure of Hip or Knee Replacement Surgery\"\n        )\n    )\n    union \"Encounter with Low Risk for VTE or Anticoagulant Administered\"\n    union \"Encounter with No VTE Prophylaxis Due to Medical Reason\"\n    union \"Encounter with No VTE Prophylaxis Due to Patient Refusal\""
            },
            {
              "url" : "displaySequence",
              "valueInteger" : 25
            }
          ],
          "url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"
        },
        {
          "extension" : [
            {
              "url" : "libraryName",
              "valueString" : "VenousThromboembolismProphylaxisFHIR"
            },
            {
              "url" : "name",
              "valueString" : "Initial Population"
            },
            {
              "url" : "statement",
              "valueString" : "define \"Initial Population\":\n  VTE.\"Encounter with Age Range and without VTE Diagnosis or Obstetrical Conditions\""
            },
            {
              "url" : "displaySequence",
              "valueInteger" : 26
            }
          ],
          "url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"
        },
        {
          "extension" : [
            {
              "url" : "libraryName",
              "valueString" : "VenousThromboembolismProphylaxisFHIR"
            },
            {
              "url" : "name",
              "valueString" : "Denominator"
            },
            {
              "url" : "statement",
              "valueString" : "define \"Denominator\":\n  \"Initial Population\""
            },
            {
              "url" : "displaySequence",
              "valueInteger" : 27
            }
          ],
          "url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"
        },
        {
          "extension" : [
            {
              "url" : "libraryName",
              "valueString" : "SupplementalDataElements"
            },
            {
              "url" : "name",
              "valueString" : "SDE Payer"
            },
            {
              "url" : "statement",
              "valueString" : "define \"SDE Payer\":\n  [Coverage: type in \"Payer Type\"] Payer\n    return {\n      code: Payer.type,\n      period: Payer.period\n    }"
            },
            {
              "url" : "displaySequence",
              "valueInteger" : 28
            }
          ],
          "url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"
        },
        {
          "extension" : [
            {
              "url" : "libraryName",
              "valueString" : "VenousThromboembolismProphylaxisFHIR"
            },
            {
              "url" : "name",
              "valueString" : "SDE Payer"
            },
            {
              "url" : "statement",
              "valueString" : "define \"SDE Payer\":\n  SDE.\"SDE Payer\""
            },
            {
              "url" : "displaySequence",
              "valueInteger" : 29
            }
          ],
          "url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"
        },
        {
          "extension" : [
            {
              "url" : "libraryName",
              "valueString" : "SupplementalDataElements"
            },
            {
              "url" : "name",
              "valueString" : "SDE Ethnicity"
            },
            {
              "url" : "statement",
              "valueString" : "define \"SDE Ethnicity\":\n  Patient.ethnicity E\n    return Tuple {\n      codes: { E.ombCategory } union E.detailed,\n      display: E.text\n    }"
            },
            {
              "url" : "displaySequence",
              "valueInteger" : 30
            }
          ],
          "url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"
        },
        {
          "extension" : [
            {
              "url" : "libraryName",
              "valueString" : "VenousThromboembolismProphylaxisFHIR"
            },
            {
              "url" : "name",
              "valueString" : "SDE Ethnicity"
            },
            {
              "url" : "statement",
              "valueString" : "define \"SDE Ethnicity\":\n  SDE.\"SDE Ethnicity\""
            },
            {
              "url" : "displaySequence",
              "valueInteger" : 31
            }
          ],
          "url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"
        },
        {
          "extension" : [
            {
              "url" : "libraryName",
              "valueString" : "VenousThromboembolismProphylaxisFHIR"
            },
            {
              "url" : "name",
              "valueString" : "Encounter Less Than 2 Days"
            },
            {
              "url" : "statement",
              "valueString" : "define \"Encounter Less Than 2 Days\":\n  VTE.\"Encounter with Age Range and without VTE Diagnosis or Obstetrical Conditions\" QualifyingEncounter\n    where QualifyingEncounter.period.lengthInDays ( ) < 2"
            },
            {
              "url" : "displaySequence",
              "valueInteger" : 32
            }
          ],
          "url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"
        },
        {
          "extension" : [
            {
              "url" : "libraryName",
              "valueString" : "VenousThromboembolismProphylaxisFHIR"
            },
            {
              "url" : "name",
              "valueString" : "Encounter with ICU Location Stay 1 Day or More"
            },
            {
              "url" : "statement",
              "valueString" : "define \"Encounter with ICU Location Stay 1 Day or More\":\n  VTE.\"Encounter with Age Range and without VTE Diagnosis or Obstetrical Conditions\" QualifyingEncounter\n    where exists ( QualifyingEncounter.location Location\n        where Location.location.getLocation ( ).type in \"Intensive Care Unit\"\n          and Location.period.lengthInDays ( ) >= 1\n          and Location.period starts on or after start of QualifyingEncounter.period\n          and date from ( start of Location.period ) during ( start of QualifyingEncounter.period ).CalendarDayOfOrDayAfter ( )\n    )"
            },
            {
              "url" : "displaySequence",
              "valueInteger" : 33
            }
          ],
          "url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"
        },
        {
          "extension" : [
            {
              "url" : "libraryName",
              "valueString" : "VenousThromboembolismProphylaxisFHIR"
            },
            {
              "url" : "name",
              "valueString" : "Encounter with Principal Diagnosis of Mental Disorder or Stroke"
            },
            {
              "url" : "statement",
              "valueString" : "define \"Encounter with Principal Diagnosis of Mental Disorder or Stroke\":\n  VTE.\"Encounter with Age Range and without VTE Diagnosis or Obstetrical Conditions\" QualifyingEncounter\n    where QualifyingEncounter.principalDiagnosis ( ).code in \"Mental Health Diagnoses\"\n      or QualifyingEncounter.principalDiagnosis ( ).code in \"Hemorrhagic Stroke\"\n      or QualifyingEncounter.principalDiagnosis ( ).code in \"Ischemic Stroke\""
            },
            {
              "url" : "displaySequence",
              "valueInteger" : 34
            }
          ],
          "url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"
        },
        {
          "extension" : [
            {
              "url" : "libraryName",
              "valueString" : "VenousThromboembolismProphylaxisFHIR"
            },
            {
              "url" : "name",
              "valueString" : "SCIP VTE Selected Surgery"
            },
            {
              "url" : "statement",
              "valueString" : "define \"SCIP VTE Selected Surgery\":\n  ( [\"Procedure\": \"General Surgery\"]\n    union [\"Procedure\": \"Gynecological Surgery\"]\n    union [\"Procedure\": \"Hip Fracture Surgery\"]\n    union [\"Procedure\": \"Hip Replacement Surgery\"]\n    union [\"Procedure\": \"Intracranial Neurosurgery\"]\n    union [\"Procedure\": \"Knee Replacement Surgery\"]\n    union [\"Procedure\": \"Urological Surgery\"] ) Procedure\n    where Procedure.status = 'completed'"
            },
            {
              "url" : "displaySequence",
              "valueInteger" : 35
            }
          ],
          "url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"
        },
        {
          "extension" : [
            {
              "url" : "libraryName",
              "valueString" : "VenousThromboembolismProphylaxisFHIR"
            },
            {
              "url" : "name",
              "valueString" : "Encounter with Principal Procedure of SCIP VTE Selected Surgery"
            },
            {
              "url" : "statement",
              "valueString" : "define \"Encounter with Principal Procedure of SCIP VTE Selected Surgery\":\n  from\n    VTE.\"Encounter with Age Range and without VTE Diagnosis or Obstetrical Conditions\" QualifyingEncounter,\n    \"SCIP VTE Selected Surgery\" SelectedProcedure\n    let EncounterProcedure: singleton from ( QualifyingEncounter.procedure P\n        where P.rank = 1\n    )\n    where EncounterProcedure.procedure.reference.getId ( ) = SelectedProcedure.id\n      and end of SelectedProcedure.performed.toInterval ( ) during QualifyingEncounter.period\n    return QualifyingEncounter"
            },
            {
              "url" : "displaySequence",
              "valueInteger" : 36
            }
          ],
          "url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"
        },
        {
          "extension" : [
            {
              "url" : "libraryName",
              "valueString" : "VenousThromboembolismProphylaxisFHIR"
            },
            {
              "url" : "name",
              "valueString" : "Intervention Comfort Measures"
            },
            {
              "url" : "statement",
              "valueString" : "define \"Intervention Comfort Measures\":\n  ( [\"ServiceRequest\": \"Comfort Measures\"] InterventionRequest\n      where InterventionRequest.intent in { 'order', 'original-order', 'reflex-order', 'filler-order', 'instance-order' }\n        and InterventionRequest.status in { 'active', 'on-hold', 'completed' }\n        and InterventionRequest.doNotPerform is not true\n  )\n    union ( [\"Procedure\": \"Comfort Measures\"] InterventionPerformed\n        where InterventionPerformed.status in { 'completed', 'in-progress' }\n    )"
            },
            {
              "url" : "displaySequence",
              "valueInteger" : 37
            }
          ],
          "url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"
        },
        {
          "extension" : [
            {
              "url" : "libraryName",
              "valueString" : "VenousThromboembolismProphylaxisFHIR"
            },
            {
              "url" : "name",
              "valueString" : "Encounter with Intervention Comfort Measures From Day of Start of Hospitalization To Day After Admission"
            },
            {
              "url" : "statement",
              "valueString" : "define \"Encounter with Intervention Comfort Measures From Day of Start of Hospitalization To Day After Admission\":\n  VTE.\"Encounter with Age Range and without VTE Diagnosis or Obstetrical Conditions\" QualifyingEncounter\n    with \"Intervention Comfort Measures\" ComfortMeasure\n      such that Coalesce(start of ComfortMeasure.performed.toInterval(), ComfortMeasure.authoredOn) during day of QualifyingEncounter.FromDayOfStartOfHospitalizationToDayAfterAdmission ( )"
            },
            {
              "url" : "displaySequence",
              "valueInteger" : 38
            }
          ],
          "url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"
        },
        {
          "extension" : [
            {
              "url" : "libraryName",
              "valueString" : "VenousThromboembolismProphylaxisFHIR"
            },
            {
              "url" : "name",
              "valueString" : "Encounter with Intervention Comfort Measures on Day of or Day After Procedure"
            },
            {
              "url" : "statement",
              "valueString" : "define \"Encounter with Intervention Comfort Measures on Day of or Day After Procedure\":\n  from\n    VTE.\"Encounter with Age Range and without VTE Diagnosis or Obstetrical Conditions\" QualifyingEncounter,\n    [\"Procedure\": \"General or Neuraxial Anesthesia\"] AnesthesiaProcedure,\n    \"Intervention Comfort Measures\" ComfortMeasure\n    where AnesthesiaProcedure.status = 'completed'\n      and AnesthesiaProcedure.performed.toInterval ( ) ends 1 day after day of start of QualifyingEncounter.period\n      and Coalesce(start of ComfortMeasure.performed.toInterval(), ComfortMeasure.authoredOn) during day of ( end of AnesthesiaProcedure.performed.toInterval ( ) ).CalendarDayOfOrDayAfter ( )\n    return QualifyingEncounter"
            },
            {
              "url" : "displaySequence",
              "valueInteger" : 39
            }
          ],
          "url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"
        },
        {
          "extension" : [
            {
              "url" : "libraryName",
              "valueString" : "VenousThromboembolismProphylaxisFHIR"
            },
            {
              "url" : "name",
              "valueString" : "Denominator Exclusions"
            },
            {
              "url" : "statement",
              "valueString" : "define \"Denominator Exclusions\":\n  \"Encounter Less Than 2 Days\"\n    union \"Encounter with ICU Location Stay 1 Day or More\"\n    union \"Encounter with Principal Diagnosis of Mental Disorder or Stroke\"\n    union \"Encounter with Principal Procedure of SCIP VTE Selected Surgery\"\n    union \"Encounter with Intervention Comfort Measures From Day of Start of Hospitalization To Day After Admission\"\n    union \"Encounter with Intervention Comfort Measures on Day of or Day After Procedure\""
            },
            {
              "url" : "displaySequence",
              "valueInteger" : 40
            }
          ],
          "url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"
        },
        {
          "extension" : [
            {
              "url" : "libraryName",
              "valueString" : "SupplementalDataElements"
            },
            {
              "url" : "name",
              "valueString" : "SDE Race"
            },
            {
              "url" : "statement",
              "valueString" : "define \"SDE Race\":\n  Patient.race R\n    return Tuple {\n      codes: R.ombCategory union R.detailed,\n      display: R.text\n    }"
            },
            {
              "url" : "displaySequence",
              "valueInteger" : 41
            }
          ],
          "url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"
        },
        {
          "extension" : [
            {
              "url" : "libraryName",
              "valueString" : "VenousThromboembolismProphylaxisFHIR"
            },
            {
              "url" : "name",
              "valueString" : "SDE Race"
            },
            {
              "url" : "statement",
              "valueString" : "define \"SDE Race\":\n  SDE.\"SDE Race\""
            },
            {
              "url" : "displaySequence",
              "valueInteger" : 42
            }
          ],
          "url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"
        },
        {
          "extension" : [
            {
              "url" : "libraryName",
              "valueString" : "CQMCommon"
            },
            {
              "url" : "name",
              "valueString" : "encounterDiagnosis"
            },
            {
              "url" : "statement",
              "valueString" : "/*\n@description: Returns the Condition resources referenced by the diagnosis element of the Encounter\n*/\ndefine fluent function encounterDiagnosis(Encounter Encounter ):\n  Encounter.diagnosis D\n    return singleton from ([Condition] C where C.id = D.condition.reference.getId())"
            },
            {
              "url" : "displaySequence",
              "valueInteger" : 43
            }
          ],
          "url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"
        },
        {
          "extension" : [
            {
              "url" : "libraryName",
              "valueString" : "QICoreCommon"
            },
            {
              "url" : "name",
              "valueString" : "getId"
            },
            {
              "url" : "statement",
              "valueString" : "/*\n@description: Returns the tail of the given uri (i.e. everything after the last slash in the URI).\n@comment: This function can be used to determine the logical id of a given resource. It can be used in\na single-server environment to trace references. However, this function does not attempt to resolve\nor distinguish the base of the given url, and so cannot be used safely in multi-server environments.\n*/\ndefine fluent function getId(uri String):\n  Last(Split(uri, '/'))"
            },
            {
              "url" : "displaySequence",
              "valueInteger" : 44
            }
          ],
          "url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"
        },
        {
          "extension" : [
            {
              "url" : "libraryName",
              "valueString" : "VTE"
            },
            {
              "url" : "name",
              "valueString" : "FromDayOfStartOfHospitalizationToDayAfterAdmission"
            },
            {
              "url" : "statement",
              "valueString" : "define fluent function \"FromDayOfStartOfHospitalizationToDayAfterAdmission\"(Encounter Encounter ):\n\tInterval[ date from (start of Encounter.hospitalizationWithObservation()), date from (start of Encounter.period) + 1 days]"
            },
            {
              "url" : "displaySequence",
              "valueInteger" : 45
            }
          ],
          "url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"
        },
        {
          "extension" : [
            {
              "url" : "libraryName",
              "valueString" : "CQMCommon"
            },
            {
              "url" : "name",
              "valueString" : "hospitalizationWithObservation"
            },
            {
              "url" : "statement",
              "valueString" : "/*\n@description: Hospitalization with Observation returns the total interval from the start of any immediately prior emergency department visit through the observation visit to the discharge of the given encounter\n*/\ndefine fluent function hospitalizationWithObservation(TheEncounter Encounter ):\n  TheEncounter Visit\n  \t\tlet ObsVisit: Last([Encounter: \"Observation Services\"] LastObs\n  \t\t\t\twhere LastObs.status = 'finished'\n            and LastObs.period ends 1 hour or less on or before start of Visit.period\n  \t\t\t\tsort by end of period\n  \t\t\t),\n  \t\t\tVisitStart: Coalesce(start of ObsVisit.period, start of Visit.period),\n  \t\t\tEDVisit: Last([Encounter: \"Emergency Department Visit\"] LastED\n  \t\t\t\twhere LastED.status = 'finished'\n            and LastED.period ends 1 hour or less on or before VisitStart\n  \t\t\t\tsort by end of period\n  \t\t\t)\n  \t\treturn Interval[Coalesce(start of EDVisit.period, VisitStart), end of Visit.period]"
            },
            {
              "url" : "displaySequence",
              "valueInteger" : 46
            }
          ],
          "url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"
        },
        {
          "extension" : [
            {
              "url" : "libraryName",
              "valueString" : "TJCOverall"
            },
            {
              "url" : "name",
              "valueString" : "CalendarDayOfOrDayAfter"
            },
            {
              "url" : "statement",
              "valueString" : "define fluent function CalendarDayOfOrDayAfter(StartValue DateTime):\n  Interval [date from (StartValue), date from (StartValue) + 1 day]"
            },
            {
              "url" : "displaySequence",
              "valueInteger" : 47
            }
          ],
          "url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"
        },
        {
          "extension" : [
            {
              "url" : "libraryName",
              "valueString" : "QICoreCommon"
            },
            {
              "url" : "name",
              "valueString" : "isActive"
            },
            {
              "url" : "statement",
              "valueString" : "/* Candidates for FHIRCommon */\n\n/*\n@description: Returns true if the given condition has a clinical status of active, recurrence, or relapse\n*/\ndefine fluent function isActive(condition Condition):\n  condition.clinicalStatus ~ \"active\"\n    or condition.clinicalStatus ~ \"recurrence\"\n    or condition.clinicalStatus ~ \"relapse\""
            },
            {
              "url" : "displaySequence",
              "valueInteger" : 48
            }
          ],
          "url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"
        },
        {
          "extension" : [
            {
              "url" : "libraryName",
              "valueString" : "QICoreCommon"
            },
            {
              "url" : "name",
              "valueString" : "earliest"
            },
            {
              "url" : "statement",
              "valueString" : "/*\n@description: Given an interval, return the starting point if the interval has a starting boundary specified,\notherwise, return the ending point\n*/\ndefine fluent function earliest(choice Choice<DateTime, Quantity, Interval<DateTime>, Interval<Quantity>> ):\n  (choice.toInterval()) period\n    return\n      if (period.\"hasStart\"()) then start of period\n      else end of period"
            },
            {
              "url" : "displaySequence",
              "valueInteger" : 49
            }
          ],
          "url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"
        },
        {
          "extension" : [
            {
              "url" : "libraryName",
              "valueString" : "FHIRHelpers"
            },
            {
              "url" : "name",
              "valueString" : "ToConcept"
            },
            {
              "url" : "statement",
              "valueString" : "/*\n@description: Converts the given FHIR [CodeableConcept](https://hl7.org/fhir/datatypes.html#CodeableConcept) value to a CQL Concept.\n*/\ndefine function ToConcept(concept FHIR.CodeableConcept):\n    if concept is null then\n        null\n    else\n        System.Concept {\n            codes: concept.coding C return ToCode(C),\n            display: concept.text.value\n        }"
            },
            {
              "url" : "displaySequence",
              "valueInteger" : 50
            }
          ],
          "url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"
        },
        {
          "extension" : [
            {
              "url" : "libraryName",
              "valueString" : "FHIRHelpers"
            },
            {
              "url" : "name",
              "valueString" : "ToString"
            },
            {
              "url" : "statement",
              "valueString" : "define function ToString(value uri): value.value"
            },
            {
              "url" : "displaySequence",
              "valueInteger" : 51
            }
          ],
          "url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"
        },
        {
          "extension" : [
            {
              "url" : "libraryName",
              "valueString" : "FHIRHelpers"
            },
            {
              "url" : "name",
              "valueString" : "ToCode"
            },
            {
              "url" : "statement",
              "valueString" : "/*\n@description: Converts the given FHIR [Coding](https://hl7.org/fhir/datatypes.html#Coding) value to a CQL Code.\n*/\ndefine function ToCode(coding FHIR.Coding):\n    if coding is null then\n        null\n    else\n        System.Code {\n          code: coding.code.value,\n          system: coding.system.value,\n          version: coding.version.value,\n          display: coding.display.value\n        }"
            },
            {
              "url" : "displaySequence",
              "valueInteger" : 52
            }
          ],
          "url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"
        },
        {
          "extension" : [
            {
              "url" : "libraryName",
              "valueString" : "CQMCommon"
            },
            {
              "url" : "name",
              "valueString" : "lengthInDays"
            },
            {
              "url" : "statement",
              "valueString" : "/*\n@description: Calculates the difference in calendar days between the start and end of the given interval.\n*/\ndefine fluent function lengthInDays(Value Interval<DateTime> ):\n  difference in days between start of Value and end of Value"
            },
            {
              "url" : "displaySequence",
              "valueInteger" : 53
            }
          ],
          "url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"
        },
        {
          "extension" : [
            {
              "url" : "libraryName",
              "valueString" : "CQMCommon"
            },
            {
              "url" : "name",
              "valueString" : "getLocation"
            },
            {
              "url" : "statement",
              "valueString" : "/*\n@description: Returns the Location resource specified by the given reference.\n*/\ndefine fluent function getLocation(reference Reference ):\n  singleton from (\n    [Location] L where L.id = reference.reference.getId()\n  )"
            },
            {
              "url" : "displaySequence",
              "valueInteger" : 54
            }
          ],
          "url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"
        },
        {
          "extension" : [
            {
              "url" : "libraryName",
              "valueString" : "CQMCommon"
            },
            {
              "url" : "name",
              "valueString" : "principalDiagnosis"
            },
            {
              "url" : "statement",
              "valueString" : "/*\n@description: Returns the condition that is specified as the principal diagnosis for the encounter\n*/\ndefine fluent function principalDiagnosis(Encounter Encounter ):\n\tsingleton from ((Encounter.diagnosis D where D.rank = 1 and D.use ~ \"Billing\") PD\n      return singleton from ([Condition] C where C.id = PD.condition.reference.getId())\n\t)"
            },
            {
              "url" : "displaySequence",
              "valueInteger" : 55
            }
          ],
          "url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"
        }
      ],
      "name" : "EffectiveDataRequirements",
      "status" : "active",
      "type" : {
        "coding" : [
          {
            "system" : "http://terminology.hl7.org/CodeSystem/library-type",
            "code" : "module-definition"
          }
        ]
      },
      "relatedArtifact" : [
        {
          "type" : "depends-on",
          "display" : "Library SDE",
          "resource" : "Library/SupplementalDataElements|3.5.000"
        },
        {
          "type" : "depends-on",
          "display" : "Library VTE",
          "resource" : "Library/VTE|8.8.000"
        },
        {
          "type" : "depends-on",
          "display" : "Library CQMCommon",
          "resource" : "Library/CQMCommon|2.2.000"
        },
        {
          "type" : "depends-on",
          "display" : "Library FHIRHelpers",
          "resource" : "Library/FHIRHelpers|4.4.000"
        },
        {
          "type" : "depends-on",
          "display" : "Library QICoreCommon",
          "resource" : "Library/QICoreCommon|2.1.000"
        },
        {
          "type" : "depends-on",
          "display" : "Library TJC",
          "resource" : "Library/TJCOverall|8.14.000"
        },
        {
          "type" : "depends-on",
          "display" : "Code system AdministrativeGender",
          "resource" : "http://hl7.org/fhir/administrative-gender"
        },
        {
          "type" : "depends-on",
          "display" : "Code system ConditionClinicalStatusCodes",
          "resource" : "http://terminology.hl7.org/CodeSystem/condition-clinical"
        },
        {
          "type" : "depends-on",
          "display" : "Code system ConditionVerificationStatusCodes",
          "resource" : "http://terminology.hl7.org/CodeSystem/condition-ver-status"
        },
        {
          "type" : "depends-on",
          "display" : "Code system LOINC",
          "resource" : "http://loinc.org"
        },
        {
          "type" : "depends-on",
          "display" : "Code system DiagnosisRole",
          "resource" : "http://terminology.hl7.org/CodeSystem/diagnosis-role"
        },
        {
          "type" : "depends-on",
          "display" : "Value set Encounter Inpatient",
          "resource" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.666.5.307"
        },
        {
          "type" : "depends-on",
          "display" : "Value set Obstetrical or Pregnancy Related Conditions",
          "resource" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.263"
        },
        {
          "type" : "depends-on",
          "display" : "Value set Venous Thromboembolism",
          "resource" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.279"
        },
        {
          "type" : "depends-on",
          "display" : "Value set Obstetrics VTE",
          "resource" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.264"
        },
        {
          "type" : "depends-on",
          "display" : "Value set Low Dose Unfractionated Heparin for VTE Prophylaxis",
          "resource" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1045.39"
        },
        {
          "type" : "depends-on",
          "display" : "Value set Subcutaneous route",
          "resource" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.223"
        },
        {
          "type" : "depends-on",
          "display" : "Value set Low Molecular Weight Heparin for VTE Prophylaxis",
          "resource" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.219"
        },
        {
          "type" : "depends-on",
          "display" : "Value set Injectable Factor Xa Inhibitor for VTE Prophylaxis",
          "resource" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.211"
        },
        {
          "type" : "depends-on",
          "display" : "Value set Warfarin",
          "resource" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.232"
        },
        {
          "type" : "depends-on",
          "display" : "Value set Rivaroxaban for VTE Prophylaxis",
          "resource" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1110.50"
        },
        {
          "type" : "depends-on",
          "display" : "Value set Application of Intermittent Pneumatic Compression Devices",
          "resource" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1110.65"
        },
        {
          "type" : "depends-on",
          "display" : "Value set Application of Venous Foot Pumps",
          "resource" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1110.64"
        },
        {
          "type" : "depends-on",
          "display" : "Value set Application of Graduated Compression Stockings",
          "resource" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1110.66"
        },
        {
          "type" : "depends-on",
          "display" : "Value set Observation Services",
          "resource" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1111.143"
        },
        {
          "type" : "depends-on",
          "display" : "Value set Emergency Department Visit",
          "resource" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.292"
        },
        {
          "type" : "depends-on",
          "display" : "Value set General or Neuraxial Anesthesia",
          "resource" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.666.5.1743"
        },
        {
          "type" : "depends-on",
          "display" : "Value set Oral Factor Xa Inhibitor for VTE Prophylaxis or VTE Treatment",
          "resource" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.134"
        },
        {
          "type" : "depends-on",
          "display" : "Value set Atrial Fibrillation or Flutter",
          "resource" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.202"
        },
        {
          "type" : "depends-on",
          "display" : "Value set Hip Replacement Surgery",
          "resource" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.259"
        },
        {
          "type" : "depends-on",
          "display" : "Value set Knee Replacement Surgery",
          "resource" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.261"
        },
        {
          "type" : "depends-on",
          "display" : "Value set Low Risk",
          "resource" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.400"
        },
        {
          "type" : "depends-on",
          "display" : "Value set INR",
          "resource" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.213"
        },
        {
          "type" : "depends-on",
          "display" : "Value set Unfractionated Heparin",
          "resource" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.218"
        },
        {
          "type" : "depends-on",
          "display" : "Value set Intravenous route",
          "resource" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.222"
        },
        {
          "type" : "depends-on",
          "display" : "Value set Direct Thrombin Inhibitor",
          "resource" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.205"
        },
        {
          "type" : "depends-on",
          "display" : "Value set Glycoprotein IIb/IIIa Inhibitors",
          "resource" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1045.41"
        },
        {
          "type" : "depends-on",
          "display" : "Value set Medical Reason For Not Providing Treatment",
          "resource" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.473"
        },
        {
          "type" : "depends-on",
          "display" : "Value set Venous foot pumps",
          "resource" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.230"
        },
        {
          "type" : "depends-on",
          "display" : "Value set Intermittent pneumatic compression devices",
          "resource" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.214"
        },
        {
          "type" : "depends-on",
          "display" : "Value set Graduated compression stockings",
          "resource" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.256"
        },
        {
          "type" : "depends-on",
          "display" : "Value set Patient Refusal",
          "resource" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.93"
        },
        {
          "type" : "depends-on",
          "display" : "Value set Payer Type",
          "resource" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3591"
        },
        {
          "type" : "depends-on",
          "display" : "Value set Intensive Care Unit",
          "resource" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.206"
        },
        {
          "type" : "depends-on",
          "display" : "Value set Mental Health Diagnoses",
          "resource" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.105.12.1004"
        },
        {
          "type" : "depends-on",
          "display" : "Value set Hemorrhagic Stroke",
          "resource" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.212"
        },
        {
          "type" : "depends-on",
          "display" : "Value set Ischemic Stroke",
          "resource" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.247"
        },
        {
          "type" : "depends-on",
          "display" : "Value set General Surgery",
          "resource" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.255"
        },
        {
          "type" : "depends-on",
          "display" : "Value set Gynecological Surgery",
          "resource" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.257"
        },
        {
          "type" : "depends-on",
          "display" : "Value set Hip Fracture Surgery",
          "resource" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.258"
        },
        {
          "type" : "depends-on",
          "display" : "Value set Intracranial Neurosurgery",
          "resource" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.260"
        },
        {
          "type" : "depends-on",
          "display" : "Value set Urological Surgery",
          "resource" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.272"
        },
        {
          "type" : "depends-on",
          "display" : "Value set Comfort Measures",
          "resource" : "http://cts.nlm.nih.gov/fhir/ValueSet/1.3.6.1.4.1.33895.1.3.0.45"
        }
      ],
      "parameter" : [
        {
          "name" : "Measurement Period",
          "use" : "in",
          "min" : 0,
          "max" : "1",
          "type" : "Period"
        },
        {
          "name" : "SDE Sex",
          "use" : "out",
          "min" : 0,
          "max" : "1",
          "type" : "Coding"
        },
        {
          "name" : "Numerator",
          "use" : "out",
          "min" : 0,
          "max" : "*",
          "type" : "Resource"
        },
        {
          "name" : "Denominator",
          "use" : "out",
          "min" : 0,
          "max" : "*",
          "type" : "Resource"
        },
        {
          "name" : "SDE Payer",
          "use" : "out",
          "min" : 0,
          "max" : "*",
          "type" : "Resource"
        },
        {
          "name" : "Initial Population",
          "use" : "out",
          "min" : 0,
          "max" : "*",
          "type" : "Resource"
        },
        {
          "name" : "SDE Ethnicity",
          "use" : "out",
          "min" : 0,
          "max" : "1",
          "type" : "Resource"
        },
        {
          "name" : "Denominator Exclusions",
          "use" : "out",
          "min" : 0,
          "max" : "*",
          "type" : "Resource"
        },
        {
          "name" : "SDE Race",
          "use" : "out",
          "min" : 0,
          "max" : "1",
          "type" : "Resource"
        }
      ],
      "dataRequirement" : [
        {
          "type" : "Patient",
          "profile" : [
            🔗 "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient"
          ],
          "mustSupport" : [
            "ethnicity",
            "race"
          ]
        },
        {
          "type" : "Encounter",
          "profile" : [
            🔗 "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-encounter"
          ],
          "mustSupport" : [
            "type",
            "status",
            "status.value",
            "period",
            "condition",
            "condition.reference",
            "condition.reference.value",
            "period.low",
            "period.lowClosed",
            "period.high",
            "period.highClosed",
            "location",
            "rank",
            "rank.value",
            "use",
            "extension"
          ],
          "codeFilter" : [
            {
              "path" : "type",
              "valueSet" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1111.143"
            },
            {
              "path" : "status.value",
              "code" : [
                {
                  "code" : "finished"
                }
              ]
            }
          ]
        },
        {
          "type" : "Encounter",
          "profile" : [
            🔗 "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-encounter"
          ],
          "mustSupport" : [
            "type",
            "status",
            "status.value",
            "period",
            "condition",
            "condition.reference",
            "condition.reference.value",
            "period.low",
            "period.lowClosed",
            "period.high",
            "period.highClosed",
            "location",
            "rank",
            "rank.value",
            "use",
            "extension"
          ],
          "codeFilter" : [
            {
              "path" : "type",
              "valueSet" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.292"
            },
            {
              "path" : "status.value",
              "code" : [
                {
                  "code" : "finished"
                }
              ]
            }
          ],
          "dateFilter" : [
            {
              "path" : "period",
              "valuePeriod" : {
                "extension" : [
                  {
                    "url" : "http://hl7.org/fhir/uv/crmi-analysisException",
                    "valueString" : "Error attempting to determine filter value: toFhirValue not implemented for Subtract"
                  }
                ]
              }
            }
          ]
        },
        {
          "type" : "Encounter",
          "profile" : [
            🔗 "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-encounter"
          ],
          "mustSupport" : [
            "type",
            "status",
            "status.value",
            "period",
            "condition",
            "condition.reference",
            "condition.reference.value",
            "period.low",
            "period.lowClosed",
            "period.high",
            "period.highClosed",
            "location",
            "rank",
            "rank.value",
            "use",
            "extension"
          ],
          "codeFilter" : [
            {
              "path" : "type",
              "valueSet" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.666.5.307"
            },
            {
              "path" : "status.value",
              "code" : [
                {
                  "code" : "finished"
                }
              ]
            }
          ],
          "dateFilter" : [
            {
              "path" : "period",
              "valuePeriod" : {
                "extension" : [
                  {
                    "url" : "http://hl7.org/fhir/StructureDefinition/cqf-expression",
                    "valueExpression" : {
                      "language" : "text/cql-identifier",
                      "expression" : "Measurement Period"
                    }
                  }
                ]
              }
            }
          ]
        },
        {
          "type" : "Condition",
          "profile" : [
            🔗 "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-condition"
          ],
          "mustSupport" : [
            "code",
            "verificationStatus",
            "onset"
          ],
          "codeFilter" : [
            {
              "path" : "code",
              "valueSet" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.202"
            },
            {
              "path" : "verificationStatus"
            }
          ]
        },
        {
          "type" : "Condition",
          "profile" : [
            🔗 "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-condition"
          ],
          "mustSupport" : [
            "code",
            "clinicalStatus",
            "verificationStatus",
            "onset"
          ],
          "codeFilter" : [
            {
              "path" : "code",
              "valueSet" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.279"
            },
            {
              "path" : "verificationStatus"
            }
          ]
        },
        {
          "type" : "Condition",
          "profile" : [
            🔗 "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-condition"
          ],
          "mustSupport" : [
            "id",
            "id.value",
            "code"
          ]
        },
        {
          "type" : "MedicationAdministration",
          "profile" : [
            🔗 "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-medicationadministration"
          ],
          "mustSupport" : [
            "medication",
            "status",
            "status.value",
            "dosage",
            "dosage.route",
            "effective",
            "id",
            "id.value"
          ],
          "codeFilter" : [
            {
              "path" : "medication",
              "valueSet" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1045.39"
            }
          ]
        },
        {
          "type" : "MedicationAdministration",
          "profile" : [
            🔗 "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-medicationadministration"
          ],
          "mustSupport" : [
            "medication",
            "status",
            "status.value",
            "dosage",
            "dosage.route",
            "effective",
            "id",
            "id.value"
          ],
          "codeFilter" : [
            {
              "path" : "medication",
              "valueSet" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.219"
            }
          ]
        },
        {
          "type" : "MedicationAdministration",
          "profile" : [
            🔗 "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-medicationadministration"
          ],
          "mustSupport" : [
            "medication",
            "status",
            "status.value",
            "dosage",
            "dosage.route",
            "effective",
            "id",
            "id.value"
          ],
          "codeFilter" : [
            {
              "path" : "medication",
              "valueSet" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.211"
            }
          ]
        },
        {
          "type" : "MedicationAdministration",
          "profile" : [
            🔗 "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-medicationadministration"
          ],
          "mustSupport" : [
            "medication",
            "status",
            "status.value",
            "dosage",
            "dosage.route",
            "effective",
            "id",
            "id.value"
          ],
          "codeFilter" : [
            {
              "path" : "medication",
              "valueSet" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.232"
            }
          ]
        },
        {
          "type" : "MedicationAdministration",
          "profile" : [
            🔗 "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-medicationadministration"
          ],
          "mustSupport" : [
            "medication",
            "status",
            "status.value",
            "dosage",
            "dosage.route",
            "effective",
            "id",
            "id.value"
          ],
          "codeFilter" : [
            {
              "path" : "medication",
              "valueSet" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1110.50"
            }
          ]
        },
        {
          "type" : "MedicationAdministration",
          "profile" : [
            🔗 "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-medicationadministration"
          ],
          "mustSupport" : [
            "medication",
            "status",
            "status.value",
            "dosage",
            "dosage.route",
            "effective",
            "id",
            "id.value"
          ],
          "codeFilter" : [
            {
              "path" : "medication",
              "valueSet" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.134"
            }
          ]
        },
        {
          "type" : "MedicationAdministration",
          "profile" : [
            🔗 "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-medicationadministration"
          ],
          "mustSupport" : [
            "medication",
            "status",
            "status.value",
            "dosage",
            "dosage.route",
            "effective",
            "id",
            "id.value"
          ],
          "codeFilter" : [
            {
              "path" : "medication",
              "valueSet" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.218"
            }
          ]
        },
        {
          "type" : "MedicationAdministration",
          "profile" : [
            🔗 "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-medicationadministration"
          ],
          "mustSupport" : [
            "medication",
            "status",
            "status.value",
            "dosage",
            "dosage.route",
            "effective",
            "id",
            "id.value"
          ],
          "codeFilter" : [
            {
              "path" : "medication",
              "valueSet" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.205"
            }
          ]
        },
        {
          "type" : "MedicationAdministration",
          "profile" : [
            🔗 "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-medicationadministration"
          ],
          "mustSupport" : [
            "medication",
            "status",
            "status.value",
            "dosage",
            "dosage.route",
            "effective",
            "id",
            "id.value"
          ],
          "codeFilter" : [
            {
              "path" : "medication",
              "valueSet" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1045.41"
            }
          ]
        },
        {
          "type" : "Procedure",
          "profile" : [
            🔗 "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-procedure"
          ],
          "mustSupport" : [
            "code",
            "status",
            "status.value",
            "performed",
            "id",
            "id.value"
          ],
          "codeFilter" : [
            {
              "path" : "code",
              "valueSet" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1110.65"
            }
          ]
        },
        {
          "type" : "Procedure",
          "profile" : [
            🔗 "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-procedure"
          ],
          "mustSupport" : [
            "code",
            "status",
            "status.value",
            "performed",
            "id",
            "id.value"
          ],
          "codeFilter" : [
            {
              "path" : "code",
              "valueSet" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1110.64"
            }
          ]
        },
        {
          "type" : "Procedure",
          "profile" : [
            🔗 "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-procedure"
          ],
          "mustSupport" : [
            "code",
            "status",
            "status.value",
            "performed",
            "id",
            "id.value"
          ],
          "codeFilter" : [
            {
              "path" : "code",
              "valueSet" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1110.66"
            }
          ]
        },
        {
          "type" : "Procedure",
          "profile" : [
            🔗 "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-procedure"
          ],
          "mustSupport" : [
            "code",
            "status",
            "status.value",
            "performed",
            "id",
            "id.value"
          ],
          "codeFilter" : [
            {
              "path" : "code",
              "valueSet" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.255"
            }
          ]
        },
        {
          "type" : "Procedure",
          "profile" : [
            🔗 "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-procedure"
          ],
          "mustSupport" : [
            "code",
            "status",
            "status.value",
            "performed",
            "id",
            "id.value"
          ],
          "codeFilter" : [
            {
              "path" : "code",
              "valueSet" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.257"
            }
          ]
        },
        {
          "type" : "Procedure",
          "profile" : [
            🔗 "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-procedure"
          ],
          "mustSupport" : [
            "code",
            "status",
            "status.value",
            "performed",
            "id",
            "id.value"
          ],
          "codeFilter" : [
            {
              "path" : "code",
              "valueSet" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.258"
            }
          ]
        },
        {
          "type" : "Procedure",
          "profile" : [
            🔗 "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-procedure"
          ],
          "mustSupport" : [
            "code",
            "status",
            "status.value",
            "performed",
            "id",
            "id.value"
          ],
          "codeFilter" : [
            {
              "path" : "code",
              "valueSet" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.259"
            }
          ]
        },
        {
          "type" : "Procedure",
          "profile" : [
            🔗 "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-procedure"
          ],
          "mustSupport" : [
            "code",
            "status",
            "status.value",
            "performed",
            "id",
            "id.value"
          ],
          "codeFilter" : [
            {
              "path" : "code",
              "valueSet" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.260"
            }
          ]
        },
        {
          "type" : "Procedure",
          "profile" : [
            🔗 "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-procedure"
          ],
          "mustSupport" : [
            "code",
            "status",
            "status.value",
            "performed",
            "id",
            "id.value"
          ],
          "codeFilter" : [
            {
              "path" : "code",
              "valueSet" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.261"
            }
          ]
        },
        {
          "type" : "Procedure",
          "profile" : [
            🔗 "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-procedure"
          ],
          "mustSupport" : [
            "code",
            "status",
            "status.value",
            "performed",
            "id",
            "id.value"
          ],
          "codeFilter" : [
            {
              "path" : "code",
              "valueSet" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.272"
            }
          ]
        },
        {
          "type" : "Procedure",
          "profile" : [
            🔗 "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-procedure"
          ],
          "mustSupport" : [
            "code",
            "status",
            "status.value",
            "performed",
            "id",
            "id.value"
          ],
          "codeFilter" : [
            {
              "path" : "code",
              "valueSet" : "http://cts.nlm.nih.gov/fhir/ValueSet/1.3.6.1.4.1.33895.1.3.0.45"
            }
          ]
        },
        {
          "type" : "Procedure",
          "profile" : [
            🔗 "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-procedure"
          ],
          "mustSupport" : [
            "code",
            "status",
            "status.value",
            "performed",
            "performed.low",
            "performed.lowClosed",
            "performed.high",
            "performed.highClosed",
            "id",
            "id.value"
          ],
          "codeFilter" : [
            {
              "path" : "code",
              "valueSet" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.666.5.1743"
            },
            {
              "path" : "status.value",
              "code" : [
                {
                  "code" : "completed"
                }
              ]
            }
          ],
          "dateFilter" : [
            {
              "path" : "performed",
              "valuePeriod" : {
                "extension" : [
                  {
                    "url" : "http://hl7.org/fhir/uv/crmi-analysisException",
                    "valueString" : "Error attempting to determine filter value: toFhirValue not implemented for Add"
                  }
                ]
              }
            }
          ]
        },
        {
          "type" : "Observation",
          "profile" : [
            🔗 "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-observation"
          ],
          "mustSupport" : [
            "code",
            "value",
            "status",
            "status.value",
            "id",
            "id.value",
            "effective"
          ],
          "codeFilter" : [
            {
              "path" : "code",
              "code" : [
                {
                  "system" : "http://loinc.org",
                  "code" : "72136-5",
                  "display" : "Risk for venous thromboembolism"
                }
              ]
            },
            {
              "path" : "value",
              "valueSet" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.400"
            }
          ]
        },
        {
          "type" : "Observation",
          "profile" : [
            🔗 "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab"
          ],
          "mustSupport" : [
            "code",
            "value",
            "status",
            "status.value",
            "id",
            "id.value",
            "issued",
            "issued.value"
          ],
          "codeFilter" : [
            {
              "path" : "code",
              "valueSet" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.213"
            }
          ]
        },
        {
          "type" : "MedicationAdministration",
          "profile" : [
            🔗 "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-mednotadministered"
          ],
          "mustSupport" : [
            "medication",
            "id",
            "id.value",
            "statusReason",
            "extension"
          ],
          "codeFilter" : [
            {
              "path" : "medication",
              "valueSet" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1045.39"
            }
          ]
        },
        {
          "type" : "MedicationAdministration",
          "profile" : [
            🔗 "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-mednotadministered"
          ],
          "mustSupport" : [
            "medication",
            "id",
            "id.value",
            "statusReason",
            "extension"
          ],
          "codeFilter" : [
            {
              "path" : "medication",
              "valueSet" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1045.39"
            }
          ]
        },
        {
          "type" : "MedicationAdministration",
          "profile" : [
            🔗 "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-mednotadministered"
          ],
          "mustSupport" : [
            "medication",
            "id",
            "id.value",
            "statusReason",
            "extension"
          ],
          "codeFilter" : [
            {
              "path" : "medication",
              "valueSet" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.219"
            }
          ]
        },
        {
          "type" : "MedicationAdministration",
          "profile" : [
            🔗 "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-mednotadministered"
          ],
          "mustSupport" : [
            "medication",
            "id",
            "id.value",
            "statusReason",
            "extension"
          ],
          "codeFilter" : [
            {
              "path" : "medication",
              "valueSet" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.219"
            }
          ]
        },
        {
          "type" : "MedicationAdministration",
          "profile" : [
            🔗 "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-mednotadministered"
          ],
          "mustSupport" : [
            "medication",
            "id",
            "id.value",
            "statusReason",
            "extension"
          ],
          "codeFilter" : [
            {
              "path" : "medication",
              "valueSet" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.211"
            }
          ]
        },
        {
          "type" : "MedicationAdministration",
          "profile" : [
            🔗 "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-mednotadministered"
          ],
          "mustSupport" : [
            "medication",
            "id",
            "id.value",
            "statusReason",
            "extension"
          ],
          "codeFilter" : [
            {
              "path" : "medication",
              "valueSet" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.211"
            }
          ]
        },
        {
          "type" : "MedicationAdministration",
          "profile" : [
            🔗 "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-mednotadministered"
          ],
          "mustSupport" : [
            "medication",
            "id",
            "id.value",
            "statusReason",
            "extension"
          ],
          "codeFilter" : [
            {
              "path" : "medication",
              "valueSet" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.232"
            }
          ]
        },
        {
          "type" : "MedicationAdministration",
          "profile" : [
            🔗 "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-mednotadministered"
          ],
          "mustSupport" : [
            "medication",
            "id",
            "id.value",
            "statusReason",
            "extension"
          ],
          "codeFilter" : [
            {
              "path" : "medication",
              "valueSet" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.232"
            }
          ]
        },
        {
          "type" : "MedicationAdministration",
          "profile" : [
            🔗 "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-mednotadministered"
          ],
          "mustSupport" : [
            "medication",
            "id",
            "id.value",
            "statusReason",
            "extension"
          ],
          "codeFilter" : [
            {
              "path" : "medication",
              "valueSet" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1110.50"
            }
          ]
        },
        {
          "type" : "MedicationAdministration",
          "profile" : [
            🔗 "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-mednotadministered"
          ],
          "mustSupport" : [
            "medication",
            "id",
            "id.value",
            "statusReason",
            "extension"
          ],
          "codeFilter" : [
            {
              "path" : "medication",
              "valueSet" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1110.50"
            }
          ]
        },
        {
          "type" : "MedicationRequest",
          "profile" : [
            🔗 "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-mednotrequested"
          ],
          "mustSupport" : [
            "medication",
            "intent",
            "intent.value",
            "id",
            "id.value",
            "reasonCode",
            "authoredOn",
            "authoredOn.value"
          ],
          "codeFilter" : [
            {
              "path" : "medication",
              "valueSet" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1045.39"
            }
          ]
        },
        {
          "type" : "MedicationRequest",
          "profile" : [
            🔗 "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-mednotrequested"
          ],
          "mustSupport" : [
            "medication",
            "intent",
            "intent.value",
            "id",
            "id.value",
            "reasonCode",
            "authoredOn",
            "authoredOn.value"
          ],
          "codeFilter" : [
            {
              "path" : "medication",
              "valueSet" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1045.39"
            }
          ]
        },
        {
          "type" : "MedicationRequest",
          "profile" : [
            🔗 "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-mednotrequested"
          ],
          "mustSupport" : [
            "medication",
            "intent",
            "intent.value",
            "id",
            "id.value",
            "reasonCode",
            "authoredOn",
            "authoredOn.value"
          ],
          "codeFilter" : [
            {
              "path" : "medication",
              "valueSet" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.219"
            }
          ]
        },
        {
          "type" : "MedicationRequest",
          "profile" : [
            🔗 "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-mednotrequested"
          ],
          "mustSupport" : [
            "medication",
            "intent",
            "intent.value",
            "id",
            "id.value",
            "reasonCode",
            "authoredOn",
            "authoredOn.value"
          ],
          "codeFilter" : [
            {
              "path" : "medication",
              "valueSet" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.219"
            }
          ]
        },
        {
          "type" : "MedicationRequest",
          "profile" : [
            🔗 "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-mednotrequested"
          ],
          "mustSupport" : [
            "medication",
            "intent",
            "intent.value",
            "id",
            "id.value",
            "reasonCode",
            "authoredOn",
            "authoredOn.value"
          ],
          "codeFilter" : [
            {
              "path" : "medication",
              "valueSet" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.211"
            }
          ]
        },
        {
          "type" : "MedicationRequest",
          "profile" : [
            🔗 "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-mednotrequested"
          ],
          "mustSupport" : [
            "medication",
            "intent",
            "intent.value",
            "id",
            "id.value",
            "reasonCode",
            "authoredOn",
            "authoredOn.value"
          ],
          "codeFilter" : [
            {
              "path" : "medication",
              "valueSet" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.211"
            }
          ]
        },
        {
          "type" : "MedicationRequest",
          "profile" : [
            🔗 "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-mednotrequested"
          ],
          "mustSupport" : [
            "medication",
            "intent",
            "intent.value",
            "id",
            "id.value",
            "reasonCode",
            "authoredOn",
            "authoredOn.value"
          ],
          "codeFilter" : [
            {
              "path" : "medication",
              "valueSet" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.232"
            }
          ]
        },
        {
          "type" : "MedicationRequest",
          "profile" : [
            🔗 "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-mednotrequested"
          ],
          "mustSupport" : [
            "medication",
            "intent",
            "intent.value",
            "id",
            "id.value",
            "reasonCode",
            "authoredOn",
            "authoredOn.value"
          ],
          "codeFilter" : [
            {
              "path" : "medication",
              "valueSet" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.232"
            }
          ]
        },
        {
          "type" : "MedicationRequest",
          "profile" : [
            🔗 "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-mednotrequested"
          ],
          "mustSupport" : [
            "medication",
            "intent",
            "intent.value",
            "id",
            "id.value",
            "reasonCode",
            "authoredOn",
            "authoredOn.value"
          ],
          "codeFilter" : [
            {
              "path" : "medication",
              "valueSet" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1110.50"
            }
          ]
        },
        {
          "type" : "MedicationRequest",
          "profile" : [
            🔗 "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-mednotrequested"
          ],
          "mustSupport" : [
            "medication",
            "intent",
            "intent.value",
            "id",
            "id.value",
            "reasonCode",
            "authoredOn",
            "authoredOn.value"
          ],
          "codeFilter" : [
            {
              "path" : "medication",
              "valueSet" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1110.50"
            }
          ]
        },
        {
          "type" : "ServiceRequest",
          "profile" : [
            🔗 "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-servicenotrequested"
          ],
          "mustSupport" : [
            "code",
            "intent",
            "intent.value",
            "id",
            "id.value",
            "extension",
            "authoredOn",
            "authoredOn.value"
          ],
          "codeFilter" : [
            {
              "path" : "code",
              "valueSet" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.230"
            }
          ]
        },
        {
          "type" : "ServiceRequest",
          "profile" : [
            🔗 "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-servicenotrequested"
          ],
          "mustSupport" : [
            "code",
            "intent",
            "intent.value",
            "id",
            "id.value",
            "extension",
            "authoredOn",
            "authoredOn.value"
          ],
          "codeFilter" : [
            {
              "path" : "code",
              "valueSet" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.230"
            }
          ]
        },
        {
          "type" : "ServiceRequest",
          "profile" : [
            🔗 "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-servicenotrequested"
          ],
          "mustSupport" : [
            "code",
            "intent",
            "intent.value",
            "id",
            "id.value",
            "extension",
            "authoredOn",
            "authoredOn.value"
          ],
          "codeFilter" : [
            {
              "path" : "code",
              "valueSet" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.214"
            }
          ]
        },
        {
          "type" : "ServiceRequest",
          "profile" : [
            🔗 "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-servicenotrequested"
          ],
          "mustSupport" : [
            "code",
            "intent",
            "intent.value",
            "id",
            "id.value",
            "extension",
            "authoredOn",
            "authoredOn.value"
          ],
          "codeFilter" : [
            {
              "path" : "code",
              "valueSet" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.214"
            }
          ]
        },
        {
          "type" : "ServiceRequest",
          "profile" : [
            🔗 "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-servicenotrequested"
          ],
          "mustSupport" : [
            "code",
            "intent",
            "intent.value",
            "id",
            "id.value",
            "extension",
            "authoredOn",
            "authoredOn.value"
          ],
          "codeFilter" : [
            {
              "path" : "code",
              "valueSet" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.256"
            }
          ]
        },
        {
          "type" : "ServiceRequest",
          "profile" : [
            🔗 "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-servicenotrequested"
          ],
          "mustSupport" : [
            "code",
            "intent",
            "intent.value",
            "id",
            "id.value",
            "extension",
            "authoredOn",
            "authoredOn.value"
          ],
          "codeFilter" : [
            {
              "path" : "code",
              "valueSet" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.256"
            }
          ]
        },
        {
          "type" : "Procedure",
          "profile" : [
            🔗 "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-procedurenotdone"
          ],
          "mustSupport" : [
            "code",
            "extension",
            "id",
            "id.value",
            "statusReason"
          ],
          "codeFilter" : [
            {
              "path" : "code",
              "valueSet" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1110.65"
            }
          ]
        },
        {
          "type" : "Procedure",
          "profile" : [
            🔗 "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-procedurenotdone"
          ],
          "mustSupport" : [
            "code",
            "extension",
            "id",
            "id.value",
            "statusReason"
          ],
          "codeFilter" : [
            {
              "path" : "code",
              "valueSet" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1110.65"
            }
          ]
        },
        {
          "type" : "Procedure",
          "profile" : [
            🔗 "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-procedurenotdone"
          ],
          "mustSupport" : [
            "code",
            "extension",
            "id",
            "id.value",
            "statusReason"
          ],
          "codeFilter" : [
            {
              "path" : "code",
              "valueSet" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1110.64"
            }
          ]
        },
        {
          "type" : "Procedure",
          "profile" : [
            🔗 "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-procedurenotdone"
          ],
          "mustSupport" : [
            "code",
            "extension",
            "id",
            "id.value",
            "statusReason"
          ],
          "codeFilter" : [
            {
              "path" : "code",
              "valueSet" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1110.64"
            }
          ]
        },
        {
          "type" : "Procedure",
          "profile" : [
            🔗 "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-procedurenotdone"
          ],
          "mustSupport" : [
            "code",
            "extension",
            "id",
            "id.value",
            "statusReason"
          ],
          "codeFilter" : [
            {
              "path" : "code",
              "valueSet" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1110.66"
            }
          ]
        },
        {
          "type" : "Procedure",
          "profile" : [
            🔗 "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-procedurenotdone"
          ],
          "mustSupport" : [
            "code",
            "extension",
            "id",
            "id.value",
            "statusReason"
          ],
          "codeFilter" : [
            {
              "path" : "code",
              "valueSet" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1110.66"
            }
          ]
        },
        {
          "type" : "Coverage",
          "profile" : [
            🔗 "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-coverage"
          ],
          "mustSupport" : [
            "type",
            "period"
          ],
          "codeFilter" : [
            {
              "path" : "type",
              "valueSet" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3591"
            }
          ]
        },
        {
          "type" : "Location",
          "profile" : [
            🔗 "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-location"
          ],
          "mustSupport" : [
            "id",
            "id.value"
          ]
        },
        {
          "type" : "ServiceRequest",
          "profile" : [
            🔗 "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-servicerequest"
          ],
          "mustSupport" : [
            "code",
            "intent",
            "intent.value",
            "status",
            "status.value",
            "doNotPerform",
            "doNotPerform.value"
          ],
          "codeFilter" : [
            {
              "path" : "code",
              "valueSet" : "http://cts.nlm.nih.gov/fhir/ValueSet/1.3.6.1.4.1.33895.1.3.0.45"
            }
          ]
        }
      ]
    }
  ],
  "extension" : [
    {
      "id" : "supplementalDataGuidance",
      "extension" : [
        {
          "url" : "guidance",
          "valueString" : "For every patient evaluated by this measure also identify payer, race, ethnicity and sex; SDE Ethnicity-Patient's Ethnicity:\nHispanic or Latino\nNot Hispanic or Latino \n SDE Race-Patient's Race:\nNative Hawaiian or Other Pacific Islander\nAsian\nAmerican Indian or Alaska Native\nOther Race\nWhite\nBlack or African American \n SDE Sex-Patient's Sex:\nGender identity restricted to only Male and Female used in administrative situations requiring a restriction to these two categories. \n SDE Payer \n "
        },
        {
          "url" : "usage",
          "valueCodeableConcept" : {
            "coding" : [
              {
                "system" : "http://terminology.hl7.org/CodeSystem/measure-data-usage",
                "code" : "supplemental-data",
                "display" : "Supplemental Data"
              }
            ],
            "text" : "Supplemental Data Guidance"
          }
        }
      ],
      "url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-supplementalDataGuidance"
    },
    {
      "id" : "effective-data-requirements",
      "url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-effectiveDataRequirements",
      "valueReference" : {
        "reference" : "#effective-data-requirements"
      }
    },
    {
      "url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-softwaresystem",
      "valueReference" : {
        "reference" : "Device/cqf-tooling"
      }
    }
  ],
  "url" : "https://madie.cms.gov/Measure/VenousThromboembolismProphylaxisFHIR",
  "identifier" : [
    {
      "use" : "usual",
      "type" : {
        "coding" : [
          {
            "system" : "http://hl7.org/fhir/us/cqfmeasures/CodeSystem/identifier-type",
            "code" : "short-name"
          }
        ]
      },
      "system" : "https://madie.cms.gov/measure/shortName",
      "value" : "CMS108FHIR"
    },
    {
      "use" : "official",
      "type" : {
        "coding" : [
          {
            "system" : "http://hl7.org/fhir/us/cqfmeasures/CodeSystem/identifier-type",
            "code" : "version-independent"
          }
        ]
      },
      "system" : "urn:ietf:rfc:3986",
      "value" : "urn:uuid:fa570e9c-c75f-4972-a77e-9488816d14af"
    },
    {
      "use" : "official",
      "type" : {
        "coding" : [
          {
            "system" : "http://hl7.org/fhir/us/cqfmeasures/CodeSystem/identifier-type",
            "code" : "version-specific"
          }
        ]
      },
      "system" : "urn:ietf:rfc:3986",
      "value" : "urn:uuid:1b60bbd2-6837-4b68-921c-ffeead0bc2ca"
    },
    {
      "use" : "official",
      "type" : {
        "coding" : [
          {
            "system" : "http://hl7.org/fhir/us/cqfmeasures/CodeSystem/identifier-type",
            "code" : "publisher"
          }
        ]
      },
      "system" : "https://madie.cms.gov/measure/cmsId",
      "value" : "108FHIR",
      "assigner" : {
        "display" : "CMS"
      }
    }
  ],
  "version" : "0.2.000",
  "name" : "VenousThromboembolismProphylaxisFHIR",
  "title" : "Venous Thromboembolism ProphylaxisFHIR",
  "status" : "draft",
  "experimental" : false,
  "date" : "2024-07-09T14:53:56+00:00",
  "publisher" : "The Joint Commission",
  "contact" : [
    {
      "telecom" : [
        {
          "system" : "url",
          "value" : "https://www.jointcommission.org/"
        }
      ]
    }
  ],
  "description" : "This measure assesses the number of patients who received Venous Thromboembolism (VTE) prophylaxis or have documentation why no VTE prophylaxis was given between the day of arrival to the day after hospital admission or surgery end date for surgeries that start the day of or the day after hospital admission",
  "purpose" : "UNKNOWN",
  "usage" : "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.\"\n\nThe denominator population includes patients with inpatient hospitalizations and patients from Acute Hospital Care at Home programs, who are treated and billed as inpatients but receive care in their home.\n\nThis eCQM is an episode-based measure. An episode is defined as each inpatient hospitalization or encounter that ends during the measurement period.\n\nThis FHIR-based measure has been derived from the QDM-based measure: CMS108v13.\n\nPlease refer to the HL7 QI-Core Implementation Guide (https://hl7.org/fhir/us/qicore/STU4.1.1/) for more information on QI-Core and mapping recommendations from QDM to QI-Core 4.1.1 (https://hl7.org/fhir/us/qicore/STU4.1.1/qdm-to-qicore.html).",
  "copyright" : "Measure specifications are in the Public Domain.\n\nLOINC(R) copyright 2004-2023 Regenstrief Institute, Inc. This material contains SNOMED Clinical Terms(R) (SNOMED CT[R]) copyright 2004-2023 International Health Terminology Standards Development Organisation. ICD-10 copyright 2023 World Health Organization. All Rights Reserved.",
  "effectivePeriod" : {
    "start" : "2025-01-01",
    "end" : "2025-12-31"
  },
  "author" : [
    {
      "name" : "The Joint Commission",
      "telecom" : [
        {
          "system" : "url",
          "value" : "https://www.jointcommission.org/"
        }
      ]
    }
  ],
  "library" : [
    🔗 "https://madie.cms.gov/Library/VenousThromboembolismProphylaxisFHIR"
  ],
  "disclaimer" : "These performance measures are not clinical guidelines and do not establish a standard of medical care and have not been tested for all potential applications. The measures and specifications are provided without warranty.",
  "scoring" : {
    "coding" : [
      {
        "system" : "http://terminology.hl7.org/CodeSystem/measure-scoring",
        "code" : "proportion",
        "display" : "Proportion"
      }
    ]
  },
  "rationale" : "The estimated annual incidence of deep-vein thrombosis (DVT) and pulmonary embolism (PE), known collectively as venous thromboembolism (VTE), ranges from 350,000 to 600,000 (Maynard, 2016). According to the Centers for Disease Control and Prevention (CDC) 2020 statistics, 1-2 per 1,000 adults in the United States are clinically diagnosed with VTE each year (CDC, 2020). Increased incidence is reported in the elderly (1 per 100) compared to young adults (1 per 10,000) (Henke et al., 2020). \n\nVTE is a known complication of hospitalization, frequently extending the length of stay and increasing hospital mortality (Maynard, 2016). Approximately 20% of VTE are associated with a surgical procedure (Henke et al., 2020). Hospitalized patients at high-risk for VTE may develop an asymptomatic DVT, and die from 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\nAmerican Society of Hematology (ASH) 2018 VTE prophylaxis guidelines strongly recommend pharmacological prophylaxis using unfractionated heparin (UFH), low molecular weight heparin (LMWH) or fondaparinux for acutely and critically ill hospitalized medical patients, unless contraindicated. The use of mechanical prophylaxis is an acceptable alternative for patients with increased risk of bleeding and preferred over no prophylaxis. ASH 2019 guidelines for surgical patients similarly recommend pharmacological or mechanical prophylaxis over no VTE prophylaxis. (NOTE: Some 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.)\n\nDespite its proven effectiveness, VTE prophylaxis remains underused or inappropriately used in both medical and surgical patients (Kahn et al., 2018). The ENDORSE study evaluated prophylaxis rates in 17,084 major surgery patients and found that more than one third of patients at risk for VTE (38%) did not receive prophylaxis with various rates reported for different types of surgery (Cohen et al., 2008). More recently, a systemic review of multiple randomized controlled trials found that system-wide interventions, such as computer alerts to physicians and other healthcare professionals, increased the use of appropriate VTE prophylaxis while reducing the number of symptomatic VTE at three months (Kahn et al., 2018).",
  "clinicalRecommendationStatement" : "Failure to recognize and protect patients at risk for venous thromboembolism (VTE) increases the chances for acutely ill hospitalized patients at high risk for developing a deep vein thrombosis or dying from a pulmonary embolism. 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.",
  "group" : [
    {
      "id" : "64f8bc45da013638e7b3d874",
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-scoring",
          "valueCodeableConcept" : {
            "coding" : [
              {
                "system" : "http://terminology.hl7.org/CodeSystem/measure-scoring",
                "code" : "proportion",
                "display" : "Proportion"
              }
            ]
          }
        },
        {
          "url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-populationBasis",
          "valueCode" : "Encounter"
        },
        {
          "url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-type",
          "valueCodeableConcept" : {
            "coding" : [
              {
                "system" : "http://terminology.hl7.org/CodeSystem/measure-type",
                "code" : "process",
                "display" : "Process"
              }
            ]
          }
        },
        {
          "url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-rateAggregation",
          "valueCode" : "None"
        },
        {
          "url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-improvementNotation",
          "valueCodeableConcept" : {
            "coding" : [
              {
                "system" : "http://terminology.hl7.org/CodeSystem/measure-improvement-notation",
                "code" : "decrease",
                "display" : "increase"
              }
            ]
          }
        }
      ],
      "population" : [
        {
          "id" : "97C2359B-EBFC-44FE-B4D5-A8D961468ACD",
          "code" : {
            "coding" : [
              {
                "system" : "http://terminology.hl7.org/CodeSystem/measure-population",
                "code" : "initial-population",
                "display" : "Initial Population"
              }
            ]
          },
          "description" : "Inpatient hospitalizations for patients age 18 and older, discharged from hospital inpatient acute care without a diagnosis of venous thromboembolism (VTE) or obstetrics that ends during the measurement period",
          "criteria" : {
            "language" : "text/cql-identifier",
            "expression" : "Initial Population"
          }
        },
        {
          "id" : "9E8A9B37-BE83-4016-B3B6-3292843AED49",
          "code" : {
            "coding" : [
              {
                "system" : "http://terminology.hl7.org/CodeSystem/measure-population",
                "code" : "denominator",
                "display" : "Denominator"
              }
            ]
          },
          "description" : "Initial population",
          "criteria" : {
            "language" : "text/cql-identifier",
            "expression" : "Denominator"
          }
        },
        {
          "id" : "89FBDFC1-C17F-4351-89BC-0EAB887E9E01",
          "code" : {
            "coding" : [
              {
                "system" : "http://terminology.hl7.org/CodeSystem/measure-population",
                "code" : "denominator-exclusion",
                "display" : "Denominator Exclusion"
              }
            ]
          },
          "description" : "- Inpatient hospitalizations for patients who have a length of stay less than 2 days\n- Inpatient hospitalizations for 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- Inpatient hospitalizations for patients with a principal diagnosis of mental disorders or stroke\n- Inpatient hospitalizations for patients with a principal procedure of Surgical Care Improvement Project (SCIP) VTE selected surgeries\n- Inpatient hospitalizations for patients with comfort measures documented anytime between the day of arrival and the day after hospital admission\n- Inpatient hospitalizations for patients with comfort measures documented by the day after surgery end date for surgeries that end the day of or the day after hospital admission",
          "criteria" : {
            "language" : "text/cql-identifier",
            "expression" : "Denominator Exclusions"
          }
        },
        {
          "id" : "A15A4A4F-D0C2-465E-9A39-BA83690F2108",
          "code" : {
            "coding" : [
              {
                "system" : "http://terminology.hl7.org/CodeSystem/measure-population",
                "code" : "numerator",
                "display" : "Numerator"
              }
            ]
          },
          "description" : "Inpatient hospitalizations for patients who received VTE prophylaxis:\n- between the day of arrival and 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\nInpatient hospitalizations for patients who have documentation of a reason why no VTE prophylaxis was given:\n- between the day of arrival and the day after hospital admission\n- the day of or the day after surgery end date (for surgeries that end the day of or the day after hospital admission)",
          "criteria" : {
            "language" : "text/cql-identifier",
            "expression" : "Numerator"
          }
        }
      ]
    }
  ],
  "supplementalData" : [
    {
      "id" : "sde-ethnicity",
      "usage" : [
        {
          "coding" : [
            {
              "system" : "http://terminology.hl7.org/CodeSystem/measure-data-usage",
              "code" : "supplemental-data"
            }
          ]
        }
      ],
      "description" : "SDE Ethnicity",
      "criteria" : {
        "language" : "text/cql-identifier",
        "expression" : "SDE Ethnicity"
      }
    },
    {
      "id" : "sde-race",
      "usage" : [
        {
          "coding" : [
            {
              "system" : "http://terminology.hl7.org/CodeSystem/measure-data-usage",
              "code" : "supplemental-data"
            }
          ]
        }
      ],
      "description" : "SDE Race",
      "criteria" : {
        "language" : "text/cql-identifier",
        "expression" : "SDE Race"
      }
    },
    {
      "id" : "sde-sex",
      "usage" : [
        {
          "coding" : [
            {
              "system" : "http://terminology.hl7.org/CodeSystem/measure-data-usage",
              "code" : "supplemental-data"
            }
          ]
        }
      ],
      "description" : "SDE Sex",
      "criteria" : {
        "language" : "text/cql-identifier",
        "expression" : "SDE Sex"
      }
    },
    {
      "id" : "sde-payer",
      "usage" : [
        {
          "coding" : [
            {
              "system" : "http://terminology.hl7.org/CodeSystem/measure-data-usage",
              "code" : "supplemental-data"
            }
          ]
        }
      ],
      "description" : "SDE Payer",
      "criteria" : {
        "language" : "text/cql-identifier",
        "expression" : "SDE Payer"
      }
    }
  ]
}