Your User Friendly Name for MyContentIG Here
0.5.3 - CI Build

Your User Friendly Name for MyContentIG Here, published by HL7 International - [Some] Work Group. This guide is not an authorized publication; it is the continuous build for version 0.5.3 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/cqframework/sample-content-ig/ and changes regularly. See the Directory of published versions

## : HR Example Ratio (Measure Name in Details Tab of MADiE UI) - XML Representation

Draft as of 2025-09-30

Raw xml | Download

    <Measure xmlns="http://hl7.org/fhir">
      <id value="HRExampleRatioMeasure"/>
      <meta>
        <profile
                 value="http://hl7.org/fhir/uv/crmi/StructureDefinition/crmi-shareablemeasure"/>
        <profile
                 value="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/computable-measure-cqfm"/>
        <profile
                 value="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/publishable-measure-cqfm"/>
        <profile
                 value="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/executable-measure-cqfm"/>
        <profile
                 value="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cql-measure-cqfm"/>
        <profile
                 value="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/elm-measure-cqfm"/>
        <profile
                 value="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/ratio-measure-cqfm"/>
      </meta>
      <text>
        <status value="extensions"/>
        <div xmlns="http://www.w3.org/1999/xhtml">
      <table class="narrative-table">
        <tbody>
    <tr>

    <th colspan="2" scope="row" class="row-header">Metadata</th>

    </tr>

    <tr>

    <th scope="row" class="row-header">Title</th>

    <td class="content-container">HR Example Ratio (Measure Name in Details Tab of MADiE UI)</td>

    </tr>

    <tr>

    <th scope="row" class="row-header">Version</th>

    <td class="content-container">0.5.3</td>

    </tr>

    <tr>

    <th scope="row" class="row-header">Short Name</th>

    <td class="content-container">HRExRati(eCQM Abbreviated Title)</td>

    </tr>

    <tr>

    <th scope="row" class="row-header">GUID (Version Independent)</th>

    <td class="content-container">urn:uuid:740197c5-a162-4947-ba39-e8f96c0e05fb</td>

    </tr>

    <tr>

    <th scope="row" class="row-header">GUID (Version Specific)</th>

    <td class="content-container">urn:uuid:7d7408c9-e203-4c34-bde5-39ef0558cb38</td>

    </tr>

    <tr>

    <th scope="row" class="row-header">CMS Consensus Based Entity Identifier</th>

    <td class="content-container">2EndorsementNumber</td>

    </tr>

    <tr>

    <th scope="row" class="row-header">Effective Period</th>

    <td class="content-container">2026-01-01 through 2026-12-31</td>

    </tr>

    <tr>

    <th scope="row" class="row-header">Status</th>

    <td class="content-container">Draft</td>

    </tr>

    <tr>

    <th scope="row" class="row-header">Experimental</th>

    <td class="content-container">true</td>

    </tr>

    <tr>

    <th scope="row" class="row-header">Use Context</th>

    <td class="content-container">
        Venue

     =
        EH

    </td>

    </tr>

    <tr>

    <th scope="row" class="row-header">Jurisdiction</th>

    <td class="content-container">
        001 from <a href="http://unstats.un.org/unsd/methods/m49/m49.htm">http://unstats.un.org/unsd/methods/m49/m49.htm</a>

    </td>

    </tr>

    <tr>

    <th scope="row" class="row-header">Steward (Publisher)</th>

    <td class="content-container">HL7 International - [Some] Work Group</td>

    </tr>

    <tr>

    <th scope="row" class="row-header">Developer</th>

    <td class="content-container">ESAC, Inc.</td>

    </tr>

    <tr>

    <th scope="row" class="row-header">Developer</th>

    <td class="content-container">ICF</td>

    </tr>

    <tr>

    <th scope="row" class="row-header">Description</th>

    <td class="content-container"><div><p><strong>Description Section of Details Tab in MADiE UI</strong></p>
    <ul>
    <li>
    <p>Free text.</p>
    </li>
    <li>
    <p>Character limit not determined.</p>
    </li>
    </ul>
    <p><strong>QDM equivalent: Description</strong></p>
    </div></td>

    </tr>

    <tr>

    <th scope="row" class="row-header">Purpose</th>

    <td class="content-container"><div><p><strong>Purpose Section of Details Tab in MADiE UI</strong></p>
    <ul>
    <li>
    <p>Free text.</p>
    </li>
    <li>
    <p>Character limit not determined.</p>
    </li>
    </ul>
    <p><em>Conditional field, will not display if not populated.</em></p>
    <p><strong>QDM Equivalent: N/A</strong></p>
    </div></td>

    </tr>

    <tr>

    <th scope="row" class="row-header">Copyright</th>

    <td class="content-container"><div><p><strong>Copyright Section of Details Tab in MADiE UI</strong></p>
    <ul>
    <li>
    <p>Free text.</p>
    </li>
    <li>
    <p>Character limit not determined.</p>
    </li>
    </ul>
    <p><em>Displays &quot;UNKNOWN&quot; if not populated.</em></p>
    <p><strong>QDM Equivalent: Copyright</strong></p>
    </div></td>

    </tr>

    <tr>

    <th scope="row" class="row-header">Disclaimer</th>

    <td class="content-container"><div><p><strong>Disclaimer Section of Details Tab in MADiE UI</strong></p>
    <ul>
    <li>
    <p>Free text.</p>
    </li>
    <li>
    <p>Character limit not determined.</p>
    </li>
    </ul>
    <p><em>Displays &quot;UNKNOWN&quot; if not populated.</em></p>
    <p><strong>QDM Equivalent: Disclaimer</strong></p>
    </div></td>

    </tr>

    <tr>

    <th scope="row" class="row-header">Rationale</th>

    <td class="content-container"><div><p><strong>Rationale Section of Details Tab in MADiE UI</strong></p>
    <ul>
    <li>
    <p>Free text.</p>
    </li>
    <li>
    <p>Character limit not determined.</p>
    </li>
    </ul>
    <p><em>Conditional field, will not display if not populated.</em></p>
    <p><strong>QDM Equivalent: Rationale</strong></p>
    </div></td>

    </tr>

    <tr>

    <th scope="row" class="row-header">Clinical Recommendation Statement</th>

    <td class="content-container"><div><p><strong>Clinical Recommendation Section of Details Tab in MADiE UI</strong></p>
    <ul>
    <li>
    <p>Free text.</p>
    </li>
    <li>
    <p>Character limit not determined.</p>
    </li>
    </ul>
    <p><em>Conditional field, will not display if not populated.</em></p>
    <p><strong>QDM Equivalent: Clinical Recommendation Statement</strong></p>
    </div></td>

    </tr>

    <tr>

    <th scope="row" class="row-header">Citation</th>

      <td class="content-container">

        <div><p><strong>CITATION References Section of Details Tab in MADiE UI</strong></p>
    <ul>
    <li>
    <p>Type&quot; selected from drop down (Citation or Justification)</p>
    </li>
    <li>
    <p>Reference&quot; free text after selection.</p>
    </li>
    <li>
    <p>Character limit not determined.</p>
    </li>
    </ul>
    <p><em>Conditional field, will not display if not populated.</em></p>
    <p><strong>QDM Equivalent: Reference</strong></p>
    </div>

      </td>
    </tr>

    <tr>

    <th scope="row" class="row-header">Justification</th>

      <td class="content-container">

        <em>Description</em>: **JUSTIFICATION References Section of Details Tab in MADiE UI**

    * &quot;Type&quot; selected from drop down (Citation or Justification)

    * &quot;Reference&quot; free text after selection.

    * Character limit not determined.

    *Conditional field, will not display if not populated.*

    **QDM Equivalent: Reference**

      </td>
    </tr>

    <tr>

    <th scope="row" class="row-header">Definition</th>

    <td class="content-container">Definition Section of Details Tab in MADiE UI &quot;Term&quot; free text. Character limit not determined. QDM Equivalent: ?.: **Definition Section of Details Tab in MADiE UI**

    * &quot;Definition&quot; free text.

    * Character limit not determined

    *Conditional field, will not display if not populated.*

    **QDM Equivalent: Definition**</td>

    </tr>

    <tr>

    <th scope="row" class="row-header">Guidance (Usage)</th>

    <td class="content-container">**Guidance (Usage) Section of Details Tab in MADiE UI**

    * Free text.

    * Character limit not determined.

    *Conditional field, will not display if not populated.*

    **QDM Equivalent: Guidance**</td>

    </tr>

        <tr>

    <th colspan="2" scope="row" class="row-header">Measure Group (Rate) (ID: Group_1)</th>

    </tr>

    <tr>

    <th scope="row" class="row-header">Summary</th>

    <td class="content-container">**Population Criteria 1 Description on Population Criteria Tab of MADiE UI**

    * Free text.

    * Character limit not determined.

    **QDM Equivalent: N/A**

    **Populates Summary Field in FHIR human readable**

    |                                                                        Additional MADiE Page Notes:                                                                         |
    |-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
    | * Measure type selectable from drop down, multi select; for this example selected all options.                                                                              |
    | * Population Basis selectable from drop down, single select; for this example, boolean is only one that didn't generate an error.                                           |
    | * Scoring selectable from dropdown, single select (Cohort, Continuous Variable, Proportion and Ratio). *Note to self, changing scoring deletes all population information.* |
    | * Aggregate Function selectable from dropdown.                                                                                                                              |
    | * Scoring Unit free text entry.                                                                                                                                             |
    | * Scoring Precision selectable integers.                                                                                                                                    |</td>

    </tr>

    <tr>

    <th scope="row" class="row-header">Basis</th>

    <td class="content-container">boolean</td>

    </tr>

    <tr>

    <th scope="row" class="row-header">Scoring</th>

    <td class="content-container">
        Ratio

    </td>

    </tr>

    <tr>

    <th scope="row" class="row-header">Scoring Unit</th>

    <td class="content-container">
        Scoring Unit Field

    </td>

    </tr>

    <tr>

    <th scope="row" class="row-header">Scoring Precision</th>

    <td class="content-container">1</td>

    </tr>

    <tr>

    <th scope="row" class="row-header">Improvement Notation</th>

    <td class="content-container">
        Increased score indicates improvement

    </td>

    </tr>

    <tr>

    <th scope="row" class="row-header">Improvement Notation Guidance</th>

    <td class="content-container"><div><p><strong>Improvement Notation Description Field of Reporting Section on Population Criteria Tab of MADiE UI</strong></p>
    <ul>
    <li>
    <p>Free text.</p>
    </li>
    <li>
    <p>Character limit not determined.</p>
    </li>
    <li>
    <p>Improvement Notation required field selected by dropdown (Increased score indicates improvement and Decreased score indicates improvement).</p>
    </li>
    </ul>
    <p><strong>QDM Equivalent: Improvement Notation</strong></p>
    </div></td>

    </tr>

    <tr>

    <th scope="row" class="row-header">Type</th>

    <td class="content-container">
        Intermediate Outcome

    </td>

    </tr>

    <tr>

    <th scope="row" class="row-header">Type</th>

    <td class="content-container">
        Outcome

    </td>

    </tr>

    <tr>

    <th scope="row" class="row-header">Type</th>

    <td class="content-container">
        Patient Reported Outcome

    </td>

    </tr>

    <tr>

    <th scope="row" class="row-header">Type</th>

    <td class="content-container">
        Process

    </td>

    </tr>

    <tr>

    <th scope="row" class="row-header">Type</th>

    <td class="content-container">
        Structure

    </td>

    </tr>

        <tr>

    <th scope="row" class="row-header">Initial Population</th>

          <td class="content-container">

            <em>ID</em>: InitialPopulation_1_1
            <br/>

              <em>Description</em>:
              <p style="white-space: pre-line" class="tab-one">**Initial Population Description Field in Population Criteria Tab of MADiE UI**

    * Free text.

    * Character limit not determined.

    * Initial Population required field selected by dropdown (Defines from CQL Editor Tab).

    **QDM Equivalent: Initial Population**</p>

                  <em>Criteria</em>: <a href="#Group_1-InitialPopulation_1_1">Initial Population</a>

          </td>
        </tr>

        <tr>

    <th scope="row" class="row-header">Initial Population</th>

          <td class="content-container">

            <em>ID</em>: InitialPopulation_1_2
            <br/>

              <em>Description</em>:
              <p style="white-space: pre-line" class="tab-one">**Initial Population 2 Description Field in Population Criteria Tab of MADiE UI**

    * Free text.

    * Character limit not determined.

    * Initial Population required field selected by dropdown (Defines from CQL Editor Tab).

    **QDM Equivalent: Initial Population**</p>

                  <em>Criteria</em>: <a href="#Group_1-InitialPopulation_1_2">Initial Population2</a>

          </td>
        </tr>

        <tr>

    <th scope="row" class="row-header">Denominator</th>

          <td class="content-container">

            <em>ID</em>: Denominator_1
            <br/>

              <em>Description</em>:
              <p style="white-space: pre-line" class="tab-one">**Denominator Description Field in Population Criteria Tab of MADiE UI**

    * Free text.

    * Character limit not determined.

    * Denominator required field selected by dropdown (Defines from CQL Editor Tab).

    **QDM Equivalent: Denominator**</p>

                  <em>Criteria</em>: <a href="#Group_1-Denominator_1">Denominator</a>

              <br/><em>Input Population</em>: InitialPopulation_1_1

          </td>
        </tr>

        <tr>

    <th scope="row" class="row-header">Denominator Exclusion</th>

          <td class="content-container">

            <em>ID</em>: DenominatorExclusion_1
            <br/>

              <em>Description</em>:
              <p style="white-space: pre-line" class="tab-one">**Denominator Exclusion Description Field in Population Criteria Tab of MADiE UI**

    * Free text.

    * Character limit not determined.

    * Denominator Exclusion is not required field selected by dropdown (Defines from CQL Editor Tab).

    *Conditional field, will not display if not populated.*

    **QDM Equivalent: Denominator Exclusion**</p>

                  <em>Criteria</em>: <a href="#Group_1-DenominatorExclusion_1">Denominator Exclusions</a>

          </td>
        </tr>

        <tr>

    <th scope="row" class="row-header">Numerator</th>

          <td class="content-container">

            <em>ID</em>: Numerator_1
            <br/>

              <em>Description</em>:
              <p style="white-space: pre-line" class="tab-one">**Numerator Description Field in Population Criteria Tab of MADiE UI**

    * Free text.

    * Character limit not determined.

    * Numerator required field selected by dropdown (Defines from CQL Editor Tab).

    **QDM Equivalent: Numerator**</p>

                  <em>Criteria</em>: <a href="#Group_1-Numerator_1">Numerator</a>

              <br/><em>Input Population</em>: InitialPopulation_1_2

          </td>
        </tr>

    <tr>

    <th scope="row" class="row-header">Stratifier</th>

      <td class="content-container">

          <em>ID</em>: Stratification_1_1

            <br/>

          <em>Description</em>: **Stratification 1 Description in Stratifications Section of Population Criteria Tab of MADiE UI**

    * Free Text.

    * Character limit not determined.

    Stratification 1 required field selected by dropdown (Defines from CQL Editor tab).

    Association 1 appears to default to all defined populations.

    *Conditional field, does not show if not populated.*

    **QDM Equivalent: Stratification**

      </td>
    </tr>

    <tr>

    <th scope="row" class="row-header">Stratifier</th>

      <td class="content-container">

          <em>ID</em>: Stratification_1_2

            <br/>

          <em>Description</em>: **Stratification 2 Description in Stratifications Section of Population Criteria Tab of MADiE UI**

    * Free Text.

    * Character limit not determined.

    Stratification 2 required field selected by dropdown (Defines from CQL Editor tab).

    Association 2 appears to default to all defined populations.

    *Conditional field, does not show if not populated.*

    **QDM Equivalent: Stratification**

      </td>
    </tr>

    <tr>

    <th scope="row" class="row-header">Supplemental Data Guidance Guidance</th>

    <td class="content-container">&lt;p&gt;&lt;strong&gt;Supplemental Data Section of Population Criteria Tab of MADiE UI &lt;/strong&gt;&lt;/p&gt;
    &lt;ul&gt;
     &lt;li&gt;&lt;p&gt;Free text.&lt;/p&gt;&lt;/li&gt;
     &lt;li&gt;&lt;p&gt;Character limit not determined.&lt;/p&gt;&lt;/li&gt;
     &lt;li&gt;&lt;p&gt;Definition selected from dropdown (Defines in CQL Editor).&lt;/p&gt;&lt;/li&gt;
     &lt;li&gt;&lt;p&gt;For this example, selected SDE Payer, SDE Ethnicity, SDE Race and SDE Sex.&lt;/p&gt;&lt;/li&gt;
     &lt;li&gt;&lt;p&gt;Appears to default to Individual, Subject List, Summary and Data Collection for Include in Report Type.&lt;/p&gt;&lt;/li&gt;
    &lt;/ul&gt;
    &lt;p&gt;&lt;em&gt;Conditional field, will not display if not populated. &lt;/em&gt;&lt;/p&gt;
    &lt;p&gt;&lt;strong&gt;QDM Equivalent: Supplemental Data Elements&lt;/strong&gt;&lt;/p&gt;
    &lt;p&gt;&lt;strong&gt;Populates Supplemental Data Guidance in FHIR human readable&lt;/strong&gt;&lt;/p&gt;</td>

    </tr>

    <tr>

    <th scope="row" class="row-header">Risk Adjustment Variable Guidance Guidance</th>

    <td class="content-container">&lt;p&gt;&lt;strong&gt;Risk Adjustment Section of Population Criteria Tab of MADiE UI &lt;/strong&gt;&lt;/p&gt;
    &lt;ul&gt;
     &lt;li&gt;&lt;p&gt;Free text.&lt;/p&gt;&lt;/li&gt;
     &lt;li&gt;&lt;p&gt;Character limit not determined.&lt;/p&gt;&lt;/li&gt;
     &lt;li&gt;&lt;p&gt;Definition selected from dropdown, multi select (Defines in CQL Editor).&lt;/p&gt;&lt;/li&gt;
     &lt;li&gt;&lt;p&gt;Appears to default to Individual, Subject List, Summary and Data Collection for Include in Report Type.&lt;/p&gt;&lt;/li&gt;
    &lt;/ul&gt;
    &lt;p&gt;&lt;em&gt;Conditional field, will not display if not populated.&lt;/em&gt;&lt;/p&gt;
    &lt;p&gt;&lt;strong&gt;QDM Equivalent: Risk Adjustment&lt;/strong&gt;&lt;/p&gt;</td>

    </tr>

      <tr>

    <th colspan="2" scope="row" class="row-header">Supplemental Data Elements</th>

    </tr>

    <tr>

    <th scope="row" class="row-header">Supplemental Data Element</th>

      <td class="content-container">

          <em>ID</em>: sde-ethnicity

          <br/>

              <em>Usage Code</em>: <span title="Codes:{http://terminology.hl7.org/CodeSystem/measure-data-usage supplemental-data}">Supplemental Data</span>

            <br/>

          <em>Description</em>: SDE Ethnicity

            <br/>

              <em>Logic Definition</em>: <a href="#hrexampleratiomeasurecqllibrary-sde-ethnicity">SDE Ethnicity</a>

      </td>
    </tr>

    <tr>

    <th scope="row" class="row-header">Supplemental Data Element</th>

      <td class="content-container">

          <em>ID</em>: sde-payer

          <br/>

              <em>Usage Code</em>: <span title="Codes:{http://terminology.hl7.org/CodeSystem/measure-data-usage supplemental-data}">Supplemental Data</span>

            <br/>

          <em>Description</em>: SDE Payer

            <br/>

              <em>Logic Definition</em>: <a href="#hrexampleratiomeasurecqllibrary-sde-payer">SDE Payer</a>

      </td>
    </tr>

    <tr>

    <th scope="row" class="row-header">Supplemental Data Element</th>

      <td class="content-container">

          <em>ID</em>: sde-race

          <br/>

              <em>Usage Code</em>: <span title="Codes:{http://terminology.hl7.org/CodeSystem/measure-data-usage supplemental-data}">Supplemental Data</span>

            <br/>

          <em>Description</em>: SDE Race

            <br/>

              <em>Logic Definition</em>: <a href="#hrexampleratiomeasurecqllibrary-sde-race">SDE Race</a>

      </td>
    </tr>

    <tr>

    <th scope="row" class="row-header">Supplemental Data Element</th>

      <td class="content-container">

          <em>ID</em>: sde-sex

          <br/>

              <em>Usage Code</em>: <span title="Codes:{http://terminology.hl7.org/CodeSystem/measure-data-usage supplemental-data}">Supplemental Data</span>

            <br/>

          <em>Description</em>: SDE Sex

            <br/>

              <em>Logic Definition</em>: <a href="#hrexampleratiomeasurecqllibrary-sde-sex">SDE Sex</a>

      </td>
    </tr>

    <tr>

    <th scope="row" class="row-header">Supplemental Data Element</th>

      <td class="content-container">

          <em>ID</em>: rav-patient-too-young-at-start-of-measurement-period

          <br/>

              <em>Usage Code</em>: <span title="Codes:{http://terminology.hl7.org/CodeSystem/measure-data-usage risk-adjustment-factor}">Risk Adjustment Factor</span>

            <br/>

          <em>Description</em>: RAV Patient Too Young at Start of Measurement Period

            <br/>

              <em>Logic Definition</em>: <a href="#hrexampleratiomeasurecqllibrary-rav-patient-too-young-at-start-of-measurement-period">RAV Patient Too Young at Start of Measurement Period</a>

      </td>
    </tr>

    <tr>

    <th scope="row" class="row-header">Supplemental Data Element</th>

      <td class="content-container">

          <em>ID</em>: rav-patient-too-old-at-start-of-measurement-period

          <br/>

              <em>Usage Code</em>: <span title="Codes:{http://terminology.hl7.org/CodeSystem/measure-data-usage risk-adjustment-factor}">Risk Adjustment Factor</span>

            <br/>

          <em>Description</em>: RAV Patient Too Old at Start of Measurement Period

            <br/>

              <em>Logic Definition</em>: <a href="#hrexampleratiomeasurecqllibrary-rav-patient-too-old-at-start-of-measurement-period">RAV Patient Too Old at Start of Measurement Period</a>

      </td>
    </tr>

    <tr>

    <th colspan="2" scope="row" class="row-header">Measure Logic</th>

    </tr>

    <tr>

    <th scope="row" class="row-header">Primary Library</th>

    <td class="content-container"><a href="Library-HRExampleRatioMeasureCQLLibrary.html">HRExampleRatioMeasureCQLLibrary</a></td>

    </tr>

    <tr>
      <th scope="row" class="row-header">Contents</th>
      <td class="content-container">
        <em><a href="#population-criteria">Population Criteria</a></em>
        <br/>
        <em><a href="#definitions">Logic Definitions</a></em>
        <br/>
        <em><a href="#terminology">Terminology</a></em>
        <br/>
        <em><a href="#dependencies">Dependencies</a></em>
        <br/>
        <em><a href="#data-requirements">Data Requirements</a></em>
        <br/>
        <em><a href="#parameters">Parameters</a></em>
        <br/>
      </td>
    </tr>

      <tr>

    <th colspan="2" scope="row" class="row-header"><a name="population-criteria"> </a>Population Criteria</th>

    </tr>

        <tr>

    <th colspan="2" scope="row" class="row-header">Measure Group (Rate) (ID: Group_1)</th>

    </tr>

                <tr>
      <th scope="row" rowspan="2" class="row-header">

        Initial Population

      </th>
    </tr>
    <tr>

      <td>

          <a name="Group_1-InitialPopulation_1_1"> </a>

        <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define &quot;Initial Population&quot;:
      AgeInYearsAt(date from
        end of &quot;Measurement Period&quot;
      ) in Interval[18, 75]</code></pre>

          <a href="#hrexampleratiomeasurecqllibrary-initial-population"><em>Definition</em></a>

      </td>

    </tr>

                <tr>
      <th scope="row" rowspan="2" class="row-header">

        Initial Population

      </th>
    </tr>
    <tr>

      <td>

          <a name="Group_1-InitialPopulation_1_2"> </a>

        <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define &quot;Initial Population2&quot;:
      AgeInYearsAt(date from
        end of &quot;Measurement Period&quot;
      ) in Interval[19, 76]</code></pre>

          <a href="#hrexampleratiomeasurecqllibrary-initial-population2"><em>Definition</em></a>

      </td>

    </tr>

                <tr>
      <th scope="row" rowspan="2" class="row-header">

        Denominator

      </th>
    </tr>
    <tr>

      <td>

          <a name="Group_1-Denominator_1"> </a>

        <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define &quot;Denominator&quot;:
      &quot;Initial Population&quot;</code></pre>

          <a href="#hrexampleratiomeasurecqllibrary-denominator"><em>Definition</em></a>

      </td>

    </tr>

                <tr>
      <th scope="row" rowspan="2" class="row-header">

        Denominator Exclusion

      </th>
    </tr>
    <tr>

      <td>

          <a name="Group_1-DenominatorExclusion_1"> </a>

        <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define &quot;Denominator Exclusions&quot;:
      &quot;Initial Population&quot;</code></pre>

          <a href="#hrexampleratiomeasurecqllibrary-denominator-exclusions"><em>Definition</em></a>

      </td>

    </tr>

                <tr>
      <th scope="row" rowspan="2" class="row-header">

        Numerator

      </th>
    </tr>
    <tr>

      <td>

          <a name="Group_1-Numerator_1"> </a>

        <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define &quot;Numerator&quot;:
      &quot;Initial Population&quot;</code></pre>

          <a href="#hrexampleratiomeasurecqllibrary-numerator"><em>Definition</em></a>

      </td>

    </tr>

                <tr>
      <th scope="row" rowspan="2" class="row-header">

        Stratifier

      </th>
    </tr>
    <tr>

      <td>

        <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define &quot;Patient Age Less than 18 Years Start of Measurement Period&quot;:
      AgeInYearsAt(date from start of &quot;Measurement Period&quot;) &lt; 18</code></pre>

          <a href="#hrexampleratiomeasurecqllibrary-patient-age-less-than-18-years-start-of-measurement-period"><em>Definition</em></a>

      </td>

    </tr>

                <tr>
      <th scope="row" rowspan="2" class="row-header">

        Stratifier

      </th>
    </tr>
    <tr>

      <td>

        <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define &quot;Patient Age 18 Years or Older at Start of Measurement Period&quot;:
      AgeInYearsAt(date from start of &quot;Measurement Period&quot;) &gt;= 18</code></pre>

          <a href="#hrexampleratiomeasurecqllibrary-patient-age-18-years-or-older-at-start-of-measurement-period"><em>Definition</em></a>

      </td>

    </tr>

      <tr>

    <th colspan="2" scope="row" class="row-header"><a name="definitions"> </a>Logic Definitions</th>

    </tr>

    <tr>
      <th scope="row" rowspan="2" class="row-header">
        Logic Definition
      </th>

      <td class="content-container"><em>Library Name:</em> SupplementalDataElementsExample</td>

    </tr>
    <tr>

      <td>

          <a name="supplementaldataelementsexample-sde-race"> </a>

        <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define &quot;SDE Race&quot;:
      Patient.race R
        return Tuple {
          codes: R.ombCategory union R.detailed,
          display: R.text
        }</code></pre>
      </td>

    </tr>

    <tr>
      <th scope="row" rowspan="2" class="row-header">
        Logic Definition
      </th>

      <td class="content-container"><em>Library Name:</em> SupplementalDataElementsExample</td>

    </tr>
    <tr>

      <td>

          <a name="supplementaldataelementsexample-sde-sex"> </a>

        <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define &quot;SDE Sex&quot;:
      case
          when Patient.gender = 'male' then Code { code: 'M', system: 'http://hl7.org/fhir/v3/AdministrativeGender', display: 'Male' }
          when Patient.gender = 'female' then Code { code: 'F', system: 'http://hl7.org/fhir/v3/AdministrativeGender', display: 'Female' }
          else null
        end</code></pre>
      </td>

    </tr>

    <tr>
      <th scope="row" rowspan="2" class="row-header">
        Logic Definition
      </th>

      <td class="content-container"><em>Library Name:</em> SupplementalDataElementsExample</td>

    </tr>
    <tr>

      <td>

          <a name="supplementaldataelementsexample-sde-payer"> </a>

        <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define &quot;SDE Payer&quot;:
      [Coverage: type in &quot;Payer Type&quot;] Payer
        return {
          code: Payer.type,
          period: Payer.period
        }</code></pre>
      </td>

    </tr>

    <tr>
      <th scope="row" rowspan="2" class="row-header">
        Logic Definition
      </th>

      <td class="content-container"><em>Library Name:</em> SupplementalDataElementsExample</td>

    </tr>
    <tr>

      <td>

          <a name="supplementaldataelementsexample-sde-ethnicity"> </a>

        <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define &quot;SDE Ethnicity&quot;:
      Patient.ethnicity E
        return Tuple {
          codes: { E.ombCategory } union E.detailed,
          display: E.text
        }</code></pre>
      </td>

    </tr>

    <tr>
      <th scope="row" rowspan="2" class="row-header">
        Logic Definition
      </th>

      <td class="content-container"><em>Library Name:</em> HRExampleRatioMeasureCQLLibrary</td>

    </tr>
    <tr>

      <td>

          <a name="hrexampleratiomeasurecqllibrary-rav-patient-too-old-at-start-of-measurement-period"> </a>

        <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define &quot;RAV Patient Too Old at Start of Measurement Period&quot;:
      AgeInYearsAt(date from start of &quot;Measurement Period&quot;) &gt; 80</code></pre>
      </td>

    </tr>

    <tr>
      <th scope="row" rowspan="2" class="row-header">
        Logic Definition
      </th>

      <td class="content-container"><em>Library Name:</em> HRExampleRatioMeasureCQLLibrary</td>

    </tr>
    <tr>

      <td>

          <a name="hrexampleratiomeasurecqllibrary-rav-patient-too-young-at-start-of-measurement-period"> </a>

        <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define &quot;RAV Patient Too Young at Start of Measurement Period&quot;:
      AgeInYearsAt(date from start of &quot;Measurement Period&quot;) &lt; 5</code></pre>
      </td>

    </tr>

    <tr>
      <th scope="row" rowspan="2" class="row-header">
        Logic Definition
      </th>

      <td class="content-container"><em>Library Name:</em> HRExampleRatioMeasureCQLLibrary</td>

    </tr>
    <tr>

      <td>

          <a name="hrexampleratiomeasurecqllibrary-sde-race"> </a>

        <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define &quot;SDE Race&quot;:
      SDE.&quot;SDE Race&quot;</code></pre>
      </td>

    </tr>

    <tr>
      <th scope="row" rowspan="2" class="row-header">
        Logic Definition
      </th>

      <td class="content-container"><em>Library Name:</em> HRExampleRatioMeasureCQLLibrary</td>

    </tr>
    <tr>

      <td>

          <a name="hrexampleratiomeasurecqllibrary-sde-sex"> </a>

        <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define &quot;SDE Sex&quot;:
      SDE.&quot;SDE Sex&quot;</code></pre>
      </td>

    </tr>

    <tr>
      <th scope="row" rowspan="2" class="row-header">
        Logic Definition
      </th>

      <td class="content-container"><em>Library Name:</em> HRExampleRatioMeasureCQLLibrary</td>

    </tr>
    <tr>

      <td>

          <a name="hrexampleratiomeasurecqllibrary-initial-population"> </a>

        <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define &quot;Initial Population&quot;:
      AgeInYearsAt(date from
        end of &quot;Measurement Period&quot;
      ) in Interval[18, 75]</code></pre>
      </td>

    </tr>

    <tr>
      <th scope="row" rowspan="2" class="row-header">
        Logic Definition
      </th>

      <td class="content-container"><em>Library Name:</em> HRExampleRatioMeasureCQLLibrary</td>

    </tr>
    <tr>

      <td>

          <a name="hrexampleratiomeasurecqllibrary-numerator"> </a>

        <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define &quot;Numerator&quot;:
      &quot;Initial Population&quot;</code></pre>
      </td>

    </tr>

    <tr>
      <th scope="row" rowspan="2" class="row-header">
        Logic Definition
      </th>

      <td class="content-container"><em>Library Name:</em> HRExampleRatioMeasureCQLLibrary</td>

    </tr>
    <tr>

      <td>

          <a name="hrexampleratiomeasurecqllibrary-patient-age-less-than-18-years-start-of-measurement-period"> </a>

        <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define &quot;Patient Age Less than 18 Years Start of Measurement Period&quot;:
      AgeInYearsAt(date from start of &quot;Measurement Period&quot;) &lt; 18</code></pre>
      </td>

    </tr>

    <tr>
      <th scope="row" rowspan="2" class="row-header">
        Logic Definition
      </th>

      <td class="content-container"><em>Library Name:</em> HRExampleRatioMeasureCQLLibrary</td>

    </tr>
    <tr>

      <td>

          <a name="hrexampleratiomeasurecqllibrary-denominator"> </a>

        <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define &quot;Denominator&quot;:
      &quot;Initial Population&quot;</code></pre>
      </td>

    </tr>

    <tr>
      <th scope="row" rowspan="2" class="row-header">
        Logic Definition
      </th>

      <td class="content-container"><em>Library Name:</em> HRExampleRatioMeasureCQLLibrary</td>

    </tr>
    <tr>

      <td>

          <a name="hrexampleratiomeasurecqllibrary-sde-payer"> </a>

        <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define &quot;SDE Payer&quot;:
      SDE.&quot;SDE Payer&quot;</code></pre>
      </td>

    </tr>

    <tr>
      <th scope="row" rowspan="2" class="row-header">
        Logic Definition
      </th>

      <td class="content-container"><em>Library Name:</em> HRExampleRatioMeasureCQLLibrary</td>

    </tr>
    <tr>

      <td>

          <a name="hrexampleratiomeasurecqllibrary-sde-ethnicity"> </a>

        <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define &quot;SDE Ethnicity&quot;:
      SDE.&quot;SDE Ethnicity&quot;</code></pre>
      </td>

    </tr>

    <tr>
      <th scope="row" rowspan="2" class="row-header">
        Logic Definition
      </th>

      <td class="content-container"><em>Library Name:</em> HRExampleRatioMeasureCQLLibrary</td>

    </tr>
    <tr>

      <td>

          <a name="hrexampleratiomeasurecqllibrary-denominator-exclusions"> </a>

        <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define &quot;Denominator Exclusions&quot;:
      &quot;Initial Population&quot;</code></pre>
      </td>

    </tr>

    <tr>
      <th scope="row" rowspan="2" class="row-header">
        Logic Definition
      </th>

      <td class="content-container"><em>Library Name:</em> HRExampleRatioMeasureCQLLibrary</td>

    </tr>
    <tr>

      <td>

          <a name="hrexampleratiomeasurecqllibrary-patient-age-18-years-or-older-at-start-of-measurement-period"> </a>

        <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define &quot;Patient Age 18 Years or Older at Start of Measurement Period&quot;:
      AgeInYearsAt(date from start of &quot;Measurement Period&quot;) &gt;= 18</code></pre>
      </td>

    </tr>

    <tr>
      <th scope="row" rowspan="2" class="row-header">
        Logic Definition
      </th>

      <td class="content-container"><em>Library Name:</em> HRExampleRatioMeasureCQLLibrary</td>

    </tr>
    <tr>

      <td>

          <a name="hrexampleratiomeasurecqllibrary-initial-population2"> </a>

        <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define &quot;Initial Population2&quot;:
      AgeInYearsAt(date from
        end of &quot;Measurement Period&quot;
      ) in Interval[19, 76]</code></pre>
      </td>

    </tr>

    <tr>
      <th scope="row" rowspan="2" class="row-header">
        Logic Definition
      </th>

      <td class="content-container"><em>Library Name:</em> FHIRHelpers</td>

    </tr>
    <tr>

      <td>

          <a name="fhirhelpers-tostring"> </a>

        <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define function ToString(value uri): value.value</code></pre>
      </td>

    </tr>

    <tr>
      <th scope="row" rowspan="2" class="row-header">
        Logic Definition
      </th>

      <td class="content-container"><em>Library Name:</em> FHIRHelpers</td>

    </tr>
    <tr>

      <td>

          <a name="fhirhelpers-tocode"> </a>

        <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define function ToCode(coding FHIR.Coding):
        if coding is null then
            null
        else
            System.Code {
              code: coding.code.value,
              system: coding.system.value,
              version: coding.version.value,
              display: coding.display.value
            }</code></pre>
      </td>

    </tr>

    <tr>
      <th scope="row" rowspan="2" class="row-header">
        Logic Definition
      </th>

      <td class="content-container"><em>Library Name:</em> FHIRHelpers</td>

    </tr>
    <tr>

      <td>

          <a name="fhirhelpers-tointerval"> </a>

        <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define function ToInterval(period FHIR.Period):
        if period is null then
            null
        else
            if period.&quot;start&quot; is null then
                Interval(period.&quot;start&quot;.value, period.&quot;end&quot;.value]
            else
                Interval[period.&quot;start&quot;.value, period.&quot;end&quot;.value]</code></pre>
      </td>

    </tr>

      <tr>

    <th colspan="2" scope="row" class="row-header"><a name="terminology"> </a>Terminology</th>

    </tr>

    <tr>

    <th scope="row" class="row-header">Value Set</th>

      <td class="content-container">

        <em>Description</em>: Value set Payer Type

        <br/>

        <em>Resource</em>: <a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.114222.4.11.3591/expansion">Payer</a>
        <br/>
        <em>Canonical URL</em>: <tt>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3591</tt>

      </td>
    </tr>

      <tr>

    <th colspan="2" scope="row" class="row-header"><a name="dependencies"> </a>Dependencies</th>

    </tr>

    <tr>

    <th scope="row" class="row-header">Dependency</th>

      <td class="content-container">

        <em>Description</em>: Library SDE

        <br/>

        <em>Resource</em>: <a href="Library-SupplementalDataElementsExample.html">SupplementalDataElementsExample</a>
        <br/>
        <em>Canonical URL</em>: <tt>http://somewhere.org/fhir/uv/mycontentig/Library/SupplementalDataElementsExample</tt>

      </td>
    </tr>

    <tr>

    <th scope="row" class="row-header">Dependency</th>

      <td class="content-container">

        <em>Description</em>: Library FHIRHelpers

        <br/>

        <em>Resource</em>: <code>http://somewhere.org/fhir/uv/mycontentig/Library/FHIRHelpers|4.0.1</code>
        <br/>
        <em>Canonical URL</em>: <tt>http://somewhere.org/fhir/uv/mycontentig/Library/FHIRHelpers|4.0.1</tt>

      </td>
    </tr>

      <tr>

    <th colspan="2" scope="row" class="row-header"><a name="data-requirements"> </a>Data Requirements</th>

    </tr>

    <tr>
      <th scope="row" class="row-header">Data Requirement</th>
      <td class="content-container">
        <em>Type</em>: Patient
        <br/>

        <em>Profile(s)</em>:

        <a href="http://hl7.org/fhir/us/qicore/STU5/StructureDefinition-qicore-patient.html">QICore Patient</a>
        <br/>

        <em>Must Support Elements</em>: url, extension
        <br/>

      </td>
    </tr>

    <tr>
      <th scope="row" class="row-header">Data Requirement</th>
      <td class="content-container">
        <em>Type</em>: Coverage
        <br/>

        <em>Profile(s)</em>:

        <a href="http://hl7.org/fhir/us/qicore/STU5/StructureDefinition-qicore-coverage.html">QICore Coverage</a>
        <br/>

        <em>Must Support Elements</em>: type, period
        <br/>

        <em>Code Filter(s)</em>:
        <br/>

        <span class="tab-one"><em>Path</em>: type</span>
        <br/>

        <span class="tab-one"><em>ValueSet</em>:</span> <a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.114222.4.11.3591/expansion">Payer</a>
        <br/>

      </td>
    </tr>

      <tr>

    <th colspan="2" scope="row" class="row-header"><a name="parameters"> </a>Parameters</th>

    </tr>

      <tr>

    <th scope="row" class="row-header"/>

      <td class="content-container">
        <table>
          <thead>
            <tr>
              <td><em>Name</em></td>
              <td><em>Use</em></td>
              <td><em>Card.</em></td>
              <td><em>Type</em></td>
              <td><em>Documentation</em></td>
            </tr>
          </thead>
          <tbody>

            <tr>
              <td>Measurement Period</td>
              <td>In</td>
              <td>0..1</td>
              <td>Period</td>
              <td/>
            </tr>

            <tr>
              <td>RAV Patient Too Old at Start of Measurement Period</td>
              <td>Out</td>
              <td>0..1</td>
              <td>boolean</td>
              <td/>
            </tr>

            <tr>
              <td>RAV Patient Too Young at Start of Measurement Period</td>
              <td>Out</td>
              <td>0..1</td>
              <td>boolean</td>
              <td/>
            </tr>

            <tr>
              <td>SDE Race</td>
              <td>Out</td>
              <td>0..1</td>
              <td>Resource</td>
              <td/>
            </tr>

            <tr>
              <td>SDE Sex</td>
              <td>Out</td>
              <td>0..1</td>
              <td>Coding</td>
              <td/>
            </tr>

            <tr>
              <td>Numerator</td>
              <td>Out</td>
              <td>0..1</td>
              <td>boolean</td>
              <td/>
            </tr>

            <tr>
              <td>Patient Age Less than 18 Years Start of Measurement Period</td>
              <td>Out</td>
              <td>0..1</td>
              <td>boolean</td>
              <td/>
            </tr>

            <tr>
              <td>Denominator</td>
              <td>Out</td>
              <td>0..1</td>
              <td>boolean</td>
              <td/>
            </tr>

            <tr>
              <td>SDE Payer</td>
              <td>Out</td>
              <td>0..*</td>
              <td>Resource</td>
              <td/>
            </tr>

            <tr>
              <td>Initial Population</td>
              <td>Out</td>
              <td>0..1</td>
              <td>boolean</td>
              <td/>
            </tr>

            <tr>
              <td>SDE Ethnicity</td>
              <td>Out</td>
              <td>0..1</td>
              <td>Resource</td>
              <td/>
            </tr>

            <tr>
              <td>Denominator Exclusions</td>
              <td>Out</td>
              <td>0..1</td>
              <td>boolean</td>
              <td/>
            </tr>

            <tr>
              <td>Patient Age 18 Years or Older at Start of Measurement Period</td>
              <td>Out</td>
              <td>0..1</td>
              <td>boolean</td>
              <td/>
            </tr>

            <tr>
              <td>Initial Population2</td>
              <td>Out</td>
              <td>0..1</td>
              <td>boolean</td>
              <td/>
            </tr>

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

    <tr>
      <th colspan="2" scope="row" class="row-header">Generated using version 0.5.3 of the sample-content-ig Liquid templates</th>
    </tr>

        </tbody>
      </table>
    </div>
      </text>
      <contained>
        <Library>
          <id value="effective-data-requirements"/>
          <extension
                     url="http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition">
            <extension url="libraryName">
              <valueString value="HRExampleRatioMeasureCQLLibrary"/>
            </extension>
            <extension url="name">
              <valueString
                           value="RAV Patient Too Old at Start of Measurement Period"/>
            </extension>
            <extension url="statement">
              <valueString
                           value="define &quot;RAV Patient Too Old at Start of Measurement Period&quot;:
      AgeInYearsAt(date from start of &quot;Measurement Period&quot;) &gt; 80"/>
            </extension>
            <extension url="displaySequence">
              <valueInteger value="0"/>
            </extension>
          </extension>
          <extension
                     url="http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition">
            <extension url="libraryName">
              <valueString value="HRExampleRatioMeasureCQLLibrary"/>
            </extension>
            <extension url="name">
              <valueString
                           value="RAV Patient Too Young at Start of Measurement Period"/>
            </extension>
            <extension url="statement">
              <valueString
                           value="define &quot;RAV Patient Too Young at Start of Measurement Period&quot;:
      AgeInYearsAt(date from start of &quot;Measurement Period&quot;) &lt; 5"/>
            </extension>
            <extension url="displaySequence">
              <valueInteger value="1"/>
            </extension>
          </extension>
          <extension
                     url="http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition">
            <extension url="libraryName">
              <valueString value="SupplementalDataElementsExample"/>
            </extension>
            <extension url="name">
              <valueString value="SDE Race"/>
            </extension>
            <extension url="statement">
              <valueString
                           value="define &quot;SDE Race&quot;:
      Patient.race R
        return Tuple {
          codes: R.ombCategory union R.detailed,
          display: R.text
        }"/>
            </extension>
            <extension url="displaySequence">
              <valueInteger value="2"/>
            </extension>
          </extension>
          <extension
                     url="http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition">
            <extension url="libraryName">
              <valueString value="HRExampleRatioMeasureCQLLibrary"/>
            </extension>
            <extension url="name">
              <valueString value="SDE Race"/>
            </extension>
            <extension url="statement">
              <valueString
                           value="define &quot;SDE Race&quot;:
      SDE.&quot;SDE Race&quot;"/>
            </extension>
            <extension url="displaySequence">
              <valueInteger value="3"/>
            </extension>
          </extension>
          <extension
                     url="http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition">
            <extension url="libraryName">
              <valueString value="SupplementalDataElementsExample"/>
            </extension>
            <extension url="name">
              <valueString value="SDE Sex"/>
            </extension>
            <extension url="statement">
              <valueString
                           value="define &quot;SDE Sex&quot;:
      case
          when Patient.gender = 'male' then Code { code: 'M', system: 'http://hl7.org/fhir/v3/AdministrativeGender', display: 'Male' }
          when Patient.gender = 'female' then Code { code: 'F', system: 'http://hl7.org/fhir/v3/AdministrativeGender', display: 'Female' }
          else null
        end"/>
            </extension>
            <extension url="displaySequence">
              <valueInteger value="4"/>
            </extension>
          </extension>
          <extension
                     url="http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition">
            <extension url="libraryName">
              <valueString value="HRExampleRatioMeasureCQLLibrary"/>
            </extension>
            <extension url="name">
              <valueString value="SDE Sex"/>
            </extension>
            <extension url="statement">
              <valueString
                           value="define &quot;SDE Sex&quot;:
      SDE.&quot;SDE Sex&quot;"/>
            </extension>
            <extension url="displaySequence">
              <valueInteger value="5"/>
            </extension>
          </extension>
          <extension
                     url="http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition">
            <extension url="libraryName">
              <valueString value="HRExampleRatioMeasureCQLLibrary"/>
            </extension>
            <extension url="name">
              <valueString value="Initial Population"/>
            </extension>
            <extension url="statement">
              <valueString
                           value="define &quot;Initial Population&quot;:
      AgeInYearsAt(date from
        end of &quot;Measurement Period&quot;
      ) in Interval[18, 75]"/>
            </extension>
            <extension url="displaySequence">
              <valueInteger value="6"/>
            </extension>
          </extension>
          <extension
                     url="http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition">
            <extension url="libraryName">
              <valueString value="HRExampleRatioMeasureCQLLibrary"/>
            </extension>
            <extension url="name">
              <valueString value="Numerator"/>
            </extension>
            <extension url="statement">
              <valueString
                           value="define &quot;Numerator&quot;:
      &quot;Initial Population&quot;"/>
            </extension>
            <extension url="displaySequence">
              <valueInteger value="7"/>
            </extension>
          </extension>
          <extension
                     url="http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition">
            <extension url="libraryName">
              <valueString value="HRExampleRatioMeasureCQLLibrary"/>
            </extension>
            <extension url="name">
              <valueString
                           value="Patient Age Less than 18 Years Start of Measurement Period"/>
            </extension>
            <extension url="statement">
              <valueString
                           value="define &quot;Patient Age Less than 18 Years Start of Measurement Period&quot;:
      AgeInYearsAt(date from start of &quot;Measurement Period&quot;) &lt; 18"/>
            </extension>
            <extension url="displaySequence">
              <valueInteger value="8"/>
            </extension>
          </extension>
          <extension
                     url="http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition">
            <extension url="libraryName">
              <valueString value="HRExampleRatioMeasureCQLLibrary"/>
            </extension>
            <extension url="name">
              <valueString value="Denominator"/>
            </extension>
            <extension url="statement">
              <valueString
                           value="define &quot;Denominator&quot;:
      &quot;Initial Population&quot;"/>
            </extension>
            <extension url="displaySequence">
              <valueInteger value="9"/>
            </extension>
          </extension>
          <extension
                     url="http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition">
            <extension url="libraryName">
              <valueString value="SupplementalDataElementsExample"/>
            </extension>
            <extension url="name">
              <valueString value="SDE Payer"/>
            </extension>
            <extension url="statement">
              <valueString
                           value="define &quot;SDE Payer&quot;:
      [Coverage: type in &quot;Payer Type&quot;] Payer
        return {
          code: Payer.type,
          period: Payer.period
        }"/>
            </extension>
            <extension url="displaySequence">
              <valueInteger value="10"/>
            </extension>
          </extension>
          <extension
                     url="http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition">
            <extension url="libraryName">
              <valueString value="HRExampleRatioMeasureCQLLibrary"/>
            </extension>
            <extension url="name">
              <valueString value="SDE Payer"/>
            </extension>
            <extension url="statement">
              <valueString
                           value="define &quot;SDE Payer&quot;:
      SDE.&quot;SDE Payer&quot;"/>
            </extension>
            <extension url="displaySequence">
              <valueInteger value="11"/>
            </extension>
          </extension>
          <extension
                     url="http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition">
            <extension url="libraryName">
              <valueString value="SupplementalDataElementsExample"/>
            </extension>
            <extension url="name">
              <valueString value="SDE Ethnicity"/>
            </extension>
            <extension url="statement">
              <valueString
                           value="define &quot;SDE Ethnicity&quot;:
      Patient.ethnicity E
        return Tuple {
          codes: { E.ombCategory } union E.detailed,
          display: E.text
        }"/>
            </extension>
            <extension url="displaySequence">
              <valueInteger value="12"/>
            </extension>
          </extension>
          <extension
                     url="http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition">
            <extension url="libraryName">
              <valueString value="HRExampleRatioMeasureCQLLibrary"/>
            </extension>
            <extension url="name">
              <valueString value="SDE Ethnicity"/>
            </extension>
            <extension url="statement">
              <valueString
                           value="define &quot;SDE Ethnicity&quot;:
      SDE.&quot;SDE Ethnicity&quot;"/>
            </extension>
            <extension url="displaySequence">
              <valueInteger value="13"/>
            </extension>
          </extension>
          <extension
                     url="http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition">
            <extension url="libraryName">
              <valueString value="HRExampleRatioMeasureCQLLibrary"/>
            </extension>
            <extension url="name">
              <valueString value="Denominator Exclusions"/>
            </extension>
            <extension url="statement">
              <valueString
                           value="define &quot;Denominator Exclusions&quot;:
      &quot;Initial Population&quot;"/>
            </extension>
            <extension url="displaySequence">
              <valueInteger value="14"/>
            </extension>
          </extension>
          <extension
                     url="http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition">
            <extension url="libraryName">
              <valueString value="HRExampleRatioMeasureCQLLibrary"/>
            </extension>
            <extension url="name">
              <valueString
                           value="Patient Age 18 Years or Older at Start of Measurement Period"/>
            </extension>
            <extension url="statement">
              <valueString
                           value="define &quot;Patient Age 18 Years or Older at Start of Measurement Period&quot;:
      AgeInYearsAt(date from start of &quot;Measurement Period&quot;) &gt;= 18"/>
            </extension>
            <extension url="displaySequence">
              <valueInteger value="15"/>
            </extension>
          </extension>
          <extension
                     url="http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition">
            <extension url="libraryName">
              <valueString value="HRExampleRatioMeasureCQLLibrary"/>
            </extension>
            <extension url="name">
              <valueString value="Initial Population2"/>
            </extension>
            <extension url="statement">
              <valueString
                           value="define &quot;Initial Population2&quot;:
      AgeInYearsAt(date from
        end of &quot;Measurement Period&quot;
      ) in Interval[19, 76]"/>
            </extension>
            <extension url="displaySequence">
              <valueInteger value="16"/>
            </extension>
          </extension>
          <extension
                     url="http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition">
            <extension url="libraryName">
              <valueString value="FHIRHelpers"/>
            </extension>
            <extension url="name">
              <valueString value="ToString"/>
            </extension>
            <extension url="statement">
              <valueString
                           value="define function ToString(value uri): value.value"/>
            </extension>
            <extension url="displaySequence">
              <valueInteger value="17"/>
            </extension>
          </extension>
          <extension
                     url="http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition">
            <extension url="libraryName">
              <valueString value="FHIRHelpers"/>
            </extension>
            <extension url="name">
              <valueString value="ToCode"/>
            </extension>
            <extension url="statement">
              <valueString
                           value="define function ToCode(coding FHIR.Coding):
        if coding is null then
            null
        else
            System.Code {
              code: coding.code.value,
              system: coding.system.value,
              version: coding.version.value,
              display: coding.display.value
            }"/>
            </extension>
            <extension url="displaySequence">
              <valueInteger value="18"/>
            </extension>
          </extension>
          <extension
                     url="http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition">
            <extension url="libraryName">
              <valueString value="FHIRHelpers"/>
            </extension>
            <extension url="name">
              <valueString value="ToInterval"/>
            </extension>
            <extension url="statement">
              <valueString
                           value="define function ToInterval(period FHIR.Period):
        if period is null then
            null
        else
            if period.&quot;start&quot; is null then
                Interval(period.&quot;start&quot;.value, period.&quot;end&quot;.value]
            else
                Interval[period.&quot;start&quot;.value, period.&quot;end&quot;.value]"/>
            </extension>
            <extension url="displaySequence">
              <valueInteger value="19"/>
            </extension>
          </extension>
          <name value="EffectiveDataRequirements"/>
          <status value="active"/>
          <type>
            <coding>
              <system value="http://terminology.hl7.org/CodeSystem/library-type"/>
              <code value="module-definition"/>
            </coding>
          </type>
          <relatedArtifact>
            <type value="depends-on"/>
            <display value="Library SDE"/>
            <resource
                      value="http://somewhere.org/fhir/uv/mycontentig/Library/SupplementalDataElementsExample"/>
          </relatedArtifact>
          <relatedArtifact>
            <type value="depends-on"/>
            <display value="Library FHIRHelpers"/>
            <resource
                      value="http://somewhere.org/fhir/uv/mycontentig/Library/FHIRHelpers|4.0.1"/>
          </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="RAV Patient Too Old at Start of Measurement Period"/>
            <use value="out"/>
            <min value="0"/>
            <max value="1"/>
            <type value="boolean"/>
          </parameter>
          <parameter>
            <name value="RAV Patient Too Young at Start of Measurement Period"/>
            <use value="out"/>
            <min value="0"/>
            <max value="1"/>
            <type value="boolean"/>
          </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>
          <parameter>
            <name value="Numerator"/>
            <use value="out"/>
            <min value="0"/>
            <max value="1"/>
            <type value="boolean"/>
          </parameter>
          <parameter>
            <name
                  value="Patient Age Less than 18 Years Start of Measurement Period"/>
            <use value="out"/>
            <min value="0"/>
            <max value="1"/>
            <type value="boolean"/>
          </parameter>
          <parameter>
            <name value="Denominator"/>
            <use value="out"/>
            <min value="0"/>
            <max value="1"/>
            <type value="boolean"/>
          </parameter>
          <parameter>
            <name value="SDE Payer"/>
            <use value="out"/>
            <min value="0"/>
            <max value="*"/>
            <type value="Resource"/>
          </parameter>
          <parameter>
            <name value="Initial Population"/>
            <use value="out"/>
            <min value="0"/>
            <max value="1"/>
            <type value="boolean"/>
          </parameter>
          <parameter>
            <name value="SDE Ethnicity"/>
            <use value="out"/>
            <min value="0"/>
            <max value="1"/>
            <type value="Resource"/>
          </parameter>
          <parameter>
            <name value="Denominator Exclusions"/>
            <use value="out"/>
            <min value="0"/>
            <max value="1"/>
            <type value="boolean"/>
          </parameter>
          <parameter>
            <name
                  value="Patient Age 18 Years or Older at Start of Measurement Period"/>
            <use value="out"/>
            <min value="0"/>
            <max value="1"/>
            <type value="boolean"/>
          </parameter>
          <parameter>
            <name value="Initial Population2"/>
            <use value="out"/>
            <min value="0"/>
            <max value="1"/>
            <type value="boolean"/>
          </parameter>
          <dataRequirement>
            <type value="Patient"/>
            <profile
                     value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient"/>
            <mustSupport value="url"/>
            <mustSupport value="extension"/>
          </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>
        </Library>
      </contained>
      <extension
                 url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-supplementalDataGuidance" id="supplementalDataGuidance">
        <extension url="guidance">
          <valueString
                       value="&lt;p&gt;&lt;strong&gt;Supplemental Data Section of Population Criteria Tab of MADiE UI &lt;/strong&gt;&lt;/p&gt;
    &lt;ul&gt;
     &lt;li&gt;&lt;p&gt;Free text.&lt;/p&gt;&lt;/li&gt;
     &lt;li&gt;&lt;p&gt;Character limit not determined.&lt;/p&gt;&lt;/li&gt;
     &lt;li&gt;&lt;p&gt;Definition selected from dropdown (Defines in CQL Editor).&lt;/p&gt;&lt;/li&gt;
     &lt;li&gt;&lt;p&gt;For this example, selected SDE Payer, SDE Ethnicity, SDE Race and SDE Sex.&lt;/p&gt;&lt;/li&gt;
     &lt;li&gt;&lt;p&gt;Appears to default to Individual, Subject List, Summary and Data Collection for Include in Report Type.&lt;/p&gt;&lt;/li&gt;
    &lt;/ul&gt;
    &lt;p&gt;&lt;em&gt;Conditional field, will not display if not populated. &lt;/em&gt;&lt;/p&gt;
    &lt;p&gt;&lt;strong&gt;QDM Equivalent: Supplemental Data Elements&lt;/strong&gt;&lt;/p&gt;
    &lt;p&gt;&lt;strong&gt;Populates Supplemental Data Guidance in FHIR human readable&lt;/strong&gt;&lt;/p&gt;"/>
        </extension>
        <extension url="usage">
          <valueCodeableConcept>
            <coding>
              <system
                      value="http://terminology.hl7.org/CodeSystem/measure-data-usage"/>
              <code value="supplemental-data"/>
              <display value="Supplemental Data"/>
            </coding>
            <text value="Supplemental Data Guidance"/>
          </valueCodeableConcept>
        </extension>
      </extension>
      <extension
                 url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-supplementalDataGuidance" id="riskAdjustmentVariableGuidance">
        <extension url="guidance">
          <valueString
                       value="&lt;p&gt;&lt;strong&gt;Risk Adjustment Section of Population Criteria Tab of MADiE UI &lt;/strong&gt;&lt;/p&gt;
    &lt;ul&gt;
     &lt;li&gt;&lt;p&gt;Free text.&lt;/p&gt;&lt;/li&gt;
     &lt;li&gt;&lt;p&gt;Character limit not determined.&lt;/p&gt;&lt;/li&gt;
     &lt;li&gt;&lt;p&gt;Definition selected from dropdown, multi select (Defines in CQL Editor).&lt;/p&gt;&lt;/li&gt;
     &lt;li&gt;&lt;p&gt;Appears to default to Individual, Subject List, Summary and Data Collection for Include in Report Type.&lt;/p&gt;&lt;/li&gt;
    &lt;/ul&gt;
    &lt;p&gt;&lt;em&gt;Conditional field, will not display if not populated.&lt;/em&gt;&lt;/p&gt;
    &lt;p&gt;&lt;strong&gt;QDM Equivalent: Risk Adjustment&lt;/strong&gt;&lt;/p&gt;"/>
        </extension>
        <extension url="usage">
          <valueCodeableConcept>
            <coding>
              <system
                      value="http://terminology.hl7.org/CodeSystem/measure-data-usage"/>
              <code value="risk-adjustment-factor"/>
              <display value="Risk Adjustment Factor"/>
            </coding>
            <text value="Risk Adjustment Variable Guidance"/>
          </valueCodeableConcept>
        </extension>
      </extension>
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/cqf-definitionTerm">
        <extension url="term">
          <valueString
                       value="Definition Section of Details Tab in MADiE UI &quot;Term&quot; free text. Character limit not determined. QDM Equivalent: ?."/>
        </extension>
        <extension url="definition">
          <valueMarkdown
                         value="**Definition Section of Details Tab in MADiE UI**

    * &quot;Definition&quot; free text.

    * Character limit not determined

    *Conditional field, will not display if not populated.*

    **QDM Equivalent: Definition**"/>
        </extension>
      </extension>
      <extension
                 url="http://hl7.org/fhir/uv/crmi/StructureDefinition/crmi-effectiveDataRequirements">
        <valueCanonical value="#effective-data-requirements"/>
      </extension>
      <extension
                 url="http://hl7.org/fhir/uv/crmi/StructureDefinition/crmi-softwaresystem">
        <valueReference>🔗
          <reference value="Device/cqf-tooling"/>
        </valueReference>
      </extension>
      <url
           value="http://somewhere.org/fhir/uv/mycontentig/Measure/HRExampleRatioMeasure"/>
      <identifier>
        <use value="usual"/>
        <type>
          <coding>
            <system
                    value="http://terminology.hl7.org/CodeSystem/artifact-identifier-type"/>
            <code value="short-name"/>
            <display value="Short Name"/>
          </coding>
        </type>
        <system value="https://madie.cms.gov/measure/shortName"/>
        <value value="HRExRati(eCQM Abbreviated Title)"/>
      </identifier>
      <identifier>
        <use value="official"/>
        <type>
          <coding>
            <system
                    value="http://terminology.hl7.org/CodeSystem/artifact-identifier-type"/>
            <code value="version-independent"/>
            <display value="Version Independent"/>
          </coding>
        </type>
        <system value="urn:ietf:rfc:3986"/>
        <value value="urn:uuid:740197c5-a162-4947-ba39-e8f96c0e05fb"/>
      </identifier>
      <identifier>
        <use value="official"/>
        <type>
          <coding>
            <system
                    value="http://terminology.hl7.org/CodeSystem/artifact-identifier-type"/>
            <code value="version-specific"/>
            <display value="Version Specific"/>
          </coding>
        </type>
        <system value="urn:ietf:rfc:3986"/>
        <value value="urn:uuid:7d7408c9-e203-4c34-bde5-39ef0558cb38"/>
      </identifier>
      <identifier>
        <use value="official"/>
        <type>
          <coding>
            <system
                    value="http://terminology.hl7.org/CodeSystem/artifact-identifier-type"/>
            <code value="endorser"/>
            <display value="Endorser"/>
          </coding>
        </type>
        <system value="https://madie.cms.gov/measure/cbeId"/>
        <value value="2EndorsementNumber"/>
        <assigner>
          <display value="CMS Consensus Based Entity"/>
        </assigner>
      </identifier>
      <version value="0.5.3"/>
      <name value="HRExampleRatioMeasure"/>
      <title value="HR Example Ratio (Measure Name in Details Tab of MADiE UI)"/>
      <status value="draft"/>
      <experimental value="true"/>
      <date value="2025-09-30T04:16:55+00:00"/>
      <publisher value="HL7 International - [Some] Work Group"/>
      <contact>
        <telecom>
          <system value="url"/>
          <value value="http://hl7.org/Special/committees/[something]"/>
        </telecom>
      </contact>
      <description
                   value="**Description Section of Details Tab in MADiE UI**

    * Free text.

    * Character limit not determined.

    **QDM equivalent: Description**"/>
      <useContext>
        <code>
          <system
                  value="http://terminology.hl7.org/CodeSystem/usage-context-type"/>
          <code value="venue"/>
          <display value="Venue"/>
        </code>
        <valueCodeableConcept>
          <coding>
            <system
                    value="http://hl7.org/fhir/us/cqfmeasures/CodeSystem/intended-venue-codes"/>
            <code value="eh"/>
            <display value="EH"/>
          </coding>
        </valueCodeableConcept>
      </useContext>
      <jurisdiction>
        <coding>
          <system value="http://unstats.un.org/unsd/methods/m49/m49.htm"/>
          <code value="001"/>
        </coding>
      </jurisdiction>
      <purpose
               value="**Purpose Section of Details Tab in MADiE UI**

    * Free text.

    * Character limit not determined.

    *Conditional field, will not display if not populated.*

    **QDM Equivalent: N/A**"/>
      <usage
             value="**Guidance (Usage) Section of Details Tab in MADiE UI**

    * Free text.

    * Character limit not determined.

    *Conditional field, will not display if not populated.*

    **QDM Equivalent: Guidance**"/>
      <copyright
                 value="**Copyright Section of Details Tab in MADiE UI**

    * Free text.

    * Character limit not determined.

    *Displays &quot;UNKNOWN&quot; if not populated.*

    **QDM Equivalent: Copyright**"/>
      <effectivePeriod>
        <start value="2026-01-01"/>
        <end value="2026-12-31"/>
      </effectivePeriod>
      <author>
        <name value="ESAC, Inc."/>
        <telecom>
          <system value="url"/>
          <value value="https://www.icf.com/work/federal-health/it"/>
        </telecom>
      </author>
      <author>
        <name value="ICF"/>
        <telecom>
          <system value="url"/>
          <value value="https://www.icf.com/"/>
        </telecom>
      </author>
      <relatedArtifact>
        <type value="citation"/>
        <citation
                  value="**CITATION References Section of Details Tab in MADiE UI**

    * Type&quot; selected from drop down (Citation or Justification)

    * Reference&quot; free text after selection.

    * Character limit not determined.

    *Conditional field, will not display if not populated.*

    **QDM Equivalent: Reference**"/>
      </relatedArtifact>
      <relatedArtifact>
        <type value="justification"/>
        <display
                 value="**JUSTIFICATION References Section of Details Tab in MADiE UI**

    * &quot;Type&quot; selected from drop down (Citation or Justification)

    * &quot;Reference&quot; free text after selection.

    * Character limit not determined.

    *Conditional field, will not display if not populated.*

    **QDM Equivalent: Reference**"/>
      </relatedArtifact>
      <library
               value="http://somewhere.org/fhir/uv/mycontentig/Library/HRExampleRatioMeasureCQLLibrary"/>
      <disclaimer
                  value="**Disclaimer Section of Details Tab in MADiE UI**

    * Free text.

    * Character limit not determined.

    *Displays &quot;UNKNOWN&quot; if not populated.*

    **QDM Equivalent: Disclaimer**"/>
      <rationale
                 value="**Rationale Section of Details Tab in MADiE UI**

    * Free text.

    * Character limit not determined.

    *Conditional field, will not display if not populated.*

    **QDM Equivalent: Rationale**"/>
      <clinicalRecommendationStatement
                                       value="**Clinical Recommendation Section of Details Tab in MADiE UI**

    * Free text.

    * Character limit not determined.

    *Conditional field, will not display if not populated.*

    **QDM Equivalent: Clinical Recommendation Statement**"/>
      <group id="Group_1">
        <extension
                   url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-scoring">
          <valueCodeableConcept>
            <coding>
              <system
                      value="http://terminology.hl7.org/CodeSystem/measure-scoring"/>
              <code value="ratio"/>
              <display value="Ratio"/>
            </coding>
          </valueCodeableConcept>
        </extension>
        <extension
                   url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-populationBasis">
          <valueCode value="boolean"/>
        </extension>
        <extension
                   url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-scoringUnit">
          <valueCodeableConcept>
            <coding>
              <system value="http://unitsofmeasure.org/"/>
              <code value="Scoring Unit Field"/>
              <display value="Scoring Unit Field"/>
            </coding>
          </valueCodeableConcept>
        </extension>
        <extension
                   url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-type">
          <valueCodeableConcept>
            <coding>
              <system value="http://terminology.hl7.org/CodeSystem/measure-type"/>
              <code value="intermediate-outcome"/>
              <display value="Intermediate Outcome"/>
            </coding>
          </valueCodeableConcept>
        </extension>
        <extension
                   url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-type">
          <valueCodeableConcept>
            <coding>
              <system value="http://terminology.hl7.org/CodeSystem/measure-type"/>
              <code value="outcome"/>
              <display value="Outcome"/>
            </coding>
          </valueCodeableConcept>
        </extension>
        <extension
                   url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-type">
          <valueCodeableConcept>
            <coding>
              <system value="http://terminology.hl7.org/CodeSystem/measure-type"/>
              <code value="patient-reported-outcome"/>
              <display value="Patient Reported Outcome"/>
            </coding>
          </valueCodeableConcept>
        </extension>
        <extension
                   url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-type">
          <valueCodeableConcept>
            <coding>
              <system value="http://terminology.hl7.org/CodeSystem/measure-type"/>
              <code value="process"/>
              <display value="Process"/>
            </coding>
          </valueCodeableConcept>
        </extension>
        <extension
                   url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-type">
          <valueCodeableConcept>
            <coding>
              <system value="http://terminology.hl7.org/CodeSystem/measure-type"/>
              <code value="structure"/>
              <display value="Structure"/>
            </coding>
          </valueCodeableConcept>
        </extension>
        <extension
                   url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-scoringPrecision">
          <valuePositiveInt value="1"/>
        </extension>
        <extension
                   url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-improvementNotation">
          <valueCodeableConcept>
            <coding>
              <system
                      value="http://terminology.hl7.org/CodeSystem/measure-improvement-notation"/>
              <code value="increase"/>
              <display value="Increased score indicates improvement"/>
            </coding>
          </valueCodeableConcept>
        </extension>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/cqf-improvementNotationGuidance">
          <valueMarkdown
                         value="**Improvement Notation Description Field of Reporting Section on Population Criteria Tab of MADiE UI**

    * Free text.

    * Character limit not determined.

    * Improvement Notation required field selected by dropdown (Increased score indicates improvement and Decreased score indicates improvement).

    **QDM Equivalent: Improvement Notation**"/>
        </extension>
        <description
                     value="**Population Criteria 1 Description on Population Criteria Tab of MADiE UI**

    * Free text.

    * Character limit not determined.

    **QDM Equivalent: N/A**

    **Populates Summary Field in FHIR human readable**

    |                                                                        Additional MADiE Page Notes:                                                                         |
    |-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
    | * Measure type selectable from drop down, multi select; for this example selected all options.                                                                              |
    | * Population Basis selectable from drop down, single select; for this example, boolean is only one that didn't generate an error.                                           |
    | * Scoring selectable from dropdown, single select (Cohort, Continuous Variable, Proportion and Ratio). *Note to self, changing scoring deletes all population information.* |
    | * Aggregate Function selectable from dropdown.                                                                                                                              |
    | * Scoring Unit free text entry.                                                                                                                                             |
    | * Scoring Precision selectable integers.                                                                                                                                    |"/>
        <population id="InitialPopulation_1_1">
          <code>
            <coding>
              <system
                      value="http://terminology.hl7.org/CodeSystem/measure-population"/>
              <code value="initial-population"/>
              <display value="Initial Population"/>
            </coding>
          </code>
          <description
                       value="**Initial Population Description Field in Population Criteria Tab of MADiE UI**

    * Free text.

    * Character limit not determined.

    * Initial Population required field selected by dropdown (Defines from CQL Editor Tab).

    **QDM Equivalent: Initial Population**"/>
          <criteria>
            <language value="text/cql-identifier"/>
            <expression value="Initial Population"/>
          </criteria>
        </population>
        <population id="InitialPopulation_1_2">
          <code>
            <coding>
              <system
                      value="http://terminology.hl7.org/CodeSystem/measure-population"/>
              <code value="initial-population"/>
              <display value="Initial Population"/>
            </coding>
          </code>
          <description
                       value="**Initial Population 2 Description Field in Population Criteria Tab of MADiE UI**

    * Free text.

    * Character limit not determined.

    * Initial Population required field selected by dropdown (Defines from CQL Editor Tab).

    **QDM Equivalent: Initial Population**"/>
          <criteria>
            <language value="text/cql-identifier"/>
            <expression value="Initial Population2"/>
          </criteria>
        </population>
        <population id="Denominator_1">
          <extension
                     url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-criteriaReference">
            <valueString value="InitialPopulation_1_1"/>
          </extension>
          <code>
            <coding>
              <system
                      value="http://terminology.hl7.org/CodeSystem/measure-population"/>
              <code value="denominator"/>
              <display value="Denominator"/>
            </coding>
          </code>
          <description
                       value="**Denominator Description Field in Population Criteria Tab of MADiE UI**

    * Free text.

    * Character limit not determined.

    * Denominator required field selected by dropdown (Defines from CQL Editor Tab).

    **QDM Equivalent: Denominator**"/>
          <criteria>
            <language value="text/cql-identifier"/>
            <expression value="Denominator"/>
          </criteria>
        </population>
        <population id="DenominatorExclusion_1">
          <code>
            <coding>
              <system
                      value="http://terminology.hl7.org/CodeSystem/measure-population"/>
              <code value="denominator-exclusion"/>
              <display value="Denominator Exclusion"/>
            </coding>
          </code>
          <description
                       value="**Denominator Exclusion Description Field in Population Criteria Tab of MADiE UI**

    * Free text.

    * Character limit not determined.

    * Denominator Exclusion is not required field selected by dropdown (Defines from CQL Editor Tab).

    *Conditional field, will not display if not populated.*

    **QDM Equivalent: Denominator Exclusion**"/>
          <criteria>
            <language value="text/cql-identifier"/>
            <expression value="Denominator Exclusions"/>
          </criteria>
        </population>
        <population id="Numerator_1">
          <extension
                     url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-criteriaReference">
            <valueString value="InitialPopulation_1_2"/>
          </extension>
          <code>
            <coding>
              <system
                      value="http://terminology.hl7.org/CodeSystem/measure-population"/>
              <code value="numerator"/>
              <display value="Numerator"/>
            </coding>
          </code>
          <description
                       value="**Numerator Description Field in Population Criteria Tab of MADiE UI**

    * Free text.

    * Character limit not determined.

    * Numerator required field selected by dropdown (Defines from CQL Editor Tab).

    **QDM Equivalent: Numerator**"/>
          <criteria>
            <language value="text/cql-identifier"/>
            <expression value="Numerator"/>
          </criteria>
        </population>
        <stratifier id="Stratification_1_1">
          <extension
                     url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-appliesTo">
            <valueCodeableConcept>
              <coding>
                <system
                        value="http://terminology.hl7.org/CodeSystem/measure-population"/>
                <code value="numerator"/>
                <display value="Numerator"/>
              </coding>
            </valueCodeableConcept>
          </extension>
          <description
                       value="**Stratification 1 Description in Stratifications Section of Population Criteria Tab of MADiE UI**

    * Free Text.

    * Character limit not determined.

    Stratification 1 required field selected by dropdown (Defines from CQL Editor tab).

    Association 1 appears to default to all defined populations.

    *Conditional field, does not show if not populated.*

    **QDM Equivalent: Stratification**"/>
          <criteria>
            <language value="text/cql-identifier"/>
            <expression
                        value="Patient Age Less than 18 Years Start of Measurement Period"/>
          </criteria>
        </stratifier>
        <stratifier id="Stratification_1_2">
          <extension
                     url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-appliesTo">
            <valueCodeableConcept>
              <coding>
                <system
                        value="http://terminology.hl7.org/CodeSystem/measure-population"/>
                <code value="numerator"/>
                <display value="Numerator"/>
              </coding>
            </valueCodeableConcept>
          </extension>
          <description
                       value="**Stratification 2 Description in Stratifications Section of Population Criteria Tab of MADiE UI**

    * Free Text.

    * Character limit not determined.

    Stratification 2 required field selected by dropdown (Defines from CQL Editor tab).

    Association 2 appears to default to all defined populations.

    *Conditional field, does not show if not populated.*

    **QDM Equivalent: Stratification**"/>
          <criteria>
            <language value="text/cql-identifier"/>
            <expression
                        value="Patient Age 18 Years or Older at Start of Measurement Period"/>
          </criteria>
        </stratifier>
      </group>
      <supplementalData id="sde-ethnicity">
        <extension
                   url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-includeInReportType">
          <valueCode value="individual"/>
        </extension>
        <extension
                   url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-includeInReportType">
          <valueCode value="subject-list"/>
        </extension>
        <extension
                   url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-includeInReportType">
          <valueCode value="summary"/>
        </extension>
        <extension
                   url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-includeInReportType">
          <valueCode value="data-collection"/>
        </extension>
        <usage>
          <coding>
            <system
                    value="http://terminology.hl7.org/CodeSystem/measure-data-usage"/>
            <code value="supplemental-data"/>
          </coding>
        </usage>
        <description value="SDE Ethnicity"/>
        <criteria>
          <language value="text/cql-identifier"/>
          <expression value="SDE Ethnicity"/>
        </criteria>
      </supplementalData>
      <supplementalData id="sde-payer">
        <extension
                   url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-includeInReportType">
          <valueCode value="individual"/>
        </extension>
        <extension
                   url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-includeInReportType">
          <valueCode value="subject-list"/>
        </extension>
        <extension
                   url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-includeInReportType">
          <valueCode value="summary"/>
        </extension>
        <extension
                   url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-includeInReportType">
          <valueCode value="data-collection"/>
        </extension>
        <usage>
          <coding>
            <system
                    value="http://terminology.hl7.org/CodeSystem/measure-data-usage"/>
            <code value="supplemental-data"/>
          </coding>
        </usage>
        <description value="SDE Payer"/>
        <criteria>
          <language value="text/cql-identifier"/>
          <expression value="SDE Payer"/>
        </criteria>
      </supplementalData>
      <supplementalData id="sde-race">
        <extension
                   url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-includeInReportType">
          <valueCode value="individual"/>
        </extension>
        <extension
                   url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-includeInReportType">
          <valueCode value="subject-list"/>
        </extension>
        <extension
                   url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-includeInReportType">
          <valueCode value="summary"/>
        </extension>
        <extension
                   url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-includeInReportType">
          <valueCode value="data-collection"/>
        </extension>
        <usage>
          <coding>
            <system
                    value="http://terminology.hl7.org/CodeSystem/measure-data-usage"/>
            <code value="supplemental-data"/>
          </coding>
        </usage>
        <description value="SDE Race"/>
        <criteria>
          <language value="text/cql-identifier"/>
          <expression value="SDE Race"/>
        </criteria>
      </supplementalData>
      <supplementalData id="sde-sex">
        <extension
                   url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-includeInReportType">
          <valueCode value="individual"/>
        </extension>
        <extension
                   url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-includeInReportType">
          <valueCode value="subject-list"/>
        </extension>
        <extension
                   url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-includeInReportType">
          <valueCode value="summary"/>
        </extension>
        <extension
                   url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-includeInReportType">
          <valueCode value="data-collection"/>
        </extension>
        <usage>
          <coding>
            <system
                    value="http://terminology.hl7.org/CodeSystem/measure-data-usage"/>
            <code value="supplemental-data"/>
          </coding>
        </usage>
        <description value="SDE Sex"/>
        <criteria>
          <language value="text/cql-identifier"/>
          <expression value="SDE Sex"/>
        </criteria>
      </supplementalData>
      <supplementalData
                        id="rav-patient-too-young-at-start-of-measurement-period">
        <extension
                   url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-includeInReportType">
          <valueCode value="individual"/>
        </extension>
        <extension
                   url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-includeInReportType">
          <valueCode value="subject-list"/>
        </extension>
        <extension
                   url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-includeInReportType">
          <valueCode value="summary"/>
        </extension>
        <extension
                   url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-includeInReportType">
          <valueCode value="data-collection"/>
        </extension>
        <usage>
          <coding>
            <system
                    value="http://terminology.hl7.org/CodeSystem/measure-data-usage"/>
            <code value="risk-adjustment-factor"/>
          </coding>
        </usage>
        <description
                     value="RAV Patient Too Young at Start of Measurement Period"/>
        <criteria>
          <language value="text/cql-identifier"/>
          <expression
                      value="RAV Patient Too Young at Start of Measurement Period"/>
        </criteria>
      </supplementalData>
      <supplementalData id="rav-patient-too-old-at-start-of-measurement-period">
        <extension
                   url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-includeInReportType">
          <valueCode value="individual"/>
        </extension>
        <extension
                   url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-includeInReportType">
          <valueCode value="subject-list"/>
        </extension>
        <extension
                   url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-includeInReportType">
          <valueCode value="summary"/>
        </extension>
        <extension
                   url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-includeInReportType">
          <valueCode value="data-collection"/>
        </extension>
        <usage>
          <coding>
            <system
                    value="http://terminology.hl7.org/CodeSystem/measure-data-usage"/>
            <code value="risk-adjustment-factor"/>
          </coding>
        </usage>
        <description value="RAV Patient Too Old at Start of Measurement Period"/>
        <criteria>
          <language value="text/cql-identifier"/>
          <expression value="RAV Patient Too Old at Start of Measurement Period"/>
        </criteria>
      </supplementalData>
    </Measure>