Quality Measure Implementation Guide
1.0.0-ballot - ballot International flag

Quality Measure Implementation Guide, published by HL7 International / Clinical Quality Information. This guide is not an authorized publication; it is the continuous build for version 1.0.0-ballot built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/HL7/cqf-measures/ and changes regularly. See the Directory of published versions

: Multi-Rate Example Measure - XML Representation

Draft as of 2022-02-22

Raw xml | Download


<Measure xmlns="http://hl7.org/fhir">
  <id value="MultiRateExample-FHIR"/>
  <meta>
    <profile
             value="http://hl7.org/fhir/uv/cqfmeasures/StructureDefinition/computable-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">Knowledge Artifact Metadata</th>

</tr>

<tr>

<th scope="row" class="row-header">Name (machine-readable)</th>

<td class="content-container">MultiRateExample</td>
</tr>


<tr>

<th scope="row" class="row-header">Title (human-readable)</th>

<td class="content-container">Multi-Rate Example Measure</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">Description</th>

<td class="content-container"><div><p>This measure example illustrates the use of the group-level computation extensions to describe a multi-rate measure with mixed population bases</p>
</div></td>
</tr>






<tr>

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

<td class="content-container"><span title="{http://terminology.hl7.org/CodeSystem/usage-context-type venue}">Venue</span> = <span title="Codes:{http://hl7.org/fhir/uv/cqfmeasures/CodeSystem/intended-venue-codes ec}">EC</span></td>
</tr>







<tr>

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

<td class="content-container">HL7 International / Clinical Quality Information</td>
</tr>


<tr>

<th scope="row" class="row-header">Steward Contact Details</th>

<td class="content-container"><a href="http://www.hl7.org/Special/committees/cqi">http://www.hl7.org/Special/committees/cqi</a></td>
</tr>











<tr>

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

</tr>






<tr>

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

<td class="content-container">0.1.0</td>
</tr>
















  
    
    <tr>

<th colspan="2" scope="row" class="row-header">Measure Population Criteria (ID: group-1)</th>

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

          
          
          
          
          
          
          
          
          
        
      
      <td class="content-container">
        
        
          <em>Description</em>:
          <p style="white-space: pre-line" class="tab-one">Total number of patients</p>
        
        
          
            
            <em>Logic Definition</em>: <a href="#multirateexample-fhir-patients">Patients</a> 
          
        
      </td>
    </tr>
  

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

          
          
          
        
      
      <td class="content-container">
        
        
          <em>Description</em>:
          <p style="white-space: pre-line" class="tab-one">Total number of patients</p>
        
        
          
            
            <em>Logic Definition</em>: <a href="#multirateexample-fhir-patients">Patients</a> 
          
        
      </td>
    </tr>
  

  
    <tr>
      
        
          
          
          
          
          
          
          
          
          
            
<th scope="row" class="row-header">Measure Observation</th>

          
        
      
      <td class="content-container">
        
        
          <em>Description</em>:
          <p style="white-space: pre-line" class="tab-one">Total number of patients</p>
        
        
          
            
            <em>Logic Definition</em>: <a href="#multirateexample-fhir-tonumber">ToNumber</a> 
          
        
      </td>
    </tr>
  

  
  










  
    
    <tr>

<th colspan="2" scope="row" class="row-header">Measure Population Criteria (ID: group-2)</th>

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

          
          
          
          
          
          
          
          
          
        
      
      <td class="content-container">
        
        
          <em>Description</em>:
          <p style="white-space: pre-line" class="tab-one">Total number of practitioners</p>
        
        
          
            
            <em>Logic Definition</em>: <a href="#multirateexample-fhir-practitioners">Practitioners</a> 
          
        
      </td>
    </tr>
  

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

          
          
          
        
      
      <td class="content-container">
        
        
          <em>Description</em>:
          <p style="white-space: pre-line" class="tab-one">Total number of practitioners</p>
        
        
          
            
            <em>Logic Definition</em>: <a href="#multirateexample-fhir-practitioners">Practitioners</a> 
          
        
      </td>
    </tr>
  

  
    <tr>
      
        
          
          
          
          
          
          
          
          
          
            
<th scope="row" class="row-header">Measure Observation</th>

          
        
      
      <td class="content-container">
        
        
          <em>Description</em>:
          <p style="white-space: pre-line" class="tab-one">Total number of practitioners</p>
        
        
          
            
            <em>Logic Definition</em>: <a href="#multirateexample-fhir-tonumber">ToNumber</a> 
          
        
      </td>
    </tr>
  

  
  










  
    
    <tr>

<th colspan="2" scope="row" class="row-header">Measure Population Criteria (ID: group-3)</th>

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

          
          
          
          
          
          
          
          
          
        
      
      <td class="content-container">
        
        
          <em>Description</em>:
          <p style="white-space: pre-line" class="tab-one">Total number of beds</p>
        
        
          
            
            <em>Logic Definition</em>: <a href="#multirateexample-fhir-beds">Beds</a> 
          
        
      </td>
    </tr>
  

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

          
          
          
        
      
      <td class="content-container">
        
        
          <em>Description</em>:
          <p style="white-space: pre-line" class="tab-one">Total number of beds</p>
        
        
          
            
            <em>Logic Definition</em>: <a href="#multirateexample-fhir-beds">Beds</a> 
          
        
      </td>
    </tr>
  

  
    <tr>
      
        
          
          
          
          
          
          
          
          
          
            
