Quality Measure Implementation Guide
2.0.0-ballot - STU 2 Ballot

Quality Measure Implementation Guide - Downloaded Version null See the Directory of published versions

## : EXM Improvement Activities

Page standards status: Informative

Raw xml | Download

    <Library xmlns="http://hl7.org/fhir">
      <id value="EXMIA"/>
      <language value="en"/>
      <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">EXM Improvement Activities</td>

    </tr>

    <tr>

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

    <td class="content-container">2.0.0-ballot</td>

    </tr>

    <tr>

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

    <td class="content-container">urn:oid:2.16.840.1.113883.4.642.40.61.28.17</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">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">Topic</th>

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

    </tr>

    <tr>

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

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

    </tr>

    <tr>

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

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

    </tr>

    <tr>

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

    <td class="content-container"><div><p>This library provides an example of logic for an IA (Improvement Activities) measure.</p>
    </div></td>

    </tr>

    <tr>

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

    <td class="content-container">
        logic-library from <a href="http://terminology.hl7.org/7.1.0/CodeSystem-library-type.html">http://terminology.hl7.org/CodeSystem/library-type</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>: <a href="http://hl7.org/fhir/uv/cql/STU2/Library-FHIRHelpers.html">http://hl7.org/fhir/uv/cql/Library/FHIRHelpers|4.0.1</a>
        <br/>
        <em>Canonical URL</em>: <tt>http://hl7.org/fhir/uv/cql/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 Attestation Question

        <br/>

        <em>Resource</em>: <code>http://example.org/fhir/ValueSet/attestation-question</code>
        <br/>
        <em>Canonical URL</em>: <tt>http://example.org/fhir/ValueSet/attestation-question</tt>

      </td>
    </tr>

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

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

        <a href="http://hl7.org/fhir/R4/observation.html">Observation</a>
        <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/attestation-question</code>
        <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>Practitioner</td>
              <td>Out</td>
              <td>0..1</td>
              <td>Practitioner</td>
              <td/>
            </tr>

            <tr>
              <td>Measure Population</td>
              <td>Out</td>
              <td>0..1</td>
              <td>Practitioner</td>
              <td/>
            </tr>

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

      <tr>

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

    </tr>

        <tr>
          <th scope="row" class="row-header">CQL Content</th>
          <td>
            <a name="cql-content"> </a>
            <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">library EXMIA

    using FHIR version '4.0.1'

    include hl7.fhir.uv.cql.FHIRHelpers version '4.0.1' called FHIRHelpers

    valueset &quot;Attestation Question&quot;: 'http://example.org/fhir/ValueSet/attestation-question'

    context Practitioner

    define &quot;Measure Population&quot;:
      Practitioner

    define function &quot;Measure Observation&quot;(Practitioner Practitioner):
      [Observation: &quot;Attestation Question&quot;] O
        return FHIRHelpers.ToBoolean(O.value)
    </code></pre>
          </td>
        </tr>

        <tr>
          <th scope="row" class="row-header">ELM XML Content</th>
          <td>
            <pre style="border: none;" class="content-container highlight language-cql"><code>Encoded data </code></pre>
          </td>
        </tr>

        <tr>
          <th scope="row" class="row-header">ELM JSON Content</th>
          <td>
            <pre style="border: none;" class="content-container highlight language-cql"><code>Encoded data </code></pre>
          </td>
        </tr>

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

        </tbody>
      </table>
    </div>
      </text>
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/structuredefinition-wg">
        <valueCode value="cqi"/>
      </extension>
      <url value="http://hl7.org/fhir/uv/cqm/Library/EXMIA"/>
      <identifier>
        <system value="urn:ietf:rfc:3986"/>
        <value value="urn:oid:2.16.840.1.113883.4.642.40.61.28.17"/>
      </identifier>
      <version value="2.0.0-ballot"/>
      <name value="EXMIA"/>
      <title value="EXM Improvement Activities"/>
      <status value="active"/>
      <experimental value="true"/>
      <type>
        <coding>
          <system value="http://terminology.hl7.org/CodeSystem/library-type"/>
          <code value="logic-library"/>
        </coding>
      </type>
      <date value="2026-04-07T02:06:45+10: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 library provides an example of logic for an IA (Improvement Activities) measure."/>
      <jurisdiction>
        <coding>
          <system value="http://unstats.un.org/unsd/methods/m49/m49.htm"/>
          <code value="001"/>
        </coding>
      </jurisdiction>
      <topic>
        <text value="FHIR"/>
      </topic>
      <topic>
        <text value="CQL"/>
      </topic>
      <relatedArtifact>
        <type value="depends-on"/>
        <display value="Library FHIRHelpers"/>
        <resource value="http://hl7.org/fhir/uv/cql/Library/FHIRHelpers|4.0.1"/>
      </relatedArtifact>
      <relatedArtifact>
        <type value="depends-on"/>
        <display value="Value Set Attestation Question"/>
        <resource value="http://example.org/fhir/ValueSet/attestation-question"/>
      </relatedArtifact>
      <parameter>
        <name value="Practitioner"/>
        <use value="out"/>
        <min value="0"/>
        <max value="1"/>
        <type value="Practitioner"/>
      </parameter>
      <parameter>
        <name value="Measure Population"/>
        <use value="out"/>
        <min value="0"/>
        <max value="1"/>
        <type value="Practitioner"/>
      </parameter>
      <dataRequirement>
        <type value="Observation"/>
        <profile value="http://hl7.org/fhir/StructureDefinition/Observation"/>
        <codeFilter>
          <path value="code"/>
          <valueSet
                    value="http://example.org/fhir/ValueSet/attestation-question"/>
        </codeFilter>
      </dataRequirement>
      <content>
        <contentType value="text/cql"/>
        <data
              value=" "/>
      </content>
      <content>
        <contentType value="application/elm+xml"/>
        <data
              value=" "/>
      </content>
      <content>
        <contentType value="application/elm+json"/>
        <data
              value=" "/>
      </content>
    </Library>