eCQM QICore Content Implementation Guide
2023.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 2023.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-2023/ and changes regularly. See the Directory of published versions

: Appropriate Treatment for ST-Segment Elevation Myocardial Infarction (STEMI) Patients in the Emergency Department (ED)FHIR - TTL Representation

Draft as of 2023-10-27

Raw ttl | Download

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

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

 a fhir:Measure ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "AppropriateTreatmentforSTEMIFHIR"] ; # 
  fhir:meta [
    ( fhir:profile [
fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/computable-measure-cqfm"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/computable-measure-cqfm>     ] [
fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/publishable-measure-cqfm"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/publishable-measure-cqfm>     ] [
fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/executable-measure-cqfm"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/executable-measure-cqfm>     ] )
  ] ; # 
  fhir:text [
fhir:status [ fhir:v "extensions" ] ;
fhir:div [ fhir:v "<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;\">Appropriate Treatment for ST-Segment Elevation Myocardial Infarction (STEMI) Patients in the Emergency Department (ED)FHIR</td>\n            </tr>\n        \n\n        \n\n        \n            <tr>\n                <th scope=\"row\"><b>Id: </b></th>\n                <td style=\"padding-left: 4px;\">AppropriateTreatmentforSTEMIFHIR</td>\n            </tr>\n            \n                <tr>\n                    <th scope=\"row\"><b>Download cql: </b></th>\n                    <td style=\"padding-left: 4px;\"><a href=\"Library-AppropriateTreatmentforSTEMIFHIR.cql\">AppropriateTreatmentforSTEMIFHIR.cql</a></td>\n                </tr>\n            \n        \n\n        \n            <tr>\n                <th scope=\"row\"><b>Version: </b></th>\n                <td style=\"padding-left: 4px;\">0.0.008</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-AppropriateTreatmentforSTEMIFHIR.html\">Appropriate Treatment for ST-Segment Elevation Myocardial Infarction (STEMI) Patients in the Emergency Department (ED)FHIR</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>CMS996FHIR</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:a48685e0-4926-4ae8-9eb3-d8e8839b1704</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:2c92808482113ece01821188a1500069</span>\n                        </p>\n                    \n                </td>\n            </tr>\n        \n            <tr>\n                <th scope=\"row\">\n                    <b>\n                        \n                            \n                                endorser (NQF) identifier:\n                            \n                        \n                    </b>\n                </th>\n\n                <td style=\"padding-left: 4px;\">\n                    \n                        <p style=\"margin-bottom: 5px;\">\n                            <span>3613e</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>996FHIR</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;\">2024-01-01\n                    ..2024-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>Date: </b></th>\n                <td style=\"padding-left: 4px;\">2023-10-27 08:12:31+0000</td>\n            </tr>\n        \n\n        \n            <tr>\n                <th scope=\"row\"><b>Approval Date: </b></th>\n                <td style=\"padding-left: 4px;\">2023-08-17</td>\n            </tr>\n        \n\n        \n            <tr>\n                <th scope=\"row\"><b>Last Review Date: </b></th>\n                <td style=\"padding-left: 4px;\">2023-08-17</td>\n            </tr>\n        \n\n        \n            <tr>\n                <th scope=\"row\"><b>Name: </b></th>\n                <td style=\"padding-left: 4px;\">AppropriateTreatmentforSTEMIFHIR</td>\n            </tr>\n        \n\n        \n            <tr>\n                <th scope=\"row\"><b>Publisher: </b></th>\n                <td style=\"padding-left: 4px;\">Centers for Medicare &amp; Medicaid Services (CMS)</td>\n            </tr>\n        \n\n        \n        <tr>\n            <th scope=\"row\"><b>Author: </b></th>\n            <td style=\"padding-left: 4px;\">Yale New Haven Health Service Corporation/ Center for Outcomes Research and Evaluation: <a href=\"https://medicine.yale.edu/core/\">https://medicine.yale.edu/core/</a>, The Lewin Group: <a href=\"https://www.lewin.com/\">https://www.lewin.com/</a></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>Percentage of emergency department (ED) encounters for patients 18 years and older with a diagnosis of ST-segment elevation myocardial infarction (STEMI) that received appropriate treatment, defined as fibrinolytic therapy within 30 minutes of ED arrival, percutaneous coronary intervention (PCI) within 90 minutes of ED arrival, or transfer within 45 minutes of ED arrival</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>Limited proprietary coding is contained in these specifications for user convenience. Users of proprietary code sets should obtain all necessary licenses from the owners of the code sets.</p>\n<p>This material contains SNOMED Clinical Terms(R) (SNOMED CT[R]) copyright 2004-2022 International Health Terminology Standards Development Organisation. All rights reserved.</p>\n<p>LOINC(R) copyright 2004-2022 Regenstrief Institute, Inc.</p>\n<p>CPT(R) contained in the Measure specifications is copyright 2004-2022 American Medical Association.</p>\n<p>ICD-10 is copyright 2022 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 specifications are not clinical guidelines and do not establish a standard of medical care, and have not been tested for all potential applications.</p>\n<p>THE MEASURES AND SPECIFICATIONS ARE PROVIDED \"AS IS\" WITHOUT WARRANTY OF ANY KIND.</p>\n<p>Due to technical limitations, registered trademarks are indicated by (R) or [R] and unregistered trademarks are indicated by (TM) or [TM].</p>\n</div></td>\n            </tr>\n        \n\n        \n\n        \n\n        \n\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>Studies have shown that delays in the treatment of acute myocardial infarction (AMI) leads to increased risk of in-hospital mortality and morbidity, with nearly two lives per 1,000 patients lost per hour of delay in treatment (Sohlpour &amp; Yusuf, 2014; Fibrinolytic Therapy Trialists’ Collaborative Group, 1994). For patients receiving fibrinolytic therapy, the American Heart Association (AHA) estimates that 65 lives will be saved per 1,000 patients if treatment is administered within the first hour of symptom onset, and 131 lives will be saved per 1,000 patients treated if fibrinolytic therapy is delivered within the first three hours (O’Connor et al., 2010).\nThe total ischemic time—that is, the time from onset of STEMI symptoms to the initiation of some form of reperfusion therapy—is the principal determinant of health outcomes for patients with an AMI, so timely care is essential to minimize disease morbidity and mortality. Primary PCI is the preferred treatment approach, with guidelines recommending initiation of PCI within 120 minutes from first medical contact (O’Gara et al., 2013). In situations where it is unlikely or impossible for a patient to receive primary PCI within the 120-minute timeframe, fibrinolytic therapy may be used for reperfusion and should be rapidly administered to reduce mortality and minimize morbidity; guidelines recommend that fibrinolytic therapy administration occur within 30 minutes of hospital arrival; this may also require rapid transfer for PCI (O’Gara et al., 2013).\nImplementation of an eCQM addressing appropriateness and effectiveness of care for STEMI patients in the ED has the potential to improve the delivery of care furthering alignment with current clinical practice guidelines, while reducing adverse health outcomes such as mortality, bleeding events, and reinfarction. Use of the proposed eCQM could also reduce burden on facilities currently measured using the chart-abstracted Fibrinolytic Therapy Received within 30 Minutes of ED Arrival (OP-2) measure and broaden the population for which performance scores could be publicly reported.</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>Primary PCI in STEMI:\nThe 2013 ACCF/AHA clinical practice guideline for the management of STEMI recommends that:</p>\n<ul>\n<li>\"Primary PCI should be performed in patients with STEMI and ischemic symptoms of less than 12 hours’ duration.\"</li>\n<li>\"Primary PCI should be performed in patients with STEMI and ischemic symptoms of less than 12 hours’ duration who have contraindications to fibrinolytic therapy, irrespective of the time delay from first medical contact.\"</li>\n</ul>\n<p>Fibrinolytic Therapy when there is an Anticipated Delay to Performing Primary PCI within 120 Minutes of First Medical Contact:\nThe 2013 ACCF/AHA clinical practice guideline for the management of STEMI recommends that:</p>\n<ul>\n<li>\"In the absence of contraindications, fibrinolytic therapy should be given to patients with STEMI and onset of ischemic symptoms within the previous 12 hours when it is anticipated that primary PCI cannot be performed within 120 minutes of first medical contact.”</li>\n</ul>\n<p>Transfer to a PCI-Capable Hospital after Fibrinolytic Therapy:\nThe 2013 ACCF/AHA clinical practice guideline for the management of STEMI recommends that:</p>\n<ul>\n<li>Immediate transfer to a PCI-capable hospital for coronary angiography is recommended for suitable patients with STEMI who develop cardiogenic shock or acute severe HF, irrespective of the time delay from MI onset.</li>\n<li>Urgent transfer to a PCI-capable hospital for coronary angiography is reasonable for patients with STEMI who demonstrate evidence of failed reperfusion or reocclusion after fibrinolytic therapy.</li>\n<li>Transfer to a PCI-capable hospital for coronary angiography is reasonable for patients with STEMI who have received fibrinolytic therapy even when hemodynamically stable and with clinical evidence of successful reperfusion. Angiography can be performed as soon as logistically feasible at the receiving hospital, and ideally within 24 hours, but should not be performed within the first 2 to 3 hours after administration of fibrinolytic therapy.</li>\n</ul>\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;\">This eCQM is an episode-based measure and should be reported for each instance of an ED encounter during the measurement period for patients with a STEMI.\n\nThis FHIR-based measure has been derived from the QDM-based measure: CMS996v4.\n\nPlease refer to the HL7 QI-Core Implementation Guide (http://hl7.org/fhir/us/qicore/index.html) for more information on QI-Core and mapping recommendations from QDM to QI-Core 4.1.1 (http://hl7.org/fhir/us/qicore/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>6384fdb64ba3d47c885c02a6</b></th>\n                                    </tr>\n                                \n                                \n                                    <tr>\n                                        <td>Initial Population:</td>\n                                        \n                                            <td>All emergency department encounters for patients 18 years and older with a diagnosis of ST-segment elevation myocardial infarction (STEMI)</td>\n                                        \n                                    </tr>\n                                \n                                    <tr>\n                                        <td>Denominator:</td>\n                                        \n                                            <td>Equals Initial Population</td>\n                                        \n                                    </tr>\n                                \n                                    <tr>\n                                        <td>Denominator Exclusion:</td>\n                                        \n                                            <td>Patients with the following conditions are excluded from measure denominator:\n • Expired in the ED\n • Bleeding or bleeding diathesis (excluding menses)\n • Intracranial or intraspinal surgery\n • Ischemic stroke \n • Known malignant intracranial neoplasm (primary or metastatic)\n • Known structural cerebral vascular lesion (e.g., AVM)\n • Significant facial and/or closed head trauma\n • Suspected aortic dissection\n •  Peptic ulcer\n •  Cardiopulmonary arrest, including: cardiac arrest, CPR, defibrillation, respiratory arrest, or ventricular fibrillation (V-fib), ventricular tachycardia (VT), or pulseless electrical activity (PEA); or, traumatic or prolonged (&gt;10 minutes) CPR\n • Allergic reaction to alteplase, streptokinase, anistreplase, tenecteplase, or reteplase\n • Intubation, including endotracheal intubation, mechanical ventilation, nasotracheal intubation, or orotracheal intubation\n • Mechanical circulatory assist device placement, including: aortic balloon pump, biventricular assist device, intra-aortic balloon, intra-aortic balloon counterpulsation, intra-aortic counterpulsation balloon pump, left ventricular device, percutaneous ventricular assist device, or ventricular assist device\n • Oral anticoagulant therapy \n • Advanced dementia\n • Pregnancy\n • Internal bleeding\n • Major surgery\n • Severe neurologic impairment (e.g., based on Glasgow coma scale or as indicated by the patient receiving therapeutic hypothermia in the ED)</td>\n                                        \n                                    </tr>\n                                \n                                    <tr>\n                                        <td>Numerator:</td>\n                                        \n                                            <td>Emergency department encounters with a diagnosis of STEMI:\n - where time from ED arrival to fibrinolysis is 30 minutes or fewer;\nOR \n- where PCI is performed within 90 minutes of arrival for non-transfer patients; \nOR\n- where the patient is transferred within 45 minutes of ED arrival.</td>\n                                        \n                                    </tr>\n                                \n                                    <tr>\n                                        <td>Numerator Exclusion:</td>\n                                        \n                                            <td>None</td>\n                                        \n                                    </tr>\n                                \n                                    <tr>\n                                        <td>Denominator Exception:</td>\n                                        \n                                            <td>None</td>\n                                        \n                                    </tr>\n                                \n                                \n                            </table>\n                        \n                    </td>\n                </tr>\n            \n        \n\n        \n            <tr>\n                <th scope=\"row\">\n                    <b> Supplemental Data Guidance\n                        : </b></th>\n                <td style=\"padding-left: 4px;\">  </td>\n            </tr>\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                                SDE Ethnicity\n                            \n                        \n                    \n                        \n                            \n                                SDE Payer\n                            \n                        \n                    \n                        \n                            \n                                SDE Race\n                            \n                        \n                    \n                        \n                            \n                                SDE Sex\n                            \n                        \n                    \n                </td>\n            </tr>\n        \n\n        \n            <tr>\n                <th scope=\"row\"><b>Libraries: </b></th>\n                <td style=\"padding-left: 4px;\">\n                    <table class=\"grid-dict\">\n                        \n                            <tr>\n                                <td><a href=\"Library-AppropriateTreatmentforSTEMIFHIR.html\">AppropriateTreatmentforSTEMIFHIR</a></td>\n                            </tr>\n                        \n                    </table>\n                </td>\n            </tr>\n        \n\n        \n\n        \n            \n                <tr>\n                    <th scope=\"row\"><b>Related Artifact Dependencies: </b></th>\n                    <td style=\"padding-left: 4px;\">\n                        \n                            <li><a href=\"Library-SupplementalDataElements.html\">SupplementalDataElements</a> version: 3.4.000</li>\n                        \n                            <li><a href=\"Library-FHIRHelpers.html\">FHIRHelpers</a> version: 4.3.000</li>\n                        \n                            <li><a href=\"Library-CQMCommon.html\">CQMCommon</a> version: 1.4.000</li>\n                        \n                            <li><a href=\"Library-QICoreCommon.html\">QICoreCommon</a> version: 1.5.000</li>\n                        \n                            <li><code>http://hl7.org/fhir/v3/AdministrativeGender</code></li>\n                        \n                            <li><a href=\"http://terminology.hl7.org/7.1.0/CodeSystem-v3-ActCode.html\">ActCode</a></li>\n                        \n                            <li><a href=\"http://terminology.hl7.org/7.1.0/CodeSystem-condition-clinical.html\">Condition Clinical Status Codes</a></li>\n                        \n                            <li><a href=\"http://terminology.hl7.org/7.1.0/CodeSystem-allergyintolerance-clinical.html\">AllergyIntolerance Clinical Status Codes</a></li>\n                        \n                            <li><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.464.1003.101.12.1085/expansion\">ED</a></li>\n                        \n                            <li><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.3157.4017/expansion\">STEMI</a></li>\n                        \n                            <li><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.3157.4020/expansion\">Fibrinolytic Therapy</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.3157.2000.5/expansion\">Percutaneous Coronary Intervention</a></li>\n                        \n                            <li><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.117.1.7.1.87/expansion\">Discharge To Acute Care Facility</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://tx.fhir.org/r4/ValueSet/2.16.840.1.113762.1.4.1170.4-20211007\">Thrombolytic Therapy Allergen</a></li>\n                        \n                            <li><a href=\"https://tx.fhir.org/r4/ValueSet/2.16.840.1.113762.1.4.1170.6-20250211\">Thrombolytics Adverse Event</a></li>\n                        \n                            <li><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.3157.4036/expansion\">Active Bleeding or Bleeding Diathesis (Excluding Menses)</a></li>\n                        \n                            <li><a href=\"https://tx.fhir.org/r4/ValueSet/2.16.840.1.113762.1.4.1170.3-20211005\">Malignant Intracranial Neoplasm Group</a></li>\n                        \n                            <li><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.3157.4025/expansion\">Cerebral Vascular Lesion</a></li>\n                        \n                            <li><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.3157.4043/expansion\">Dementia</a></li>\n                        \n                            <li><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.3157.4055/expansion\">Pregnancy</a></li>\n                        \n                            <li><a href=\"https://tx.fhir.org/r4/ValueSet/2.16.840.1.113762.1.4.1170.5-20250211\">Allergy to Thrombolytics</a></li>\n                        \n                            <li><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.3157.4045/expansion\">Anticoagulant Medications, Oral</a></li>\n                        \n                            <li><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.3157.4028/expansion\">Aortic Dissection</a></li>\n                        \n                            <li><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.464.1003.114.12.1012/expansion\">Neurologic impairment</a></li>\n                        \n                            <li><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.3157.4048/expansion\">Cardiopulmonary Arrest</a></li>\n                        \n                            <li><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.3157.4056/expansion\">Major Surgical Procedure</a></li>\n                        \n                            <li><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1045.69/expansion\">Endotracheal Intubation</a></li>\n                        \n                            <li><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.3157.4052/expansion\">Mechanical Circulatory Assist Device</a></li>\n                        \n                            <li><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.464.1003.104.12.1024/expansion\">Ischemic Stroke</a></li>\n                        \n                            <li><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.3157.4026/expansion\">Closed Head Trauma</a></li>\n                        \n                            <li><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.3157.4031/expansion\">Active Peptic Ulcer</a></li>\n                        \n                            <li><a href=\"https://tx.fhir.org/r4/ValueSet/2.16.840.1.113762.1.4.1170.2-20220218\">Intracranial or Intraspinal Surgery</a></li>\n                        \n                            <li><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.117.1.7.1.309/expansion\">Patient Expired</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>Type</b></th>\n                                <th><b>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>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>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                                    </td>\n                                    <td>\n                                        \n                                            \n                                                 STEMI\n                                            \n                                        \n                                    </td>\n                                    <td><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.3157.4017/expansion\">STEMI</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                                    </td>\n                                    <td>\n                                        \n                                            \n                                                 Active Bleeding Excluding Menses or Bleeding Diathesis\n                                            \n                                        \n                                    </td>\n                                    <td><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.3157.4036/expansion\">Active Bleeding or Bleeding Diathesis (Excluding Menses)</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                                    </td>\n                                    <td>\n                                        \n                                            \n                                                 Malignant Intracranial Neoplasm Group\n                                            \n                                        \n                                    </td>\n                                    <td><a href=\"https://tx.fhir.org/r4/ValueSet/2.16.840.1.113762.1.4.1170.3-20211005\">Malignant Intracranial Neoplasm Group</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                                    </td>\n                                    <td>\n                                        \n                                            \n                                                 Cerebral Vascular Lesion\n                                            \n                                        \n                                    </td>\n                                    <td><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.3157.4025/expansion\">Cerebral Vascular Lesion</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                                    </td>\n                                    <td>\n                                        \n                                            \n                                                 Dementia\n                                            \n                                        \n                                    </td>\n                                    <td><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.3157.4043/expansion\">Dementia</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                                    </td>\n                                    <td>\n                                        \n                                            \n                                                 Pregnancy\n                                            \n                                        \n                                    </td>\n                                    <td><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.3157.4055/expansion\">Pregnancy</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                                    </td>\n                                    <td>\n                                        \n                                            \n                                                 Allergy to thrombolytics\n                                            \n                                        \n                                    </td>\n                                    <td><a href=\"https://tx.fhir.org/r4/ValueSet/2.16.840.1.113762.1.4.1170.5-20250211\">Allergy to Thrombolytics</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                                    </td>\n                                    <td>\n                                        \n                                            \n                                                 Aortic Dissection and Rupture\n                                            \n                                        \n                                    </td>\n                                    <td><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.3157.4028/expansion\">Aortic Dissection</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                                    </td>\n                                    <td>\n                                        \n                                            \n                                                 Neurologic impairment\n                                            \n                                        \n                                    </td>\n                                    <td><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.464.1003.114.12.1012/expansion\">Neurologic impairment</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                                    </td>\n                                    <td>\n                                        \n                                            \n                                                 Ischemic Stroke\n                                            \n                                        \n                                    </td>\n                                    <td><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.464.1003.104.12.1024/expansion\">Ischemic Stroke</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                                    </td>\n                                    <td>\n                                        \n                                            \n                                                 Closed Head and Facial Trauma\n                                            \n                                        \n                                    </td>\n                                    <td><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.3157.4026/expansion\">Closed Head Trauma</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                                    </td>\n                                    <td>\n                                        \n                                            \n                                                 Active Peptic Ulcer\n                                            \n                                        \n                                    </td>\n                                    <td><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.3157.4031/expansion\">Active Peptic Ulcer</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                                    </td>\n                                    <td>\n                                        \n                                            \n                                                 Cardiopulmonary Arrest\n                                            \n                                        \n                                    </td>\n                                    <td><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.3157.4048/expansion\">Cardiopulmonary Arrest</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                                            class\n                                        \n                                            period\n                                        \n                                            condition\n                                        \n                                            condition.reference\n                                        \n                                            condition.reference.value\n                                        \n                                            location\n                                        \n                                            location.type\n                                        \n                                            hospitalization\n                                        \n                                            hospitalization.dischargeDisposition\n                                        \n                                    </td>\n                                    <td>\n                                        \n                                            \n                                                 ED\n                                            \n                                        \n                                    </td>\n                                    <td><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.464.1003.101.12.1085/expansion\">ED</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                                            class\n                                        \n                                            reasonCode\n                                        \n                                            period\n                                        \n                                            condition\n                                        \n                                            condition.reference\n                                        \n                                            condition.reference.value\n                                        \n                                            location\n                                        \n                                            location.type\n                                        \n                                            hospitalization\n                                        \n                                            hospitalization.dischargeDisposition\n                                        \n                                    </td>\n                                    <td>\n                                        \n                                            \n                                                 ED\n                                            \n                                        \n                                    </td>\n                                    <td><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.464.1003.101.12.1085/expansion\">ED</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>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                                            effective\n                                        \n                                    </td>\n                                    <td>\n                                        \n                                            \n                                                 Fibrinolytic Therapy\n                                            \n                                        \n                                    </td>\n                                    <td><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.3157.4020/expansion\">Fibrinolytic Therapy</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                                            performed\n                                        \n                                            status\n                                        \n                                            status.value\n                                        \n                                    </td>\n                                    <td>\n                                        \n                                            \n                                                 Percutaneous Coronary Intervention\n                                            \n                                        \n                                    </td>\n                                    <td><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.3157.2000.5/expansion\">Percutaneous Coronary Intervention</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                                            performed\n                                        \n                                            status\n                                        \n                                            status.value\n                                        \n                                    </td>\n                                    <td>\n                                        \n                                            \n                                                 Major Surgical Procedure\n                                            \n                                        \n                                    </td>\n                                    <td><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.3157.4056/expansion\">Major Surgical Procedure</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                                            performed\n                                        \n                                            status\n                                        \n                                            status.value\n                                        \n                                    </td>\n                                    <td>\n                                        \n                                            \n                                                 Endotracheal Intubation\n                                            \n                                        \n                                    </td>\n                                    <td><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1045.69/expansion\">Endotracheal Intubation</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                                            performed\n                                        \n                                            status\n                                        \n                                            status.value\n                                        \n                                    </td>\n                                    <td>\n                                        \n                                            \n                                                 Insertion or Replacement of Mechanical Circulatory Assist Device\n                                            \n                                        \n                                    </td>\n                                    <td><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.3157.4052/expansion\">Mechanical Circulatory Assist Device</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                                            performed\n                                        \n                                            status\n                                        \n                                            status.value\n                                        \n                                    </td>\n                                    <td>\n                                        \n                                            \n                                                 Intracranial or Intraspinal surgery\n                                            \n                                        \n                                    </td>\n                                    <td><a href=\"https://tx.fhir.org/r4/ValueSet/2.16.840.1.113762.1.4.1170.2-20220218\">Intracranial or Intraspinal Surgery</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>AllergyIntolerance(<a href=\"http://hl7.org/fhir/us/qicore/STU4.1.1/StructureDefinition-qicore-allergyintolerance.html\">QICoreAllergyIntolerance</a>)</td>\n                                    <td>\n                                        \n                                            code\n                                        \n                                            clinicalStatus\n                                        \n                                            onset\n                                        \n                                    </td>\n                                    <td>\n                                        \n                                            \n                                                 Thrombolytic medications\n                                            \n                                        \n                                    </td>\n                                    <td><a href=\"https://tx.fhir.org/r4/ValueSet/2.16.840.1.113762.1.4.1170.4-20211007\">Thrombolytic Therapy Allergen</a></td>\n                                </tr>\n                            \n                                <tr>\n                                    <td>AdverseEvent(<a href=\"http://hl7.org/fhir/us/qicore/STU4.1.1/StructureDefinition-qicore-adverseevent.html\">QICoreAdverseEvent</a>)</td>\n                                    <td>\n                                        \n                                            event\n                                        \n                                            recordedDate\n                                        \n                                            recordedDate.value\n                                        \n                                            actuality\n                                        \n                                            actuality.value\n                                        \n                                    </td>\n                                    <td>\n                                        \n                                            \n                                                 Adverse reaction to thrombolytics\n                                            \n                                        \n                                    </td>\n                                    <td><a href=\"https://tx.fhir.org/r4/ValueSet/2.16.840.1.113762.1.4.1170.6-20250211\">Thrombolytics Adverse Event</a></td>\n                                </tr>\n                            \n                                <tr>\n                                    <td>Medication(<a href=\"http://hl7.org/fhir/us/qicore/STU4.1.1/StructureDefinition-qicore-medication.html\">QICoreMedication</a>)</td>\n                                    <td>\n                                        \n                                            id\n                                        \n                                    </td>\n                                    <td>\n                                        \n                                    </td>\n                                    <td/>\n                                </tr>\n                            \n                                <tr>\n                                    <td>MedicationRequest(<a href=\"http://hl7.org/fhir/us/qicore/STU4.1.1/StructureDefinition-qicore-medicationrequest.html\">QICoreMedicationRequest</a>)</td>\n                                    <td>\n                                        \n                                            medication.reference\n                                        \n                                            status\n                                        \n                                            status.value\n                                        \n                                            intent\n                                        \n                                            intent.value\n                                        \n                                            authoredOn\n                                        \n                                            authoredOn.value\n                                        \n                                    </td>\n                                    <td>\n                                        \n                                    </td>\n                                    <td/>\n                                </tr>\n                            \n                                <tr>\n                                    <td>MedicationRequest(<a href=\"http://hl7.org/fhir/us/qicore/STU4.1.1/StructureDefinition-qicore-medicationrequest.html\">QICoreMedicationRequest</a>)</td>\n                                    <td>\n                                        \n                                            medication\n                                        \n                                            status\n                                        \n                                            status.value\n                                        \n                                            intent\n                                        \n                                            intent.value\n                                        \n                                            authoredOn\n                                        \n                                            authoredOn.value\n                                        \n                                    </td>\n                                    <td>\n                                        \n                                            \n                                                 Oral Anticoagulant Medications\n                                            \n                                        \n                                    </td>\n                                    <td><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.3157.4045/expansion\">Anticoagulant Medications, Oral</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/v3/AdministrativeGender\">http://hl7.org/fhir/v3/AdministrativeGender</a></td>\n                                    </tr>\n                                \n                                    <tr>\n                                        <td>Female</td>\n                                        <td>F</td>\n                                        <td><a href=\"http://hl7.org/fhir/v3/AdministrativeGender\">http://hl7.org/fhir/v3/AdministrativeGender</a></td>\n                                    </tr>\n                                \n                                    <tr>\n                                        <td>emergency</td>\n                                        <td>EMER</td>\n                                        <td><a href=\"http://terminology.hl7.org/7.1.0/CodeSystem-v3-ActCode.html\">http://terminology.hl7.org/CodeSystem/v3-ActCode</a></td>\n                                    </tr>\n                                \n                                    <tr>\n                                        <td/>\n                                        <td>active</td>\n                                        <td><a href=\"http://terminology.hl7.org/7.1.0/CodeSystem-condition-clinical.html\">http://terminology.hl7.org/CodeSystem/condition-clinical</a></td>\n                                    </tr>\n                                \n                                    <tr>\n                                        <td/>\n                                        <td>active</td>\n                                        <td><a href=\"http://terminology.hl7.org/7.1.0/CodeSystem-allergyintolerance-clinical.html\">http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical</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> 6384fdb64ba3d47c885c02a6 </td>\n                                <td>\n                                    \n                                        <b>Group scoring:</b>\n                                        \n                                            <span>  proportion </span>\n                                        \n                                    \n\n                                    \n\n                                    \n\n                                    \n\n                                    \n\n                                    \n\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\">/***Population Criteria***/\n\n\ndefine \"Initial Population\":\n  \"ED Encounter with STEMI Diagnosis\" EDwithSTEMI\n    where AgeInYearsAt(date from start of(EDwithSTEMI.period)) &gt;= 18</code></pre>\n                                        \n                                    </td>\n                                </tr>\n                                \n                                <tr>\n                                    <td/>\n                                    <td/>\n                                    <td>Denominator</td>\n                                    <td>\n                                        \n                                            <pre><code class=\"language-cql\">define \"Denominator\":\n  \"Initial Population\"</code></pre>\n                                        \n                                    </td>\n                                </tr>\n                                \n                                <tr>\n                                    <td/>\n                                    <td/>\n                                    <td>Denominator Exclusion</td>\n                                    <td>\n                                        \n                                            <pre><code class=\"language-cql\">define \"Denominator Exclusions\":\n  \"Allergy or Intolerance to Thrombolytic Medications Overlaps ED Encounter\"\n    union \"Adverse Effect to Thrombolytic Medications Before End of ED Encounter\"\n    union \"Active Exclusion Diagnosis at Start of ED Encounter\"\n    union \"Active Oral Anticoagulant Medication at the Start of ED Encounter\"\n    union \"Exclusion Diagnosis During ED Encounter or Within 24 Hours of ED Encounter Start\"\n    union \"Major Surgical Procedure 21 Days or Less Before Start of or Starts During ED Encounter\"\n    union \"Intubation or Mechanical Circulatory Assist Procedure During ED Encounter or Within 24 Hours of ED Encounter Start\"\n    union \"Active Exclusion Diagnosis Within 90 Days Before or At the Start of ED Encounter\"\n    union \"Intracranial or Intraspinal Procedure 90 Days or Less Before Start of ED Encounter\"\n    union \"ED Encounter with Discharge Disposition as Patient Expired\"</code></pre>\n                                        \n                                    </td>\n                                </tr>\n                                \n                                <tr>\n                                    <td/>\n                                    <td/>\n                                    <td>Numerator</td>\n                                    <td>\n                                        \n                                            <pre><code class=\"language-cql\">define \"Numerator\":\n  \"Fibrinolytic Therapy within 30 Minutes of Arrival\"\n    union \"PCI within 90 Minutes of Arrival\"\n    union \"ED Departure with Transfer to Acute Care Facility Within 45 Minutes of Arrival\"</code></pre>\n                                        \n                                    </td>\n                                </tr>\n                                \n                                <tr>\n                                    <td/>\n                                    <td/>\n                                    <td>Numerator Exclusion</td>\n                                    <td>\n                                        \n                                            None\n                                        \n                                    </td>\n                                </tr>\n                                \n                                <tr>\n                                    <td/>\n                                    <td/>\n                                    <td>Denominator Exception</td>\n                                    <td>\n                                        \n                                            None\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 \"SDE Sex\":\n  case\n      when Patient.gender = 'male' then \"M\"\n      when Patient.gender = 'female' then \"F\"\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>AppropriateTreatmentforSTEMIFHIR</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 \"SDE Sex\":\n  SDE.\"SDE Sex\"</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>AppropriateTreatmentforSTEMIFHIR</td>\n                            \n                            \n                                <td>ED Encounter with Encounter Diagnosis of STEMI</td>\n                            \n                        </tr>\n                        <tr>\n                            \n                                <td/>\n                                <td>\n                                    <pre class=\"highlight language-cql\"><code class=\"language-cql\">define \"ED Encounter with Encounter Diagnosis of STEMI\":\n  [\"Encounter\": \"ED\"] EDEncounter\n    where EDEncounter.status = 'finished'\n      and EDEncounter.class ~ \"EMER\"\n      and ( EDEncounter.reasonCode in \"STEMI\"\n          or exists ( ( EDEncounter.encounterDiagnosis ( ) ) EncDiagnosis\n              where EncDiagnosis.code in \"STEMI\"\n          )\n      )\n      and EDEncounter.period during \"Measurement 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>AppropriateTreatmentforSTEMIFHIR</td>\n                            \n                            \n                                <td>ED Encounter with Diagnosis of STEMI</td>\n                            \n                        </tr>\n                        <tr>\n                            \n                                <td/>\n                                <td>\n                                    <pre class=\"highlight language-cql\"><code class=\"language-cql\">define \"ED Encounter with Diagnosis of STEMI\":\n  [\"Encounter\": \"ED\"] EDEncounter\n    with [\"Condition\": \"STEMI\"] DxSTEMI\n      such that DxSTEMI.clinicalStatus ~ QICoreCommon.\"active\"\n        and EDEncounter.status = 'finished'\n        and EDEncounter.class ~ \"EMER\"\n        and DxSTEMI.prevalenceInterval ( ) starts during EDEncounter.period\n        and EDEncounter.period during day of \"Measurement 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>AppropriateTreatmentforSTEMIFHIR</td>\n                            \n                            \n                                <td>ED Encounter with STEMI Diagnosis</td>\n                            \n                        </tr>\n                        <tr>\n                            \n                                <td/>\n                                <td>\n                                    <pre class=\"highlight language-cql\"><code class=\"language-cql\">define \"ED Encounter with STEMI Diagnosis\":\n  \"ED Encounter with Encounter Diagnosis of STEMI\"\n    union \"ED Encounter with Diagnosis of STEMI\"</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>AppropriateTreatmentforSTEMIFHIR</td>\n                            \n                            \n                                <td>Fibrinolytic Therapy within 30 Minutes of Arrival</td>\n                            \n                        </tr>\n                        <tr>\n                            \n                                <td/>\n                                <td>\n                                    <pre class=\"highlight language-cql\"><code class=\"language-cql\">/*Did not include a status of active as any diagnosis that resolves during the ED visit would not be counted*/\n\n\ndefine \"Fibrinolytic Therapy within 30 Minutes of Arrival\":\n  \"ED Encounter with STEMI Diagnosis\" EDwithSTEMI\n    with [\"MedicationAdministration\": \"Fibrinolytic Therapy\"] Fibrinolytic\n      such that Fibrinolytic.status = 'completed'\n        and start of ( Fibrinolytic.effective.toInterval ( ) ) 30 minutes or less after EDwithSTEMI.currentemergencyDepartmentArrivalTime ( )</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>AppropriateTreatmentforSTEMIFHIR</td>\n                            \n                            \n                                <td>PCI within 90 Minutes of Arrival</td>\n                            \n                        </tr>\n                        <tr>\n                            \n                                <td/>\n                                <td>\n                                    <pre class=\"highlight language-cql\"><code class=\"language-cql\">define \"PCI within 90 Minutes of Arrival\":\n  \"ED Encounter with STEMI Diagnosis\" EDwithSTEMI\n    with [\"Procedure\": \"Percutaneous Coronary Intervention\"] PCI\n      such that PCI.performed.toInterval ( ) starts 90 minutes or less after EDwithSTEMI.currentemergencyDepartmentArrivalTime ( )\n        and PCI.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>AppropriateTreatmentforSTEMIFHIR</td>\n                            \n                            \n                                <td>ED Departure with Transfer to Acute Care Facility Within 45 Minutes of Arrival</td>\n                            \n                        </tr>\n                        <tr>\n                            \n                                <td/>\n                                <td>\n                                    <pre class=\"highlight language-cql\"><code class=\"language-cql\">define \"ED Departure with Transfer to Acute Care Facility Within 45 Minutes of Arrival\":\n  \"ED Encounter with STEMI Diagnosis\" EDwithSTEMI\n    where ( EDwithSTEMI.period ) ends 45 minutes or less after start of ( EDwithSTEMI.period )\n      and EDwithSTEMI.hospitalization.dischargeDisposition in \"Discharge To Acute Care Facility\"</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>AppropriateTreatmentforSTEMIFHIR</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 \"Numerator\":\n  \"Fibrinolytic Therapy within 30 Minutes of Arrival\"\n    union \"PCI within 90 Minutes of Arrival\"\n    union \"ED Departure with Transfer to Acute Care Facility Within 45 Minutes of Arrival\"</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>AppropriateTreatmentforSTEMIFHIR</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\">/***Population Criteria***/\n\n\ndefine \"Initial Population\":\n  \"ED Encounter with STEMI Diagnosis\" EDwithSTEMI\n    where AgeInYearsAt(date from start of(EDwithSTEMI.period)) &gt;= 18</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>AppropriateTreatmentforSTEMIFHIR</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 \"Denominator\":\n  \"Initial Population\"</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 \"SDE Payer\":\n  [Coverage: type in \"Payer Type\"] 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>AppropriateTreatmentforSTEMIFHIR</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 \"SDE Payer\":\n  SDE.\"SDE Payer\"</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 \"SDE Ethnicity\":\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>AppropriateTreatmentforSTEMIFHIR</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 \"SDE Ethnicity\":\n  SDE.\"SDE Ethnicity\"</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>AppropriateTreatmentforSTEMIFHIR</td>\n                            \n                            \n                                <td>Allergy or Intolerance to Thrombolytic Medications Overlaps ED Encounter</td>\n                            \n                        </tr>\n                        <tr>\n                            \n                                <td/>\n                                <td>\n                                    <pre class=\"highlight language-cql\"><code class=\"language-cql\">define \"Allergy or Intolerance to Thrombolytic Medications Overlaps ED Encounter\":\n  \"ED Encounter with STEMI Diagnosis\" EDwSTEMI\n    with [\"AllergyIntolerance\": \"Thrombolytic medications\"] ThrombolyticAllergy\n      such that ThrombolyticAllergy.clinicalStatus ~ QICoreCommon.\"allergy-active\"\n        and ThrombolyticAllergy.onset.toInterval ( ) overlaps ( EDwSTEMI.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>AppropriateTreatmentforSTEMIFHIR</td>\n                            \n                            \n                                <td>Adverse Effect to Thrombolytic Medications Before End of ED Encounter</td>\n                            \n                        </tr>\n                        <tr>\n                            \n                                <td/>\n                                <td>\n                                    <pre class=\"highlight language-cql\"><code class=\"language-cql\">/*this definition differs from QDM re: timing - cannot use overlaps for a single point in time*/\n\n/*define \"Adverse Effect to Thrombolytic Medications Before End of ED Encounter\":\n\"ED Encounter with STEMI Diagnosis\" EDwSTEMI\n    with [AdverseEvent: event in \"Thrombolytic medications\"] ThrombolyticAdverseEvent\n    such that ThrombolyticAdverseEvent.category in \"Adverse reaction to thrombolytics\"\n    and ThrombolyticAdverseEvent.recordedDate before end of ( EDwSTEMI.period )\n        and ThrombolyticAdverseEvent.actuality = 'actual'*/\n/*KS Note - not sure we need category in the logic - it is must support, but not sure this brings value to the measure logic*/\n\n\n\n\ndefine \"Adverse Effect to Thrombolytic Medications Before End of ED Encounter\":\n  \"ED Encounter with STEMI Diagnosis\" EDwSTEMI\n    with [AdverseEvent: event in \"Adverse reaction to thrombolytics\"] ThrombolyticAdverseEvent\n      such that ThrombolyticAdverseEvent.recordedDate before end of ( EDwSTEMI.period )\n        and ThrombolyticAdverseEvent.actuality = 'actual'</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>AppropriateTreatmentforSTEMIFHIR</td>\n                            \n                            \n                                <td>Active Exclusion Diagnosis at Start of ED Encounter</td>\n                            \n                        </tr>\n                        <tr>\n                            \n                                <td/>\n                                <td>\n                                    <pre class=\"highlight language-cql\"><code class=\"language-cql\">/***Definitions***/\n\n\ndefine \"Active Exclusion Diagnosis at Start of ED Encounter\":\n  \"ED Encounter with STEMI Diagnosis\" EDwithSTEMI\n    with ( [\"Condition\": \"Active Bleeding Excluding Menses or Bleeding Diathesis\"]\n      union [\"Condition\": \"Malignant Intracranial Neoplasm Group\"]\n      union [\"Condition\": \"Cerebral Vascular Lesion\"]\n      union [\"Condition\": \"Dementia\"]\n      union [\"Condition\": \"Pregnancy\"]\n      union [\"Condition\": \"Allergy to thrombolytics\"] ) ActiveExclusionDx\n      such that /*ActiveExclusionDx.isActive ()\n        and */\n      ActiveExclusionDx.prevalenceInterval ( ) overlaps before ( EDwithSTEMI.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>AppropriateTreatmentforSTEMIFHIR</td>\n                            \n                            \n                                <td>Active Oral Anticoagulant Medication at the Start of ED Encounter</td>\n                            \n                        </tr>\n                        <tr>\n                            \n                                <td/>\n                                <td>\n                                    <pre class=\"highlight language-cql\"><code class=\"language-cql\">define \"Active Oral Anticoagulant Medication at the Start of ED Encounter\":\n  \"ED Encounter with STEMI Diagnosis\" EDwithSTEMI\n    with [\"MedicationRequest\": \"Oral Anticoagulant Medications\"] OralAnticoagulant\n      such that OralAnticoagulant.status = 'active'\n        and OralAnticoagulant.intent = 'order'\n        and OralAnticoagulant.authoredOn before or on start of EDwithSTEMI.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>AppropriateTreatmentforSTEMIFHIR</td>\n                            \n                            \n                                <td>Exclusion Diagnosis During ED Encounter or Within 24 Hours of ED Encounter Start</td>\n                            \n                        </tr>\n                        <tr>\n                            \n                                <td/>\n                                <td>\n                                    <pre class=\"highlight language-cql\"><code class=\"language-cql\">define \"Exclusion Diagnosis During ED Encounter or Within 24 Hours of ED Encounter Start\":\n  \"ED Encounter with STEMI Diagnosis\" EDwithSTEMI\n    with ( [\"Condition\": \"Aortic Dissection and Rupture\"]\n      union [\"Condition\": \"Neurologic impairment\"]\n      union [\"Condition\": \"Cardiopulmonary Arrest\"] ) ExclusionDiagnosis\n      such that ( ExclusionDiagnosis.prevalenceInterval ( ) starts during EDwithSTEMI.period )\n        or ( ExclusionDiagnosis.prevalenceInterval ( ) starts 24 hours or less before start of EDwithSTEMI.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>AppropriateTreatmentforSTEMIFHIR</td>\n                            \n                            \n                                <td>Major Surgical Procedure 21 Days or Less Before Start of or Starts During ED Encounter</td>\n                            \n                        </tr>\n                        <tr>\n                            \n                                <td/>\n                                <td>\n                                    <pre class=\"highlight language-cql\"><code class=\"language-cql\">define \"Major Surgical Procedure 21 Days or Less Before Start of or Starts During ED Encounter\":\n  \"ED Encounter with STEMI Diagnosis\" EDwithSTEMI\n    with [\"Procedure\": \"Major Surgical Procedure\"] MajorSurgery\n      such that MajorSurgery.performed.toInterval ( ) starts 21 days or less before start of ( EDwithSTEMI.period )\n        and MajorSurgery.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>AppropriateTreatmentforSTEMIFHIR</td>\n                            \n                            \n                                <td>Intubation or Mechanical Circulatory Assist Procedure During ED Encounter or Within 24 Hours of ED Encounter Start</td>\n                            \n                        </tr>\n                        <tr>\n                            \n                                <td/>\n                                <td>\n                                    <pre class=\"highlight language-cql\"><code class=\"language-cql\">define \"Intubation or Mechanical Circulatory Assist Procedure During ED Encounter or Within 24 Hours of ED Encounter Start\":\n  \"ED Encounter with STEMI Diagnosis\" EDwithSTEMI\n    with ( [\"Procedure\": \"Endotracheal Intubation\"]\n      union [\"Procedure\": \"Insertion or Replacement of Mechanical Circulatory Assist Device\"] ) AirwayProcedure\n      such that ( ( AirwayProcedure.performed.toInterval ( ) starts during ( EDwithSTEMI.period ) )\n          or ( AirwayProcedure.performed.toInterval ( ) starts 24 hours or less before start of ( EDwithSTEMI.period ) )\n      )\n        and AirwayProcedure.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>AppropriateTreatmentforSTEMIFHIR</td>\n                            \n                            \n                                <td>Active Exclusion Diagnosis Within 90 Days Before or At the Start of ED Encounter</td>\n                            \n                        </tr>\n                        <tr>\n                            \n                                <td/>\n                                <td>\n                                    <pre class=\"highlight language-cql\"><code class=\"language-cql\">/*KS 8-10-23: in CQLIT-389, discussed the impacts of requiring a clinical status of active but the condition could end before the end (during) the ED Visit, which would trigger an inactive status. Decided to not follow the Authoring Patterns and remove the requirement for a clinicalstatus of 'active'  */\n\n\ndefine \"Active Exclusion Diagnosis Within 90 Days Before or At the Start of ED Encounter\":\n  \"ED Encounter with STEMI Diagnosis\" EDwSTEMI\n    with ( [\"Condition\": \"Ischemic Stroke\"]\n      union [\"Condition\": \"Closed Head and Facial Trauma\"]\n      union [\"Condition\": \"Active Peptic Ulcer\"]\n      union [\"Condition\": \"Cardiopulmonary Arrest\"] ) ExclusionCondition\n      such that /* ExclusionCondition.isActive ()\n   and */\n      ExclusionCondition.prevalenceInterval ( ) starts during Interval[start of ( EDwSTEMI.period ) - 90 days, start of ( EDwSTEMI.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>AppropriateTreatmentforSTEMIFHIR</td>\n                            \n                            \n                                <td>Intracranial or Intraspinal Procedure 90 Days or Less Before Start of ED Encounter</td>\n                            \n                        </tr>\n                        <tr>\n                            \n                                <td/>\n                                <td>\n                                    <pre class=\"highlight language-cql\"><code class=\"language-cql\">define \"Intracranial or Intraspinal Procedure 90 Days or Less Before Start of ED Encounter\":\n  \"ED Encounter with STEMI Diagnosis\" EDwithSTEMI\n    with [\"Procedure\": \"Intracranial or Intraspinal surgery\"] CranialorSpinalSurgery\n      such that CranialorSpinalSurgery.performed.toInterval ( ) starts 90 days or less before start of ( EDwithSTEMI.period )\n        and CranialorSpinalSurgery.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>AppropriateTreatmentforSTEMIFHIR</td>\n                            \n                            \n                                <td>ED Encounter with Discharge Disposition as Patient Expired</td>\n                            \n                        </tr>\n                        <tr>\n                            \n                                <td/>\n                                <td>\n                                    <pre class=\"highlight language-cql\"><code class=\"language-cql\">define \"ED Encounter with Discharge Disposition as Patient Expired\":\n  \"ED Encounter with STEMI Diagnosis\" EDwithSTEMI\n    where EDwithSTEMI.hospitalization.dischargeDisposition in \"Patient Expired\"</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>AppropriateTreatmentforSTEMIFHIR</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 \"Denominator Exclusions\":\n  \"Allergy or Intolerance to Thrombolytic Medications Overlaps ED Encounter\"\n    union \"Adverse Effect to Thrombolytic Medications Before End of ED Encounter\"\n    union \"Active Exclusion Diagnosis at Start of ED Encounter\"\n    union \"Active Oral Anticoagulant Medication at the Start of ED Encounter\"\n    union \"Exclusion Diagnosis During ED Encounter or Within 24 Hours of ED Encounter Start\"\n    union \"Major Surgical Procedure 21 Days or Less Before Start of or Starts During ED Encounter\"\n    union \"Intubation or Mechanical Circulatory Assist Procedure During ED Encounter or Within 24 Hours of ED Encounter Start\"\n    union \"Active Exclusion Diagnosis Within 90 Days Before or At the Start of ED Encounter\"\n    union \"Intracranial or Intraspinal Procedure 90 Days or Less Before Start of ED Encounter\"\n    union \"ED Encounter with Discharge Disposition as Patient Expired\"</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 \"SDE Race\":\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>AppropriateTreatmentforSTEMIFHIR</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 \"SDE Race\":\n  SDE.\"SDE Race\"</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>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>QICoreCommon</td>\n                            \n                            \n                                <td>prevalenceInterval</td>\n                            \n                        </tr>\n                        <tr>\n                            \n                                <td/>\n                                <td>\n                                    <pre class=\"highlight language-cql\"><code class=\"language-cql\">/*\n@description: Returns an interval representing the normalized prevalence period of a given Condition.\n@comment: Uses the ToInterval and ToAbatementInterval functions to determine the widest potential interval from\nonset to abatement as specified in the given Condition. If the condition is active, the resulting interval will have\na closed ending boundary. If the condition is not active, the resulting interval will have an open ending boundary.\n*/\ndefine fluent function prevalenceInterval(condition Condition):\nif condition.clinicalStatus ~ \"active\"\n  or condition.clinicalStatus ~ \"recurrence\"\n  or condition.clinicalStatus ~ \"relapse\" then\n  Interval[start of condition.onset.toInterval(), end of condition.abatementInterval()]\nelse\n  Interval[start of condition.onset.toInterval(), end of condition.abatementInterval())</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>AppropriateTreatmentforSTEMIFHIR</td>\n                            \n                            \n                                <td>currentemergencyDepartmentArrivalTime</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 emergency department arrival time for the encounter.\n*/\n\n\ndefine fluent function currentemergencyDepartmentArrivalTime(EDEncounter Encounter):\n  start of ( singleton from ( ( ( EDEncounter.location ) ) EDLocation\n        where CQMCommon.GetLocation ( EDLocation.location ).type in \"Emergency Department Visit\"\n    )\n  ).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>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@deprecated: This function is deprecated. Use the fluent function `getLocation()` instead.\n*/\ndefine 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>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>QICoreCommon</td>\n                            \n                            \n                                <td>toInterval</td>\n                            \n                        </tr>\n                        <tr>\n                            \n                                <td/>\n                                <td>\n                                    <pre class=\"highlight language-cql\"><code class=\"language-cql\">/*\n@description: Normalizes a value that is a choice of timing-valued types to an equivalent interval\n@comment: Normalizes a choice type of DateTime, Quanitty, Interval&lt;DateTime&gt;, or Interval&lt;Quantity&gt; types\nto an equivalent interval. This selection of choice types is a superset of the majority of choice types that are used as possible\nrepresentations for timing-valued elements in QICore, allowing this function to be used across any resource.\nThe input can be provided as a DateTime, Quantity, Interval&lt;DateTime&gt; or Interval&lt;Quantity&gt;.\nThe intent of this function is to provide a clear and concise mechanism to treat single\nelements that have multiple possible representations as intervals so that logic doesn't have to account\nfor the variability. More complex calculations (such as medication request period or dispense period\ncalculation) need specific guidance and consideration. That guidance may make use of this function, but\nthe focus of this function is on single element calculations where the semantics are unambiguous.\nIf the input is a DateTime, the result a DateTime Interval beginning and ending on that DateTime.\nIf the input is a Quantity, the quantity is expected to be a calendar-duration interpreted as an Age,\nand the result is a DateTime Interval beginning on the Date the patient turned that age and ending immediately before one year later.\nIf the input is a DateTime Interval, the result is the input.\nIf the input is a Quantity Interval, the quantities are expected to be calendar-durations interpreted as an Age, and the result\nis a DateTime Interval beginning on the date the patient turned the age given as the start of the quantity interval, and ending\nimmediately before one year later than the date the patient turned the age given as the end of the quantity interval.\nAny other input will reslt in a null DateTime Interval\n*/\ndefine fluent function toInterval(choice Choice&lt;DateTime, Quantity, Interval&lt;DateTime&gt;, Interval&lt;Quantity&gt;&gt;):\n  case\n	  when choice is DateTime then\n    	Interval[choice as DateTime, choice as DateTime]\n		when choice is Interval&lt;DateTime&gt; then\n  		choice as Interval&lt;DateTime&gt;\n		when choice is Quantity then\n		  Interval[Patient.birthDate + (choice as Quantity),\n			  Patient.birthDate + (choice as Quantity) + 1 year)\n		when choice is Interval&lt;Quantity&gt; then\n		  Interval[Patient.birthDate + (choice.low as Quantity),\n			  Patient.birthDate + (choice.high as Quantity) + 1 year)\n		else\n			null as Interval&lt;DateTime&gt;\n	end</code></pre>\n                                </td>\n                            \n                        </tr>\n                    \n                    </table>\n                </td>\n            </tr>\n            \n        \n    \n\n    </table>\n</div>"^^rdf:XMLLiteral ]
  ] ; # 
  fhir:contained ( [
a fhir:Library ;
fhir:id [ fhir:v "effective-data-requirements" ] ;
    ( fhir:extension [
fhir:url [
fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-directReferenceCode"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-directReferenceCode>       ] ;
fhir:value [
a fhir:Coding ;
fhir:system [
fhir:v "http://hl7.org/fhir/v3/AdministrativeGender"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/v3/AdministrativeGender>         ] ;
fhir:code [ fhir:v "M" ] ;
fhir:display [ fhir:v "Male" ]       ]     ] [
fhir:url [
fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-directReferenceCode"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-directReferenceCode>       ] ;
fhir:value [
a fhir:Coding ;
fhir:system [
fhir:v "http://hl7.org/fhir/v3/AdministrativeGender"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/v3/AdministrativeGender>         ] ;
fhir:code [ fhir:v "F" ] ;
fhir:display [ fhir:v "Female" ]       ]     ] [
fhir:url [
fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-directReferenceCode"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-directReferenceCode>       ] ;
fhir:value [
a fhir:Coding ;
fhir:system [
fhir:v "http://terminology.hl7.org/CodeSystem/v3-ActCode"^^xsd:anyURI ;
fhir:l <http://terminology.hl7.org/CodeSystem/v3-ActCode>         ] ;
fhir:code [ fhir:v "EMER" ] ;
fhir:display [ fhir:v "emergency" ]       ]     ] [
fhir:url [
fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-directReferenceCode"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-directReferenceCode>       ] ;
fhir:value [
a fhir:Coding ;
fhir:system [
fhir:v "http://terminology.hl7.org/CodeSystem/condition-clinical"^^xsd:anyURI ;
fhir:l <http://terminology.hl7.org/CodeSystem/condition-clinical>         ] ;
fhir:code [ fhir:v "active" ]       ]     ] [
fhir:url [
fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-directReferenceCode"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-directReferenceCode>       ] ;
fhir:value [
a fhir:Coding ;
fhir:system [
fhir:v "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical"^^xsd:anyURI ;
fhir:l <http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical>         ] ;
fhir:code [ fhir:v "active" ]       ]     ] [
      ( fhir:extension [
fhir:url [
fhir:v "libraryName"^^xsd:anyURI ;
fhir:l fhir:libraryName         ] ;
fhir:value [
a fhir:String ;
fhir:v "SupplementalDataElements"         ]       ] [
fhir:url [
fhir:v "name"^^xsd:anyURI ;
fhir:l fhir:name         ] ;
fhir:value [
a fhir:String ;
fhir:v "SDE Sex"         ]       ] [
fhir:url [
fhir:v "statement"^^xsd:anyURI ;
fhir:l fhir:statement         ] ;
fhir:value [
a fhir:String ;
fhir:v "define \"SDE Sex\":\n  case\n      when Patient.gender = 'male' then \"M\"\n      when Patient.gender = 'female' then \"F\"\n      else null\n    end"         ]       ] [
fhir:url [
fhir:v "displaySequence"^^xsd:anyURI ;
fhir:l fhir:displaySequence         ] ;
fhir:value [
a fhir:Integer ;
fhir:v 0         ]       ] ) ;
fhir:url [
fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition>       ]     ] [
      ( fhir:extension [
fhir:url [
fhir:v "libraryName"^^xsd:anyURI ;
fhir:l fhir:libraryName         ] ;
fhir:value [
a fhir:String ;
fhir:v "AppropriateTreatmentforSTEMIFHIR"         ]       ] [
fhir:url [
fhir:v "name"^^xsd:anyURI ;
fhir:l fhir:name         ] ;
fhir:value [
a fhir:String ;
fhir:v "SDE Sex"         ]       ] [
fhir:url [
fhir:v "statement"^^xsd:anyURI ;
fhir:l fhir:statement         ] ;
fhir:value [
a fhir:String ;
fhir:v "define \"SDE Sex\":\n  SDE.\"SDE Sex\""         ]       ] [
fhir:url [
fhir:v "displaySequence"^^xsd:anyURI ;
fhir:l fhir:displaySequence         ] ;
fhir:value [
a fhir:Integer ;
fhir:v 1         ]       ] ) ;
fhir:url [
fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition>       ]     ] [
      ( fhir:extension [
fhir:url [
fhir:v "libraryName"^^xsd:anyURI ;
fhir:l fhir:libraryName         ] ;
fhir:value [
a fhir:String ;
fhir:v "AppropriateTreatmentforSTEMIFHIR"         ]       ] [
fhir:url [
fhir:v "name"^^xsd:anyURI ;
fhir:l fhir:name         ] ;
fhir:value [
a fhir:String ;
fhir:v "ED Encounter with Encounter Diagnosis of STEMI"         ]       ] [
fhir:url [
fhir:v "statement"^^xsd:anyURI ;
fhir:l fhir:statement         ] ;
fhir:value [
a fhir:String ;
fhir:v "define \"ED Encounter with Encounter Diagnosis of STEMI\":\n  [\"Encounter\": \"ED\"] EDEncounter\n    where EDEncounter.status = 'finished'\n      and EDEncounter.class ~ \"EMER\"\n      and ( EDEncounter.reasonCode in \"STEMI\"\n          or exists ( ( EDEncounter.encounterDiagnosis ( ) ) EncDiagnosis\n              where EncDiagnosis.code in \"STEMI\"\n          )\n      )\n      and EDEncounter.period during \"Measurement Period\""         ]       ] [
fhir:url [
fhir:v "displaySequence"^^xsd:anyURI ;
fhir:l fhir:displaySequence         ] ;
fhir:value [
a fhir:Integer ;
fhir:v 2         ]       ] ) ;
fhir:url [
fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition>       ]     ] [
      ( fhir:extension [
fhir:url [
fhir:v "libraryName"^^xsd:anyURI ;
fhir:l fhir:libraryName         ] ;
fhir:value [
a fhir:String ;
fhir:v "AppropriateTreatmentforSTEMIFHIR"         ]       ] [
fhir:url [
fhir:v "name"^^xsd:anyURI ;
fhir:l fhir:name         ] ;
fhir:value [
a fhir:String ;
fhir:v "ED Encounter with Diagnosis of STEMI"         ]       ] [
fhir:url [
fhir:v "statement"^^xsd:anyURI ;
fhir:l fhir:statement         ] ;
fhir:value [
a fhir:String ;
fhir:v "define \"ED Encounter with Diagnosis of STEMI\":\n  [\"Encounter\": \"ED\"] EDEncounter\n    with [\"Condition\": \"STEMI\"] DxSTEMI\n      such that DxSTEMI.clinicalStatus ~ QICoreCommon.\"active\"\n        and EDEncounter.status = 'finished'\n        and EDEncounter.class ~ \"EMER\"\n        and DxSTEMI.prevalenceInterval ( ) starts during EDEncounter.period\n        and EDEncounter.period during day of \"Measurement Period\""         ]       ] [
fhir:url [
fhir:v "displaySequence"^^xsd:anyURI ;
fhir:l fhir:displaySequence         ] ;
fhir:value [
a fhir:Integer ;
fhir:v 3         ]       ] ) ;
fhir:url [
fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition>       ]     ] [
      ( fhir:extension [
fhir:url [
fhir:v "libraryName"^^xsd:anyURI ;
fhir:l fhir:libraryName         ] ;
fhir:value [
a fhir:String ;
fhir:v "AppropriateTreatmentforSTEMIFHIR"         ]       ] [
fhir:url [
fhir:v "name"^^xsd:anyURI ;
fhir:l fhir:name         ] ;
fhir:value [
a fhir:String ;
fhir:v "ED Encounter with STEMI Diagnosis"         ]       ] [
fhir:url [
fhir:v "statement"^^xsd:anyURI ;
fhir:l fhir:statement         ] ;
fhir:value [
a fhir:String ;
fhir:v "define \"ED Encounter with STEMI Diagnosis\":\n  \"ED Encounter with Encounter Diagnosis of STEMI\"\n    union \"ED Encounter with Diagnosis of STEMI\""         ]       ] [
fhir:url [
fhir:v "displaySequence"^^xsd:anyURI ;
fhir:l fhir:displaySequence         ] ;
fhir:value [
a fhir:Integer ;
fhir:v 4         ]       ] ) ;
fhir:url [
fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition>       ]     ] [
      ( fhir:extension [
fhir:url [
fhir:v "libraryName"^^xsd:anyURI ;
fhir:l fhir:libraryName         ] ;
fhir:value [
a fhir:String ;
fhir:v "AppropriateTreatmentforSTEMIFHIR"         ]       ] [
fhir:url [
fhir:v "name"^^xsd:anyURI ;
fhir:l fhir:name         ] ;
fhir:value [
a fhir:String ;
fhir:v "Fibrinolytic Therapy within 30 Minutes of Arrival"         ]       ] [
fhir:url [
fhir:v "statement"^^xsd:anyURI ;
fhir:l fhir:statement         ] ;
fhir:value [
a fhir:String ;
fhir:v "/*Did not include a status of active as any diagnosis that resolves during the ED visit would not be counted*/\n\n\ndefine \"Fibrinolytic Therapy within 30 Minutes of Arrival\":\n  \"ED Encounter with STEMI Diagnosis\" EDwithSTEMI\n    with [\"MedicationAdministration\": \"Fibrinolytic Therapy\"] Fibrinolytic\n      such that Fibrinolytic.status = 'completed'\n        and start of ( Fibrinolytic.effective.toInterval ( ) ) 30 minutes or less after EDwithSTEMI.currentemergencyDepartmentArrivalTime ( )"         ]       ] [
fhir:url [
fhir:v "displaySequence"^^xsd:anyURI ;
fhir:l fhir:displaySequence         ] ;
fhir:value [
a fhir:Integer ;
fhir:v 5         ]       ] ) ;
fhir:url [
fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition>       ]     ] [
      ( fhir:extension [
fhir:url [
fhir:v "libraryName"^^xsd:anyURI ;
fhir:l fhir:libraryName         ] ;
fhir:value [
a fhir:String ;
fhir:v "AppropriateTreatmentforSTEMIFHIR"         ]       ] [
fhir:url [
fhir:v "name"^^xsd:anyURI ;
fhir:l fhir:name         ] ;
fhir:value [
a fhir:String ;
fhir:v "PCI within 90 Minutes of Arrival"         ]       ] [
fhir:url [
fhir:v "statement"^^xsd:anyURI ;
fhir:l fhir:statement         ] ;
fhir:value [
a fhir:String ;
fhir:v "define \"PCI within 90 Minutes of Arrival\":\n  \"ED Encounter with STEMI Diagnosis\" EDwithSTEMI\n    with [\"Procedure\": \"Percutaneous Coronary Intervention\"] PCI\n      such that PCI.performed.toInterval ( ) starts 90 minutes or less after EDwithSTEMI.currentemergencyDepartmentArrivalTime ( )\n        and PCI.status = 'completed'"         ]       ] [
fhir:url [
fhir:v "displaySequence"^^xsd:anyURI ;
fhir:l fhir:displaySequence         ] ;
fhir:value [
a fhir:Integer ;
fhir:v 6         ]       ] ) ;
fhir:url [
fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition>       ]     ] [
      ( fhir:extension [
fhir:url [
fhir:v "libraryName"^^xsd:anyURI ;
fhir:l fhir:libraryName         ] ;
fhir:value [
a fhir:String ;
fhir:v "AppropriateTreatmentforSTEMIFHIR"         ]       ] [
fhir:url [
fhir:v "name"^^xsd:anyURI ;
fhir:l fhir:name         ] ;
fhir:value [
a fhir:String ;
fhir:v "ED Departure with Transfer to Acute Care Facility Within 45 Minutes of Arrival"         ]       ] [
fhir:url [
fhir:v "statement"^^xsd:anyURI ;
fhir:l fhir:statement         ] ;
fhir:value [
a fhir:String ;
fhir:v "define \"ED Departure with Transfer to Acute Care Facility Within 45 Minutes of Arrival\":\n  \"ED Encounter with STEMI Diagnosis\" EDwithSTEMI\n    where ( EDwithSTEMI.period ) ends 45 minutes or less after start of ( EDwithSTEMI.period )\n      and EDwithSTEMI.hospitalization.dischargeDisposition in \"Discharge To Acute Care Facility\""         ]       ] [
fhir:url [
fhir:v "displaySequence"^^xsd:anyURI ;
fhir:l fhir:displaySequence         ] ;
fhir:value [
a fhir:Integer ;
fhir:v 7         ]       ] ) ;
fhir:url [
fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition>       ]     ] [
      ( fhir:extension [
fhir:url [
fhir:v "libraryName"^^xsd:anyURI ;
fhir:l fhir:libraryName         ] ;
fhir:value [
a fhir:String ;
fhir:v "AppropriateTreatmentforSTEMIFHIR"         ]       ] [
fhir:url [
fhir:v "name"^^xsd:anyURI ;
fhir:l fhir:name         ] ;
fhir:value [
a fhir:String ;
fhir:v "Numerator"         ]       ] [
fhir:url [
fhir:v "statement"^^xsd:anyURI ;
fhir:l fhir:statement         ] ;
fhir:value [
a fhir:String ;
fhir:v "define \"Numerator\":\n  \"Fibrinolytic Therapy within 30 Minutes of Arrival\"\n    union \"PCI within 90 Minutes of Arrival\"\n    union \"ED Departure with Transfer to Acute Care Facility Within 45 Minutes of Arrival\""         ]       ] [
fhir:url [
fhir:v "displaySequence"^^xsd:anyURI ;
fhir:l fhir:displaySequence         ] ;
fhir:value [
a fhir:Integer ;
fhir:v 8         ]       ] ) ;
fhir:url [
fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition>       ]     ] [
      ( fhir:extension [
fhir:url [
fhir:v "libraryName"^^xsd:anyURI ;
fhir:l fhir:libraryName         ] ;
fhir:value [
a fhir:String ;
fhir:v "AppropriateTreatmentforSTEMIFHIR"         ]       ] [
fhir:url [
fhir:v "name"^^xsd:anyURI ;
fhir:l fhir:name         ] ;
fhir:value [
a fhir:String ;
fhir:v "Initial Population"         ]       ] [
fhir:url [
fhir:v "statement"^^xsd:anyURI ;
fhir:l fhir:statement         ] ;
fhir:value [
a fhir:String ;
fhir:v "/***Population Criteria***/\n\n\ndefine \"Initial Population\":\n  \"ED Encounter with STEMI Diagnosis\" EDwithSTEMI\n    where AgeInYearsAt(date from start of(EDwithSTEMI.period)) >= 18"         ]       ] [
fhir:url [
fhir:v "displaySequence"^^xsd:anyURI ;
fhir:l fhir:displaySequence         ] ;
fhir:value [
a fhir:Integer ;
fhir:v 9         ]       ] ) ;
fhir:url [
fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition>       ]     ] [
      ( fhir:extension [
fhir:url [
fhir:v "libraryName"^^xsd:anyURI ;
fhir:l fhir:libraryName         ] ;
fhir:value [
a fhir:String ;
fhir:v "AppropriateTreatmentforSTEMIFHIR"         ]       ] [
fhir:url [
fhir:v "name"^^xsd:anyURI ;
fhir:l fhir:name         ] ;
fhir:value [
a fhir:String ;
fhir:v "Denominator"         ]       ] [
fhir:url [
fhir:v "statement"^^xsd:anyURI ;
fhir:l fhir:statement         ] ;
fhir:value [
a fhir:String ;
fhir:v "define \"Denominator\":\n  \"Initial Population\""         ]       ] [
fhir:url [
fhir:v "displaySequence"^^xsd:anyURI ;
fhir:l fhir:displaySequence         ] ;
fhir:value [
a fhir:Integer ;
fhir:v 10         ]       ] ) ;
fhir:url [
fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition>       ]     ] [
      ( fhir:extension [
fhir:url [
fhir:v "libraryName"^^xsd:anyURI ;
fhir:l fhir:libraryName         ] ;
fhir:value [
a fhir:String ;
fhir:v "SupplementalDataElements"         ]       ] [
fhir:url [
fhir:v "name"^^xsd:anyURI ;
fhir:l fhir:name         ] ;
fhir:value [
a fhir:String ;
fhir:v "SDE Payer"         ]       ] [
fhir:url [
fhir:v "statement"^^xsd:anyURI ;
fhir:l fhir:statement         ] ;
fhir:value [
a fhir:String ;
fhir:v "define \"SDE Payer\":\n  [Coverage: type in \"Payer Type\"] Payer\n    return {\n      code: Payer.type,\n      period: Payer.period\n    }"         ]       ] [
fhir:url [
fhir:v "displaySequence"^^xsd:anyURI ;
fhir:l fhir:displaySequence         ] ;
fhir:value [
a fhir:Integer ;
fhir:v 11         ]       ] ) ;
fhir:url [
fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition>       ]     ] [
      ( fhir:extension [
fhir:url [
fhir:v "libraryName"^^xsd:anyURI ;
fhir:l fhir:libraryName         ] ;
fhir:value [
a fhir:String ;
fhir:v "AppropriateTreatmentforSTEMIFHIR"         ]       ] [
fhir:url [
fhir:v "name"^^xsd:anyURI ;
fhir:l fhir:name         ] ;
fhir:value [
a fhir:String ;
fhir:v "SDE Payer"         ]       ] [
fhir:url [
fhir:v "statement"^^xsd:anyURI ;
fhir:l fhir:statement         ] ;
fhir:value [
a fhir:String ;
fhir:v "define \"SDE Payer\":\n  SDE.\"SDE Payer\""         ]       ] [
fhir:url [
fhir:v "displaySequence"^^xsd:anyURI ;
fhir:l fhir:displaySequence         ] ;
fhir:value [
a fhir:Integer ;
fhir:v 12         ]       ] ) ;
fhir:url [
fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition>       ]     ] [
      ( fhir:extension [
fhir:url [
fhir:v "libraryName"^^xsd:anyURI ;
fhir:l fhir:libraryName         ] ;
fhir:value [
a fhir:String ;
fhir:v "SupplementalDataElements"         ]       ] [
fhir:url [
fhir:v "name"^^xsd:anyURI ;
fhir:l fhir:name         ] ;
fhir:value [
a fhir:String ;
fhir:v "SDE Ethnicity"         ]       ] [
fhir:url [
fhir:v "statement"^^xsd:anyURI ;
fhir:l fhir:statement         ] ;
fhir:value [
a fhir:String ;
fhir:v "define \"SDE Ethnicity\":\n  Patient.ethnicity E\n    return Tuple {\n      codes: { E.ombCategory } union E.detailed,\n      display: E.text\n    }"         ]       ] [
fhir:url [
fhir:v "displaySequence"^^xsd:anyURI ;
fhir:l fhir:displaySequence         ] ;
fhir:value [
a fhir:Integer ;
fhir:v 13         ]       ] ) ;
fhir:url [
fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition>       ]     ] [
      ( fhir:extension [
fhir:url [
fhir:v "libraryName"^^xsd:anyURI ;
fhir:l fhir:libraryName         ] ;
fhir:value [
a fhir:String ;
fhir:v "AppropriateTreatmentforSTEMIFHIR"         ]       ] [
fhir:url [
fhir:v "name"^^xsd:anyURI ;
fhir:l fhir:name         ] ;
fhir:value [
a fhir:String ;
fhir:v "SDE Ethnicity"         ]       ] [
fhir:url [
fhir:v "statement"^^xsd:anyURI ;
fhir:l fhir:statement         ] ;
fhir:value [
a fhir:String ;
fhir:v "define \"SDE Ethnicity\":\n  SDE.\"SDE Ethnicity\""         ]       ] [
fhir:url [
fhir:v "displaySequence"^^xsd:anyURI ;
fhir:l fhir:displaySequence         ] ;
fhir:value [
a fhir:Integer ;
fhir:v 14         ]       ] ) ;
fhir:url [
fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition>       ]     ] [
      ( fhir:extension [
fhir:url [
fhir:v "libraryName"^^xsd:anyURI ;
fhir:l fhir:libraryName         ] ;
fhir:value [
a fhir:String ;
fhir:v "AppropriateTreatmentforSTEMIFHIR"         ]       ] [
fhir:url [
fhir:v "name"^^xsd:anyURI ;
fhir:l fhir:name         ] ;
fhir:value [
a fhir:String ;
fhir:v "Allergy or Intolerance to Thrombolytic Medications Overlaps ED Encounter"         ]       ] [
fhir:url [
fhir:v "statement"^^xsd:anyURI ;
fhir:l fhir:statement         ] ;
fhir:value [
a fhir:String ;
fhir:v "define \"Allergy or Intolerance to Thrombolytic Medications Overlaps ED Encounter\":\n  \"ED Encounter with STEMI Diagnosis\" EDwSTEMI\n    with [\"AllergyIntolerance\": \"Thrombolytic medications\"] ThrombolyticAllergy\n      such that ThrombolyticAllergy.clinicalStatus ~ QICoreCommon.\"allergy-active\"\n        and ThrombolyticAllergy.onset.toInterval ( ) overlaps ( EDwSTEMI.period )"         ]       ] [
fhir:url [
fhir:v "displaySequence"^^xsd:anyURI ;
fhir:l fhir:displaySequence         ] ;
fhir:value [
a fhir:Integer ;
fhir:v 15         ]       ] ) ;
fhir:url [
fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition>       ]     ] [
      ( fhir:extension [
fhir:url [
fhir:v "libraryName"^^xsd:anyURI ;
fhir:l fhir:libraryName         ] ;
fhir:value [
a fhir:String ;
fhir:v "AppropriateTreatmentforSTEMIFHIR"         ]       ] [
fhir:url [
fhir:v "name"^^xsd:anyURI ;
fhir:l fhir:name         ] ;
fhir:value [
a fhir:String ;
fhir:v "Adverse Effect to Thrombolytic Medications Before End of ED Encounter"         ]       ] [
fhir:url [
fhir:v "statement"^^xsd:anyURI ;
fhir:l fhir:statement         ] ;
fhir:value [
a fhir:String ;
fhir:v "/*this definition differs from QDM re: timing - cannot use overlaps for a single point in time*/\n\n/*define \"Adverse Effect to Thrombolytic Medications Before End of ED Encounter\":\n\"ED Encounter with STEMI Diagnosis\" EDwSTEMI\n    with [AdverseEvent: event in \"Thrombolytic medications\"] ThrombolyticAdverseEvent\n    such that ThrombolyticAdverseEvent.category in \"Adverse reaction to thrombolytics\"\n    and ThrombolyticAdverseEvent.recordedDate before end of ( EDwSTEMI.period )\n        and ThrombolyticAdverseEvent.actuality = 'actual'*/\n/*KS Note - not sure we need category in the logic - it is must support, but not sure this brings value to the measure logic*/\n\n\n\n\ndefine \"Adverse Effect to Thrombolytic Medications Before End of ED Encounter\":\n  \"ED Encounter with STEMI Diagnosis\" EDwSTEMI\n    with [AdverseEvent: event in \"Adverse reaction to thrombolytics\"] ThrombolyticAdverseEvent\n      such that ThrombolyticAdverseEvent.recordedDate before end of ( EDwSTEMI.period )\n        and ThrombolyticAdverseEvent.actuality = 'actual'"         ]       ] [
fhir:url [
fhir:v "displaySequence"^^xsd:anyURI ;
fhir:l fhir:displaySequence         ] ;
fhir:value [
a fhir:Integer ;
fhir:v 16         ]       ] ) ;
fhir:url [
fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition>       ]     ] [
      ( fhir:extension [
fhir:url [
fhir:v "libraryName"^^xsd:anyURI ;
fhir:l fhir:libraryName         ] ;
fhir:value [
a fhir:String ;
fhir:v "AppropriateTreatmentforSTEMIFHIR"         ]       ] [
fhir:url [
fhir:v "name"^^xsd:anyURI ;
fhir:l fhir:name         ] ;
fhir:value [
a fhir:String ;
fhir:v "Active Exclusion Diagnosis at Start of ED Encounter"         ]       ] [
fhir:url [
fhir:v "statement"^^xsd:anyURI ;
fhir:l fhir:statement         ] ;
fhir:value [
a fhir:String ;
fhir:v "/***Definitions***/\n\n\ndefine \"Active Exclusion Diagnosis at Start of ED Encounter\":\n  \"ED Encounter with STEMI Diagnosis\" EDwithSTEMI\n    with ( [\"Condition\": \"Active Bleeding Excluding Menses or Bleeding Diathesis\"]\n      union [\"Condition\": \"Malignant Intracranial Neoplasm Group\"]\n      union [\"Condition\": \"Cerebral Vascular Lesion\"]\n      union [\"Condition\": \"Dementia\"]\n      union [\"Condition\": \"Pregnancy\"]\n      union [\"Condition\": \"Allergy to thrombolytics\"] ) ActiveExclusionDx\n      such that /*ActiveExclusionDx.isActive ()\n        and */\n      ActiveExclusionDx.prevalenceInterval ( ) overlaps before ( EDwithSTEMI.period )"         ]       ] [
fhir:url [
fhir:v "displaySequence"^^xsd:anyURI ;
fhir:l fhir:displaySequence         ] ;
fhir:value [
a fhir:Integer ;
fhir:v 17         ]       ] ) ;
fhir:url [
fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition>       ]     ] [
      ( fhir:extension [
fhir:url [
fhir:v "libraryName"^^xsd:anyURI ;
fhir:l fhir:libraryName         ] ;
fhir:value [
a fhir:String ;
fhir:v "AppropriateTreatmentforSTEMIFHIR"         ]       ] [
fhir:url [
fhir:v "name"^^xsd:anyURI ;
fhir:l fhir:name         ] ;
fhir:value [
a fhir:String ;
fhir:v "Active Oral Anticoagulant Medication at the Start of ED Encounter"         ]       ] [
fhir:url [
fhir:v "statement"^^xsd:anyURI ;
fhir:l fhir:statement         ] ;
fhir:value [
a fhir:String ;
fhir:v "define \"Active Oral Anticoagulant Medication at the Start of ED Encounter\":\n  \"ED Encounter with STEMI Diagnosis\" EDwithSTEMI\n    with [\"MedicationRequest\": \"Oral Anticoagulant Medications\"] OralAnticoagulant\n      such that OralAnticoagulant.status = 'active'\n        and OralAnticoagulant.intent = 'order'\n        and OralAnticoagulant.authoredOn before or on start of EDwithSTEMI.period"         ]       ] [
fhir:url [
fhir:v "displaySequence"^^xsd:anyURI ;
fhir:l fhir:displaySequence         ] ;
fhir:value [
a fhir:Integer ;
fhir:v 18         ]       ] ) ;
fhir:url [
fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition>       ]     ] [
      ( fhir:extension [
fhir:url [
fhir:v "libraryName"^^xsd:anyURI ;
fhir:l fhir:libraryName         ] ;
fhir:value [
a fhir:String ;
fhir:v "AppropriateTreatmentforSTEMIFHIR"         ]       ] [
fhir:url [
fhir:v "name"^^xsd:anyURI ;
fhir:l fhir:name         ] ;
fhir:value [
a fhir:String ;
fhir:v "Exclusion Diagnosis During ED Encounter or Within 24 Hours of ED Encounter Start"         ]       ] [
fhir:url [
fhir:v "statement"^^xsd:anyURI ;
fhir:l fhir:statement         ] ;
fhir:value [
a fhir:String ;
fhir:v "define \"Exclusion Diagnosis During ED Encounter or Within 24 Hours of ED Encounter Start\":\n  \"ED Encounter with STEMI Diagnosis\" EDwithSTEMI\n    with ( [\"Condition\": \"Aortic Dissection and Rupture\"]\n      union [\"Condition\": \"Neurologic impairment\"]\n      union [\"Condition\": \"Cardiopulmonary Arrest\"] ) ExclusionDiagnosis\n      such that ( ExclusionDiagnosis.prevalenceInterval ( ) starts during EDwithSTEMI.period )\n        or ( ExclusionDiagnosis.prevalenceInterval ( ) starts 24 hours or less before start of EDwithSTEMI.period )"         ]       ] [
fhir:url [
fhir:v "displaySequence"^^xsd:anyURI ;
fhir:l fhir:displaySequence         ] ;
fhir:value [
a fhir:Integer ;
fhir:v 19         ]       ] ) ;
fhir:url [
fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition>       ]     ] [
      ( fhir:extension [
fhir:url [
fhir:v "libraryName"^^xsd:anyURI ;
fhir:l fhir:libraryName         ] ;
fhir:value [
a fhir:String ;
fhir:v "AppropriateTreatmentforSTEMIFHIR"         ]       ] [
fhir:url [
fhir:v "name"^^xsd:anyURI ;
fhir:l fhir:name         ] ;
fhir:value [
a fhir:String ;
fhir:v "Major Surgical Procedure 21 Days or Less Before Start of or Starts During ED Encounter"         ]       ] [
fhir:url [
fhir:v "statement"^^xsd:anyURI ;
fhir:l fhir:statement         ] ;
fhir:value [
a fhir:String ;
fhir:v "define \"Major Surgical Procedure 21 Days or Less Before Start of or Starts During ED Encounter\":\n  \"ED Encounter with STEMI Diagnosis\" EDwithSTEMI\n    with [\"Procedure\": \"Major Surgical Procedure\"] MajorSurgery\n      such that MajorSurgery.performed.toInterval ( ) starts 21 days or less before start of ( EDwithSTEMI.period )\n        and MajorSurgery.status = 'completed'"         ]       ] [
fhir:url [
fhir:v "displaySequence"^^xsd:anyURI ;
fhir:l fhir:displaySequence         ] ;
fhir:value [
a fhir:Integer ;
fhir:v 20         ]       ] ) ;
fhir:url [
fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition>       ]     ] [
      ( fhir:extension [
fhir:url [
fhir:v "libraryName"^^xsd:anyURI ;
fhir:l fhir:libraryName         ] ;
fhir:value [
a fhir:String ;
fhir:v "AppropriateTreatmentforSTEMIFHIR"         ]       ] [
fhir:url [
fhir:v "name"^^xsd:anyURI ;
fhir:l fhir:name         ] ;
fhir:value [
a fhir:String ;
fhir:v "Intubation or Mechanical Circulatory Assist Procedure During ED Encounter or Within 24 Hours of ED Encounter Start"         ]       ] [
fhir:url [
fhir:v "statement"^^xsd:anyURI ;
fhir:l fhir:statement         ] ;
fhir:value [
a fhir:String ;
fhir:v "define \"Intubation or Mechanical Circulatory Assist Procedure During ED Encounter or Within 24 Hours of ED Encounter Start\":\n  \"ED Encounter with STEMI Diagnosis\" EDwithSTEMI\n    with ( [\"Procedure\": \"Endotracheal Intubation\"]\n      union [\"Procedure\": \"Insertion or Replacement of Mechanical Circulatory Assist Device\"] ) AirwayProcedure\n      such that ( ( AirwayProcedure.performed.toInterval ( ) starts during ( EDwithSTEMI.period ) )\n          or ( AirwayProcedure.performed.toInterval ( ) starts 24 hours or less before start of ( EDwithSTEMI.period ) )\n      )\n        and AirwayProcedure.status = 'completed'"         ]       ] [
fhir:url [
fhir:v "displaySequence"^^xsd:anyURI ;
fhir:l fhir:displaySequence         ] ;
fhir:value [
a fhir:Integer ;
fhir:v 21         ]       ] ) ;
fhir:url [
fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition>       ]     ] [
      ( fhir:extension [
fhir:url [
fhir:v "libraryName"^^xsd:anyURI ;
fhir:l fhir:libraryName         ] ;
fhir:value [
a fhir:String ;
fhir:v "AppropriateTreatmentforSTEMIFHIR"         ]       ] [
fhir:url [
fhir:v "name"^^xsd:anyURI ;
fhir:l fhir:name         ] ;
fhir:value [
a fhir:String ;
fhir:v "Active Exclusion Diagnosis Within 90 Days Before or At the Start of ED Encounter"         ]       ] [
fhir:url [
fhir:v "statement"^^xsd:anyURI ;
fhir:l fhir:statement         ] ;
fhir:value [
a fhir:String ;
fhir:v "/*KS 8-10-23: in CQLIT-389, discussed the impacts of requiring a clinical status of active but the condition could end before the end (during) the ED Visit, which would trigger an inactive status. Decided to not follow the Authoring Patterns and remove the requirement for a clinicalstatus of 'active'  */\n\n\ndefine \"Active Exclusion Diagnosis Within 90 Days Before or At the Start of ED Encounter\":\n  \"ED Encounter with STEMI Diagnosis\" EDwSTEMI\n    with ( [\"Condition\": \"Ischemic Stroke\"]\n      union [\"Condition\": \"Closed Head and Facial Trauma\"]\n      union [\"Condition\": \"Active Peptic Ulcer\"]\n      union [\"Condition\": \"Cardiopulmonary Arrest\"] ) ExclusionCondition\n      such that /* ExclusionCondition.isActive ()\n   and */\n      ExclusionCondition.prevalenceInterval ( ) starts during Interval[start of ( EDwSTEMI.period ) - 90 days, start of ( EDwSTEMI.period )]"         ]       ] [
fhir:url [
fhir:v "displaySequence"^^xsd:anyURI ;
fhir:l fhir:displaySequence         ] ;
fhir:value [
a fhir:Integer ;
fhir:v 22         ]       ] ) ;
fhir:url [
fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition>       ]     ] [
      ( fhir:extension [
fhir:url [
fhir:v "libraryName"^^xsd:anyURI ;
fhir:l fhir:libraryName         ] ;
fhir:value [
a fhir:String ;
fhir:v "AppropriateTreatmentforSTEMIFHIR"         ]       ] [
fhir:url [
fhir:v "name"^^xsd:anyURI ;
fhir:l fhir:name         ] ;
fhir:value [
a fhir:String ;
fhir:v "Intracranial or Intraspinal Procedure 90 Days or Less Before Start of ED Encounter"         ]       ] [
fhir:url [
fhir:v "statement"^^xsd:anyURI ;
fhir:l fhir:statement         ] ;
fhir:value [
a fhir:String ;
fhir:v "define \"Intracranial or Intraspinal Procedure 90 Days or Less Before Start of ED Encounter\":\n  \"ED Encounter with STEMI Diagnosis\" EDwithSTEMI\n    with [\"Procedure\": \"Intracranial or Intraspinal surgery\"] CranialorSpinalSurgery\n      such that CranialorSpinalSurgery.performed.toInterval ( ) starts 90 days or less before start of ( EDwithSTEMI.period )\n        and CranialorSpinalSurgery.status = 'completed'"         ]       ] [
fhir:url [
fhir:v "displaySequence"^^xsd:anyURI ;
fhir:l fhir:displaySequence         ] ;
fhir:value [
a fhir:Integer ;
fhir:v 23         ]       ] ) ;
fhir:url [
fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition>       ]     ] [
      ( fhir:extension [
fhir:url [
fhir:v "libraryName"^^xsd:anyURI ;
fhir:l fhir:libraryName         ] ;
fhir:value [
a fhir:String ;
fhir:v "AppropriateTreatmentforSTEMIFHIR"         ]       ] [
fhir:url [
fhir:v "name"^^xsd:anyURI ;
fhir:l fhir:name         ] ;
fhir:value [
a fhir:String ;
fhir:v "ED Encounter with Discharge Disposition as Patient Expired"         ]       ] [
fhir:url [
fhir:v "statement"^^xsd:anyURI ;
fhir:l fhir:statement         ] ;
fhir:value [
a fhir:String ;
fhir:v "define \"ED Encounter with Discharge Disposition as Patient Expired\":\n  \"ED Encounter with STEMI Diagnosis\" EDwithSTEMI\n    where EDwithSTEMI.hospitalization.dischargeDisposition in \"Patient Expired\""         ]       ] [
fhir:url [
fhir:v "displaySequence"^^xsd:anyURI ;
fhir:l fhir:displaySequence         ] ;
fhir:value [
a fhir:Integer ;
fhir:v 24         ]       ] ) ;
fhir:url [
fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition>       ]     ] [
      ( fhir:extension [
fhir:url [
fhir:v "libraryName"^^xsd:anyURI ;
fhir:l fhir:libraryName         ] ;
fhir:value [
a fhir:String ;
fhir:v "AppropriateTreatmentforSTEMIFHIR"         ]       ] [
fhir:url [
fhir:v "name"^^xsd:anyURI ;
fhir:l fhir:name         ] ;
fhir:value [
a fhir:String ;
fhir:v "Denominator Exclusions"         ]       ] [
fhir:url [
fhir:v "statement"^^xsd:anyURI ;
fhir:l fhir:statement         ] ;
fhir:value [
a fhir:String ;
fhir:v "define \"Denominator Exclusions\":\n  \"Allergy or Intolerance to Thrombolytic Medications Overlaps ED Encounter\"\n    union \"Adverse Effect to Thrombolytic Medications Before End of ED Encounter\"\n    union \"Active Exclusion Diagnosis at Start of ED Encounter\"\n    union \"Active Oral Anticoagulant Medication at the Start of ED Encounter\"\n    union \"Exclusion Diagnosis During ED Encounter or Within 24 Hours of ED Encounter Start\"\n    union \"Major Surgical Procedure 21 Days or Less Before Start of or Starts During ED Encounter\"\n    union \"Intubation or Mechanical Circulatory Assist Procedure During ED Encounter or Within 24 Hours of ED Encounter Start\"\n    union \"Active Exclusion Diagnosis Within 90 Days Before or At the Start of ED Encounter\"\n    union \"Intracranial or Intraspinal Procedure 90 Days or Less Before Start of ED Encounter\"\n    union \"ED Encounter with Discharge Disposition as Patient Expired\""         ]       ] [
fhir:url [
fhir:v "displaySequence"^^xsd:anyURI ;
fhir:l fhir:displaySequence         ] ;
fhir:value [
a fhir:Integer ;
fhir:v 25         ]       ] ) ;
fhir:url [
fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition>       ]     ] [
      ( fhir:extension [
fhir:url [
fhir:v "libraryName"^^xsd:anyURI ;
fhir:l fhir:libraryName         ] ;
fhir:value [
a fhir:String ;
fhir:v "SupplementalDataElements"         ]       ] [
fhir:url [
fhir:v "name"^^xsd:anyURI ;
fhir:l fhir:name         ] ;
fhir:value [
a fhir:String ;
fhir:v "SDE Race"         ]       ] [
fhir:url [
fhir:v "statement"^^xsd:anyURI ;
fhir:l fhir:statement         ] ;
fhir:value [
a fhir:String ;
fhir:v "define \"SDE Race\":\n  Patient.race R\n    return Tuple {\n      codes: R.ombCategory union R.detailed,\n      display: R.text\n    }"         ]       ] [
fhir:url [
fhir:v "displaySequence"^^xsd:anyURI ;
fhir:l fhir:displaySequence         ] ;
fhir:value [
a fhir:Integer ;
fhir:v 26         ]       ] ) ;
fhir:url [
fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition>       ]     ] [
      ( fhir:extension [
fhir:url [
fhir:v "libraryName"^^xsd:anyURI ;
fhir:l fhir:libraryName         ] ;
fhir:value [
a fhir:String ;
fhir:v "AppropriateTreatmentforSTEMIFHIR"         ]       ] [
fhir:url [
fhir:v "name"^^xsd:anyURI ;
fhir:l fhir:name         ] ;
fhir:value [
a fhir:String ;
fhir:v "SDE Race"         ]       ] [
fhir:url [
fhir:v "statement"^^xsd:anyURI ;
fhir:l fhir:statement         ] ;
fhir:value [
a fhir:String ;
fhir:v "define \"SDE Race\":\n  SDE.\"SDE Race\""         ]       ] [
fhir:url [
fhir:v "displaySequence"^^xsd:anyURI ;
fhir:l fhir:displaySequence         ] ;
fhir:value [
a fhir:Integer ;
fhir:v 27         ]       ] ) ;
fhir:url [
fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition>       ]     ] [
      ( fhir:extension [
fhir:url [
fhir:v "libraryName"^^xsd:anyURI ;
fhir:l fhir:libraryName         ] ;
fhir:value [
a fhir:String ;
fhir:v "FHIRHelpers"         ]       ] [
fhir:url [
fhir:v "name"^^xsd:anyURI ;
fhir:l fhir:name         ] ;
fhir:value [
a fhir:String ;
fhir:v "ToConcept"         ]       ] [
fhir:url [
fhir:v "statement"^^xsd:anyURI ;
fhir:l fhir:statement         ] ;
fhir:value [
a fhir:String ;
fhir:v "/*\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        }"         ]       ] [
fhir:url [
fhir:v "displaySequence"^^xsd:anyURI ;
fhir:l fhir:displaySequence         ] ;
fhir:value [
a fhir:Integer ;
fhir:v 28         ]       ] ) ;
fhir:url [
fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition>       ]     ] [
      ( fhir:extension [
fhir:url [
fhir:v "libraryName"^^xsd:anyURI ;
fhir:l fhir:libraryName         ] ;
fhir:value [
a fhir:String ;
fhir:v "CQMCommon"         ]       ] [
fhir:url [
fhir:v "name"^^xsd:anyURI ;
fhir:l fhir:name         ] ;
fhir:value [
a fhir:String ;
fhir:v "encounterDiagnosis"         ]       ] [
fhir:url [
fhir:v "statement"^^xsd:anyURI ;
fhir:l fhir:statement         ] ;
fhir:value [
a fhir:String ;
fhir:v "/*\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())"         ]       ] [
fhir:url [
fhir:v "displaySequence"^^xsd:anyURI ;
fhir:l fhir:displaySequence         ] ;
fhir:value [
a fhir:Integer ;
fhir:v 29         ]       ] ) ;
fhir:url [
fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition>       ]     ] [
      ( fhir:extension [
fhir:url [
fhir:v "libraryName"^^xsd:anyURI ;
fhir:l fhir:libraryName         ] ;
fhir:value [
a fhir:String ;
fhir:v "QICoreCommon"         ]       ] [
fhir:url [
fhir:v "name"^^xsd:anyURI ;
fhir:l fhir:name         ] ;
fhir:value [
a fhir:String ;
fhir:v "getId"         ]       ] [
fhir:url [
fhir:v "statement"^^xsd:anyURI ;
fhir:l fhir:statement         ] ;
fhir:value [
a fhir:String ;
fhir:v "/*\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, '/'))"         ]       ] [
fhir:url [
fhir:v "displaySequence"^^xsd:anyURI ;
fhir:l fhir:displaySequence         ] ;
fhir:value [
a fhir:Integer ;
fhir:v 30         ]       ] ) ;
fhir:url [
fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition>       ]     ] [
      ( fhir:extension [
fhir:url [
fhir:v "libraryName"^^xsd:anyURI ;
fhir:l fhir:libraryName         ] ;
fhir:value [
a fhir:String ;
fhir:v "QICoreCommon"         ]       ] [
fhir:url [
fhir:v "name"^^xsd:anyURI ;
fhir:l fhir:name         ] ;
fhir:value [
a fhir:String ;
fhir:v "prevalenceInterval"         ]       ] [
fhir:url [
fhir:v "statement"^^xsd:anyURI ;
fhir:l fhir:statement         ] ;
fhir:value [
a fhir:String ;
fhir:v "/*\n@description: Returns an interval representing the normalized prevalence period of a given Condition.\n@comment: Uses the ToInterval and ToAbatementInterval functions to determine the widest potential interval from\nonset to abatement as specified in the given Condition. If the condition is active, the resulting interval will have\na closed ending boundary. If the condition is not active, the resulting interval will have an open ending boundary.\n*/\ndefine fluent function prevalenceInterval(condition Condition):\nif condition.clinicalStatus ~ \"active\"\n  or condition.clinicalStatus ~ \"recurrence\"\n  or condition.clinicalStatus ~ \"relapse\" then\n  Interval[start of condition.onset.toInterval(), end of condition.abatementInterval()]\nelse\n  Interval[start of condition.onset.toInterval(), end of condition.abatementInterval())"         ]       ] [
fhir:url [
fhir:v "displaySequence"^^xsd:anyURI ;
fhir:l fhir:displaySequence         ] ;
fhir:value [
a fhir:Integer ;
fhir:v 31         ]       ] ) ;
fhir:url [
fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition>       ]     ] [
      ( fhir:extension [
fhir:url [
fhir:v "libraryName"^^xsd:anyURI ;
fhir:l fhir:libraryName         ] ;
fhir:value [
a fhir:String ;
fhir:v "AppropriateTreatmentforSTEMIFHIR"         ]       ] [
fhir:url [
fhir:v "name"^^xsd:anyURI ;
fhir:l fhir:name         ] ;
fhir:value [
a fhir:String ;
fhir:v "currentemergencyDepartmentArrivalTime"         ]       ] [
fhir:url [
fhir:v "statement"^^xsd:anyURI ;
fhir:l fhir:statement         ] ;
fhir:value [
a fhir:String ;
fhir:v "/*\n@description: Returns the emergency department arrival time for the encounter.\n*/\n\n\ndefine fluent function currentemergencyDepartmentArrivalTime(EDEncounter Encounter):\n  start of ( singleton from ( ( ( EDEncounter.location ) ) EDLocation\n        where CQMCommon.GetLocation ( EDLocation.location ).type in \"Emergency Department Visit\"\n    )\n  ).period"         ]       ] [
fhir:url [
fhir:v "displaySequence"^^xsd:anyURI ;
fhir:l fhir:displaySequence         ] ;
fhir:value [
a fhir:Integer ;
fhir:v 32         ]       ] ) ;
fhir:url [
fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition>       ]     ] [
      ( fhir:extension [
fhir:url [
fhir:v "libraryName"^^xsd:anyURI ;
fhir:l fhir:libraryName         ] ;
fhir:value [
a fhir:String ;
fhir:v "CQMCommon"         ]       ] [
fhir:url [
fhir:v "name"^^xsd:anyURI ;
fhir:l fhir:name         ] ;
fhir:value [
a fhir:String ;
fhir:v "GetLocation"         ]       ] [
fhir:url [
fhir:v "statement"^^xsd:anyURI ;
fhir:l fhir:statement         ] ;
fhir:value [
a fhir:String ;
fhir:v "/*\n@description: Returns the Location resource specified by the given reference\n@deprecated: This function is deprecated. Use the fluent function `getLocation()` instead.\n*/\ndefine function \"GetLocation\"(reference Reference ):\n  singleton from (\n    [Location] L where L.id = reference.reference.getId()\n  )"         ]       ] [
fhir:url [
fhir:v "displaySequence"^^xsd:anyURI ;
fhir:l fhir:displaySequence         ] ;
fhir:value [
a fhir:Integer ;
fhir:v 33         ]       ] ) ;
fhir:url [
fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition>       ]     ] [
      ( fhir:extension [
fhir:url [
fhir:v "libraryName"^^xsd:anyURI ;
fhir:l fhir:libraryName         ] ;
fhir:value [
a fhir:String ;
fhir:v "FHIRHelpers"         ]       ] [
fhir:url [
fhir:v "name"^^xsd:anyURI ;
fhir:l fhir:name         ] ;
fhir:value [
a fhir:String ;
fhir:v "ToString"         ]       ] [
fhir:url [
fhir:v "statement"^^xsd:anyURI ;
fhir:l fhir:statement         ] ;
fhir:value [
a fhir:String ;
fhir:v "define function ToString(value uri): value.value"         ]       ] [
fhir:url [
fhir:v "displaySequence"^^xsd:anyURI ;
fhir:l fhir:displaySequence         ] ;
fhir:value [
a fhir:Integer ;
fhir:v 34         ]       ] ) ;
fhir:url [
fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition>       ]     ] [
      ( fhir:extension [
fhir:url [
fhir:v "libraryName"^^xsd:anyURI ;
fhir:l fhir:libraryName         ] ;
fhir:value [
a fhir:String ;
fhir:v "FHIRHelpers"         ]       ] [
fhir:url [
fhir:v "name"^^xsd:anyURI ;
fhir:l fhir:name         ] ;
fhir:value [
a fhir:String ;
fhir:v "ToCode"         ]       ] [
fhir:url [
fhir:v "statement"^^xsd:anyURI ;
fhir:l fhir:statement         ] ;
fhir:value [
a fhir:String ;
fhir:v "/*\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        }"         ]       ] [
fhir:url [
fhir:v "displaySequence"^^xsd:anyURI ;
fhir:l fhir:displaySequence         ] ;
fhir:value [
a fhir:Integer ;
fhir:v 35         ]       ] ) ;
fhir:url [
fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition>       ]     ] [
      ( fhir:extension [
fhir:url [
fhir:v "libraryName"^^xsd:anyURI ;
fhir:l fhir:libraryName         ] ;
fhir:value [
a fhir:String ;
fhir:v "QICoreCommon"         ]       ] [
fhir:url [
fhir:v "name"^^xsd:anyURI ;
fhir:l fhir:name         ] ;
fhir:value [
a fhir:String ;
fhir:v "toInterval"         ]       ] [
fhir:url [
fhir:v "statement"^^xsd:anyURI ;
fhir:l fhir:statement         ] ;
fhir:value [
a fhir:String ;
fhir:v "/*\n@description: Normalizes a value that is a choice of timing-valued types to an equivalent interval\n@comment: Normalizes a choice type of DateTime, Quanitty, Interval<DateTime>, or Interval<Quantity> types\nto an equivalent interval. This selection of choice types is a superset of the majority of choice types that are used as possible\nrepresentations for timing-valued elements in QICore, allowing this function to be used across any resource.\nThe input can be provided as a DateTime, Quantity, Interval<DateTime> or Interval<Quantity>.\nThe intent of this function is to provide a clear and concise mechanism to treat single\nelements that have multiple possible representations as intervals so that logic doesn't have to account\nfor the variability. More complex calculations (such as medication request period or dispense period\ncalculation) need specific guidance and consideration. That guidance may make use of this function, but\nthe focus of this function is on single element calculations where the semantics are unambiguous.\nIf the input is a DateTime, the result a DateTime Interval beginning and ending on that DateTime.\nIf the input is a Quantity, the quantity is expected to be a calendar-duration interpreted as an Age,\nand the result is a DateTime Interval beginning on the Date the patient turned that age and ending immediately before one year later.\nIf the input is a DateTime Interval, the result is the input.\nIf the input is a Quantity Interval, the quantities are expected to be calendar-durations interpreted as an Age, and the result\nis a DateTime Interval beginning on the date the patient turned the age given as the start of the quantity interval, and ending\nimmediately before one year later than the date the patient turned the age given as the end of the quantity interval.\nAny other input will reslt in a null DateTime Interval\n*/\ndefine fluent function toInterval(choice Choice<DateTime, Quantity, Interval<DateTime>, Interval<Quantity>>):\n  case\n	  when choice is DateTime then\n    	Interval[choice as DateTime, choice as DateTime]\n		when choice is Interval<DateTime> then\n  		choice as Interval<DateTime>\n		when choice is Quantity then\n		  Interval[Patient.birthDate + (choice as Quantity),\n			  Patient.birthDate + (choice as Quantity) + 1 year)\n		when choice is Interval<Quantity> then\n		  Interval[Patient.birthDate + (choice.low as Quantity),\n			  Patient.birthDate + (choice.high as Quantity) + 1 year)\n		else\n			null as Interval<DateTime>\n	end"         ]       ] [
fhir:url [
fhir:v "displaySequence"^^xsd:anyURI ;
fhir:l fhir:displaySequence         ] ;
fhir:value [
a fhir:Integer ;
fhir:v 36         ]       ] ) ;
fhir:url [
fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition>       ]     ] ) ;
fhir:status [ fhir:v "active" ] ;
fhir:type [
      ( fhir:coding [
fhir:system [
fhir:v "http://terminology.hl7.org/CodeSystem/library-type"^^xsd:anyURI ;
fhir:l <http://terminology.hl7.org/CodeSystem/library-type>         ] ;
fhir:code [ fhir:v "module-definition" ]       ] )     ] ;
    ( fhir:relatedArtifact [
fhir:type [ fhir:v "depends-on" ] ;
fhir:display [ fhir:v "Library SDE" ] ;
fhir:resource [
fhir:v "http://ecqi.healthit.gov/ecqms/Library/SupplementalDataElements|3.4.000"^^xsd:anyURI ;
fhir:l <http://ecqi.healthit.gov/ecqms/Library/SupplementalDataElements?version=3.4.000>       ]     ] [
fhir:type [ fhir:v "depends-on" ] ;
fhir:display [ fhir:v "Library FHIRHelpers" ] ;
fhir:resource [
fhir:v "http://ecqi.healthit.gov/ecqms/Library/FHIRHelpers|4.3.000"^^xsd:anyURI ;
fhir:l <http://ecqi.healthit.gov/ecqms/Library/FHIRHelpers?version=4.3.000>       ]     ] [
fhir:type [ fhir:v "depends-on" ] ;
fhir:display [ fhir:v "Library CQMCommon" ] ;
fhir:resource [
fhir:v "http://ecqi.healthit.gov/ecqms/Library/CQMCommon|1.4.000"^^xsd:anyURI ;
fhir:l <http://ecqi.healthit.gov/ecqms/Library/CQMCommon?version=1.4.000>       ]     ] [
fhir:type [ fhir:v "depends-on" ] ;
fhir:display [ fhir:v "Library QICoreCommon" ] ;
fhir:resource [
fhir:v "http://ecqi.healthit.gov/ecqms/Library/QICoreCommon|1.5.000"^^xsd:anyURI ;
fhir:l <http://ecqi.healthit.gov/ecqms/Library/QICoreCommon?version=1.5.000>       ]     ] [
fhir:type [ fhir:v "depends-on" ] ;
fhir:display [ fhir:v "Code system AdministrativeGender" ] ;
fhir:resource [
fhir:v "http://hl7.org/fhir/v3/AdministrativeGender"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/v3/AdministrativeGender>       ]     ] [
fhir:type [ fhir:v "depends-on" ] ;
fhir:display [ fhir:v "Code system ActCode" ] ;
fhir:resource [
fhir:v "http://terminology.hl7.org/CodeSystem/v3-ActCode"^^xsd:anyURI ;
fhir:l <http://terminology.hl7.org/CodeSystem/v3-ActCode>       ]     ] [
fhir:type [ fhir:v "depends-on" ] ;
fhir:display [ fhir:v "Code system ConditionClinicalStatusCodes" ] ;
fhir:resource [
fhir:v "http://terminology.hl7.org/CodeSystem/condition-clinical"^^xsd:anyURI ;
fhir:l <http://terminology.hl7.org/CodeSystem/condition-clinical>       ]     ] [
fhir:type [ fhir:v "depends-on" ] ;
fhir:display [ fhir:v "Code system AllergyIntoleranceClinicalStatusCodes" ] ;
fhir:resource [
fhir:v "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical"^^xsd:anyURI ;
fhir:l <http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical>       ]     ] [
fhir:type [ fhir:v "depends-on" ] ;
fhir:display [ fhir:v "Value set ED" ] ;
fhir:resource [
fhir:v "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1085"^^xsd:anyURI ;
fhir:l <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1085>       ]     ] [
fhir:type [ fhir:v "depends-on" ] ;
fhir:display [ fhir:v "Value set STEMI" ] ;
fhir:resource [
fhir:v "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3157.4017"^^xsd:anyURI ;
fhir:l <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3157.4017>       ]     ] [
fhir:type [ fhir:v "depends-on" ] ;
fhir:display [ fhir:v "Value set Fibrinolytic Therapy" ] ;
fhir:resource [
fhir:v "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3157.4020"^^xsd:anyURI ;
fhir:l <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3157.4020>       ]     ] [
fhir:type [ fhir:v "depends-on" ] ;
fhir:display [ fhir:v "Value set Emergency Department Visit" ] ;
fhir:resource [
fhir:v "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.292"^^xsd:anyURI ;
fhir:l <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.292>       ]     ] [
fhir:type [ fhir:v "depends-on" ] ;
fhir:display [ fhir:v "Value set Percutaneous Coronary Intervention" ] ;
fhir:resource [
fhir:v "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3157.2000.5"^^xsd:anyURI ;
fhir:l <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3157.2000.5>       ]     ] [
fhir:type [ fhir:v "depends-on" ] ;
fhir:display [ fhir:v "Value set Discharge To Acute Care Facility" ] ;
fhir:resource [
fhir:v "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.87"^^xsd:anyURI ;
fhir:l <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.87>       ]     ] [
fhir:type [ fhir:v "depends-on" ] ;
fhir:display [ fhir:v "Value set Payer Type" ] ;
fhir:resource [
fhir:v "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3591"^^xsd:anyURI ;
fhir:l <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3591>       ]     ] [
fhir:type [ fhir:v "depends-on" ] ;
fhir:display [ fhir:v "Value set Thrombolytic medications" ] ;
fhir:resource [
fhir:v "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1170.4"^^xsd:anyURI ;
fhir:l <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1170.4>       ]     ] [
fhir:type [ fhir:v "depends-on" ] ;
fhir:display [ fhir:v "Value set Adverse reaction to thrombolytics" ] ;
fhir:resource [
fhir:v "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1170.6"^^xsd:anyURI ;
fhir:l <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1170.6>       ]     ] [
fhir:type [ fhir:v "depends-on" ] ;
fhir:display [ fhir:v "Value set Active Bleeding Excluding Menses or Bleeding Diathesis" ] ;
fhir:resource [
fhir:v "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3157.4036"^^xsd:anyURI ;
fhir:l <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3157.4036>       ]     ] [
fhir:type [ fhir:v "depends-on" ] ;
fhir:display [ fhir:v "Value set Malignant Intracranial Neoplasm Group" ] ;
fhir:resource [
fhir:v "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1170.3"^^xsd:anyURI ;
fhir:l <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1170.3>       ]     ] [
fhir:type [ fhir:v "depends-on" ] ;
fhir:display [ fhir:v "Value set Cerebral Vascular Lesion" ] ;
fhir:resource [
fhir:v "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3157.4025"^^xsd:anyURI ;
fhir:l <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3157.4025>       ]     ] [
fhir:type [ fhir:v "depends-on" ] ;
fhir:display [ fhir:v "Value set Dementia" ] ;
fhir:resource [
fhir:v "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3157.4043"^^xsd:anyURI ;
fhir:l <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3157.4043>       ]     ] [
fhir:type [ fhir:v "depends-on" ] ;
fhir:display [ fhir:v "Value set Pregnancy" ] ;
fhir:resource [
fhir:v "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3157.4055"^^xsd:anyURI ;
fhir:l <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3157.4055>       ]     ] [
fhir:type [ fhir:v "depends-on" ] ;
fhir:display [ fhir:v "Value set Allergy to thrombolytics" ] ;
fhir:resource [
fhir:v "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1170.5"^^xsd:anyURI ;
fhir:l <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1170.5>       ]     ] [
fhir:type [ fhir:v "depends-on" ] ;
fhir:display [ fhir:v "Value set Oral Anticoagulant Medications" ] ;
fhir:resource [
fhir:v "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3157.4045"^^xsd:anyURI ;
fhir:l <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3157.4045>       ]     ] [
fhir:type [ fhir:v "depends-on" ] ;
fhir:display [ fhir:v "Value set Aortic Dissection and Rupture" ] ;
fhir:resource [
fhir:v "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3157.4028"^^xsd:anyURI ;
fhir:l <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3157.4028>       ]     ] [
fhir:type [ fhir:v "depends-on" ] ;
fhir:display [ fhir:v "Value set Neurologic impairment" ] ;
fhir:resource [
fhir:v "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.114.12.1012"^^xsd:anyURI ;
fhir:l <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.114.12.1012>       ]     ] [
fhir:type [ fhir:v "depends-on" ] ;
fhir:display [ fhir:v "Value set Cardiopulmonary Arrest" ] ;
fhir:resource [
fhir:v "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3157.4048"^^xsd:anyURI ;
fhir:l <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3157.4048>       ]     ] [
fhir:type [ fhir:v "depends-on" ] ;
fhir:display [ fhir:v "Value set Major Surgical Procedure" ] ;
fhir:resource [
fhir:v "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3157.4056"^^xsd:anyURI ;
fhir:l <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3157.4056>       ]     ] [
fhir:type [ fhir:v "depends-on" ] ;
fhir:display [ fhir:v "Value set Endotracheal Intubation" ] ;
fhir:resource [
fhir:v "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1045.69"^^xsd:anyURI ;
fhir:l <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1045.69>       ]     ] [
fhir:type [ fhir:v "depends-on" ] ;
fhir:display [ fhir:v "Value set Insertion or Replacement of Mechanical Circulatory Assist Device" ] ;
fhir:resource [
fhir:v "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3157.4052"^^xsd:anyURI ;
fhir:l <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3157.4052>       ]     ] [
fhir:type [ fhir:v "depends-on" ] ;
fhir:display [ fhir:v "Value set Ischemic Stroke" ] ;
fhir:resource [
fhir:v "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.104.12.1024"^^xsd:anyURI ;
fhir:l <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.104.12.1024>       ]     ] [
fhir:type [ fhir:v "depends-on" ] ;
fhir:display [ fhir:v "Value set Closed Head and Facial Trauma" ] ;
fhir:resource [
fhir:v "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3157.4026"^^xsd:anyURI ;
fhir:l <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3157.4026>       ]     ] [
fhir:type [ fhir:v "depends-on" ] ;
fhir:display [ fhir:v "Value set Active Peptic Ulcer" ] ;
fhir:resource [
fhir:v "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3157.4031"^^xsd:anyURI ;
fhir:l <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3157.4031>       ]     ] [
fhir:type [ fhir:v "depends-on" ] ;
fhir:display [ fhir:v "Value set Intracranial or Intraspinal surgery" ] ;
fhir:resource [
fhir:v "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1170.2"^^xsd:anyURI ;
fhir:l <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1170.2>       ]     ] [
fhir:type [ fhir:v "depends-on" ] ;
fhir:display [ fhir:v "Value set Patient Expired" ] ;
fhir:resource [
fhir:v "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.309"^^xsd:anyURI ;
fhir:l <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.309>       ]     ] ) ;
    ( fhir:parameter [
fhir:name [ fhir:v "Measurement Period" ] ;
fhir:use [ fhir:v "in" ] ;
fhir:min [ fhir:v 0 ] ;
fhir:max [ fhir:v "1" ] ;
fhir:type [ fhir:v "Period" ]     ] [
fhir:name [ fhir:v "SDE Sex" ] ;
fhir:use [ fhir:v "out" ] ;
fhir:min [ fhir:v 0 ] ;
fhir:max [ fhir:v "1" ] ;
fhir:type [ fhir:v "Coding" ]     ] [
fhir:name [ fhir:v "Numerator" ] ;
fhir:use [ fhir:v "out" ] ;
fhir:min [ fhir:v 0 ] ;
fhir:max [ fhir:v "*" ] ;
fhir:type [ fhir:v "Resource" ]     ] [
fhir:name [ fhir:v "Denominator" ] ;
fhir:use [ fhir:v "out" ] ;
fhir:min [ fhir:v 0 ] ;
fhir:max [ fhir:v "*" ] ;
fhir:type [ fhir:v "Resource" ]     ] [
fhir:name [ fhir:v "SDE Payer" ] ;
fhir:use [ fhir:v "out" ] ;
fhir:min [ fhir:v 0 ] ;
fhir:max [ fhir:v "*" ] ;
fhir:type [ fhir:v "Resource" ]     ] [
fhir:name [ fhir:v "Initial Population" ] ;
fhir:use [ fhir:v "out" ] ;
fhir:min [ fhir:v 0 ] ;
fhir:max [ fhir:v "*" ] ;
fhir:type [ fhir:v "Resource" ]     ] [
fhir:name [ fhir:v "SDE Ethnicity" ] ;
fhir:use [ fhir:v "out" ] ;
fhir:min [ fhir:v 0 ] ;
fhir:max [ fhir:v "1" ] ;
fhir:type [ fhir:v "Resource" ]     ] [
fhir:name [ fhir:v "Denominator Exclusions" ] ;
fhir:use [ fhir:v "out" ] ;
fhir:min [ fhir:v 0 ] ;
fhir:max [ fhir:v "*" ] ;
fhir:type [ fhir:v "Resource" ]     ] [
fhir:name [ fhir:v "SDE Race" ] ;
fhir:use [ fhir:v "out" ] ;
fhir:min [ fhir:v 0 ] ;
fhir:max [ fhir:v "1" ] ;
fhir:type [ fhir:v "Resource" ]     ] ) ;
    ( fhir:dataRequirement [
fhir:type [ fhir:v "Patient" ] ;
      ( fhir:profile [
fhir:v "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient>       ] ) ;
      ( fhir:mustSupport [ fhir:v "ethnicity" ] [ fhir:v "race" ] )     ] [
fhir:type [ fhir:v "Condition" ] ;
      ( fhir:profile [
fhir:v "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-condition"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-condition>       ] ) ;
      ( fhir:mustSupport [ fhir:v "id" ] [ fhir:v "id.value" ] [ fhir:v "code" ] )     ] [
fhir:type [ fhir:v "Condition" ] ;
      ( fhir:profile [
fhir:v "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-condition"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-condition>       ] ) ;
      ( fhir:mustSupport [ fhir:v "code" ] [ fhir:v "clinicalStatus" ] ) ;
      ( fhir:codeFilter [
fhir:path [ fhir:v "code" ] ;
fhir:valueSet [
fhir:v "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3157.4017"^^xsd:anyURI ;
fhir:l <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3157.4017>         ]       ] [
fhir:path [ fhir:v "clinicalStatus" ]       ] )     ] [
fhir:type [ fhir:v "Condition" ] ;
      ( fhir:profile [
fhir:v "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-condition"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-condition>       ] ) ;
      ( fhir:mustSupport [ fhir:v "code" ] ) ;
      ( fhir:codeFilter [
fhir:path [ fhir:v "code" ] ;
fhir:valueSet [
fhir:v "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3157.4036"^^xsd:anyURI ;
fhir:l <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3157.4036>         ]       ] )     ] [
fhir:type [ fhir:v "Condition" ] ;
      ( fhir:profile [
fhir:v "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-condition"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-condition>       ] ) ;
      ( fhir:mustSupport [ fhir:v "code" ] ) ;
      ( fhir:codeFilter [
fhir:path [ fhir:v "code" ] ;
fhir:valueSet [
fhir:v "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1170.3"^^xsd:anyURI ;
fhir:l <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1170.3>         ]       ] )     ] [
fhir:type [ fhir:v "Condition" ] ;
      ( fhir:profile [
fhir:v "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-condition"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-condition>       ] ) ;
      ( fhir:mustSupport [ fhir:v "code" ] ) ;
      ( fhir:codeFilter [
fhir:path [ fhir:v "code" ] ;
fhir:valueSet [
fhir:v "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3157.4025"^^xsd:anyURI ;
fhir:l <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3157.4025>         ]       ] )     ] [
fhir:type [ fhir:v "Condition" ] ;
      ( fhir:profile [
fhir:v "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-condition"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-condition>       ] ) ;
      ( fhir:mustSupport [ fhir:v "code" ] ) ;
      ( fhir:codeFilter [
fhir:path [ fhir:v "code" ] ;
fhir:valueSet [
fhir:v "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3157.4043"^^xsd:anyURI ;
fhir:l <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3157.4043>         ]       ] )     ] [
fhir:type [ fhir:v "Condition" ] ;
      ( fhir:profile [
fhir:v "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-condition"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-condition>       ] ) ;
      ( fhir:mustSupport [ fhir:v "code" ] ) ;
      ( fhir:codeFilter [
fhir:path [ fhir:v "code" ] ;
fhir:valueSet [
fhir:v "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3157.4055"^^xsd:anyURI ;
fhir:l <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3157.4055>         ]       ] )     ] [
fhir:type [ fhir:v "Condition" ] ;
      ( fhir:profile [
fhir:v "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-condition"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-condition>       ] ) ;
      ( fhir:mustSupport [ fhir:v "code" ] ) ;
      ( fhir:codeFilter [
fhir:path [ fhir:v "code" ] ;
fhir:valueSet [
fhir:v "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1170.5"^^xsd:anyURI ;
fhir:l <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1170.5>         ]       ] )     ] [
fhir:type [ fhir:v "Condition" ] ;
      ( fhir:profile [
fhir:v "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-condition"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-condition>       ] ) ;
      ( fhir:mustSupport [ fhir:v "code" ] ) ;
      ( fhir:codeFilter [
fhir:path [ fhir:v "code" ] ;
fhir:valueSet [
fhir:v "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3157.4028"^^xsd:anyURI ;
fhir:l <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3157.4028>         ]       ] )     ] [
fhir:type [ fhir:v "Condition" ] ;
      ( fhir:profile [
fhir:v "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-condition"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-condition>       ] ) ;
      ( fhir:mustSupport [ fhir:v "code" ] ) ;
      ( fhir:codeFilter [
fhir:path [ fhir:v "code" ] ;
fhir:valueSet [
fhir:v "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.114.12.1012"^^xsd:anyURI ;
fhir:l <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.114.12.1012>         ]       ] )     ] [
fhir:type [ fhir:v "Condition" ] ;
      ( fhir:profile [
fhir:v "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-condition"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-condition>       ] ) ;
      ( fhir:mustSupport [ fhir:v "code" ] ) ;
      ( fhir:codeFilter [
fhir:path [ fhir:v "code" ] ;
fhir:valueSet [
fhir:v "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.104.12.1024"^^xsd:anyURI ;
fhir:l <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.104.12.1024>         ]       ] )     ] [
fhir:type [ fhir:v "Condition" ] ;
      ( fhir:profile [
fhir:v "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-condition"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-condition>       ] ) ;
      ( fhir:mustSupport [ fhir:v "code" ] ) ;
      ( fhir:codeFilter [
fhir:path [ fhir:v "code" ] ;
fhir:valueSet [
fhir:v "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3157.4026"^^xsd:anyURI ;
fhir:l <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3157.4026>         ]       ] )     ] [
fhir:type [ fhir:v "Condition" ] ;
      ( fhir:profile [
fhir:v "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-condition"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-condition>       ] ) ;
      ( fhir:mustSupport [ fhir:v "code" ] ) ;
      ( fhir:codeFilter [
fhir:path [ fhir:v "code" ] ;
fhir:valueSet [
fhir:v "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3157.4031"^^xsd:anyURI ;
fhir:l <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3157.4031>         ]       ] )     ] [
fhir:type [ fhir:v "Condition" ] ;
      ( fhir:profile [
fhir:v "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-condition"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-condition>       ] ) ;
      ( fhir:mustSupport [ fhir:v "code" ] ) ;
      ( fhir:codeFilter [
fhir:path [ fhir:v "code" ] ;
fhir:valueSet [
fhir:v "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3157.4048"^^xsd:anyURI ;
fhir:l <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3157.4048>         ]       ] )     ] [
fhir:type [ fhir:v "Encounter" ] ;
      ( fhir:profile [
fhir:v "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-encounter"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-encounter>       ] ) ;
      ( fhir:mustSupport [ fhir:v "type" ] [ fhir:v "status" ] [ fhir:v "status.value" ] [ fhir:v "class" ] [ fhir:v "period" ] [ fhir:v "condition" ] [ fhir:v "condition.reference" ] [ fhir:v "condition.reference.value" ] [ fhir:v "location" ] [ fhir:v "location.type" ] [ fhir:v "hospitalization" ] [ fhir:v "hospitalization.dischargeDisposition" ] ) ;
      ( fhir:codeFilter [
fhir:path [ fhir:v "type" ] ;
fhir:valueSet [
fhir:v "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1085"^^xsd:anyURI ;
fhir:l <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1085>         ]       ] [
fhir:path [ fhir:v "status.value" ] ;
        ( fhir:code [
fhir:code [ fhir:v "finished" ]         ] )       ] [
fhir:path [ fhir:v "class" ]       ] )     ] [
fhir:type [ fhir:v "Encounter" ] ;
      ( fhir:profile [
fhir:v "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-encounter"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-encounter>       ] ) ;
      ( fhir:mustSupport [ fhir:v "type" ] [ fhir:v "status" ] [ fhir:v "status.value" ] [ fhir:v "class" ] [ fhir:v "reasonCode" ] [ fhir:v "period" ] [ fhir:v "condition" ] [ fhir:v "condition.reference" ] [ fhir:v "condition.reference.value" ] [ fhir:v "location" ] [ fhir:v "location.type" ] [ fhir:v "hospitalization" ] [ fhir:v "hospitalization.dischargeDisposition" ] ) ;
      ( fhir:codeFilter [
fhir:path [ fhir:v "type" ] ;
fhir:valueSet [
fhir:v "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1085"^^xsd:anyURI ;
fhir:l <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1085>         ]       ] )     ] [
fhir:type [ fhir:v "Location" ] ;
      ( fhir:profile [
fhir:v "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-location"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-location>       ] ) ;
      ( fhir:mustSupport [ fhir:v "id" ] [ fhir:v "id.value" ] )     ] [
fhir:type [ fhir:v "MedicationAdministration" ] ;
      ( fhir:profile [
fhir:v "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-medicationadministration"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-medicationadministration>       ] ) ;
      ( fhir:mustSupport [ fhir:v "medication" ] [ fhir:v "status" ] [ fhir:v "status.value" ] [ fhir:v "effective" ] ) ;
      ( fhir:codeFilter [
fhir:path [ fhir:v "medication" ] ;
fhir:valueSet [
fhir:v "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3157.4020"^^xsd:anyURI ;
fhir:l <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3157.4020>         ]       ] )     ] [
fhir:type [ fhir:v "Procedure" ] ;
      ( fhir:profile [
fhir:v "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-procedure"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-procedure>       ] ) ;
      ( fhir:mustSupport [ fhir:v "code" ] [ fhir:v "performed" ] [ fhir:v "status" ] [ fhir:v "status.value" ] ) ;
      ( fhir:codeFilter [
fhir:path [ fhir:v "code" ] ;
fhir:valueSet [
fhir:v "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3157.2000.5"^^xsd:anyURI ;
fhir:l <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3157.2000.5>         ]       ] [
fhir:path [ fhir:v "status.value" ] ;
        ( fhir:code [
fhir:code [ fhir:v "completed" ]         ] )       ] )     ] [
fhir:type [ fhir:v "Procedure" ] ;
      ( fhir:profile [
fhir:v "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-procedure"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-procedure>       ] ) ;
      ( fhir:mustSupport [ fhir:v "code" ] [ fhir:v "performed" ] [ fhir:v "status" ] [ fhir:v "status.value" ] ) ;
      ( fhir:codeFilter [
fhir:path [ fhir:v "code" ] ;
fhir:valueSet [
fhir:v "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3157.4056"^^xsd:anyURI ;
fhir:l <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3157.4056>         ]       ] [
fhir:path [ fhir:v "status.value" ] ;
        ( fhir:code [
fhir:code [ fhir:v "completed" ]         ] )       ] )     ] [
fhir:type [ fhir:v "Procedure" ] ;
      ( fhir:profile [
fhir:v "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-procedure"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-procedure>       ] ) ;
      ( fhir:mustSupport [ fhir:v "code" ] [ fhir:v "performed" ] [ fhir:v "status" ] [ fhir:v "status.value" ] ) ;
      ( fhir:codeFilter [
fhir:path [ fhir:v "code" ] ;
fhir:valueSet [
fhir:v "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1045.69"^^xsd:anyURI ;
fhir:l <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1045.69>         ]       ] )     ] [
fhir:type [ fhir:v "Procedure" ] ;
      ( fhir:profile [
fhir:v "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-procedure"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-procedure>       ] ) ;
      ( fhir:mustSupport [ fhir:v "code" ] [ fhir:v "performed" ] [ fhir:v "status" ] [ fhir:v "status.value" ] ) ;
      ( fhir:codeFilter [
fhir:path [ fhir:v "code" ] ;
fhir:valueSet [
fhir:v "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3157.4052"^^xsd:anyURI ;
fhir:l <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3157.4052>         ]       ] )     ] [
fhir:type [ fhir:v "Procedure" ] ;
      ( fhir:profile [
fhir:v "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-procedure"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-procedure>       ] ) ;
      ( fhir:mustSupport [ fhir:v "code" ] [ fhir:v "performed" ] [ fhir:v "status" ] [ fhir:v "status.value" ] ) ;
      ( fhir:codeFilter [
fhir:path [ fhir:v "code" ] ;
fhir:valueSet [
fhir:v "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1170.2"^^xsd:anyURI ;
fhir:l <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1170.2>         ]       ] [
fhir:path [ fhir:v "status.value" ] ;
        ( fhir:code [
fhir:code [ fhir:v "completed" ]         ] )       ] )     ] [
fhir:type [ fhir:v "Coverage" ] ;
      ( fhir:profile [
fhir:v "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-coverage"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-coverage>       ] ) ;
      ( fhir:mustSupport [ fhir:v "type" ] [ fhir:v "period" ] ) ;
      ( fhir:codeFilter [
fhir:path [ fhir:v "type" ] ;
fhir:valueSet [
fhir:v "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3591"^^xsd:anyURI ;
fhir:l <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3591>         ]       ] )     ] [
fhir:type [ fhir:v "AllergyIntolerance" ] ;
      ( fhir:profile [
fhir:v "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-allergyintolerance"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-allergyintolerance>       ] ) ;
      ( fhir:mustSupport [ fhir:v "code" ] [ fhir:v "clinicalStatus" ] [ fhir:v "onset" ] ) ;
      ( fhir:codeFilter [
fhir:path [ fhir:v "code" ] ;
fhir:valueSet [
fhir:v "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1170.4"^^xsd:anyURI ;
fhir:l <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1170.4>         ]       ] [
fhir:path [ fhir:v "clinicalStatus" ]       ] )     ] [
fhir:type [ fhir:v "AdverseEvent" ] ;
      ( fhir:profile [
fhir:v "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-adverseevent"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-adverseevent>       ] ) ;
      ( fhir:mustSupport [ fhir:v "event" ] [ fhir:v "recordedDate" ] [ fhir:v "recordedDate.value" ] [ fhir:v "actuality" ] [ fhir:v "actuality.value" ] ) ;
      ( fhir:codeFilter [
fhir:path [ fhir:v "event" ] ;
fhir:valueSet [
fhir:v "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1170.6"^^xsd:anyURI ;
fhir:l <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1170.6>         ]       ] [
fhir:path [ fhir:v "actuality.value" ] ;
        ( fhir:code [
fhir:code [ fhir:v "actual" ]         ] )       ] )     ] [
      ( fhir:extension [
        ( fhir:extension [
fhir:url [
fhir:v "targetId"^^xsd:anyURI ;
fhir:l fhir:targetId           ] ;
fhir:value [
a fhir:String ;
fhir:v "G10002"           ]         ] [
fhir:url [
fhir:v "targetProperty"^^xsd:anyURI ;
fhir:l fhir:targetProperty           ] ;
fhir:value [
a fhir:String ;
fhir:v "medication"           ]         ] ) ;
fhir:url [
fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-relatedRequirement"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-relatedRequirement>         ]       ] ) ;
fhir:type [ fhir:v "Medication" ] ;
      ( fhir:profile [
fhir:v "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-medication"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-medication>       ] ) ;
      ( fhir:mustSupport [ fhir:v "id" ] )     ] [
fhir:id [ fhir:v "G10002" ] ;
fhir:type [ fhir:v "MedicationRequest" ] ;
      ( fhir:profile [
fhir:v "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-medicationrequest"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-medicationrequest>       ] ) ;
      ( fhir:mustSupport [ fhir:v "medication.reference" ] [ fhir:v "status" ] [ fhir:v "status.value" ] [ fhir:v "intent" ] [ fhir:v "intent.value" ] [ fhir:v "authoredOn" ] [ fhir:v "authoredOn.value" ] )     ] [
fhir:type [ fhir:v "MedicationRequest" ] ;
      ( fhir:profile [
fhir:v "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-medicationrequest"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-medicationrequest>       ] ) ;
      ( fhir:mustSupport [ fhir:v "medication" ] [ fhir:v "status" ] [ fhir:v "status.value" ] [ fhir:v "intent" ] [ fhir:v "intent.value" ] [ fhir:v "authoredOn" ] [ fhir:v "authoredOn.value" ] ) ;
      ( fhir:codeFilter [
fhir:path [ fhir:v "medication" ] ;
fhir:valueSet [
fhir:v "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3157.4045"^^xsd:anyURI ;
fhir:l <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3157.4045>         ]       ] )     ] )
  ] ) ; # 
  fhir:extension ( [
fhir:id [ fhir:v "supplementalDataGuidance" ] ;
    ( fhir:extension [
fhir:url [
fhir:v "guidance"^^xsd:anyURI ;
fhir:l fhir:guidance       ]     ] [
fhir:url [
fhir:v "usage"^^xsd:anyURI ;
fhir:l fhir:usage       ] ;
fhir:value [
a fhir:CodeableConcept ;
        ( fhir:coding [
fhir:system [
fhir:v "http://terminology.hl7.org/CodeSystem/measure-data-usage"^^xsd:anyURI ;
fhir:l <http://terminology.hl7.org/CodeSystem/measure-data-usage>           ] ;
fhir:code [ fhir:v "supplemental-data" ] ;
fhir:display [ fhir:v "Supplemental Data" ]         ] ) ;
fhir:text [ fhir:v "Supplemental Data Guidance" ]       ]     ] ) ;
fhir:url [
fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-supplementalDataGuidance"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-supplementalDataGuidance>     ]
  ] [
fhir:url [
fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-softwaresystem"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-softwaresystem>     ] ;
fhir:value [
a fhir:Reference ;
fhir:l fhir:Device/cqf-tooling ;
fhir:reference [ fhir:v "Device/cqf-tooling" ]     ]
  ] [
fhir:id [ fhir:v "effective-data-requirements" ] ;
fhir:url [
fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-effectiveDataRequirements"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-effectiveDataRequirements>     ] ;
fhir:value [
a fhir:Reference ;
fhir:l <#effective-data-requirements> ;
fhir:reference [ fhir:v "#effective-data-requirements" ]     ]
  ] ) ; # 
  fhir:url [
fhir:v "http://ecqi.healthit.gov/ecqms/Measure/AppropriateTreatmentforSTEMIFHIR"^^xsd:anyURI ;
fhir:l <http://ecqi.healthit.gov/ecqms/Measure/AppropriateTreatmentforSTEMIFHIR>
  ] ; # 
  fhir:identifier ( [
fhir:use [ fhir:v "usual" ] ;
fhir:type [
      ( fhir:coding [
fhir:system [
fhir:v "http://hl7.org/fhir/us/cqfmeasures/CodeSystem/identifier-type"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/us/cqfmeasures/CodeSystem/identifier-type>         ] ;
fhir:code [ fhir:v "short-name" ]       ] )     ] ;
fhir:system [
fhir:v "https://madie.cms.gov/measure/shortName"^^xsd:anyURI ;
fhir:l <https://madie.cms.gov/measure/shortName>     ] ;
fhir:value [ fhir:v "CMS996FHIR" ]
  ] [
fhir:use [ fhir:v "official" ] ;
fhir:type [
      ( fhir:coding [
fhir:system [
fhir:v "http://hl7.org/fhir/us/cqfmeasures/CodeSystem/identifier-type"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/us/cqfmeasures/CodeSystem/identifier-type>         ] ;
fhir:code [ fhir:v "version-independent" ]       ] )     ] ;
fhir:system [
fhir:v "urn:ietf:rfc:3986"^^xsd:anyURI ;
fhir:l <urn:ietf:rfc:3986>     ] ;
fhir:value [ fhir:v "urn:uuid:a48685e0-4926-4ae8-9eb3-d8e8839b1704" ]
  ] [
fhir:use [ fhir:v "official" ] ;
fhir:type [
      ( fhir:coding [
fhir:system [
fhir:v "http://hl7.org/fhir/us/cqfmeasures/CodeSystem/identifier-type"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/us/cqfmeasures/CodeSystem/identifier-type>         ] ;
fhir:code [ fhir:v "version-specific" ]       ] )     ] ;
fhir:system [
fhir:v "urn:ietf:rfc:3986"^^xsd:anyURI ;
fhir:l <urn:ietf:rfc:3986>     ] ;
fhir:value [ fhir:v "urn:uuid:2c92808482113ece01821188a1500069" ]
  ] [
fhir:use [ fhir:v "official" ] ;
fhir:type [
      ( fhir:coding [
fhir:system [
fhir:v "http://hl7.org/fhir/us/cqfmeasures/CodeSystem/identifier-type"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/us/cqfmeasures/CodeSystem/identifier-type>         ] ;
fhir:code [ fhir:v "endorser" ]       ] )     ] ;
fhir:system [
fhir:v "https://madie.cms.gov/measure/nqfId"^^xsd:anyURI ;
fhir:l <https://madie.cms.gov/measure/nqfId>     ] ;
fhir:value [ fhir:v "3613e" ] ;
fhir:assigner [
fhir:display [ fhir:v "NQF" ]     ]
  ] [
fhir:use [ fhir:v "official" ] ;
fhir:type [
      ( fhir:coding [
fhir:system [
fhir:v "http://hl7.org/fhir/us/cqfmeasures/CodeSystem/identifier-type"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/us/cqfmeasures/CodeSystem/identifier-type>         ] ;
fhir:code [ fhir:v "publisher" ]       ] )     ] ;
fhir:system [
fhir:v "https://madie.cms.gov/measure/cmsId"^^xsd:anyURI ;
fhir:l <https://madie.cms.gov/measure/cmsId>     ] ;
fhir:value [ fhir:v "996FHIR" ] ;
fhir:assigner [
fhir:display [ fhir:v "CMS" ]     ]
  ] ) ; # 
  fhir:version [ fhir:v "0.0.008"] ; # 
  fhir:name [ fhir:v "AppropriateTreatmentforSTEMIFHIR"] ; # 
  fhir:title [ fhir:v "Appropriate Treatment for ST-Segment Elevation Myocardial Infarction (STEMI) Patients in the Emergency Department (ED)FHIR"] ; # 
  fhir:status [ fhir:v "draft"] ; # 
  fhir:experimental [ fhir:v false] ; # 
  fhir:date [ fhir:v "2023-10-27T08:12:31+00:00"^^xsd:dateTime] ; # 
  fhir:publisher [ fhir:v "Centers for Medicare & Medicaid Services (CMS)"] ; # 
  fhir:contact ( [
    ( fhir:telecom [
fhir:system [ fhir:v "url" ] ;
fhir:value [ fhir:v "https://www.cms.gov/" ]     ] )
  ] ) ; # 
  fhir:description [ fhir:v "Percentage of emergency department (ED) encounters for patients 18 years and older with a diagnosis of ST-segment elevation myocardial infarction (STEMI) that received appropriate treatment, defined as fibrinolytic therapy within 30 minutes of ED arrival, percutaneous coronary intervention (PCI) within 90 minutes of ED arrival, or transfer within 45 minutes of ED arrival"] ; # 
  fhir:purpose [ fhir:v "UNKNOWN"] ; # 
  fhir:usage [ fhir:v "This eCQM is an episode-based measure and should be reported for each instance of an ED encounter during the measurement period for patients with a STEMI.\n\nThis FHIR-based measure has been derived from the QDM-based measure: CMS996v4.\n\nPlease refer to the HL7 QI-Core Implementation Guide (http://hl7.org/fhir/us/qicore/index.html) for more information on QI-Core and mapping recommendations from QDM to QI-Core 4.1.1 (http://hl7.org/fhir/us/qicore/qdm-to-qicore.html)."] ; # 
  fhir:copyright [ fhir:v "Limited proprietary coding is contained in these specifications for user convenience. Users of proprietary code sets should obtain all necessary licenses from the owners of the code sets.\n\nThis material contains SNOMED Clinical Terms(R) (SNOMED CT[R]) copyright 2004-2022 International Health Terminology Standards Development Organisation. All rights reserved.\n\nLOINC(R) copyright 2004-2022 Regenstrief Institute, Inc.\n\nCPT(R) contained in the Measure specifications is copyright 2004-2022 American Medical Association.\n\nICD-10 is copyright 2022 World Health Organization. All Rights Reserved."] ; # 
  fhir:approvalDate [ fhir:v "2023-08-17"^^xsd:date] ; # 
  fhir:lastReviewDate [ fhir:v "2023-08-17"^^xsd:date] ; # 
  fhir:effectivePeriod [
fhir:start [ fhir:v "2024-01-01"^^xsd:date ] ;
fhir:end [ fhir:v "2024-12-31"^^xsd:date ]
  ] ; # 
  fhir:author ( [
fhir:name [ fhir:v "Yale New Haven Health Service Corporation/ Center for Outcomes Research and Evaluation" ] ;
    ( fhir:telecom [
fhir:system [ fhir:v "url" ] ;
fhir:value [ fhir:v "https://medicine.yale.edu/core/" ]     ] )
  ] [
fhir:name [ fhir:v "The Lewin Group" ] ;
    ( fhir:telecom [
fhir:system [ fhir:v "url" ] ;
fhir:value [ fhir:v "https://www.lewin.com/" ]     ] )
  ] ) ; # 
  fhir:library ( [
fhir:v "http://ecqi.healthit.gov/ecqms/Library/AppropriateTreatmentforSTEMIFHIR"^^xsd:anyURI ;
fhir:l <http://ecqi.healthit.gov/ecqms/Library/AppropriateTreatmentforSTEMIFHIR>
  ] ) ; # 
  fhir:disclaimer [ fhir:v "These performance specifications are not clinical guidelines and do not establish a standard of medical care, and have not been tested for all potential applications.\n\nTHE MEASURES AND SPECIFICATIONS ARE PROVIDED \"AS IS\" WITHOUT WARRANTY OF ANY KIND.\n\nDue to technical limitations, registered trademarks are indicated by (R) or [R] and unregistered trademarks are indicated by (TM) or [TM]."] ; # 
  fhir:rationale [ fhir:v "Studies have shown that delays in the treatment of acute myocardial infarction (AMI) leads to increased risk of in-hospital mortality and morbidity, with nearly two lives per 1,000 patients lost per hour of delay in treatment (Sohlpour & Yusuf, 2014; Fibrinolytic Therapy Trialists’ Collaborative Group, 1994). For patients receiving fibrinolytic therapy, the American Heart Association (AHA) estimates that 65 lives will be saved per 1,000 patients if treatment is administered within the first hour of symptom onset, and 131 lives will be saved per 1,000 patients treated if fibrinolytic therapy is delivered within the first three hours (O’Connor et al., 2010). \nThe total ischemic time—that is, the time from onset of STEMI symptoms to the initiation of some form of reperfusion therapy—is the principal determinant of health outcomes for patients with an AMI, so timely care is essential to minimize disease morbidity and mortality. Primary PCI is the preferred treatment approach, with guidelines recommending initiation of PCI within 120 minutes from first medical contact (O’Gara et al., 2013). In situations where it is unlikely or impossible for a patient to receive primary PCI within the 120-minute timeframe, fibrinolytic therapy may be used for reperfusion and should be rapidly administered to reduce mortality and minimize morbidity; guidelines recommend that fibrinolytic therapy administration occur within 30 minutes of hospital arrival; this may also require rapid transfer for PCI (O’Gara et al., 2013).\nImplementation of an eCQM addressing appropriateness and effectiveness of care for STEMI patients in the ED has the potential to improve the delivery of care furthering alignment with current clinical practice guidelines, while reducing adverse health outcomes such as mortality, bleeding events, and reinfarction. Use of the proposed eCQM could also reduce burden on facilities currently measured using the chart-abstracted Fibrinolytic Therapy Received within 30 Minutes of ED Arrival (OP-2) measure and broaden the population for which performance scores could be publicly reported."] ; # 
  fhir:clinicalRecommendationStatement [ fhir:v "Primary PCI in STEMI:\nThe 2013 ACCF/AHA clinical practice guideline for the management of STEMI recommends that:\n- \"Primary PCI should be performed in patients with STEMI and ischemic symptoms of less than 12 hours’ duration.\"\n- \"Primary PCI should be performed in patients with STEMI and ischemic symptoms of less than 12 hours’ duration who have contraindications to fibrinolytic therapy, irrespective of the time delay from first medical contact.\"\n \nFibrinolytic Therapy when there is an Anticipated Delay to Performing Primary PCI within 120 Minutes of First Medical Contact:\nThe 2013 ACCF/AHA clinical practice guideline for the management of STEMI recommends that:\n- \"In the absence of contraindications, fibrinolytic therapy should be given to patients with STEMI and onset of ischemic symptoms within the previous 12 hours when it is anticipated that primary PCI cannot be performed within 120 minutes of first medical contact.”\n \nTransfer to a PCI-Capable Hospital after Fibrinolytic Therapy:\nThe 2013 ACCF/AHA clinical practice guideline for the management of STEMI recommends that:\n- Immediate transfer to a PCI-capable hospital for coronary angiography is recommended for suitable patients with STEMI who develop cardiogenic shock or acute severe HF, irrespective of the time delay from MI onset.\n- Urgent transfer to a PCI-capable hospital for coronary angiography is reasonable for patients with STEMI who demonstrate evidence of failed reperfusion or reocclusion after fibrinolytic therapy. \n- Transfer to a PCI-capable hospital for coronary angiography is reasonable for patients with STEMI who have received fibrinolytic therapy even when hemodynamically stable and with clinical evidence of successful reperfusion. Angiography can be performed as soon as logistically feasible at the receiving hospital, and ideally within 24 hours, but should not be performed within the first 2 to 3 hours after administration of fibrinolytic therapy."] ; # 
  fhir:group ( [
fhir:id [ fhir:v "6384fdb64ba3d47c885c02a6" ] ;
    ( fhir:extension [
fhir:url [
fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-scoring"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-scoring>       ] ;
fhir:value [
a fhir:CodeableConcept ;
        ( fhir:coding [
fhir:system [
fhir:v "http://terminology.hl7.org/CodeSystem/measure-scoring"^^xsd:anyURI ;
fhir:l <http://terminology.hl7.org/CodeSystem/measure-scoring>           ] ;
fhir:code [ fhir:v "proportion" ] ;
fhir:display [ fhir:v "Proportion" ]         ] )       ]     ] [
fhir:url [
fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-populationBasis"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-populationBasis>       ] ;
fhir:value [
a fhir:Code ;
fhir:v "Encounter"       ]     ] [
fhir:url [
fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-type"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-type>       ] ;
fhir:value [
a fhir:CodeableConcept ;
        ( fhir:coding [
fhir:system [
fhir:v "http://terminology.hl7.org/CodeSystem/measure-type"^^xsd:anyURI ;
fhir:l <http://terminology.hl7.org/CodeSystem/measure-type>           ] ;
fhir:code [ fhir:v "process" ] ;
fhir:display [ fhir:v "Process" ]         ] )       ]     ] ) ;
    ( fhir:population [
fhir:id [ fhir:v "9368D43C-EC53-489B-BFAB-E61F16298E63" ] ;
fhir:code [
        ( fhir:coding [
fhir:system [
fhir:v "http://terminology.hl7.org/CodeSystem/measure-population"^^xsd:anyURI ;
fhir:l <http://terminology.hl7.org/CodeSystem/measure-population>           ] ;
fhir:code [ fhir:v "initial-population" ] ;
fhir:display [ fhir:v "Initial Population" ]         ] )       ] ;
fhir:description [ fhir:v "All emergency department encounters for patients 18 years and older with a diagnosis of ST-segment elevation myocardial infarction (STEMI)" ] ;
fhir:criteria [
fhir:language [ fhir:v "text/cql-identifier" ] ;
fhir:expression [ fhir:v "Initial Population" ]       ]     ] [
fhir:id [ fhir:v "EBF05C28-BF39-423D-A055-FCD964FE0333" ] ;
fhir:code [
        ( fhir:coding [
fhir:system [
fhir:v "http://terminology.hl7.org/CodeSystem/measure-population"^^xsd:anyURI ;
fhir:l <http://terminology.hl7.org/CodeSystem/measure-population>           ] ;
fhir:code [ fhir:v "denominator" ] ;
fhir:display [ fhir:v "Denominator" ]         ] )       ] ;
fhir:description [ fhir:v "Equals Initial Population" ] ;
fhir:criteria [
fhir:language [ fhir:v "text/cql-identifier" ] ;
fhir:expression [ fhir:v "Denominator" ]       ]     ] [
fhir:id [ fhir:v "9BDC7445-0BF6-4941-8732-893B185A378E" ] ;
fhir:code [
        ( fhir:coding [
fhir:system [
fhir:v "http://terminology.hl7.org/CodeSystem/measure-population"^^xsd:anyURI ;
fhir:l <http://terminology.hl7.org/CodeSystem/measure-population>           ] ;
fhir:code [ fhir:v "denominator-exclusion" ] ;
fhir:display [ fhir:v "Denominator Exclusion" ]         ] )       ] ;
fhir:description [ fhir:v "Patients with the following conditions are excluded from measure denominator:\n • Expired in the ED\n • Bleeding or bleeding diathesis (excluding menses)\n • Intracranial or intraspinal surgery\n • Ischemic stroke \n • Known malignant intracranial neoplasm (primary or metastatic)\n • Known structural cerebral vascular lesion (e.g., AVM)\n • Significant facial and/or closed head trauma\n • Suspected aortic dissection\n •  Peptic ulcer\n •  Cardiopulmonary arrest, including: cardiac arrest, CPR, defibrillation, respiratory arrest, or ventricular fibrillation (V-fib), ventricular tachycardia (VT), or pulseless electrical activity (PEA); or, traumatic or prolonged (>10 minutes) CPR\n • Allergic reaction to alteplase, streptokinase, anistreplase, tenecteplase, or reteplase\n • Intubation, including endotracheal intubation, mechanical ventilation, nasotracheal intubation, or orotracheal intubation\n • Mechanical circulatory assist device placement, including: aortic balloon pump, biventricular assist device, intra-aortic balloon, intra-aortic balloon counterpulsation, intra-aortic counterpulsation balloon pump, left ventricular device, percutaneous ventricular assist device, or ventricular assist device\n • Oral anticoagulant therapy \n • Advanced dementia\n • Pregnancy\n • Internal bleeding\n • Major surgery\n • Severe neurologic impairment (e.g., based on Glasgow coma scale or as indicated by the patient receiving therapeutic hypothermia in the ED)" ] ;
fhir:criteria [
fhir:language [ fhir:v "text/cql-identifier" ] ;
fhir:expression [ fhir:v "Denominator Exclusions" ]       ]     ] [
fhir:id [ fhir:v "D66FC17B-ABED-4476-A524-B092500128D9" ] ;
fhir:code [
        ( fhir:coding [
fhir:system [
fhir:v "http://terminology.hl7.org/CodeSystem/measure-population"^^xsd:anyURI ;
fhir:l <http://terminology.hl7.org/CodeSystem/measure-population>           ] ;
fhir:code [ fhir:v "numerator" ] ;
fhir:display [ fhir:v "Numerator" ]         ] )       ] ;
fhir:description [ fhir:v "Emergency department encounters with a diagnosis of STEMI:\n - where time from ED arrival to fibrinolysis is 30 minutes or fewer;\nOR \n- where PCI is performed within 90 minutes of arrival for non-transfer patients; \nOR\n- where the patient is transferred within 45 minutes of ED arrival." ] ;
fhir:criteria [
fhir:language [ fhir:v "text/cql-identifier" ] ;
fhir:expression [ fhir:v "Numerator" ]       ]     ] [
fhir:id [ fhir:v "dfe4fe2d-fdea-484b-bd77-b2e4bd2523a3" ] ;
fhir:code [
        ( fhir:coding [
fhir:system [
fhir:v "http://terminology.hl7.org/CodeSystem/measure-population"^^xsd:anyURI ;
fhir:l <http://terminology.hl7.org/CodeSystem/measure-population>           ] ;
fhir:code [ fhir:v "numerator-exclusion" ] ;
fhir:display [ fhir:v "Numerator Exclusion" ]         ] )       ] ;
fhir:criteria [
fhir:language [ fhir:v "text/cql-identifier" ]       ]     ] [
fhir:id [ fhir:v "752e3422-6975-4e47-8557-a2cb68f6adad" ] ;
fhir:code [
        ( fhir:coding [
fhir:system [
fhir:v "http://terminology.hl7.org/CodeSystem/measure-population"^^xsd:anyURI ;
fhir:l <http://terminology.hl7.org/CodeSystem/measure-population>           ] ;
fhir:code [ fhir:v "denominator-exception" ] ;
fhir:display [ fhir:v "Denominator Exception" ]         ] )       ] ;
fhir:criteria [
fhir:language [ fhir:v "text/cql-identifier" ]       ]     ] )
  ] ) ; # 
  fhir:supplementalData ( [
fhir:id [ fhir:v "sde-ethnicity" ] ;
    ( fhir:usage [
      ( fhir:coding [
fhir:system [
fhir:v "http://terminology.hl7.org/CodeSystem/measure-data-usage"^^xsd:anyURI ;
fhir:l <http://terminology.hl7.org/CodeSystem/measure-data-usage>         ] ;
fhir:code [ fhir:v "supplemental-data" ]       ] )     ] ) ;
fhir:description [ fhir:v "SDE Ethnicity" ] ;
fhir:criteria [
fhir:language [ fhir:v "text/cql-identifier" ] ;
fhir:expression [ fhir:v "SDE Ethnicity" ]     ]
  ] [
fhir:id [ fhir:v "sde-payer" ] ;
    ( fhir:usage [
      ( fhir:coding [
fhir:system [
fhir:v "http://terminology.hl7.org/CodeSystem/measure-data-usage"^^xsd:anyURI ;
fhir:l <http://terminology.hl7.org/CodeSystem/measure-data-usage>         ] ;
fhir:code [ fhir:v "supplemental-data" ]       ] )     ] ) ;
fhir:description [ fhir:v "SDE Payer" ] ;
fhir:criteria [
fhir:language [ fhir:v "text/cql-identifier" ] ;
fhir:expression [ fhir:v "SDE Payer" ]     ]
  ] [
fhir:id [ fhir:v "sde-race" ] ;
    ( fhir:usage [
      ( fhir:coding [
fhir:system [
fhir:v "http://terminology.hl7.org/CodeSystem/measure-data-usage"^^xsd:anyURI ;
fhir:l <http://terminology.hl7.org/CodeSystem/measure-data-usage>         ] ;
fhir:code [ fhir:v "supplemental-data" ]       ] )     ] ) ;
fhir:description [ fhir:v "SDE Race" ] ;
fhir:criteria [
fhir:language [ fhir:v "text/cql-identifier" ] ;
fhir:expression [ fhir:v "SDE Race" ]     ]
  ] [
fhir:id [ fhir:v "sde-sex" ] ;
    ( fhir:usage [
      ( fhir:coding [
fhir:system [
fhir:v "http://terminology.hl7.org/CodeSystem/measure-data-usage"^^xsd:anyURI ;
fhir:l <http://terminology.hl7.org/CodeSystem/measure-data-usage>         ] ;
fhir:code [ fhir:v "supplemental-data" ]       ] )     ] ) ;
fhir:description [ fhir:v "SDE Sex" ] ;
fhir:criteria [
fhir:language [ fhir:v "text/cql-identifier" ] ;
fhir:expression [ fhir:v "SDE Sex" ]     ]
  ] ) . #