CMS FHIR Prototype Measure Calculation Tool IG
0.1.0 - CI Build

CMS FHIR Prototype Measure Calculation Tool IG, published by HL7 International - [Some] Work Group. This guide is not an authorized publication; it is the continuous build for version 0.1.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/cqframework/mct-ig/ and changes regularly. See the Directory of published versions

## : QiCore Profile Validation - XML Representation

Draft as of 2026-02-27

Raw xml | Download

    <Library xmlns="http://hl7.org/fhir">
      <id value="QiCoreProfileValidation"/>
      <text>
        <status value="extensions"/>
        <div xmlns="http://www.w3.org/1999/xhtml">
        <table class="grid dict">

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

            <tr>
                <th scope="row"><b>Url: </b></th>
                <td style="padding-left: 4px;"><a href="Library-QiCoreProfileValidation.html">QiCore Profile Validation</a></td>
            </tr>

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

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

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

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

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

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

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

                </td>
            </tr>

            <tr>
                <th scope="row"><b>Date: </b></th>
                <td style="padding-left: 4px;">2026-02-27 18:11:00+0000</td>
            </tr>

            <tr>
                <th scope="row"><b>Publisher: </b></th>
                <td style="padding-left: 4px;">HL7 International - [Some] Work Group</td>
            </tr>

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

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

    using FHIR version '4.0.1'

    include FHIRHelpers version '4.0.1'
    include QiCoreProfilePatterns version '1.0.0' called Profiles

    context Patient

    define &amp;quot;Initial Population&amp;quot;: true

    define &amp;quot;SDE AdverseEvent&amp;quot;:
        Profiles.AdverseEvent

    define &amp;quot;SDE AllergyIntolerance&amp;quot;:
        Profiles.AllergyIntolerance

    define &amp;quot;SDE BodyStructure&amp;quot;:
        Profiles.BodyStructure

    define &amp;quot;SDE CarePlan&amp;quot;:
        Profiles.CarePlan

    define &amp;quot;SDE CareTeam&amp;quot;:
        Profiles.CareTeam

    define &amp;quot;SDE Claim&amp;quot;:
        Profiles.Claim

    define &amp;quot;SDE Communication&amp;quot;:
        Profiles.Communication

    define &amp;quot;SDE CommunicationNotDone&amp;quot;:
        Profiles.CommunicationNotDone

    define &amp;quot;SDE CommunicationRequest&amp;quot;:
        Profiles.CommunicationRequest

    define &amp;quot;SDE Condition&amp;quot;:
        Profiles.Condition

    define &amp;quot;SDE Coverage&amp;quot;:
        Profiles.Coverage

    define &amp;quot;SDE Device&amp;quot;:
        Profiles.Device

    define &amp;quot;SDE DeviceNotRequested&amp;quot;:
        Profiles.DeviceNotRequested

    define &amp;quot;SDE DeviceRequest&amp;quot;:
        Profiles.DeviceRequest

    define &amp;quot;SDE DeviceUseStatement&amp;quot;:
        Profiles.DeviceUseStatement

    define &amp;quot;SDE DiagnosticReportLab&amp;quot;:
        Profiles.DiagnosticReportLab

    define &amp;quot;SDE DiagnosticReportNote&amp;quot;:
        Profiles.DiagnosticReportNote

    define &amp;quot;SDE Encounter&amp;quot;:
        Profiles.Encounter

    define &amp;quot;SDE EncounterPerformed&amp;quot;:
        Profiles.EncounterPerformed

    define &amp;quot;SDE FamilyMemberHistory&amp;quot;:
        Profiles.FamilyMemberHistory

    define &amp;quot;SDE Flag&amp;quot;:
        Profiles.Flag

    define &amp;quot;SDE Goal&amp;quot;:
        Profiles.Goal

    define &amp;quot;SDE ImagingStudy&amp;quot;:
        Profiles.ImagingStudy

    define &amp;quot;SDE Immunization&amp;quot;:
        Profiles.Immunization

    define &amp;quot;SDE ImmunizationEvaluation&amp;quot;:
        Profiles.ImmunizationEvaluation

    define &amp;quot;SDE ImmunizationNotDone&amp;quot;:
        Profiles.ImmunizationNotDone

    define &amp;quot;SDE ImmunizationRecommendation&amp;quot;:
        Profiles.ImmunizationRecommendation

    define &amp;quot;SDE ImplantableDevice&amp;quot;:
        Profiles.ImplantableDevice

    define &amp;quot;SDE Location&amp;quot;:
        Profiles.Location

    define &amp;quot;SDE Medication&amp;quot;:
        Profiles.Medication

    define &amp;quot;SDE MedicationAdministration&amp;quot;:
        Profiles.MedicationAdministration

    define &amp;quot;SDE MedicationAdministrationNotDone&amp;quot;:
        Profiles.MedicationAdministrationNotDone

    define &amp;quot;SDE MedicationDispense&amp;quot;:
        Profiles.MedicationDispense

    define &amp;quot;SDE MedicationDispenseDeclined&amp;quot;:
        Profiles.MedicationDispenseDeclined

    define &amp;quot;SDE MedicationNotRequested&amp;quot;:
        Profiles.MedicationNotRequested

    define &amp;quot;SDE MedicationRequest&amp;quot;:
        Profiles.MedicationRequest

    define &amp;quot;SDE MedicationStatement&amp;quot;:
        Profiles.MedicationStatement

    define &amp;quot;SDE NutritionOrder&amp;quot;:
        Profiles.NutritionOrder

    define &amp;quot;SDE Observation&amp;quot;:
        Profiles.Observation

    define &amp;quot;SDE ObservationCancelled&amp;quot;:
        Profiles.ObservationCancelled

    define &amp;quot;SDE Organization&amp;quot;:
        Profiles.Organization

    define &amp;quot;SDE Patient&amp;quot;:
        Profiles.Patient

    define &amp;quot;SDE Practitioner&amp;quot;:
        Profiles.Practitioner

    define &amp;quot;SDE PractitionerRole&amp;quot;:
        Profiles.PractitionerRole

    define &amp;quot;SDE Procedure&amp;quot;:
        Profiles.Procedure

    define &amp;quot;SDE ProcedurePerformed&amp;quot;:
        Profiles.ProcedurePerformed

    define &amp;quot;SDE ProcedureNotDone&amp;quot;:
        Profiles.ProcedureNotDone

    define &amp;quot;SDE RelatedPerson&amp;quot;:
        Profiles.RelatedPerson

    define &amp;quot;SDE ServiceNotRequested&amp;quot;:
        Profiles.ServiceNotRequested

    define &amp;quot;SDE ServiceRequest&amp;quot;:
        Profiles.ServiceRequest

    define &amp;quot;SDE Specimen&amp;quot;:
        Profiles.Specimen

    define &amp;quot;SDE Substance&amp;quot;:
        Profiles.Substance

    define &amp;quot;SDE Task&amp;quot;:
        Profiles.Task

    define &amp;quot;SDE TaskRejected&amp;quot;:
        Profiles.TaskRejected</code></pre></td></tr>
                </table>
              </td>
            </tr>

        </table>
    </div>
      </text>
      <extension
                 url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-softwaresystem">
        <valueReference>🔗
          <reference value="Device/cqf-tooling"/>
        </valueReference>
      </extension>
      <url value="http://cms.gov/fhir/mct/Library/QiCoreProfileValidation"/>
      <version value="0.1.0"/>
      <name value="QiCoreProfileValidation"/>
      <title value="QiCore Profile Validation"/>
      <status value="draft"/>
      <type>
        <coding>
          <system value="http://terminology.hl7.org/CodeSystem/library-type"/>
          <code value="logic-library"/>
        </coding>
      </type>
      <date value="2026-02-27T18:11:00+00:00"/>
      <publisher value="HL7 International - [Some] Work Group"/>
      <contact>
        <telecom>
          <system value="url"/>
          <value value="http://hl7.org/Special/committees/[something]"/>
        </telecom>
      </contact>
      <jurisdiction>
        <coding>
          <system value="urn:iso:std:iso:3166"/>
          <code value="US"/>
        </coding>
      </jurisdiction>
      <content>
        <contentType value="text/cql"/>
        <data
              value=" "/>
      </content>
    </Library>