<th scope="row" class="row-header">Measure Observation</th>

          
        
      
      <td class="content-container">
        
        
          <em>Description</em>:
          <p style="white-space: pre-line" class="tab-one">Total number of beds</p>
        
        
          
            
            <em>Logic Definition</em>: <a href="#multirateexample-fhir-tonumber">ToNumber</a> 
          
        
      </td>
    </tr>
  

  
  










  
    
    <tr>

<th colspan="2" scope="row" class="row-header">Measure Population Criteria (ID: group-4)</th>

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

          
          
          
          
          
          
          
          
          
        
      
      <td class="content-container">
        
        
          <em>Description</em>:
          <p style="white-space: pre-line" class="tab-one">Total number of screening procedures</p>
        
        
          
            
            <em>Logic Definition</em>: <a href="#multirateexample-fhir-procedures">Procedures</a> 
          
        
      </td>
    </tr>
  

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

          
          
          
        
      
      <td class="content-container">
        
        
          <em>Description</em>:
          <p style="white-space: pre-line" class="tab-one">Total number of screening procedures</p>
        
        
          
            
            <em>Logic Definition</em>: <a href="#multirateexample-fhir-procedures">Procedures</a> 
          
        
      </td>
    </tr>
  

  
    <tr>
      
        
          
          
          
          
          
          
          
          
          
            
<th scope="row" class="row-header">Measure Observation</th>

          
        
      
      <td class="content-container">
        
        
          <em>Description</em>:
          <p style="white-space: pre-line" class="tab-one">Total number of screening procedures</p>
        
        
          
            
            <em>Logic Definition</em>: <a href="#multirateexample-fhir-tonumber">ToNumber</a> 
          
        
      </td>
    </tr>
  

  
  










  
    
    <tr>

<th colspan="2" scope="row" class="row-header">Measure Population Criteria (ID: group-5)</th>

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

          
          
          
          
          
          
          
          
          
        
      
      <td class="content-container">
        
        
          <em>Description</em>:
          <p style="white-space: pre-line" class="tab-one">Patients</p>
        
        
          
            
            <em>Logic Definition</em>: <a href="#multirateexample-fhir-initial-population">Initial Population</a> 
          
        
      </td>
    </tr>
  

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

          
          
          
          
          
          
        
      
      <td class="content-container">
        
        
          <em>Description</em>:
          <p style="white-space: pre-line" class="tab-one">Eligible patients</p>
        
        
          
            
            <em>Logic Definition</em>: <a href="#multirateexample-fhir-denominator">Denominator</a> 
          
        
      </td>
    </tr>
  

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

          
          
          
          
          
          
          
          
        
      
      <td class="content-container">
        
        
          <em>Description</em>:
          <p style="white-space: pre-line" class="tab-one">Patients with screening</p>
        
        
          
            
            <em>Logic Definition</em>: <a href="#multirateexample-fhir-numerator">Numerator</a> 
          
        
      </td>
    </tr>
  

  
  










  
    
    <tr>

<th colspan="2" scope="row" class="row-header">Measure Population Criteria (ID: group-6)</th>

</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-MultiRateExample-FHIR.html">Multi Rate Example Logic Library</a></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://fhir.org/guides/cqf/common/Library/FHIRHelpers|4.0.1</code>
    <br/>
    <em>Canonical URL</em>: <tt>http://fhir.org/guides/cqf/common/Library/FHIRHelpers|4.0.1</tt>
    
  </td>
</tr>

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

  
  <td class="content-container">
    
    <em>Description</em>: Value set Screening Procedure Types
    
    <br/>
    
    
    
    
    
    
    <em>Resource</em>: <code>http://example.org/fhir/ValueSet/TBD</code>
    <br/>
    <em>Canonical URL</em>: <tt>http://example.org/fhir/ValueSet/TBD</tt>
    
  </td>
</tr>


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

  <td class="content-container">
    <em>Name</em>: Practitioners
    <br/>
    <em>Use</em>: Out
    <br/>
    <em>Min Cardinality</em>: 0
    <br/>
    <em>Max Cardinality</em>: *
    <br/>
    <em>Type</em>: PractitionerRole
  </td>
</tr>
  
  <tr>
  
<th scope="row" class="row-header">Parameter</th>

  <td class="content-container">
    <em>Name</em>: Numerator
    <br/>
    <em>Use</em>: Out
    <br/>
    <em>Min Cardinality</em>: 0
    <br/>
    <em>Max Cardinality</em>: *
    <br/>
    <em>Type</em>: Patient
  </td>
</tr>
  
  <tr>
  
<th scope="row" class="row-header">Parameter</th>

  <td class="content-container">
    <em>Name</em>: Denominator
    <br/>
    <em>Use</em>: Out
    <br/>
    <em>Min Cardinality</em>: 0
    <br/>
    <em>Max Cardinality</em>: *
    <br/>
    <em>Type</em>: Patient
  </td>
</tr>
  
  <tr>
  
<th scope="row" class="row-header">Parameter</th>

  <td class="content-container">
    <em>Name</em>: Initial Population
    <br/>
    <em>Use</em>: Out
    <br/>
    <em>Min Cardinality</em>: 0
    <br/>
    <em>Max Cardinality</em>: *
    <br/>
    <em>Type</em>: Patient
  </td>
</tr>
  
  <tr>
  
<th scope="row" class="row-header">Parameter</th>

  <td class="content-container">
    <em>Name</em>: Patients
    <br/>
    <em>Use</em>: Out
    <br/>
    <em>Min Cardinality</em>: 0
    <br/>
    <em>Max Cardinality</em>: *
    <br/>
    <em>Type</em>: Patient
  </td>
</tr>
  
  <tr>
  
