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

Draft as of 2026-02-27

Raw json | Download

    {
      "resourceType" : "Library",
      "id" : "QiCoreProfileValidation",
      "text" : {
        "status" : "extensions",
        "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n    <table class=\"grid dict\">\n        \n        <tr>\n            <th scope=\"row\"><b>Id: </b></th>\n            <td style=\"padding-left: 4px;\">QiCoreProfileValidation</td>\n        </tr>\n        \n        \n        <tr>\n            <th scope=\"row\"><b>Url: </b></th>\n            <td style=\"padding-left: 4px;\"><a href=\"Library-QiCoreProfileValidation.html\">QiCore Profile Validation</a></td>\n        </tr>\n        \n        \n        <tr>\n            <th scope=\"row\"><b>Version: </b></th>\n            <td style=\"padding-left: 4px;\">0.1.0</td>\n        </tr>\n        \n        \n        \n        <tr>\n            <th scope=\"row\"><b>Name: </b></th>\n            <td style=\"padding-left: 4px;\">QiCoreProfileValidation</td>\n        </tr>\n        \n        \n        <tr>\n            <th scope=\"row\"><b>Title: </b></th>\n            <td style=\"padding-left: 4px;\">QiCore Profile Validation</td>\n        </tr>\n        \n        \n        \n        <tr>\n            <th scope=\"row\"><b>Status: </b></th>\n            <td style=\"padding-left: 4px;\">draft</td>\n        </tr>\n        \n        \n        \n        <tr>\n            <th scope=\"row\"><b>Type: </b></th>\n            <td style=\"padding-left: 4px;\">\n                \n                    \n                        \n                        <p style=\"margin-bottom: 5px;\">\n                            <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>\n                        </p>\n                        \n                        \n                        <p style=\"margin-bottom: 5px;\">\n                            <b>code: </b> <span>logic-library</span>\n                        </p>\n                        \n                        \n                    \n                \n                \n            </td>\n        </tr>\n        \n        \n        \n        <tr>\n            <th scope=\"row\"><b>Date: </b></th>\n            <td style=\"padding-left: 4px;\">2026-02-27 18:11:00+0000</td>\n        </tr>\n        \n        \n        <tr>\n            <th scope=\"row\"><b>Publisher: </b></th>\n            <td style=\"padding-left: 4px;\">HL7 International - [Some] Work Group</td>\n        </tr>\n        \n        \n        \n        \n        \n        \n        <tr>\n            <th scope=\"row\"><b>Jurisdiction: </b></th>\n            <td style=\"padding-left: 4px;\">US</td>\n        </tr>\n        \n        \n        \n        \n        \n        \n        \n        \n        \n        \n        \n        \n        <tr>\n          <td colspan=\"2\">\n            <table>\n              <tr><th><a id=\"cql-content\"><b>Content: </b></a> text/cql</th></tr>\n              <tr><td><pre><code class=\"language-cql\">library QiCoreProfileValidation version '1.0.0'\r\n\r\nusing FHIR version '4.0.1'\r\n\r\ninclude FHIRHelpers version '4.0.1'\r\ninclude QiCoreProfilePatterns version '1.0.0' called Profiles\r\n\r\ncontext Patient\r\n\r\ndefine &amp;quot;Initial Population&amp;quot;: true\r\n\r\ndefine &amp;quot;SDE AdverseEvent&amp;quot;:\r\n    Profiles.AdverseEvent\r\n\r\ndefine &amp;quot;SDE AllergyIntolerance&amp;quot;:\r\n    Profiles.AllergyIntolerance\r\n\r\ndefine &amp;quot;SDE BodyStructure&amp;quot;:\r\n    Profiles.BodyStructure\r\n\r\ndefine &amp;quot;SDE CarePlan&amp;quot;:\r\n    Profiles.CarePlan\r\n\r\ndefine &amp;quot;SDE CareTeam&amp;quot;:\r\n    Profiles.CareTeam\r\n\r\ndefine &amp;quot;SDE Claim&amp;quot;:\r\n    Profiles.Claim\r\n\r\ndefine &amp;quot;SDE Communication&amp;quot;:\r\n    Profiles.Communication\r\n\r\ndefine &amp;quot;SDE CommunicationNotDone&amp;quot;:\r\n    Profiles.CommunicationNotDone\r\n\r\ndefine &amp;quot;SDE CommunicationRequest&amp;quot;:\r\n    Profiles.CommunicationRequest\r\n\r\ndefine &amp;quot;SDE Condition&amp;quot;:\r\n    Profiles.Condition\r\n\r\ndefine &amp;quot;SDE Coverage&amp;quot;:\r\n    Profiles.Coverage\r\n\r\ndefine &amp;quot;SDE Device&amp;quot;:\r\n    Profiles.Device\r\n\r\ndefine &amp;quot;SDE DeviceNotRequested&amp;quot;:\r\n    Profiles.DeviceNotRequested\r\n\r\ndefine &amp;quot;SDE DeviceRequest&amp;quot;:\r\n    Profiles.DeviceRequest\r\n\r\ndefine &amp;quot;SDE DeviceUseStatement&amp;quot;:\r\n    Profiles.DeviceUseStatement\r\n\r\ndefine &amp;quot;SDE DiagnosticReportLab&amp;quot;:\r\n    Profiles.DiagnosticReportLab\r\n\r\ndefine &amp;quot;SDE DiagnosticReportNote&amp;quot;:\r\n    Profiles.DiagnosticReportNote\r\n\r\ndefine &amp;quot;SDE Encounter&amp;quot;:\r\n    Profiles.Encounter\r\n\r\ndefine &amp;quot;SDE EncounterPerformed&amp;quot;:\r\n    Profiles.EncounterPerformed\r\n\r\ndefine &amp;quot;SDE FamilyMemberHistory&amp;quot;:\r\n    Profiles.FamilyMemberHistory\r\n\r\ndefine &amp;quot;SDE Flag&amp;quot;:\r\n    Profiles.Flag\r\n\r\ndefine &amp;quot;SDE Goal&amp;quot;:\r\n    Profiles.Goal\r\n\r\ndefine &amp;quot;SDE ImagingStudy&amp;quot;:\r\n    Profiles.ImagingStudy\r\n\r\ndefine &amp;quot;SDE Immunization&amp;quot;:\r\n    Profiles.Immunization\r\n\r\ndefine &amp;quot;SDE ImmunizationEvaluation&amp;quot;:\r\n    Profiles.ImmunizationEvaluation\r\n\r\ndefine &amp;quot;SDE ImmunizationNotDone&amp;quot;:\r\n    Profiles.ImmunizationNotDone\r\n\r\ndefine &amp;quot;SDE ImmunizationRecommendation&amp;quot;:\r\n    Profiles.ImmunizationRecommendation\r\n\r\ndefine &amp;quot;SDE ImplantableDevice&amp;quot;:\r\n    Profiles.ImplantableDevice\r\n\r\ndefine &amp;quot;SDE Location&amp;quot;:\r\n    Profiles.Location\r\n\r\ndefine &amp;quot;SDE Medication&amp;quot;:\r\n    Profiles.Medication\r\n\r\ndefine &amp;quot;SDE MedicationAdministration&amp;quot;:\r\n    Profiles.MedicationAdministration\r\n\r\ndefine &amp;quot;SDE MedicationAdministrationNotDone&amp;quot;:\r\n    Profiles.MedicationAdministrationNotDone\r\n\r\ndefine &amp;quot;SDE MedicationDispense&amp;quot;:\r\n    Profiles.MedicationDispense\r\n\r\ndefine &amp;quot;SDE MedicationDispenseDeclined&amp;quot;:\r\n    Profiles.MedicationDispenseDeclined\r\n\r\ndefine &amp;quot;SDE MedicationNotRequested&amp;quot;:\r\n    Profiles.MedicationNotRequested\r\n\r\ndefine &amp;quot;SDE MedicationRequest&amp;quot;:\r\n    Profiles.MedicationRequest\r\n\r\ndefine &amp;quot;SDE MedicationStatement&amp;quot;:\r\n    Profiles.MedicationStatement\r\n\r\ndefine &amp;quot;SDE NutritionOrder&amp;quot;:\r\n    Profiles.NutritionOrder\r\n\r\ndefine &amp;quot;SDE Observation&amp;quot;:\r\n    Profiles.Observation\r\n\r\ndefine &amp;quot;SDE ObservationCancelled&amp;quot;:\r\n    Profiles.ObservationCancelled\r\n\r\ndefine &amp;quot;SDE Organization&amp;quot;:\r\n    Profiles.Organization\r\n\r\ndefine &amp;quot;SDE Patient&amp;quot;:\r\n    Profiles.Patient\r\n\r\ndefine &amp;quot;SDE Practitioner&amp;quot;:\r\n    Profiles.Practitioner\r\n\r\ndefine &amp;quot;SDE PractitionerRole&amp;quot;:\r\n    Profiles.PractitionerRole\r\n\r\ndefine &amp;quot;SDE Procedure&amp;quot;:\r\n    Profiles.Procedure\r\n\r\ndefine &amp;quot;SDE ProcedurePerformed&amp;quot;:\r\n    Profiles.ProcedurePerformed\r\n\r\ndefine &amp;quot;SDE ProcedureNotDone&amp;quot;:\r\n    Profiles.ProcedureNotDone\r\n\r\ndefine &amp;quot;SDE RelatedPerson&amp;quot;:\r\n    Profiles.RelatedPerson\r\n\r\ndefine &amp;quot;SDE ServiceNotRequested&amp;quot;:\r\n    Profiles.ServiceNotRequested\r\n\r\ndefine &amp;quot;SDE ServiceRequest&amp;quot;:\r\n    Profiles.ServiceRequest\r\n\r\ndefine &amp;quot;SDE Specimen&amp;quot;:\r\n    Profiles.Specimen\r\n\r\ndefine &amp;quot;SDE Substance&amp;quot;:\r\n    Profiles.Substance\r\n\r\ndefine &amp;quot;SDE Task&amp;quot;:\r\n    Profiles.Task\r\n\r\ndefine &amp;quot;SDE TaskRejected&amp;quot;:\r\n    Profiles.TaskRejected</code></pre></td></tr>\n            </table>\n          </td>\n        </tr>\n        \n        \n        \n    </table>\n</div>"
      },
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-softwaresystem",
          "valueReference" : {
            🔗 "reference" : "Device/cqf-tooling"
          }
        }
      ],
      "url" : "http://cms.gov/fhir/mct/Library/QiCoreProfileValidation",
      "version" : "0.1.0",
      "name" : "QiCoreProfileValidation",
      "title" : "QiCore Profile Validation",
      "status" : "draft",
      "type" : {
        "coding" : [
          {
            "system" : "http://terminology.hl7.org/CodeSystem/library-type",
            "code" : "logic-library"
          }
        ]
      },
      "date" : "2026-02-27T18:11:00+00:00",
      "publisher" : "HL7 International - [Some] Work Group",
      "contact" : [
        {
          "telecom" : [
            {
              "system" : "url",
              "value" : "http://hl7.org/Special/committees/[something]"
            }
          ]
        }
      ],
      "jurisdiction" : [
        {
          "coding" : [
            {
              "system" : "urn:iso:std:iso:3166",
              "code" : "US"
            }
          ]
        }
      ],
      "content" : [
        {
          "contentType" : "text/cql",
          "data" : " "
        }
      ]
    }