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 - XML Representation

Active as of 2023-08-01

Raw xml | Download

    <Library xmlns="http://hl7.org/fhir">
      <id value="DischargedonAntithromboticTherapyFHIR"/>
      <meta>
        <profile
                 value="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/computable-library-cqfm"/>
      </meta>
      <language value="en"/>
      <text>
        <status value="extensions"/>
        <div xmlns="http://www.w3.org/1999/xhtml">
        <table class="grid dict">

                <tr>
                    <th scope="row"><b>Id: </b></th>
                    <td style="padding-left: 4px;">DischargedonAntithromboticTherapyFHIR</td>
                </tr>

                <tr>
                    <th scope="row"><b>Url: </b></th>
                    <td style="padding-left: 4px;">http://ecqi.healthit.gov/ecqms/Library/DischargedonAntithromboticTherapyFHIR</td>
                </tr>

                <tr>
                    <th scope="row"><b>Version: </b></th>
                    <td style="padding-left: 4px;">0.8.000</td>
                </tr>

                <tr>
                    <th scope="row"><b>Identifier: </b></th>
                    <td style="padding-left: 4px;">

                            <p style="margin-bottom: 5px;">
                                <b>value: </b> <span>DischargedonAntithromboticTherapyFHIR</span>
                            </p>

                    </td>
                </tr>

                <tr>
                    <th scope="row"><b>Name: </b></th>
                    <td style="padding-left: 4px;">DischargedonAntithromboticTherapyFHIR</td>
                </tr>

                <tr>
                    <th scope="row"><b>Title: </b></th>
                    <td style="padding-left: 4px;">DischargedonAntithromboticTherapyFHIR</td>
                </tr>

                <tr>
                    <th scope="row"><b>Status: </b></th>
                    <td style="padding-left: 4px;">active</td>
                </tr>

                <tr>
                    <th scope="row"><b>Experimental: </b></th>
                    <td style="padding-left: 4px;">false</td>
                </tr>

                <tr>
                    <th scope="row"><b>Type: </b></th>
                    <td style="padding-left: 4px;">

                                    <p style="margin-bottom: 5px;">
                                        <b>system: </b> <span>http://terminology.hl7.org/CodeSystem/library-type</span>
                                    </p>

                                    <p style="margin-bottom: 5px;">
                                        <b>code: </b> <span>logic-library</span>
                                    </p>

                    </td>
                </tr>

                <tr>
                    <th scope="row"><b>Date: </b></th>
                    <td style="padding-left: 4px;">2023-08-01T14:34:09+00:00</td>
                </tr>

                <tr>
                    <th scope="row"><b>Description: </b></th>
                    <td style="padding-left: 4px;">DischargedonAntithromboticTherapyFHIR</td>
                </tr>

                <tr>
                    <th scope="row"><b>Use Context: </b></th>
                    <td style="padding-left: 4px;">
                        <table class="grid-dict">
                            <tr><th><b>code</b></th><th><b>value</b></th><th><b>display</b></th></tr>

                                <tr>
                                    <td>program</td>
                                    <td>eh-cah</td>
                                    <td>EH/CAH</td>
                                </tr>

                        </table>
                    </td>
                </tr>

                <tr>
                    <th scope="row"><b>Related Artifacts: </b></th>
                    <td style="padding-left: 4px;">

                            <p><b>Dependencies</b></p>
                            <ul>

                                    <li/>

                                    <li/>

                                    <li/>

                                    <li/>

                                    <li/>

                                    <li/>

                                    <li/>

                                    <li/>

                                    <li/>

                            </ul>

                    </td>
                </tr>

                <tr>
                    <th scope="row"><b>Data Requirements:</b></th>
                    <td style="padding-left: 4px;">
                        <table class="grid-dict">
                            <tr><th><b>Type</b></th><th><b>Profile</b></th><th><b>MS</b></th><th><b>Code Filter</b></th></tr>

                                <tr>
                                    <th>Patient</th>
                                    <th>http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient</th>
                                    <th/>
                                    <th>

                                    </th>
                                </tr>

                                <tr>
                                    <th>Patient</th>
                                    <th>http://hl7.org/fhir/Patient</th>
                                    <th>;;</th>
                                    <th>

                                    </th>
                                </tr>

                                <tr>
                                    <th>Encounter</th>
                                    <th>http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-encounter</th>
                                    <th>;;</th>
                                    <th>

                                            <b>code filter: </b>

                                                <br/>

                                                <span style="padding-left: 4px;">
                              <b>path: </b><span>type</span>
                          </span>

                                                    <br/>

                                                <span style="padding-left: 4px;">
                              <b>value set: </b><span>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.424</span>
                          </span>

                                    </th>
                                </tr>

                                <tr>
                                    <th>Condition</th>
                                    <th>http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-condition</th>
                                    <th>;;</th>
                                    <th>

                                    </th>
                                </tr>

                                <tr>
                                    <th>Condition</th>
                                    <th>http://hl7.org/fhir/Condition</th>
                                    <th>;</th>
                                    <th>

                                    </th>
                                </tr>

                                <tr>
                                    <th>Encounter</th>
                                    <th>http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-encounter</th>
                                    <th>;;</th>
                                    <th>

                                            <b>code filter: </b>

                                                <br/>

                                                <span style="padding-left: 4px;">
                              <b>path: </b><span>type</span>
                          </span>

                                                    <br/>

                                                <span style="padding-left: 4px;">
                              <b>value set: </b><span>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.424</span>
                          </span>

                                    </th>
                                </tr>

                                <tr>
                                    <th>Patient</th>
                                    <th>http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient</th>
                                    <th/>
                                    <th>

                                    </th>
                                </tr>

                                <tr>
                                    <th>MedicationRequest</th>
                                    <th>http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-medicationrequest</th>
                                    <th>;</th>
                                    <th>

                                            <b>code filter: </b>

                                                <br/>

                                                <span style="padding-left: 4px;">
                              <b>path: </b><span>medication</span>
                          </span>

                                                    <br/>

                                                <span style="padding-left: 4px;">
                              <b>value set: </b><span>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1110.62</span>
                          </span>

                                    </th>
                                </tr>

                                <tr>
                                    <th>MedicationRequest</th>
                                    <th>http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-medicationrequest</th>
                                    <th>;</th>
                                    <th>

                                            <b>code filter: </b>

                                                <br/>

                                                <span style="padding-left: 4px;">
                              <b>path: </b><span>medication</span>
                          </span>

                                                    <br/>

                                                <span style="padding-left: 4px;">
                              <b>value set: </b><span>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1110.62</span>
                          </span>

                                    </th>
                                </tr>

                                <tr>
                                    <th>Coverage</th>
                                    <th>http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-coverage</th>
                                    <th>;;</th>
                                    <th>

                                            <b>code filter: </b>

                                                <br/>

                                                <span style="padding-left: 4px;">
                              <b>path: </b><span>type</span>
                          </span>

                                                    <br/>

                                                <span style="padding-left: 4px;">
                              <b>value set: </b><span>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3591</span>
                          </span>

                                    </th>
                                </tr>

                                <tr>
                                    <th>uri</th>
                                    <th>http://hl7.org/fhir/uri</th>
                                    <th>;</th>
                                    <th>

                                    </th>
                                </tr>

                                <tr>
                                    <th>Patient</th>
                                    <th>http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient</th>
                                    <th>;;</th>
                                    <th>

                                    </th>
                                </tr>

                                <tr>
                                    <th>Patient</th>
                                    <th>http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient</th>
                                    <th>;;</th>
                                    <th>

                                    </th>
                                </tr>

                                <tr>
                                    <th>ServiceRequest</th>
                                    <th>http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-servicerequest</th>
                                    <th>;;;;;;;</th>
                                    <th>

                                            <b>code filter: </b>

                                                <br/>

                                                <span style="padding-left: 4px;">
                              <b>path: </b><span>code</span>
                          </span>

                                                    <br/>

                                                <span style="padding-left: 4px;">
                              <b>value set: </b><span>http://cts.nlm.nih.gov/fhir/ValueSet/1.3.6.1.4.1.33895.1.3.0.45</span>
                          </span>

                                    </th>
                                </tr>

                                <tr>
                                    <th>Procedure</th>
                                    <th>http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-procedure</th>
                                    <th>;;;</th>
                                    <th>

                                            <b>code filter: </b>

                                                <br/>

                                                <span style="padding-left: 4px;">
                              <b>path: </b><span>code</span>
                          </span>

                                                    <br/>

                                                <span style="padding-left: 4px;">
                              <b>value set: </b><span>http://cts.nlm.nih.gov/fhir/ValueSet/1.3.6.1.4.1.33895.1.3.0.45</span>
                          </span>

                                    </th>
                                </tr>

                                <tr>
                                    <th>Encounter</th>
                                    <th>http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-encounter</th>
                                    <th>;;;;</th>
                                    <th>

                                            <b>code filter: </b>

                                                <br/>

                                                <span style="padding-left: 4px;">
                              <b>path: </b><span>type</span>
                          </span>

                                                    <br/>

                                                <span style="padding-left: 4px;">
                              <b>value set: </b><span>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1111.143</span>
                          </span>

                                    </th>
                                </tr>

                                <tr>
                                    <th>Encounter</th>
                                    <th>http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-encounter</th>
                                    <th>;;;;</th>
                                    <th>

                                            <b>code filter: </b>

                                                <br/>

                                                <span style="padding-left: 4px;">
                              <b>path: </b><span>type</span>
                          </span>

                                                    <br/>

                                                <span style="padding-left: 4px;">
                              <b>value set: </b><span>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.292</span>
                          </span>

                                    </th>
                                </tr>

                                <tr>
                                    <th>Encounter</th>
                                    <th>http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-encounter</th>
                                    <th>;;;;</th>
                                    <th>

                                            <b>code filter: </b>

                                                <br/>

                                                <span style="padding-left: 4px;">
                              <b>path: </b><span>type</span>
                          </span>

                                                    <br/>

                                                <span style="padding-left: 4px;">
                              <b>value set: </b><span>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1111.143</span>
                          </span>

                                    </th>
                                </tr>

                                <tr>
                                    <th>Encounter</th>
                                    <th>http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-encounter</th>
                                    <th>;;;;</th>
                                    <th>

                                            <b>code filter: </b>

                                                <br/>

                                                <span style="padding-left: 4px;">
                              <b>path: </b><span>type</span>
                          </span>

                                                    <br/>

                                                <span style="padding-left: 4px;">
                              <b>value set: </b><span>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.292</span>
                          </span>

                                    </th>
                                </tr>

                                <tr>
                                    <th>Patient</th>
                                    <th>http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient</th>
                                    <th>;;</th>
                                    <th>

                                    </th>
                                </tr>

                                <tr>
                                    <th>Patient</th>
                                    <th>http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient</th>
                                    <th>;;</th>
                                    <th>

                                    </th>
                                </tr>

                                <tr>
                                    <th>MedicationRequest</th>
                                    <th>http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-mednotrequested</th>
                                    <th>;</th>
                                    <th>

                                            <b>code filter: </b>

                                                <br/>

                                                <span style="padding-left: 4px;">
                              <b>path: </b><span>medication</span>
                          </span>

                                                    <br/>

                                                <span style="padding-left: 4px;">
                              <b>value set: </b><span>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1110.62</span>
                          </span>

                                    </th>
                                </tr>

                                <tr>
                                    <th>MedicationRequest</th>
                                    <th>http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-mednotrequested</th>
                                    <th>;</th>
                                    <th>

                                            <b>code filter: </b>

                                                <br/>

                                                <span style="padding-left: 4px;">
                              <b>path: </b><span>medication</span>
                          </span>

                                                    <br/>

                                                <span style="padding-left: 4px;">
                              <b>value set: </b><span>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1110.62</span>
                          </span>

                                    </th>
                                </tr>

                                <tr>
                                    <th>MedicationRequest</th>
                                    <th>http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-medicationrequest</th>
                                    <th>;</th>
                                    <th>

                                            <b>code filter: </b>

                                                <br/>

                                                <span style="padding-left: 4px;">
                              <b>path: </b><span>medication</span>
                          </span>

                                                    <br/>

                                                <span style="padding-left: 4px;">
                              <b>value set: </b><span>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1110.52</span>
                          </span>

                                    </th>
                                </tr>

                                <tr>
                                    <th>MedicationRequest</th>
                                    <th>http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-medicationrequest</th>
                                    <th>;</th>
                                    <th>

                                            <b>code filter: </b>

                                                <br/>

                                                <span style="padding-left: 4px;">
                              <b>path: </b><span>medication</span>
                          </span>

                                                    <br/>

                                                <span style="padding-left: 4px;">
                              <b>value set: </b><span>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1110.52</span>
                          </span>

                                    </th>
                                </tr>

                                <tr>
                                    <th>Coverage</th>
                                    <th>http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-coverage</th>
                                    <th>;;</th>
                                    <th>

                                            <b>code filter: </b>

                                                <br/>

                                                <span style="padding-left: 4px;">
                              <b>path: </b><span>type</span>
                          </span>

                                                    <br/>

                                                <span style="padding-left: 4px;">
                              <b>value set: </b><span>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3591</span>
                          </span>

                                    </th>
                                </tr>

                                <tr>
                                    <th>Patient</th>
                                    <th>http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient</th>
                                    <th>;;</th>
                                    <th>

                                    </th>
                                </tr>

                                <tr>
                                    <th>Patient</th>
                                    <th>http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient</th>
                                    <th>;;</th>
                                    <th>

                                    </th>
                                </tr>

                        </table>
                    </td>
                </tr>

                    <tr>
                        <td colspan="2">
                            <table>
                                <tr><th><a id="cql-content"><b>Content: </b></a> text/cql</th></tr>
                                <tr><td><pre><code class="language-cql">library DischargedonAntithromboticTherapyFHIR version '0.8.000'

    /* based upon FHIR library DischargedonAntithromboticTherapyFHIR4 version '0.4.000' */
    /* 2023 AU */

    using QICore version '4.1.1'

    include FHIRHelpers version '4.3.000' called FHIRHelpers
    include CQMCommon version '1.4.000' called CQMCommon
    include QICoreCommon version '1.5.000' called QICoreCommon
    include SupplementalDataElements version '3.4.000' called SDE
    include TJCOverall version '8.9.000' called TJC

    valueset &quot;Antithrombotic Therapy for Ischemic Stroke&quot;: 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1110.62'
    valueset &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'
    valueset &quot;Patient Refusal&quot;: 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.93'
    valueset &quot;Pharmacological Contraindications For Antithrombotic Therapy&quot;: 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1110.52'

    parameter &quot;Measurement Period&quot; Interval&lt;DateTime&gt;

    context Patient

    define &quot;Initial Population&quot;:
      TJC.&quot;Encounter with Principal Diagnosis and Age&quot;

    define &quot;Denominator&quot;:
      TJC.&quot;Ischemic Stroke Encounter&quot;

    define &quot;Denominator Exclusions&quot;:
      TJC.&quot;Ischemic Stroke Encounters with Discharge Disposition&quot;
        union &quot;Encounter with Comfort Measures during Hospitalization for Patients with Documented Ischemic Stroke&quot;

    define &quot;Encounter with Comfort Measures during Hospitalization for Patients with Documented Ischemic Stroke&quot;:
      &quot;Denominator&quot; Encounter
        with TJC.&quot;Intervention Comfort Measures&quot; ComfortMeasure
          such that Coalesce(start of ComfortMeasure.performed.toInterval(), ComfortMeasure.authoredOn) during Encounter.hospitalizationWithObservation ( )

    define &quot;Numerator&quot;:
      TJC.&quot;Ischemic Stroke Encounter&quot; IschemicStrokeEncounter
        with [&quot;MedicationRequest&quot;: &quot;Antithrombotic Therapy for Ischemic Stroke&quot;] DischargeAntithrombotic
          such that DischargeAntithrombotic.authoredOn during IschemicStrokeEncounter.period

    define &quot;Antithrombotic Therapy at Discharge&quot;:
      [&quot;MedicationRequest&quot;: &quot;Antithrombotic Therapy for Ischemic Stroke&quot;] Antithrombotic
        where ( Antithrombotic.isCommunity ( )
            or Antithrombotic.isDischarge ( )
        )
          and Antithrombotic.status in { 'active', 'completed' }
          and Antithrombotic.intent in { 'order', 'original-order', 'reflex-order', 'filler-order', 'instance-order' }
          and Antithrombotic.doNotPerform is not true

    define &quot;Denominator Exceptions&quot;:
      &quot;Encounter with Documented Reason for No Antithrombotic At Discharge&quot;
        union &quot;Encounter with Pharmacological Contraindications for Antithrombotic Therapy at Discharge&quot;

    define &quot;Encounter with Documented Reason for No Antithrombotic At Discharge&quot;:
      TJC.&quot;Ischemic Stroke Encounter&quot; IschemicStrokeEncounter
        with &quot;Reason for Not Giving Antithrombotic at Discharge&quot; NoDischargeAntithrombotic
          such that NoDischargeAntithrombotic.authoredOn during IschemicStrokeEncounter.period

    define &quot;Reason for Not Giving Antithrombotic at Discharge&quot;:
      [&quot;MedicationNotRequested&quot;: &quot;Antithrombotic Therapy for Ischemic Stroke&quot;] NoAntithromboticDischarge
        where ( NoAntithromboticDischarge.reasonCode in &quot;Medical Reason For Not Providing Treatment&quot;
            or NoAntithromboticDischarge.reasonCode in &quot;Patient Refusal&quot;
        )
          and ( NoAntithromboticDischarge.isCommunity ( )
              or NoAntithromboticDischarge.isDischarge ( )
          )
          and NoAntithromboticDischarge.intent in { 'order', 'original-order', 'reflex-order', 'filler-order', 'instance-order' }

    define &quot;Encounter with Pharmacological Contraindications for Antithrombotic Therapy at Discharge&quot;:
      TJC.&quot;Ischemic Stroke Encounter&quot; IschemicStrokeEncounter
        with &quot;Pharmacological Contraindications for Antithrombotic Therapy at Discharge&quot; DischargePharmacological
          such that DischargePharmacological.authoredOn during IschemicStrokeEncounter.period

    define &quot;Pharmacological Contraindications for Antithrombotic Therapy at Discharge&quot;:
      [&quot;MedicationRequest&quot;: &quot;Pharmacological Contraindications For Antithrombotic Therapy&quot;] Pharmacological
        where ( Pharmacological.isCommunity ( )
            or Pharmacological.isDischarge ( )
        )
          and Pharmacological.status in { 'active', 'completed' }
          and Pharmacological.intent in { 'order', 'original-order', 'reflex-order', 'filler-order', 'instance-order' }
          and Pharmacological.doNotPerform is not true

    define &quot;SDE Ethnicity&quot;:
      SDE.&quot;SDE Ethnicity&quot;

    define &quot;SDE Payer&quot;:
      SDE.&quot;SDE Payer&quot;

    define &quot;SDE Race&quot;:
      SDE.&quot;SDE Race&quot;

    define &quot;SDE Sex&quot;:
      SDE.&quot;SDE Sex&quot;</code></pre></td></tr>
                            </table>
                        </td>
                    </tr>

                    <tr>
                        <td colspan="2">
                            <table>
                                <tr><th><b>Content: </b> application/elm+xml</th></tr>
                                <tr><td><pre><code>Encoded data (108784 characters)</code></pre></td></tr>
                            </table>
                        </td>
                    </tr>

                    <tr>
                        <td colspan="2">
                            <table>
                                <tr><th><b>Content: </b> application/elm+json</th></tr>
                                <tr><td><pre><code>Encoded data (154080 characters)</code></pre></td></tr>
                            </table>
                        </td>
                    </tr>

        </table>
    </div>
      </text>
      <extension
                 url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-softwaresystem">
        <valueReference>
          <reference value="Device/cqf-tooling"/>
        </valueReference>
      </extension>
      <url
           value="http://ecqi.healthit.gov/ecqms/Library/DischargedonAntithromboticTherapyFHIR"/>
      <identifier>
        <use value="official"/>
        <system value="https://madie.cms.gov/login"/>
        <value value="DischargedonAntithromboticTherapyFHIR"/>
      </identifier>
      <version value="0.8.000"/>
      <name value="DischargedonAntithromboticTherapyFHIR"/>
      <title value="DischargedonAntithromboticTherapyFHIR"/>
      <status value="active"/>
      <experimental value="false"/>
      <type>
        <coding>
          <system value="http://terminology.hl7.org/CodeSystem/library-type"/>
          <code value="logic-library"/>
        </coding>
      </type>
      <date value="2023-08-01T14:34:09+00:00"/>
      <description value="DischargedonAntithromboticTherapyFHIR"/>
      <useContext>
        <code>
          <system
                  value="http://terminology.hl7.org/CodeSystem/usage-context-type"/>
          <code value="program"/>
        </code>
        <valueCodeableConcept>
          <coding>
            <system
                    value="http://hl7.org/fhir/us/cqfmeasures/CodeSystem/quality-programs"/>
            <code value="eh-cah"/>
            <display value="EH/CAH"/>
          </coding>
        </valueCodeableConcept>
      </useContext>
      <relatedArtifact>
        <type value="depends-on"/>
        <display value="QICore model information"/>
        <resource value="http://hl7.org/fhir/Library/QICore-ModelInfo"/>
      </relatedArtifact>
      <relatedArtifact>
        <type value="depends-on"/>
        <display value="Library FHIRHelpers"/>
        <resource
                  value="http://ecqi.healthit.gov/ecqms/Library/FHIRHelpers|4.3.000"/>
      </relatedArtifact>
      <relatedArtifact>
        <type value="depends-on"/>
        <display value="Library CQMCommon"/>
        <resource
                  value="http://ecqi.healthit.gov/ecqms/Library/CQMCommon|1.4.000"/>
      </relatedArtifact>
      <relatedArtifact>
        <type value="depends-on"/>
        <display value="Library QICoreCommon"/>
        <resource
                  value="http://ecqi.healthit.gov/ecqms/Library/QICoreCommon|1.5.000"/>
      </relatedArtifact>
      <relatedArtifact>
        <type value="depends-on"/>
        <display value="Library SDE"/>
        <resource
                  value="http://ecqi.healthit.gov/ecqms/Library/SupplementalDataElements|3.4.000"/>
      </relatedArtifact>
      <relatedArtifact>
        <type value="depends-on"/>
        <display value="Library TJC"/>
        <resource
                  value="http://ecqi.healthit.gov/ecqms/Library/TJCOverall|8.9.000"/>
      </relatedArtifact>
      <relatedArtifact>
        <type value="depends-on"/>
        <display value="Code system AdministrativeGender"/>
        <resource value="http://hl7.org/fhir/v3/AdministrativeGender"/>
      </relatedArtifact>
      <relatedArtifact>
        <type value="depends-on"/>
        <display value="Value set Antithrombotic Therapy for Ischemic Stroke"/>
        <resource
                  value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1110.62"/>
      </relatedArtifact>
      <relatedArtifact>
        <type value="depends-on"/>
        <display value="Value set Medical Reason For Not Providing Treatment"/>
        <resource
                  value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.473"/>
      </relatedArtifact>
      <relatedArtifact>
        <type value="depends-on"/>
        <display value="Value set Patient Refusal"/>
        <resource
                  value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.93"/>
      </relatedArtifact>
      <relatedArtifact>
        <type value="depends-on"/>
        <display
                 value="Value set Pharmacological Contraindications For Antithrombotic Therapy"/>
        <resource
                  value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1110.52"/>
      </relatedArtifact>
      <relatedArtifact>
        <type value="depends-on"/>
        <display value="Value set Nonelective Inpatient Encounter"/>
        <resource
                  value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.424"/>
      </relatedArtifact>
      <relatedArtifact>
        <type value="depends-on"/>
        <display value="Value set Hemorrhagic Stroke"/>
        <resource
                  value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.212"/>
      </relatedArtifact>
      <relatedArtifact>
        <type value="depends-on"/>
        <display value="Value set Ischemic Stroke"/>
        <resource
                  value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.247"/>
      </relatedArtifact>
      <relatedArtifact>
        <type value="depends-on"/>
        <display value="Value set Comfort Measures"/>
        <resource
                  value="http://cts.nlm.nih.gov/fhir/ValueSet/1.3.6.1.4.1.33895.1.3.0.45"/>
      </relatedArtifact>
      <relatedArtifact>
        <type value="depends-on"/>
        <display value="Value set Observation Services"/>
        <resource
                  value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1111.143"/>
      </relatedArtifact>
      <relatedArtifact>
        <type value="depends-on"/>
        <display value="Value set Emergency Department Visit"/>
        <resource
                  value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.292"/>
      </relatedArtifact>
      <relatedArtifact>
        <type value="depends-on"/>
        <display value="Value set Discharge To Acute Care Facility"/>
        <resource
                  value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.87"/>
      </relatedArtifact>
      <relatedArtifact>
        <type value="depends-on"/>
        <display value="Value set Left Against Medical Advice"/>
        <resource
                  value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.308"/>
      </relatedArtifact>
      <relatedArtifact>
        <type value="depends-on"/>
        <display value="Value set Patient Expired"/>
        <resource
                  value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.309"/>
      </relatedArtifact>
      <relatedArtifact>
        <type value="depends-on"/>
        <display value="Value set Discharged to Home for Hospice Care"/>
        <resource
                  value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.209"/>
      </relatedArtifact>
      <relatedArtifact>
        <type value="depends-on"/>
        <display
                 value="Value set Discharged to Health Care Facility for Hospice Care"/>
        <resource
                  value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.207"/>
      </relatedArtifact>
      <relatedArtifact>
        <type value="depends-on"/>
        <display value="Value set Payer Type"/>
        <resource
                  value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3591"/>
      </relatedArtifact>
      <parameter>
        <name value="Measurement Period"/>
        <use value="in"/>
        <min value="0"/>
        <max value="1"/>
        <type value="Period"/>
      </parameter>
      <parameter>
        <name value="Patient"/>
        <use value="out"/>
        <min value="0"/>
        <max value="1"/>
        <type value="Resource"/>
      </parameter>
      <parameter>
        <name value="PatientName"/>
        <use value="out"/>
        <min value="0"/>
        <max value="1"/>
        <type value="string"/>
      </parameter>
      <parameter>
        <name value="Initial Population"/>
        <use value="out"/>
        <min value="0"/>
        <max value="*"/>
        <type value="Resource"/>
      </parameter>
      <parameter>
        <name value="Denominator"/>
        <use value="out"/>
        <min value="0"/>
        <max value="*"/>
        <type value="Resource"/>
      </parameter>
      <parameter>
        <name
              value="Encounter with Comfort Measures during Hospitalization for Patients with Documented Ischemic Stroke"/>
        <use value="out"/>
        <min value="0"/>
        <max value="*"/>
        <type value="Resource"/>
      </parameter>
      <parameter>
        <name value="Denominator Exclusions"/>
        <use value="out"/>
        <min value="0"/>
        <max value="*"/>
        <type value="Resource"/>
      </parameter>
      <parameter>
        <name value="Numerator"/>
        <use value="out"/>
        <min value="0"/>
        <max value="*"/>
        <type value="Resource"/>
      </parameter>
      <parameter>
        <name value="SDE Ethnicity"/>
        <use value="out"/>
        <min value="0"/>
        <max value="1"/>
        <type value="Resource"/>
      </parameter>
      <parameter>
        <name value="SDE Payer"/>
        <use value="out"/>
        <min value="0"/>
        <max value="*"/>
        <type value="Resource"/>
      </parameter>
      <parameter>
        <name value="SDE Race"/>
        <use value="out"/>
        <min value="0"/>
        <max value="1"/>
        <type value="Resource"/>
      </parameter>
      <parameter>
        <name value="SDE Sex"/>
        <use value="out"/>
        <min value="0"/>
        <max value="1"/>
        <type value="Coding"/>
      </parameter>
      <dataRequirement>
        <type value="Patient"/>
        <profile
                 value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient"/>
        <mustSupport value="ethnicity"/>
        <mustSupport value="race"/>
      </dataRequirement>
      <dataRequirement>
        <type value="Encounter"/>
        <profile
                 value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-encounter"/>
        <mustSupport value="type"/>
        <mustSupport value="period"/>
        <mustSupport value="rank"/>
        <mustSupport value="rank.value"/>
        <mustSupport value="condition"/>
        <mustSupport value="condition.reference"/>
        <mustSupport value="condition.reference.value"/>
        <mustSupport value="hospitalization"/>
        <mustSupport value="hospitalization.dischargeDisposition"/>
        <codeFilter>
          <path value="type"/>
          <valueSet
                    value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.424"/>
        </codeFilter>
        <dateFilter>
          <path value="period"/>
          <valuePeriod>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/cqf-expression">
              <valueExpression>
                <language value="text/cql-identifier"/>
                <expression value="Measurement Period"/>
              </valueExpression>
            </extension>
          </valuePeriod>
        </dateFilter>
      </dataRequirement>
      <dataRequirement>
        <type value="Encounter"/>
        <profile
                 value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-encounter"/>
        <mustSupport value="type"/>
        <mustSupport value="status"/>
        <mustSupport value="status.value"/>
        <mustSupport value="period"/>
        <mustSupport value="rank"/>
        <mustSupport value="rank.value"/>
        <mustSupport value="condition"/>
        <mustSupport value="condition.reference"/>
        <mustSupport value="condition.reference.value"/>
        <mustSupport value="hospitalization"/>
        <mustSupport value="hospitalization.dischargeDisposition"/>
        <codeFilter>
          <path value="type"/>
          <valueSet
                    value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1111.143"/>
        </codeFilter>
        <codeFilter>
          <path value="status.value"/>
          <code>
            <code value="finished"/>
          </code>
        </codeFilter>
      </dataRequirement>
      <dataRequirement>
        <type value="Encounter"/>
        <profile
                 value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-encounter"/>
        <mustSupport value="type"/>
        <mustSupport value="status"/>
        <mustSupport value="status.value"/>
        <mustSupport value="period"/>
        <mustSupport value="rank"/>
        <mustSupport value="rank.value"/>
        <mustSupport value="condition"/>
        <mustSupport value="condition.reference"/>
        <mustSupport value="condition.reference.value"/>
        <mustSupport value="hospitalization"/>
        <mustSupport value="hospitalization.dischargeDisposition"/>
        <codeFilter>
          <path value="type"/>
          <valueSet
                    value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.292"/>
        </codeFilter>
        <codeFilter>
          <path value="status.value"/>
          <code>
            <code value="finished"/>
          </code>
        </codeFilter>
        <dateFilter>
          <path value="period"/>
          <valuePeriod>
            <extension url="http://hl7.org/fhir/uv/crmi-analysisException">
              <valueString
                           value="Error attempting to determine filter value: toFhirValue not implemented for Subtract"/>
            </extension>
          </valuePeriod>
        </dateFilter>
      </dataRequirement>
      <dataRequirement>
        <type value="Condition"/>
        <profile
                 value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-condition"/>
        <mustSupport value="id"/>
        <mustSupport value="id.value"/>
      </dataRequirement>
      <dataRequirement>
        <type value="ServiceRequest"/>
        <profile
                 value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-servicerequest"/>
        <mustSupport value="code"/>
        <mustSupport value="status"/>
        <mustSupport value="status.value"/>
        <mustSupport value="intent"/>
        <mustSupport value="intent.value"/>
        <mustSupport value="doNotPerform"/>
        <mustSupport value="doNotPerform.value"/>
        <codeFilter>
          <path value="code"/>
          <valueSet
                    value="http://cts.nlm.nih.gov/fhir/ValueSet/1.3.6.1.4.1.33895.1.3.0.45"/>
        </codeFilter>
      </dataRequirement>
      <dataRequirement>
        <type value="Procedure"/>
        <profile
                 value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-procedure"/>
        <mustSupport value="code"/>
        <mustSupport value="status"/>
        <mustSupport value="status.value"/>
        <codeFilter>
          <path value="code"/>
          <valueSet
                    value="http://cts.nlm.nih.gov/fhir/ValueSet/1.3.6.1.4.1.33895.1.3.0.45"/>
        </codeFilter>
      </dataRequirement>
      <dataRequirement>
        <extension
                   url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-relatedRequirement">
          <extension url="targetId">
            <valueString value="G10002"/>
          </extension>
          <extension url="targetProperty">
            <valueString value="medication"/>
          </extension>
        </extension>
        <type value="Medication"/>
        <profile
                 value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-medication"/>
        <mustSupport value="id"/>
      </dataRequirement>
      <dataRequirement id="G10002">
        <type value="MedicationRequest"/>
        <profile
                 value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-medicationrequest"/>
        <mustSupport value="medication.reference"/>
        <mustSupport value="authoredOn"/>
        <mustSupport value="authoredOn.value"/>
      </dataRequirement>
      <dataRequirement>
        <type value="MedicationRequest"/>
        <profile
                 value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-medicationrequest"/>
        <mustSupport value="medication"/>
        <mustSupport value="authoredOn"/>
        <mustSupport value="authoredOn.value"/>
        <codeFilter>
          <path value="medication"/>
          <valueSet
                    value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1110.62"/>
        </codeFilter>
      </dataRequirement>
      <dataRequirement>
        <type value="Coverage"/>
        <profile
                 value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-coverage"/>
        <mustSupport value="type"/>
        <mustSupport value="period"/>
        <codeFilter>
          <path value="type"/>
          <valueSet
                    value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3591"/>
        </codeFilter>
      </dataRequirement>
      <content>
        <contentType value="text/cql"/>
        <data
              value=" "/>
      </content>
      <content>
        <contentType value="application/elm+xml"/>
        <data
              value=" "/>
      </content>
    </Library>