<th scope="row" class="row-header">Parameter</th>

  <td class="content-container">
    <em>Name</em>: Beds
    <br/>
    <em>Use</em>: Out
    <br/>
    <em>Min Cardinality</em>: 0
    <br/>
    <em>Max Cardinality</em>: *
    <br/>
    <em>Type</em>: Device
  </td>
</tr>
  
  
  <tr>
    <th colspan="2" scope="row" class="section-header"><a name="effective-data-requirements"> </a>Measure Logic 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/R4/patient.html">Patient</a>
    <br/>        
  
   
   
    <em>Must Support Elements</em>: gender, id
    <br/>
   
   
  </td>
</tr>

<tr>
  <th scope="row" class="row-header">Data Requirement</th>
  <td class="content-container">
    <em>Type</em>: Device
    <br/>
  
    <em>Profile(s)</em>: 
  
    <a href="http://hl7.org/fhir/R4/device.html">Device</a>
    <br/>        
  
   
   
    <em>Must Support Elements</em>: type
    <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> <code>http://example.org/fhir/ValueSet/TBD</code>
    <br/> 
  
  
  
   
  </td>
</tr>

<tr>
  <th scope="row" class="row-header">Data Requirement</th>
  <td class="content-container">
    <em>Type</em>: Procedure
    <br/>
  
    <em>Profile(s)</em>: 
  
    <a href="http://hl7.org/fhir/R4/procedure.html">Procedure</a>
    <br/>        
  
   
   
    <em>Must Support Elements</em>: code, subject, subject.reference
    <br/>
   
  
    <em>Code Filter(s)</em>: 
    <br/>
  
  
    <span class="tab-one"><em>Path</em>: code</span>
    <br/>
  
  
  
    <span class="tab-one"><em>ValueSet</em>:</span> <code>http://example.org/fhir/ValueSet/TBD</code>
    <br/> 
  
  
  
   
  </td>
</tr>

<tr>
  <th scope="row" class="row-header">Data Requirement</th>
  <td class="content-container">
    <em>Type</em>: PractitionerRole
    <br/>
  
    <em>Profile(s)</em>: 
  
    <a href="http://hl7.org/fhir/R4/practitionerrole.html">PractitionerRole</a>
    <br/>        
  
   
   
   
  </td>
</tr>

  
  <tr>

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

</tr>
  
          
<tr>
  <th scope="row" rowspan="2" class="row-header">
    
      
      <a name="multirateexample-fhir-practitioners"> </a>
    
    Logic Definition
  </th>

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

</tr>
<tr>

  <td>
    <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">// Number of practitioners
define &quot;Practitioners&quot;:
  [PractitionerRole]</code></pre>
  </td>

</tr>
        
<tr>
  <th scope="row" rowspan="2" class="row-header">
    
      
      <a name="multirateexample-fhir-patients"> </a>
    
    Logic Definition
  </th>

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

</tr>
<tr>

  <td>
    <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">// Number of patients
define &quot;Patients&quot;:
  [Patient]</code></pre>
  </td>

</tr>
        
<tr>
  <th scope="row" rowspan="2" class="row-header">
    
      
      <a name="multirateexample-fhir-screening-procedures"> </a>
    
    Logic Definition
  </th>

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

</tr>
<tr>

  <td>
    <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">// Number of screening procedures
define &quot;Screening Procedures&quot;:
  [Procedure: &quot;Screening Procedure Types&quot;]</code></pre>
  </td>

</tr>
        
<tr>
  <th scope="row" rowspan="2" class="row-header">
    
      
      <a name="multirateexample-fhir-numerator"> </a>
    
    Logic Definition
  </th>

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

</tr>
<tr>

  <td>
    <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define &quot;Numerator&quot;:
  &quot;Patients&quot; P
    with &quot;Screening Procedures&quot; SP
      such that P.id = Last(Split(SP.subject.reference, '/'))</code></pre>
  </td>

</tr>
        
<tr>
  <th scope="row" rowspan="2" class="row-header">
    
      
      <a name="multirateexample-fhir-denominator"> </a>
    
    Logic Definition
  </th>

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

</tr>
<tr>

  <td>
    <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define &quot;Denominator&quot;:
  &quot;Patients&quot; P
    where P.gender = 'female'</code></pre>
  </td>

</tr>
        
<tr>
  <th scope="row" rowspan="2" class="row-header">
    
      
      <a name="multirateexample-fhir-initial-population"> </a>
    
    Logic Definition
  </th>

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

</tr>
<tr>

  <td>
    <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">// Percentage of patients who received screening
define &quot;Initial Population&quot;:
  &quot;Patients&quot;</code></pre>
  </td>

</tr>
        
<tr>
  <th scope="row" rowspan="2" class="row-header">
    
      
      <a name="multirateexample-fhir-beds"> </a>
    
    Logic Definition
  </th>

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

</tr>
<tr>

  <td>
    <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">// Number of beds
define &quot;Beds&quot;:
  [Device: &quot;Bed Device Types&quot;]</code></pre>
  </td>

</tr>

  

<tr>
  <th colspan="2" scope="row" class="row-header">Generated using version 0.4.6 of the sample-content-ig Liquid templates</th>
</tr>
    </tbody>
  </table>
</div>
  </text>
  <contained>
    <Library>
      <id value="effective-data-requirements-mre"/>
      <meta>
        <profile
                 value="http://hl7.org/fhir/uv/crmi/StructureDefinition/crmi-moduledefinitionlibrary"/>
      </meta>
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition">
        <extension url="libraryName">
          <valueString value="MultiRateExample-FHIR"/>
        </extension>
        <extension url="name">
          <valueString value="Practitioners"/>
        </extension>
        <extension url="statement">
          <valueString
                       value="// Number of practitioners
