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

## : DischargedonAntithromboticTherapyFHIR - JSON Representation

Active as of 2023-08-01

Raw json | Download

    {
      "resourceType" : "Library",
      "id" : "DischargedonAntithromboticTherapyFHIR",
      "meta" : {
        "profile" : [
          🔗 "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/computable-library-cqfm"
        ]
      },
      "language" : "en",
      "text" : {
        "status" : "extensions",
        "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n    <table class=\"grid dict\">\n        \n            <tr>\n                <th scope=\"row\"><b>Id: </b></th>\n                <td style=\"padding-left: 4px;\">DischargedonAntithromboticTherapyFHIR</td>\n            </tr>\n        \n        \n            <tr>\n                <th scope=\"row\"><b>Url: </b></th>\n                <td style=\"padding-left: 4px;\">http://ecqi.healthit.gov/ecqms/Library/DischargedonAntithromboticTherapyFHIR</td>\n            </tr>\n        \n        \n            <tr>\n                <th scope=\"row\"><b>Version: </b></th>\n                <td style=\"padding-left: 4px;\">0.8.000</td>\n            </tr>\n        \n        \n            <tr>\n                <th scope=\"row\"><b>Identifier: </b></th>\n                <td style=\"padding-left: 4px;\">\n                    \n                    \n                        <p style=\"margin-bottom: 5px;\">\n                            <b>value: </b> <span>DischargedonAntithromboticTherapyFHIR</span>\n                        </p>\n                    \n                </td>\n            </tr>\n        \n        \n            <tr>\n                <th scope=\"row\"><b>Name: </b></th>\n                <td style=\"padding-left: 4px;\">DischargedonAntithromboticTherapyFHIR</td>\n            </tr>\n        \n        \n            <tr>\n                <th scope=\"row\"><b>Title: </b></th>\n                <td style=\"padding-left: 4px;\">DischargedonAntithromboticTherapyFHIR</td>\n            </tr>\n        \n        \n        \n            <tr>\n                <th scope=\"row\"><b>Status: </b></th>\n                <td style=\"padding-left: 4px;\">active</td>\n            </tr>\n        \n        \n            <tr>\n                <th scope=\"row\"><b>Experimental: </b></th>\n                <td style=\"padding-left: 4px;\">false</td>\n            </tr>\n        \n        \n            <tr>\n                <th scope=\"row\"><b>Type: </b></th>\n                <td style=\"padding-left: 4px;\">\n                    \n                        \n                            \n                                <p style=\"margin-bottom: 5px;\">\n                                    <b>system: </b> <span>http://terminology.hl7.org/CodeSystem/library-type</span>\n                                </p>\n                            \n                            \n                                <p style=\"margin-bottom: 5px;\">\n                                    <b>code: </b> <span>logic-library</span>\n                                </p>\n                            \n                            \n                        \n                    \n                    \n                </td>\n            </tr>\n        \n        \n        \n            <tr>\n                <th scope=\"row\"><b>Date: </b></th>\n                <td style=\"padding-left: 4px;\">2023-08-01T14:34:09+00:00</td>\n            </tr>\n        \n        \n        \n            <tr>\n                <th scope=\"row\"><b>Description: </b></th>\n                <td style=\"padding-left: 4px;\">DischargedonAntithromboticTherapyFHIR</td>\n            </tr>\n        \n        \n        \n        \n            <tr>\n                <th scope=\"row\"><b>Use Context: </b></th>\n                <td style=\"padding-left: 4px;\">\n                    <table class=\"grid-dict\">\n                        <tr><th><b>code</b></th><th><b>value</b></th><th><b>display</b></th></tr>\n                        \n                            <tr>\n                                <td>program</td>\n                                <td>eh-cah</td>\n                                <td>EH/CAH</td>\n                            </tr>\n                        \n                    </table>\n                </td>\n            </tr>\n        \n        \n        \n        \n        \n        \n        \n        \n        \n            <tr>\n                <th scope=\"row\"><b>Related Artifacts: </b></th>\n                <td style=\"padding-left: 4px;\">\n                    \n                    \n                    \n                        <p><b>Dependencies</b></p>\n                        <ul>\n                            \n                                <li/>\n                            \n                                <li/>\n                            \n                                <li/>\n                            \n                                <li/>\n                            \n                                <li/>\n                            \n                                <li/>\n                            \n                                <li/>\n                            \n                                <li/>\n                            \n                                <li/>\n                            \n                        </ul>\n                    \n                    \n                    \n                    \n                    \n                </td>\n            </tr>\n        \n        \n        \n            <tr>\n                <th scope=\"row\"><b>Data Requirements:</b></th>\n                <td style=\"padding-left: 4px;\">\n                    <table class=\"grid-dict\">\n                        <tr><th><b>Type</b></th><th><b>Profile</b></th><th><b>MS</b></th><th><b>Code Filter</b></th></tr>\n                        \n                            <tr>\n                                <th>Patient</th>\n                                <th>http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient</th>\n                                <th/>\n                                <th>\n                                    \n                                </th>\n                            </tr>\n                        \n                            <tr>\n                                <th>Patient</th>\n                                <th>http://hl7.org/fhir/Patient</th>\n                                <th>;;</th>\n                                <th>\n                                    \n                                </th>\n                            </tr>\n                        \n                            <tr>\n                                <th>Encounter</th>\n                                <th>http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-encounter</th>\n                                <th>;;</th>\n                                <th>\n                                    \n                                        <b>code filter: </b>\n                                        \n                                            <br/>\n                                        \n                                        \n                                            <span style=\"padding-left: 4px;\">\n                          <b>path: </b><span>type</span>\n                      </span>\n                                            \n                                                <br/>\n                                            \n                                        \n                                        \n                                            <span style=\"padding-left: 4px;\">\n                          <b>value set: </b><span>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.424</span>\n                      </span>\n                                        \n                                        \n                                    \n                                </th>\n                            </tr>\n                        \n                            <tr>\n                                <th>Condition</th>\n                                <th>http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-condition</th>\n                                <th>;;</th>\n                                <th>\n                                    \n                                </th>\n                            </tr>\n                        \n                            <tr>\n                                <th>Condition</th>\n                                <th>http://hl7.org/fhir/Condition</th>\n                                <th>;</th>\n                                <th>\n                                    \n                                </th>\n                            </tr>\n                        \n                            <tr>\n                                <th>Encounter</th>\n                                <th>http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-encounter</th>\n                                <th>;;</th>\n                                <th>\n                                    \n                                        <b>code filter: </b>\n                                        \n                                            <br/>\n                                        \n                                        \n                                            <span style=\"padding-left: 4px;\">\n                          <b>path: </b><span>type</span>\n                      </span>\n                                            \n                                                <br/>\n                                            \n                                        \n                                        \n                                            <span style=\"padding-left: 4px;\">\n                          <b>value set: </b><span>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.424</span>\n                      </span>\n                                        \n                                        \n                                    \n                                </th>\n                            </tr>\n                        \n                            <tr>\n                                <th>Patient</th>\n                                <th>http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient</th>\n                                <th/>\n                                <th>\n                                    \n                                </th>\n                            </tr>\n                        \n                            <tr>\n                                <th>MedicationRequest</th>\n                                <th>http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-medicationrequest</th>\n                                <th>;</th>\n                                <th>\n                                    \n                                        <b>code filter: </b>\n                                        \n                                            <br/>\n                                        \n                                        \n                                            <span style=\"padding-left: 4px;\">\n                          <b>path: </b><span>medication</span>\n                      </span>\n                                            \n                                                <br/>\n                                            \n                                        \n                                        \n                                            <span style=\"padding-left: 4px;\">\n                          <b>value set: </b><span>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1110.62</span>\n                      </span>\n                                        \n                                        \n                                    \n                                </th>\n                            </tr>\n                        \n                            <tr>\n                                <th>MedicationRequest</th>\n                                <th>http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-medicationrequest</th>\n                                <th>;</th>\n                                <th>\n                                    \n                                        <b>code filter: </b>\n                                        \n                                            <br/>\n                                        \n                                        \n                                            <span style=\"padding-left: 4px;\">\n                          <b>path: </b><span>medication</span>\n                      </span>\n                                            \n                                                <br/>\n                                            \n                                        \n                                        \n                                            <span style=\"padding-left: 4px;\">\n                          <b>value set: </b><span>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1110.62</span>\n                      </span>\n                                        \n                                        \n                                    \n                                </th>\n                            </tr>\n                        \n                            <tr>\n                                <th>Coverage</th>\n                                <th>http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-coverage</th>\n                                <th>;;</th>\n                                <th>\n                                    \n                                        <b>code filter: </b>\n                                        \n                                            <br/>\n                                        \n                                        \n                                            <span style=\"padding-left: 4px;\">\n                          <b>path: </b><span>type</span>\n                      </span>\n                                            \n                                                <br/>\n                                            \n                                        \n                                        \n                                            <span style=\"padding-left: 4px;\">\n                          <b>value set: </b><span>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3591</span>\n                      </span>\n                                        \n                                        \n                                    \n                                </th>\n                            </tr>\n                        \n                            <tr>\n                                <th>uri</th>\n                                <th>http://hl7.org/fhir/uri</th>\n                                <th>;</th>\n                                <th>\n                                    \n                                </th>\n                            </tr>\n                        \n                            <tr>\n                                <th>Patient</th>\n                                <th>http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient</th>\n                                <th>;;</th>\n                                <th>\n                                    \n                                </th>\n                            </tr>\n                        \n                            <tr>\n                                <th>Patient</th>\n                                <th>http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient</th>\n                                <th>;;</th>\n                                <th>\n                                    \n                                </th>\n                            </tr>\n                        \n                            <tr>\n                                <th>ServiceRequest</th>\n                                <th>http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-servicerequest</th>\n                                <th>;;;;;;;</th>\n                                <th>\n                                    \n                                        <b>code filter: </b>\n                                        \n                                            <br/>\n                                        \n                                        \n                                            <span style=\"padding-left: 4px;\">\n                          <b>path: </b><span>code</span>\n                      </span>\n                                            \n                                                <br/>\n                                            \n                                        \n                                        \n                                            <span style=\"padding-left: 4px;\">\n                          <b>value set: </b><span>http://cts.nlm.nih.gov/fhir/ValueSet/1.3.6.1.4.1.33895.1.3.0.45</span>\n                      </span>\n                                        \n                                        \n                                    \n                                </th>\n                            </tr>\n                        \n                            <tr>\n                                <th>Procedure</th>\n                                <th>http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-procedure</th>\n                                <th>;;;</th>\n                                <th>\n                                    \n                                        <b>code filter: </b>\n                                        \n                                            <br/>\n                                        \n                                        \n                                            <span style=\"padding-left: 4px;\">\n                          <b>path: </b><span>code</span>\n                      </span>\n                                            \n                                                <br/>\n                                            \n                                        \n                                        \n                                            <span style=\"padding-left: 4px;\">\n                          <b>value set: </b><span>http://cts.nlm.nih.gov/fhir/ValueSet/1.3.6.1.4.1.33895.1.3.0.45</span>\n                      </span>\n                                        \n                                        \n                                    \n                                </th>\n                            </tr>\n                        \n                            <tr>\n                                <th>Encounter</th>\n                                <th>http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-encounter</th>\n                                <th>;;;;</th>\n                                <th>\n                                    \n                                        <b>code filter: </b>\n                                        \n                                            <br/>\n                                        \n                                        \n                                            <span style=\"padding-left: 4px;\">\n                          <b>path: </b><span>type</span>\n                      </span>\n                                            \n                                                <br/>\n                                            \n                                        \n                                        \n                                            <span style=\"padding-left: 4px;\">\n                          <b>value set: </b><span>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1111.143</span>\n                      </span>\n                                        \n                                        \n                                    \n                                </th>\n                            </tr>\n                        \n                            <tr>\n                                <th>Encounter</th>\n                                <th>http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-encounter</th>\n                                <th>;;;;</th>\n                                <th>\n                                    \n                                        <b>code filter: </b>\n                                        \n                                            <br/>\n                                        \n                                        \n                                            <span style=\"padding-left: 4px;\">\n                          <b>path: </b><span>type</span>\n                      </span>\n                                            \n                                                <br/>\n                                            \n                                        \n                                        \n                                            <span style=\"padding-left: 4px;\">\n                          <b>value set: </b><span>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.292</span>\n                      </span>\n                                        \n                                        \n                                    \n                                </th>\n                            </tr>\n                        \n                            <tr>\n                                <th>Encounter</th>\n                                <th>http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-encounter</th>\n                                <th>;;;;</th>\n                                <th>\n                                    \n                                        <b>code filter: </b>\n                                        \n                                            <br/>\n                                        \n                                        \n                                            <span style=\"padding-left: 4px;\">\n                          <b>path: </b><span>type</span>\n                      </span>\n                                            \n                                                <br/>\n                                            \n                                        \n                                        \n                                            <span style=\"padding-left: 4px;\">\n                          <b>value set: </b><span>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1111.143</span>\n                      </span>\n                                        \n                                        \n                                    \n                                </th>\n                            </tr>\n                        \n                            <tr>\n                                <th>Encounter</th>\n                                <th>http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-encounter</th>\n                                <th>;;;;</th>\n                                <th>\n                                    \n                                        <b>code filter: </b>\n                                        \n                                            <br/>\n                                        \n                                        \n                                            <span style=\"padding-left: 4px;\">\n                          <b>path: </b><span>type</span>\n                      </span>\n                                            \n                                                <br/>\n                                            \n                                        \n                                        \n                                            <span style=\"padding-left: 4px;\">\n                          <b>value set: </b><span>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.292</span>\n                      </span>\n                                        \n                                        \n                                    \n                                </th>\n                            </tr>\n                        \n                            <tr>\n                                <th>Patient</th>\n                                <th>http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient</th>\n                                <th>;;</th>\n                                <th>\n                                    \n                                </th>\n                            </tr>\n                        \n                            <tr>\n                                <th>Patient</th>\n                                <th>http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient</th>\n                                <th>;;</th>\n                                <th>\n                                    \n                                </th>\n                            </tr>\n                        \n                            <tr>\n                                <th>MedicationRequest</th>\n                                <th>http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-mednotrequested</th>\n                                <th>;</th>\n                                <th>\n                                    \n                                        <b>code filter: </b>\n                                        \n                                            <br/>\n                                        \n                                        \n                                            <span style=\"padding-left: 4px;\">\n                          <b>path: </b><span>medication</span>\n                      </span>\n                                            \n                                                <br/>\n                                            \n                                        \n                                        \n                                            <span style=\"padding-left: 4px;\">\n                          <b>value set: </b><span>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1110.62</span>\n                      </span>\n                                        \n                                        \n                                    \n                                </th>\n                            </tr>\n                        \n                            <tr>\n                                <th>MedicationRequest</th>\n                                <th>http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-mednotrequested</th>\n                                <th>;</th>\n                                <th>\n                                    \n                                        <b>code filter: </b>\n                                        \n                                            <br/>\n                                        \n                                        \n                                            <span style=\"padding-left: 4px;\">\n                          <b>path: </b><span>medication</span>\n                      </span>\n                                            \n                                                <br/>\n                                            \n                                        \n                                        \n                                            <span style=\"padding-left: 4px;\">\n                          <b>value set: </b><span>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1110.62</span>\n                      </span>\n                                        \n                                        \n                                    \n                                </th>\n                            </tr>\n                        \n                            <tr>\n                                <th>MedicationRequest</th>\n                                <th>http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-medicationrequest</th>\n                                <th>;</th>\n                                <th>\n                                    \n                                        <b>code filter: </b>\n                                        \n                                            <br/>\n                                        \n                                        \n                                            <span style=\"padding-left: 4px;\">\n                          <b>path: </b><span>medication</span>\n                      </span>\n                                            \n                                                <br/>\n                                            \n                                        \n                                        \n                                            <span style=\"padding-left: 4px;\">\n                          <b>value set: </b><span>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1110.52</span>\n                      </span>\n                                        \n                                        \n                                    \n                                </th>\n                            </tr>\n                        \n                            <tr>\n                                <th>MedicationRequest</th>\n                                <th>http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-medicationrequest</th>\n                                <th>;</th>\n                                <th>\n                                    \n                                        <b>code filter: </b>\n                                        \n                                            <br/>\n                                        \n                                        \n                                            <span style=\"padding-left: 4px;\">\n                          <b>path: </b><span>medication</span>\n                      </span>\n                                            \n                                                <br/>\n                                            \n                                        \n                                        \n                                            <span style=\"padding-left: 4px;\">\n                          <b>value set: </b><span>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1110.52</span>\n                      </span>\n                                        \n                                        \n                                    \n                                </th>\n                            </tr>\n                        \n                            <tr>\n                                <th>Coverage</th>\n                                <th>http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-coverage</th>\n                                <th>;;</th>\n                                <th>\n                                    \n                                        <b>code filter: </b>\n                                        \n                                            <br/>\n                                        \n                                        \n                                            <span style=\"padding-left: 4px;\">\n                          <b>path: </b><span>type</span>\n                      </span>\n                                            \n                                                <br/>\n                                            \n                                        \n                                        \n                                            <span style=\"padding-left: 4px;\">\n                          <b>value set: </b><span>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3591</span>\n                      </span>\n                                        \n                                        \n                                    \n                                </th>\n                            </tr>\n                        \n                            <tr>\n                                <th>Patient</th>\n                                <th>http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient</th>\n                                <th>;;</th>\n                                <th>\n                                    \n                                </th>\n                            </tr>\n                        \n                            <tr>\n                                <th>Patient</th>\n                                <th>http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient</th>\n                                <th>;;</th>\n                                <th>\n                                    \n                                </th>\n                            </tr>\n                        \n                    </table>\n                </td>\n            </tr>\n        \n        \n            \n                <tr>\n                    <td colspan=\"2\">\n                        <table>\n                            <tr><th><a id=\"cql-content\"><b>Content: </b></a> text/cql</th></tr>\n                            <tr><td><pre><code class=\"language-cql\">library DischargedonAntithromboticTherapyFHIR version '0.8.000'\n\n/* based upon FHIR library DischargedonAntithromboticTherapyFHIR4 version '0.4.000' */\n/* 2023 AU */\r\n\r\n\r\n\r\nusing QICore version '4.1.1'\r\n\r\ninclude FHIRHelpers version '4.3.000' called FHIRHelpers\r\ninclude CQMCommon version '1.4.000' called CQMCommon\r\ninclude QICoreCommon version '1.5.000' called QICoreCommon\r\ninclude SupplementalDataElements version '3.4.000' called SDE\r\ninclude TJCOverall version '8.9.000' called TJC\r\n\r\nvalueset &quot;Antithrombotic Therapy for Ischemic Stroke&quot;: 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1110.62'\r\nvalueset &quot;Medical Reason For Not Providing Treatment&quot;: 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.473'\r\nvalueset &quot;Patient Refusal&quot;: 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.93'\r\nvalueset &quot;Pharmacological Contraindications For Antithrombotic Therapy&quot;: 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1110.52'\r\n\r\nparameter &quot;Measurement Period&quot; Interval&lt;DateTime&gt;\r\n\r\ncontext Patient\r\n\r\ndefine &quot;Initial Population&quot;:\r\n  TJC.&quot;Encounter with Principal Diagnosis and Age&quot;\r\n\r\ndefine &quot;Denominator&quot;:\r\n  TJC.&quot;Ischemic Stroke Encounter&quot;\r\n\r\ndefine &quot;Denominator Exclusions&quot;:\r\n  TJC.&quot;Ischemic Stroke Encounters with Discharge Disposition&quot;\r\n    union &quot;Encounter with Comfort Measures during Hospitalization for Patients with Documented Ischemic Stroke&quot;\r\n\r\ndefine &quot;Encounter with Comfort Measures during Hospitalization for Patients with Documented Ischemic Stroke&quot;:\r\n  &quot;Denominator&quot; Encounter\r\n    with TJC.&quot;Intervention Comfort Measures&quot; ComfortMeasure\r\n      such that Coalesce(start of ComfortMeasure.performed.toInterval(), ComfortMeasure.authoredOn) during Encounter.hospitalizationWithObservation ( )\r\n\r\ndefine &quot;Numerator&quot;:\r\n  TJC.&quot;Ischemic Stroke Encounter&quot; IschemicStrokeEncounter\r\n    with [&quot;MedicationRequest&quot;: &quot;Antithrombotic Therapy for Ischemic Stroke&quot;] DischargeAntithrombotic\r\n      such that DischargeAntithrombotic.authoredOn during IschemicStrokeEncounter.period\r\n\r\ndefine &quot;Antithrombotic Therapy at Discharge&quot;:\r\n  [&quot;MedicationRequest&quot;: &quot;Antithrombotic Therapy for Ischemic Stroke&quot;] Antithrombotic\r\n    where ( Antithrombotic.isCommunity ( )\r\n        or Antithrombotic.isDischarge ( )\r\n    )\r\n      and Antithrombotic.status in { 'active', 'completed' }\r\n      and Antithrombotic.intent in { 'order', 'original-order', 'reflex-order', 'filler-order', 'instance-order' }\r\n      and Antithrombotic.doNotPerform is not true\r\n\r\ndefine &quot;Denominator Exceptions&quot;:\r\n  &quot;Encounter with Documented Reason for No Antithrombotic At Discharge&quot;\r\n    union &quot;Encounter with Pharmacological Contraindications for Antithrombotic Therapy at Discharge&quot;\r\n\r\ndefine &quot;Encounter with Documented Reason for No Antithrombotic At Discharge&quot;:\r\n  TJC.&quot;Ischemic Stroke Encounter&quot; IschemicStrokeEncounter\r\n    with &quot;Reason for Not Giving Antithrombotic at Discharge&quot; NoDischargeAntithrombotic\r\n      such that NoDischargeAntithrombotic.authoredOn during IschemicStrokeEncounter.period\r\n\r\ndefine &quot;Reason for Not Giving Antithrombotic at Discharge&quot;:\r\n  [&quot;MedicationNotRequested&quot;: &quot;Antithrombotic Therapy for Ischemic Stroke&quot;] NoAntithromboticDischarge\r\n    where ( NoAntithromboticDischarge.reasonCode in &quot;Medical Reason For Not Providing Treatment&quot;\r\n        or NoAntithromboticDischarge.reasonCode in &quot;Patient Refusal&quot;\r\n    )\r\n      and ( NoAntithromboticDischarge.isCommunity ( )\r\n          or NoAntithromboticDischarge.isDischarge ( )\r\n      )\r\n      and NoAntithromboticDischarge.intent in { 'order', 'original-order', 'reflex-order', 'filler-order', 'instance-order' }\r\n\r\ndefine &quot;Encounter with Pharmacological Contraindications for Antithrombotic Therapy at Discharge&quot;:\r\n  TJC.&quot;Ischemic Stroke Encounter&quot; IschemicStrokeEncounter\r\n    with &quot;Pharmacological Contraindications for Antithrombotic Therapy at Discharge&quot; DischargePharmacological\r\n      such that DischargePharmacological.authoredOn during IschemicStrokeEncounter.period\r\n\r\ndefine &quot;Pharmacological Contraindications for Antithrombotic Therapy at Discharge&quot;:\r\n  [&quot;MedicationRequest&quot;: &quot;Pharmacological Contraindications For Antithrombotic Therapy&quot;] Pharmacological\r\n    where ( Pharmacological.isCommunity ( )\r\n        or Pharmacological.isDischarge ( )\r\n    )\r\n      and Pharmacological.status in { 'active', 'completed' }\r\n      and Pharmacological.intent in { 'order', 'original-order', 'reflex-order', 'filler-order', 'instance-order' }\r\n      and Pharmacological.doNotPerform is not true\r\n\r\ndefine &quot;SDE Ethnicity&quot;:\r\n  SDE.&quot;SDE Ethnicity&quot;\r\n\r\ndefine &quot;SDE Payer&quot;:\r\n  SDE.&quot;SDE Payer&quot;\r\n\r\ndefine &quot;SDE Race&quot;:\r\n  SDE.&quot;SDE Race&quot;\r\n\r\ndefine &quot;SDE Sex&quot;:\r\n  SDE.&quot;SDE Sex&quot;</code></pre></td></tr>\n                        </table>\n                    </td>\n                </tr>\n            \n            \n        \n            \n            \n                <tr>\n                    <td colspan=\"2\">\n                        <table>\n                            <tr><th><b>Content: </b> application/elm+xml</th></tr>\n                            <tr><td><pre><code>Encoded data (108784 characters)</code></pre></td></tr>\n                        </table>\n                    </td>\n                </tr>\n            \n        \n            \n            \n                <tr>\n                    <td colspan=\"2\">\n                        <table>\n                            <tr><th><b>Content: </b> application/elm+json</th></tr>\n                            <tr><td><pre><code>Encoded data (154080 characters)</code></pre></td></tr>\n                        </table>\n                    </td>\n                </tr>\n            \n        \n    </table>\n</div>"
      },
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-softwaresystem",
          "valueReference" : {
            "reference" : "Device/cqf-tooling"
          }
        }
      ],
      "url" : "http://ecqi.healthit.gov/ecqms/Library/DischargedonAntithromboticTherapyFHIR",
      "identifier" : [
        {
          "use" : "official",
          "system" : "https://madie.cms.gov/login",
          "value" : "DischargedonAntithromboticTherapyFHIR"
        }
      ],
      "version" : "0.8.000",
      "name" : "DischargedonAntithromboticTherapyFHIR",
      "title" : "DischargedonAntithromboticTherapyFHIR",
      "status" : "active",
      "experimental" : false,
      "type" : {
        "coding" : [
          {
            "system" : "http://terminology.hl7.org/CodeSystem/library-type",
            "code" : "logic-library"
          }
        ]
      },
      "date" : "2023-08-01T14:34:09+00:00",
      "description" : "DischargedonAntithromboticTherapyFHIR",
      "useContext" : [
        {
          "code" : {
            "system" : "http://terminology.hl7.org/CodeSystem/usage-context-type",
            "code" : "program"
          },
          "valueCodeableConcept" : {
            "coding" : [
              {
                "system" : "http://hl7.org/fhir/us/cqfmeasures/CodeSystem/quality-programs",
                "code" : "eh-cah",
                "display" : "EH/CAH"
              }
            ]
          }
        }
      ],
      "relatedArtifact" : [
        {
          "type" : "depends-on",
          "display" : "QICore model information",
          "resource" : "http://hl7.org/fhir/Library/QICore-ModelInfo"
        },
        {
          "type" : "depends-on",
          "display" : "Library FHIRHelpers",
          "resource" : "http://ecqi.healthit.gov/ecqms/Library/FHIRHelpers|4.3.000"
        },
        {
          "type" : "depends-on",
          "display" : "Library CQMCommon",
          "resource" : "http://ecqi.healthit.gov/ecqms/Library/CQMCommon|1.4.000"
        },
        {
          "type" : "depends-on",
          "display" : "Library QICoreCommon",
          "resource" : "http://ecqi.healthit.gov/ecqms/Library/QICoreCommon|1.5.000"
        },
        {
          "type" : "depends-on",
          "display" : "Library SDE",
          "resource" : "http://ecqi.healthit.gov/ecqms/Library/SupplementalDataElements|3.4.000"
        },
        {
          "type" : "depends-on",
          "display" : "Library TJC",
          "resource" : "http://ecqi.healthit.gov/ecqms/Library/TJCOverall|8.9.000"
        },
        {
          "type" : "depends-on",
          "display" : "Code system AdministrativeGender",
          "resource" : "http://hl7.org/fhir/v3/AdministrativeGender"
        },
        {
          "type" : "depends-on",
          "display" : "Value set Antithrombotic Therapy for Ischemic Stroke",
          "resource" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1110.62"
        },
        {
          "type" : "depends-on",
          "display" : "Value set Medical Reason For Not Providing Treatment",
          "resource" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.473"
        },
        {
          "type" : "depends-on",
          "display" : "Value set Patient Refusal",
          "resource" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.93"
        },
        {
          "type" : "depends-on",
          "display" : "Value set Pharmacological Contraindications For Antithrombotic Therapy",
          "resource" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1110.52"
        },
        {
          "type" : "depends-on",
          "display" : "Value set Nonelective Inpatient Encounter",
          "resource" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.424"
        },
        {
          "type" : "depends-on",
          "display" : "Value set Hemorrhagic Stroke",
          "resource" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.212"
        },
        {
          "type" : "depends-on",
          "display" : "Value set Ischemic Stroke",
          "resource" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.247"
        },
        {
          "type" : "depends-on",
          "display" : "Value set Comfort Measures",
          "resource" : "http://cts.nlm.nih.gov/fhir/ValueSet/1.3.6.1.4.1.33895.1.3.0.45"
        },
        {
          "type" : "depends-on",
          "display" : "Value set Observation Services",
          "resource" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1111.143"
        },
        {
          "type" : "depends-on",
          "display" : "Value set Emergency Department Visit",
          "resource" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.292"
        },
        {
          "type" : "depends-on",
          "display" : "Value set Discharge To Acute Care Facility",
          "resource" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.87"
        },
        {
          "type" : "depends-on",
          "display" : "Value set Left Against Medical Advice",
          "resource" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.308"
        },
        {
          "type" : "depends-on",
          "display" : "Value set Patient Expired",
          "resource" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.309"
        },
        {
          "type" : "depends-on",
          "display" : "Value set Discharged to Home for Hospice Care",
          "resource" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.209"
        },
        {
          "type" : "depends-on",
          "display" : "Value set Discharged to Health Care Facility for Hospice Care",
          "resource" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.207"
        },
        {
          "type" : "depends-on",
          "display" : "Value set Payer Type",
          "resource" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3591"
        }
      ],
      "parameter" : [
        {
          "name" : "Measurement Period",
          "use" : "in",
          "min" : 0,
          "max" : "1",
          "type" : "Period"
        },
        {
          "name" : "Patient",
          "use" : "out",
          "min" : 0,
          "max" : "1",
          "type" : "Resource"
        },
        {
          "name" : "PatientName",
          "use" : "out",
          "min" : 0,
          "max" : "1",
          "type" : "string"
        },
        {
          "name" : "Initial Population",
          "use" : "out",
          "min" : 0,
          "max" : "*",
          "type" : "Resource"
        },
        {
          "name" : "Denominator",
          "use" : "out",
          "min" : 0,
          "max" : "*",
          "type" : "Resource"
        },
        {
          "name" : "Encounter with Comfort Measures during Hospitalization for Patients with Documented Ischemic Stroke",
          "use" : "out",
          "min" : 0,
          "max" : "*",
          "type" : "Resource"
        },
        {
          "name" : "Denominator Exclusions",
          "use" : "out",
          "min" : 0,
          "max" : "*",
          "type" : "Resource"
        },
        {
          "name" : "Numerator",
          "use" : "out",
          "min" : 0,
          "max" : "*",
          "type" : "Resource"
        },
        {
          "name" : "SDE Ethnicity",
          "use" : "out",
          "min" : 0,
          "max" : "1",
          "type" : "Resource"
        },
        {
          "name" : "SDE Payer",
          "use" : "out",
          "min" : 0,
          "max" : "*",
          "type" : "Resource"
        },
        {
          "name" : "SDE Race",
          "use" : "out",
          "min" : 0,
          "max" : "1",
          "type" : "Resource"
        },
        {
          "name" : "SDE Sex",
          "use" : "out",
          "min" : 0,
          "max" : "1",
          "type" : "Coding"
        }
      ],
      "dataRequirement" : [
        {
          "type" : "Patient",
          "profile" : [
            🔗 "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient"
          ],
          "mustSupport" : [
            "ethnicity",
            "race"
          ]
        },
        {
          "type" : "Encounter",
          "profile" : [
            🔗 "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-encounter"
          ],
          "mustSupport" : [
            "type",
            "period",
            "rank",
            "rank.value",
            "condition",
            "condition.reference",
            "condition.reference.value",
            "hospitalization",
            "hospitalization.dischargeDisposition"
          ],
          "codeFilter" : [
            {
              "path" : "type",
              "valueSet" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.424"
            }
          ],
          "dateFilter" : [
            {
              "path" : "period",
              "valuePeriod" : {
                "extension" : [
                  {
                    "url" : "http://hl7.org/fhir/StructureDefinition/cqf-expression",
                    "valueExpression" : {
                      "language" : "text/cql-identifier",
                      "expression" : "Measurement Period"
                    }
                  }
                ]
              }
            }
          ]
        },
        {
          "type" : "Encounter",
          "profile" : [
            🔗 "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-encounter"
          ],
          "mustSupport" : [
            "type",
            "status",
            "status.value",
            "period",
            "rank",
            "rank.value",
            "condition",
            "condition.reference",
            "condition.reference.value",
            "hospitalization",
            "hospitalization.dischargeDisposition"
          ],
          "codeFilter" : [
            {
              "path" : "type",
              "valueSet" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1111.143"
            },
            {
              "path" : "status.value",
              "code" : [
                {
                  "code" : "finished"
                }
              ]
            }
          ]
        },
        {
          "type" : "Encounter",
          "profile" : [
            🔗 "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-encounter"
          ],
          "mustSupport" : [
            "type",
            "status",
            "status.value",
            "period",
            "rank",
            "rank.value",
            "condition",
            "condition.reference",
            "condition.reference.value",
            "hospitalization",
            "hospitalization.dischargeDisposition"
          ],
          "codeFilter" : [
            {
              "path" : "type",
              "valueSet" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.292"
            },
            {
              "path" : "status.value",
              "code" : [
                {
                  "code" : "finished"
                }
              ]
            }
          ],
          "dateFilter" : [
            {
              "path" : "period",
              "valuePeriod" : {
                "extension" : [
                  {
                    "url" : "http://hl7.org/fhir/uv/crmi-analysisException",
                    "valueString" : "Error attempting to determine filter value: toFhirValue not implemented for Subtract"
                  }
                ]
              }
            }
          ]
        },
        {
          "type" : "Condition",
          "profile" : [
            🔗 "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-condition"
          ],
          "mustSupport" : [
            "id",
            "id.value"
          ]
        },
        {
          "type" : "ServiceRequest",
          "profile" : [
            🔗 "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-servicerequest"
          ],
          "mustSupport" : [
            "code",
            "status",
            "status.value",
            "intent",
            "intent.value",
            "doNotPerform",
            "doNotPerform.value"
          ],
          "codeFilter" : [
            {
              "path" : "code",
              "valueSet" : "http://cts.nlm.nih.gov/fhir/ValueSet/1.3.6.1.4.1.33895.1.3.0.45"
            }
          ]
        },
        {
          "type" : "Procedure",
          "profile" : [
            🔗 "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-procedure"
          ],
          "mustSupport" : [
            "code",
            "status",
            "status.value"
          ],
          "codeFilter" : [
            {
              "path" : "code",
              "valueSet" : "http://cts.nlm.nih.gov/fhir/ValueSet/1.3.6.1.4.1.33895.1.3.0.45"
            }
          ]
        },
        {
          "extension" : [
            {
              "extension" : [
                {
                  "url" : "targetId",
                  "valueString" : "G10002"
                },
                {
                  "url" : "targetProperty",
                  "valueString" : "medication"
                }
              ],
              "url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-relatedRequirement"
            }
          ],
          "type" : "Medication",
          "profile" : [
            🔗 "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-medication"
          ],
          "mustSupport" : [
            "id"
          ]
        },
        {
          "id" : "G10002",
          "type" : "MedicationRequest",
          "profile" : [
            🔗 "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-medicationrequest"
          ],
          "mustSupport" : [
            "medication.reference",
            "authoredOn",
            "authoredOn.value"
          ]
        },
        {
          "type" : "MedicationRequest",
          "profile" : [
            🔗 "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-medicationrequest"
          ],
          "mustSupport" : [
            "medication",
            "authoredOn",
            "authoredOn.value"
          ],
          "codeFilter" : [
            {
              "path" : "medication",
              "valueSet" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1110.62"
            }
          ]
        },
        {
          "type" : "Coverage",
          "profile" : [
            🔗 "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-coverage"
          ],
          "mustSupport" : [
            "type",
            "period"
          ],
          "codeFilter" : [
            {
              "path" : "type",
              "valueSet" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3591"
            }
          ]
        }
      ],
      "content" : [
        {
          "contentType" : "text/cql",
          "data" : " "
        },
        {
          "contentType" : "application/elm+xml",
          "data" : " "
        }
      ]
    }