define &quot;Practitioners&quot;:
  [PractitionerRole]"/>
        </extension>
        <extension url="displaySequence">
          <valueInteger value="0"/>
        </extension>
      </extension>
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition">
        <extension url="libraryName">
          <valueString value="MultiRateExample-FHIR"/>
        </extension>
        <extension url="name">
          <valueString value="Patients"/>
        </extension>
        <extension url="statement">
          <valueString
                       value="// Number of patients
define &quot;Patients&quot;:
  [Patient]"/>
        </extension>
        <extension url="displaySequence">
          <valueInteger value="1"/>
        </extension>
      </extension>
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition">
        <extension url="libraryName">
          <valueString value="MultiRateExample-FHIR"/>
        </extension>
        <extension url="name">
          <valueString value="Screening Procedures"/>
        </extension>
        <extension url="statement">
          <valueString
                       value="// Number of screening procedures
define &quot;Screening Procedures&quot;:
  [Procedure: &quot;Screening Procedure Types&quot;]"/>
        </extension>
        <extension url="displaySequence">
          <valueInteger value="2"/>
        </extension>
      </extension>
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition">
        <extension url="libraryName">
          <valueString value="MultiRateExample-FHIR"/>
        </extension>
        <extension url="name">
          <valueString value="Numerator"/>
        </extension>
        <extension url="statement">
          <valueString
                       value="define &quot;Numerator&quot;:
  &quot;Patients&quot; P
    with &quot;Screening Procedures&quot; SP
      such that P.id = Last(Split(SP.subject.reference, '/'))"/>
        </extension>
        <extension url="displaySequence">
          <valueInteger value="3"/>
        </extension>
      </extension>
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition">
        <extension url="libraryName">
          <valueString value="MultiRateExample-FHIR"/>
        </extension>
        <extension url="name">
          <valueString value="Denominator"/>
        </extension>
        <extension url="statement">
          <valueString
                       value="define &quot;Denominator&quot;:
  &quot;Patients&quot; P
    where P.gender = 'female'"/>
        </extension>
        <extension url="displaySequence">
          <valueInteger value="4"/>
        </extension>
      </extension>
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition">
        <extension url="libraryName">
          <valueString value="MultiRateExample-FHIR"/>
        </extension>
        <extension url="name">
          <valueString value="Initial Population"/>
        </extension>
        <extension url="statement">
          <valueString
                       value="// Percentage of patients who received screening
define &quot;Initial Population&quot;:
  &quot;Patients&quot;"/>
        </extension>
        <extension url="displaySequence">
          <valueInteger value="5"/>
        </extension>
      </extension>
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition">
        <extension url="libraryName">
          <valueString value="MultiRateExample-FHIR"/>
        </extension>
        <extension url="name">
          <valueString value="Beds"/>
        </extension>
        <extension url="statement">
          <valueString
                       value="// Number of beds
define &quot;Beds&quot;:
  [Device: &quot;Bed Device Types&quot;]"/>
        </extension>
        <extension url="displaySequence">
          <valueInteger value="6"/>
        </extension>
      </extension>
      <url
           value="http://hl7.org/fhir/uv/cqfmeasures/Library/effective-data-requirements-mre"/>
      <version value="1.0.0"/>
      <name value="EffectiveDataRequirements"/>
      <title value="Module Definition Library - MultiRateExample"/>
      <status value="active"/>
      <experimental value="true"/>
      <type>
        <coding>
          <system value="http://terminology.hl7.org/CodeSystem/library-type"/>
          <code value="module-definition"/>
        </coding>
      </type>
      <date value="2022-02-22T10:37:03-07:00"/>
      <description
                   value="This library is used as an example module definition in the FHIR Quality Measure Implementation Guide"/>
      <relatedArtifact>
        <type value="depends-on"/>
        <display value="Library FHIRHelpers"/>
        <resource
                  value="http://fhir.org/guides/cqf/common/Library/FHIRHelpers|4.0.1"/>
      </relatedArtifact>
      <relatedArtifact>
        <type value="depends-on"/>
        <display value="Value set Screening Procedure Types"/>
        <resource value="http://example.org/fhir/ValueSet/TBD"/>
      </relatedArtifact>
      <parameter>
        <name value="Practitioners"/>
        <use value="out"/>
        <min value="0"/>
        <max value="*"/>
        <type value="PractitionerRole"/>
      </parameter>
      <parameter>
        <name value="Numerator"/>
        <use value="out"/>
        <min value="0"/>
        <max value="*"/>
        <type value="Patient"/>
      </parameter>
      <parameter>
        <name value="Denominator"/>
        <use value="out"/>
        <min value="0"/>
        <max value="*"/>
        <type value="Patient"/>
      </parameter>
      <parameter>
        <name value="Initial Population"/>
        <use value="out"/>
        <min value="0"/>
        <max value="*"/>
        <type value="Patient"/>
      </parameter>
      <parameter>
        <name value="Patients"/>
        <use value="out"/>
        <min value="0"/>
        <max value="*"/>
        <type value="Patient"/>
      </parameter>
      <parameter>
        <name value="Beds"/>
        <use value="out"/>
        <min value="0"/>
        <max value="*"/>
        <type value="Device"/>
      </parameter>
      <dataRequirement>
        <type value="Patient"/>
        <profile value="http://hl7.org/fhir/StructureDefinition/Patient"/>
        <mustSupport value="gender"/>
        <mustSupport value="id"/>
      </dataRequirement>
      <dataRequirement>
        <type value="Device"/>
        <profile value="http://hl7.org/fhir/StructureDefinition/Device"/>
        <mustSupport value="type"/>
        <codeFilter>
          <path value="type"/>
          <valueSet value="http://example.org/fhir/ValueSet/TBD"/>
        </codeFilter>
      </dataRequirement>
      <dataRequirement>
        <type value="Procedure"/>
        <profile value="http://hl7.org/fhir/StructureDefinition/Procedure"/>
        <mustSupport value="code"/>
        <mustSupport value="subject"/>
        <mustSupport value="subject.reference"/>
        <codeFilter>
          <path value="code"/>
          <valueSet value="http://example.org/fhir/ValueSet/TBD"/>
        </codeFilter>
      </dataRequirement>
      <dataRequirement>
        <type value="PractitionerRole"/>
        <profile
                 value="http://hl7.org/fhir/StructureDefinition/PractitionerRole"/>
      </dataRequirement>
    </Library>
  </contained>
  <extension
             url="http://hl7.org/fhir/uv/cqfmeasures/StructureDefinition/cqfm-populationBasis">
    <valueCode value="Patient"/>
  </extension>
  <extension
             url="http://hl7.org/fhir/uv/crmi/StructureDefinition/crmi-effectiveDataRequirements">
    <valueCanonical value="#effective-data-requirements-mre"/>
  </extension>
  <url
       value="http://hl7.org/fhir/uv/cqfmeasures/Measure/MultiRateExample-FHIR"/>
  <version value="0.1.0"/>
  <name value="MultiRateExample"/>
  <title value="Multi-Rate Example Measure"/>
  <status value="draft"/>
  <experimental value="true"/>
  <subjectCodeableConcept>
    <coding>
      <system value="http://hl7.org/fhir/resource-types"/>
      <code value="Location"/>
    </coding>
  </subjectCodeableConcept>
  <date value="2022-02-22T10:37:03-07:00"/>
  <publisher value="HL7 International / Clinical Quality Information"/>
  <contact>
    <telecom>
      <system value="url"/>
      <value value="http://www.hl7.org/Special/committees/cqi"/>
    </telecom>
  </contact>
  <description
               value="This measure example illustrates the use of the group-level computation extensions to describe a multi-rate measure with mixed population bases"/>
  <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/uv/cqfmeasures/CodeSystem/intended-venue-codes"/>
        <code value="ec"/>
        <display value="EC"/>
      </coding>
    </valueCodeableConcept>
  </useContext>
  <jurisdiction>
    <coding>
      <system value="http://unstats.un.org/unsd/methods/m49/m49.htm"/>
      <code value="001"/>
    </coding>
  </jurisdiction>
  <library
           value="http://hl7.org/fhir/uv/cqfmeasures/Library/MultiRateExample-FHIR"/>
  <group id="group-1">
    <extension
               url="http://hl7.org/fhir/uv/cqfmeasures/StructureDefinition/cqfm-populationBasis">
      <valueCode value="Patient"/>
    </extension>
    <extension
               url="http://hl7.org/fhir/uv/cqfmeasures/StructureDefinition/cqfm-scoring">
      <valueCodeableConcept>
        <coding>
          <system
                  value="http://terminology.hl7.org/CodeSystem/measure-scoring"/>
          <code value="continuous-variable"/>
        </coding>
      </valueCodeableConcept>
    </extension>
    <extension
               url="http://hl7.org/fhir/uv/cqfmeasures/StructureDefinition/cqfm-type">
      <valueCodeableConcept>
        <coding>
          <system value="http://terminology.hl7.org/CodeSystem/measure-type"/>
          <code value="structure"/>
        </coding>
      </valueCodeableConcept>
    </extension>
    <extension
               url="http://hl7.org/fhir/uv/cqfmeasures/StructureDefinition/cqfm-riskAdjustment">
      <valueString value="N/A"/>
    </extension>
    <extension
               url="http://hl7.org/fhir/uv/cqfmeasures/StructureDefinition/cqfm-rateAggregation">
      <valueString value="N/A"/>
    </extension>
    <extension
               url="http://hl7.org/fhir/uv/cqfmeasures/StructureDefinition/cqfm-improvementNotation">
      <valueCodeableConcept>
        <coding>
          <system
                  value="http://terminology.hl7.org/CodeSystem/measure-improvement-notation"/>
          <code value="increase"/>
        </coding>
      </valueCodeableConcept>
    </extension>
    <code>
      <text value="Patients"/>
    </code>
    <population>
      <code>
        <coding>
          <system
                  value="http://terminology.hl7.org/CodeSystem/measure-population"/>
          <code value="initial-population"/>
        </coding>
      </code>
      <description value="Total number of patients"/>
      <criteria>
        <language value="text/cql-identifier"/>
        <expression value="Patients"/>
      </criteria>
    </population>
    <population>
      <code>
        <coding>
          <system
                  value="http://terminology.hl7.org/CodeSystem/measure-population"/>
          <code value="measure-population"/>
        </coding>
      </code>
      <description value="Total number of patients"/>
      <criteria>
        <language value="text/cql-identifier"/>
        <expression value="Patients"/>
      </criteria>
    </population>
    <population>
      <extension
                 url="http://hl7.org/fhir/uv/cqfmeasures/StructureDefinition/cqfm-aggregateMethod">
        <valueCode value="sum"/>
      </extension>
      <code>
        <coding>
          <system
                  value="http://terminology.hl7.org/CodeSystem/measure-population"/>
          <code value="measure-observation"/>
        </coding>
      </code>
      <description value="Total number of patients"/>
      <criteria>
        <language value="text/cql-identifier"/>
        <expression value="ToNumber"/>
      </criteria>
    </population>
  </group>
  <group id="group-2">
    <extension
               url="http://hl7.org/fhir/uv/cqfmeasures/StructureDefinition/cqfm-populationBasis">
      <valueCode value="PractitionerRole"/>
    </extension>
    <extension
               url="http://hl7.org/fhir/uv/cqfmeasures/StructureDefinition/cqfm-scoring">
      <valueCodeableConcept>
        <coding>
          <system
                  value="http://terminology.hl7.org/CodeSystem/measure-scoring"/>
          <code value="continuous-variable"/>
        </coding>
      </valueCodeableConcept>
    </extension>
    <extension
               url="http://hl7.org/fhir/uv/cqfmeasures/StructureDefinition/cqfm-type">
      <valueCodeableConcept>
        <coding>
          <system value="http://terminology.hl7.org/CodeSystem/measure-type"/>
          <code value="structure"/>
        </coding>
      </valueCodeableConcept>
    </extension>
    <extension
               url="http://hl7.org/fhir/uv/cqfmeasures/StructureDefinition/cqfm-riskAdjustment">
      <valueString value="N/A"/>
    </extension>
    <extension
               url="http://hl7.org/fhir/uv/cqfmeasures/StructureDefinition/cqfm-rateAggregation">
      <valueString value="N/A"/>
    </extension>
    <extension
               url="http://hl7.org/fhir/uv/cqfmeasures/StructureDefinition/cqfm-improvementNotation">
      <valueCodeableConcept>
        <coding>
          <system
                  value="http://terminology.hl7.org/CodeSystem/measure-improvement-notation"/>
          <code value="increase"/>
        </coding>
      </valueCodeableConcept>
    </extension>
    <code>
      <text value="Practitioners"/>
    </code>
    <population>
      <code>
        <coding>
          <system
                  value="http://terminology.hl7.org/CodeSystem/measure-population"/>
          <code value="initial-population"/>
        </coding>
      </code>
      <description value="Total number of practitioners"/>
      <criteria>
        <language value="text/cql-identifier"/>
        <expression value="Practitioners"/>
      </criteria>
    </population>
    <population>
      <code>
        <coding>
          <system
                  value="http://terminology.hl7.org/CodeSystem/measure-population"/>
          <code value="measure-population"/>
        </coding>
      </code>
      <description value="Total number of practitioners"/>
      <criteria>
        <language value="text/cql-identifier"/>
        <expression value="Practitioners"/>
      </criteria>
    </population>
    <population>
      <extension
                 url="http://hl7.org/fhir/uv/cqfmeasures/StructureDefinition/cqfm-aggregateMethod">
        <valueCode value="sum"/>
      </extension>
      <code>
        <coding>
          <system
                  value="http://terminology.hl7.org/CodeSystem/measure-population"/>
          <code value="measure-observation"/>
        </coding>
      </code>
      <description value="Total number of practitioners"/>
      <criteria>
        <language value="text/cql-identifier"/>
        <expression value="ToNumber"/>
      </criteria>
    </population>
  </group>
  <group id="group-3">
    <extension
               url="http://hl7.org/fhir/uv/cqfmeasures/StructureDefinition/cqfm-populationBasis">
      <valueCode value="Device"/>
    </extension>
    <extension
               url="http://hl7.org/fhir/uv/cqfmeasures/StructureDefinition/cqfm-scoring">
      <valueCodeableConcept>
        <coding>
          <system
                  value="http://terminology.hl7.org/CodeSystem/measure-scoring"/>
          <code value="continuous-variable"/>
        </coding>
      </valueCodeableConcept>
    </extension>
    <extension
               url="http://hl7.org/fhir/uv/cqfmeasures/StructureDefinition/cqfm-type">
      <valueCodeableConcept>
        <coding>
          <system value="http://terminology.hl7.org/CodeSystem/measure-type"/>
          <code value="structure"/>
        </coding>
      </valueCodeableConcept>
    </extension>
    <extension
               url="http://hl7.org/fhir/uv/cqfmeasures/StructureDefinition/cqfm-riskAdjustment">
      <valueString value="N/A"/>
    </extension>
    <extension
               url="http://hl7.org/fhir/uv/cqfmeasures/StructureDefinition/cqfm-rateAggregation">
      <valueString value="N/A"/>
    </extension>
    <extension
               url="http://hl7.org/fhir/uv/cqfmeasures/StructureDefinition/cqfm-improvementNotation">
      <valueCodeableConcept>
        <coding>
          <system
                  value="http://terminology.hl7.org/CodeSystem/measure-improvement-notation"/>
          <code value="increase"/>
        </coding>
      </valueCodeableConcept>
    </extension>
    <code>
      <text value="Beds"/>
    </code>
    <population>
      <code>
        <coding>
          <system
                  value="http://terminology.hl7.org/CodeSystem/measure-population"/>
          <code value="initial-population"/>
        </coding>
      </code>
      <description value="Total number of beds"/>
      <criteria>
        <language value="text/cql-identifier"/>
        <expression value="Beds"/>
      </criteria>
    </population>
    <population>
      <code>
        <coding>
          <system
                  value="http://terminology.hl7.org/CodeSystem/measure-population"/>
          <code value="measure-population"/>
        </coding>
      </code>
      <description value="Total number of beds"/>
      <criteria>
        <language value="text/cql-identifier"/>
        <expression value="Beds"/>
      </criteria>
    </population>
    <population>
      <extension
                 url="http://hl7.org/fhir/uv/cqfmeasures/StructureDefinition/cqfm-aggregateMethod">
        <valueCode value="sum"/>
      </extension>
      <code>
        <coding>
          <system
                  value="http://terminology.hl7.org/CodeSystem/measure-population"/>
          <code value="measure-observation"/>
        </coding>
      </code>
      <description value="Total number of beds"/>
      <criteria>
        <language value="text/cql-identifier"/>
        <expression value="ToNumber"/>
      </criteria>
    </population>
  </group>
  <group id="group-4">
    <extension
               url="http://hl7.org/fhir/uv/cqfmeasures/StructureDefinition/cqfm-populationBasis">
      <valueCode value="Procedure"/>
    </extension>
    <extension
               url="http://hl7.org/fhir/uv/cqfmeasures/StructureDefinition/cqfm-scoring">
      <valueCodeableConcept>
        <coding>
          <system
                  value="http://terminology.hl7.org/CodeSystem/measure-scoring"/>
          <code value="continuous-variable"/>
        </coding>
      </valueCodeableConcept>
    </extension>
    <extension
               url="http://hl7.org/fhir/uv/cqfmeasures/StructureDefinition/cqfm-type">
      <valueCodeableConcept>
        <coding>
          <system value="http://terminology.hl7.org/CodeSystem/measure-type"/>
          <code value="structure"/>
        </coding>
      </valueCodeableConcept>
    </extension>
    <extension
               url="http://hl7.org/fhir/uv/cqfmeasures/StructureDefinition/cqfm-riskAdjustment">
      <valueString value="N/A"/>
    </extension>
    <extension
               url="http://hl7.org/fhir/uv/cqfmeasures/StructureDefinition/cqfm-rateAggregation">
      <valueString value="N/A"/>
    </extension>
    <extension
               url="http://hl7.org/fhir/uv/cqfmeasures/StructureDefinition/cqfm-improvementNotation">
      <valueCodeableConcept>
        <coding>
          <system
                  value="http://terminology.hl7.org/CodeSystem/measure-improvement-notation"/>
          <code value="increase"/>
        </coding>
      </valueCodeableConcept>
    </extension>
    <code>
      <text value="Screening Procedures"/>
    </code>
    <population>
      <code>
        <coding>
          <system
                  value="http://terminology.hl7.org/CodeSystem/measure-population"/>
          <code value="initial-population"/>
        </coding>
      </code>
      <description value="Total number of screening procedures"/>
      <criteria>
        <language value="text/cql-identifier"/>
        <expression value="Procedures"/>
      </criteria>
    </population>
    <population>
      <code>
        <coding>
          <system
                  value="http://terminology.hl7.org/CodeSystem/measure-population"/>
          <code value="measure-population"/>
        </coding>
      </code>
      <description value="Total number of screening procedures"/>
      <criteria>
        <language value="text/cql-identifier"/>
        <expression value="Procedures"/>
      </criteria>
    </population>
    <population>
      <extension
                 url="http://hl7.org/fhir/uv/cqfmeasures/StructureDefinition/cqfm-aggregateMethod">
        <valueCode value="sum"/>
      </extension>
      <code>
        <coding>
          <system
                  value="http://terminology.hl7.org/CodeSystem/measure-population"/>
          <code value="measure-observation"/>
        </coding>
      </code>
      <description value="Total number of screening procedures"/>
      <criteria>
        <language value="text/cql-identifier"/>
        <expression value="ToNumber"/>
      </criteria>
    </population>
  </group>
  <group id="group-5">
    <extension
               url="http://hl7.org/fhir/uv/cqfmeasures/StructureDefinition/cqfm-populationBasis">
      <valueCode value="Patient"/>
    </extension>
    <extension
               url="http://hl7.org/fhir/uv/cqfmeasures/StructureDefinition/cqfm-scoring">
      <valueCodeableConcept>
        <coding>
          <system
                  value="http://terminology.hl7.org/CodeSystem/measure-scoring"/>
          <code value="proportion"/>
        </coding>
      </valueCodeableConcept>
    </extension>
    <extension
               url="http://hl7.org/fhir/uv/cqfmeasures/StructureDefinition/cqfm-type">
      <valueCodeableConcept>
        <coding>
          <system value="http://terminology.hl7.org/CodeSystem/measure-type"/>
          <code value="process"/>
        </coding>
      </valueCodeableConcept>
    </extension>
    <extension
               url="http://hl7.org/fhir/uv/cqfmeasures/StructureDefinition/cqfm-riskAdjustment">
      <valueString value="N/A"/>
    </extension>
    <extension
               url="http://hl7.org/fhir/uv/cqfmeasures/StructureDefinition/cqfm-rateAggregation">
      <valueString value="N/A"/>
    </extension>
    <extension
               url="http://hl7.org/fhir/uv/cqfmeasures/StructureDefinition/cqfm-improvementNotation">
      <valueCodeableConcept>
        <coding>
          <system
                  value="http://terminology.hl7.org/CodeSystem/measure-improvement-notation"/>
          <code value="increase"/>
        </coding>
      </valueCodeableConcept>
    </extension>
    <code>
      <text value="Patients that recevied screenings"/>
    </code>
    <population>
      <code>
        <coding>
          <system
                  value="http://terminology.hl7.org/CodeSystem/measure-population"/>
          <code value="initial-population"/>
        </coding>
      </code>
      <description value="Patients"/>
      <criteria>
        <language value="text/cql-identifier"/>
        <expression value="Initial Population"/>
      </criteria>
    </population>
    <population>
      <code>
        <coding>
          <system
                  value="http://terminology.hl7.org/CodeSystem/measure-population"/>
          <code value="denominator"/>
        </coding>
      </code>
      <description value="Eligible patients"/>
      <criteria>
        <language value="text/cql-identifier"/>
        <expression value="Denominator"/>
      </criteria>
    </population>
    <population>
      <code>
        <coding>
          <system
                  value="http://terminology.hl7.org/CodeSystem/measure-population"/>
          <code value="numerator"/>
        </coding>
      </code>
      <description value="Patients with screening"/>
      <criteria>
        <language value="text/cql-identifier"/>
        <expression value="Numerator"/>
      </criteria>
    </population>
  </group>
  <group id="group-6">
    <extension
               url="http://hl7.org/fhir/uv/cqfmeasures/StructureDefinition/cqfm-compositeScoring">
      <valueCodeableConcept>
        <coding>
          <system
                  value="http://terminology.hl7.org/CodeSystem/composite-measure-scoring"/>
          <code value="weighted"/>
        </coding>
      </valueCodeableConcept>
    </extension>
    <extension
               url="http://hl7.org/fhir/uv/cqfmeasures/StructureDefinition/cqfm-scoring">
      <valueCodeableConcept>
        <coding>
          <system
                  value="http://terminology.hl7.org/CodeSystem/measure-scoring"/>
          <code value="composite"/>
        </coding>
      </valueCodeableConcept>
    </extension>
    <extension
               url="http://hl7.org/fhir/uv/cqfmeasures/StructureDefinition/cqfm-type">
      <valueCodeableConcept>
        <coding>
          <system value="http://terminology.hl7.org/CodeSystem/measure-type"/>
          <code value="structure"/>
        </coding>
      </valueCodeableConcept>
    </extension>
    <extension
               url="http://hl7.org/fhir/uv/cqfmeasures/StructureDefinition/cqfm-riskAdjustment">
      <valueString value="N/A"/>
    </extension>
    <extension
               url="http://hl7.org/fhir/uv/cqfmeasures/StructureDefinition/cqfm-rateAggregation">
      <valueString value="N/A"/>
    </extension>
    <extension
               url="http://hl7.org/fhir/uv/cqfmeasures/StructureDefinition/cqfm-improvementNotation">
      <valueCodeableConcept>
        <coding>
          <system
                  value="http://terminology.hl7.org/CodeSystem/measure-improvement-notation"/>
          <code value="increase"/>
        </coding>
      </valueCodeableConcept>
    </extension>
    <extension
               url="http://hl7.org/fhir/uv/cqfmeasures/StructureDefinition/cqfm-component">
      <valueRelatedArtifact>
        <extension
                   url="http://hl7.org/fhir/uv/cqfmeasures/StructureDefinition/cqfm-groupId">
          <valueString value="group-1"/>
        </extension>
        <extension
                   url="http://hl7.org/fhir/uv/cqfmeasures/StructureDefinition/cqfm-weight">
          <valueDecimal value="1.0"/>
        </extension>
        <type value="composed-of"/>
        <resource
                  value="http://hl7.org/fhir/uv/cqfmeasures/Measure/MultiRateExample-FHIR"/>
      </valueRelatedArtifact>
    </extension>
    <extension
               url="http://hl7.org/fhir/uv/cqfmeasures/StructureDefinition/cqfm-component">
      <valueRelatedArtifact>
        <extension
                   url="http://hl7.org/fhir/uv/cqfmeasures/StructureDefinition/cqfm-groupId">
          <valueString value="group-2"/>
        </extension>
        <extension
                   url="http://hl7.org/fhir/uv/cqfmeasures/StructureDefinition/cqfm-weight">
          <valueDecimal value="5.0"/>
        </extension>
        <type value="composed-of"/>
        <resource
                  value="http://hl7.org/fhir/uv/cqfmeasures/Measure/MultiRateExample-FHIR"/>
      </valueRelatedArtifact>
    </extension>
    <extension
               url="http://hl7.org/fhir/uv/cqfmeasures/StructureDefinition/cqfm-component">
      <valueRelatedArtifact>
        <extension
                   url="http://hl7.org/fhir/uv/cqfmeasures/StructureDefinition/cqfm-groupId">
          <valueString value="group-3"/>
        </extension>
        <extension
                   url="http://hl7.org/fhir/uv/cqfmeasures/StructureDefinition/cqfm-weight">
          <valueDecimal value="2.5"/>
        </extension>
        <type value="composed-of"/>
        <resource
                  value="http://hl7.org/fhir/uv/cqfmeasures/Measure/MultiRateExample-FHIR"/>
      </valueRelatedArtifact>
    </extension>
    <extension
               url="http://hl7.org/fhir/uv/cqfmeasures/StructureDefinition/cqfm-component">
      <valueRelatedArtifact>
        <extension
                   url="http://hl7.org/fhir/uv/cqfmeasures/StructureDefinition/cqfm-groupId">
          <valueString value="group-4"/>
        </extension>
        <extension
                   url="http://hl7.org/fhir/uv/cqfmeasures/StructureDefinition/cqfm-weight">
          <valueDecimal value="1.0"/>
        </extension>
        <type value="composed-of"/>
        <resource
                  value="http://hl7.org/fhir/uv/cqfmeasures/Measure/MultiRateExample-FHIR"/>
      </valueRelatedArtifact>
    </extension>
    <code>
      <text value="Weighted Average capacity"/>
    </code>
  </group>
</Measure>