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

Draft as of 2026-02-27

Raw ttl | Download

    @prefix fhir: <http://hl7.org/fhir/> .
    @prefix owl: <http://www.w3.org/2002/07/owl#> .
    @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
    @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
    @prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

    # - resource -------------------------------------------------------------------

     a fhir:Library ;
      fhir:nodeRole fhir:treeRoot ;
      fhir:id [ fhir:v "QiCoreProfileValidation"] ; #
      fhir:text [
    fhir:status [ fhir:v "extensions" ] ;
    fhir:div [ fhir:v "<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'#xD;\n#xD;\nusing FHIR version '4.0.1'#xD;\n#xD;\ninclude FHIRHelpers version '4.0.1'#xD;\ninclude QiCoreProfilePatterns version '1.0.0' called Profiles#xD;\n#xD;\ncontext Patient#xD;\n#xD;\ndefine &amp;quot;Initial Population&amp;quot;: true#xD;\n#xD;\ndefine &amp;quot;SDE AdverseEvent&amp;quot;:#xD;\n    Profiles.AdverseEvent#xD;\n#xD;\ndefine &amp;quot;SDE AllergyIntolerance&amp;quot;:#xD;\n    Profiles.AllergyIntolerance#xD;\n#xD;\ndefine &amp;quot;SDE BodyStructure&amp;quot;:#xD;\n    Profiles.BodyStructure#xD;\n#xD;\ndefine &amp;quot;SDE CarePlan&amp;quot;:#xD;\n    Profiles.CarePlan#xD;\n#xD;\ndefine &amp;quot;SDE CareTeam&amp;quot;:#xD;\n    Profiles.CareTeam#xD;\n#xD;\ndefine &amp;quot;SDE Claim&amp;quot;:#xD;\n    Profiles.Claim#xD;\n#xD;\ndefine &amp;quot;SDE Communication&amp;quot;:#xD;\n    Profiles.Communication#xD;\n#xD;\ndefine &amp;quot;SDE CommunicationNotDone&amp;quot;:#xD;\n    Profiles.CommunicationNotDone#xD;\n#xD;\ndefine &amp;quot;SDE CommunicationRequest&amp;quot;:#xD;\n    Profiles.CommunicationRequest#xD;\n#xD;\ndefine &amp;quot;SDE Condition&amp;quot;:#xD;\n    Profiles.Condition#xD;\n#xD;\ndefine &amp;quot;SDE Coverage&amp;quot;:#xD;\n    Profiles.Coverage#xD;\n#xD;\ndefine &amp;quot;SDE Device&amp;quot;:#xD;\n    Profiles.Device#xD;\n#xD;\ndefine &amp;quot;SDE DeviceNotRequested&amp;quot;:#xD;\n    Profiles.DeviceNotRequested#xD;\n#xD;\ndefine &amp;quot;SDE DeviceRequest&amp;quot;:#xD;\n    Profiles.DeviceRequest#xD;\n#xD;\ndefine &amp;quot;SDE DeviceUseStatement&amp;quot;:#xD;\n    Profiles.DeviceUseStatement#xD;\n#xD;\ndefine &amp;quot;SDE DiagnosticReportLab&amp;quot;:#xD;\n    Profiles.DiagnosticReportLab#xD;\n#xD;\ndefine &amp;quot;SDE DiagnosticReportNote&amp;quot;:#xD;\n    Profiles.DiagnosticReportNote#xD;\n#xD;\ndefine &amp;quot;SDE Encounter&amp;quot;:#xD;\n    Profiles.Encounter#xD;\n#xD;\ndefine &amp;quot;SDE EncounterPerformed&amp;quot;:#xD;\n    Profiles.EncounterPerformed#xD;\n#xD;\ndefine &amp;quot;SDE FamilyMemberHistory&amp;quot;:#xD;\n    Profiles.FamilyMemberHistory#xD;\n#xD;\ndefine &amp;quot;SDE Flag&amp;quot;:#xD;\n    Profiles.Flag#xD;\n#xD;\ndefine &amp;quot;SDE Goal&amp;quot;:#xD;\n    Profiles.Goal#xD;\n#xD;\ndefine &amp;quot;SDE ImagingStudy&amp;quot;:#xD;\n    Profiles.ImagingStudy#xD;\n#xD;\ndefine &amp;quot;SDE Immunization&amp;quot;:#xD;\n    Profiles.Immunization#xD;\n#xD;\ndefine &amp;quot;SDE ImmunizationEvaluation&amp;quot;:#xD;\n    Profiles.ImmunizationEvaluation#xD;\n#xD;\ndefine &amp;quot;SDE ImmunizationNotDone&amp;quot;:#xD;\n    Profiles.ImmunizationNotDone#xD;\n#xD;\ndefine &amp;quot;SDE ImmunizationRecommendation&amp;quot;:#xD;\n    Profiles.ImmunizationRecommendation#xD;\n#xD;\ndefine &amp;quot;SDE ImplantableDevice&amp;quot;:#xD;\n    Profiles.ImplantableDevice#xD;\n#xD;\ndefine &amp;quot;SDE Location&amp;quot;:#xD;\n    Profiles.Location#xD;\n#xD;\ndefine &amp;quot;SDE Medication&amp;quot;:#xD;\n    Profiles.Medication#xD;\n#xD;\ndefine &amp;quot;SDE MedicationAdministration&amp;quot;:#xD;\n    Profiles.MedicationAdministration#xD;\n#xD;\ndefine &amp;quot;SDE MedicationAdministrationNotDone&amp;quot;:#xD;\n    Profiles.MedicationAdministrationNotDone#xD;\n#xD;\ndefine &amp;quot;SDE MedicationDispense&amp;quot;:#xD;\n    Profiles.MedicationDispense#xD;\n#xD;\ndefine &amp;quot;SDE MedicationDispenseDeclined&amp;quot;:#xD;\n    Profiles.MedicationDispenseDeclined#xD;\n#xD;\ndefine &amp;quot;SDE MedicationNotRequested&amp;quot;:#xD;\n    Profiles.MedicationNotRequested#xD;\n#xD;\ndefine &amp;quot;SDE MedicationRequest&amp;quot;:#xD;\n    Profiles.MedicationRequest#xD;\n#xD;\ndefine &amp;quot;SDE MedicationStatement&amp;quot;:#xD;\n    Profiles.MedicationStatement#xD;\n#xD;\ndefine &amp;quot;SDE NutritionOrder&amp;quot;:#xD;\n    Profiles.NutritionOrder#xD;\n#xD;\ndefine &amp;quot;SDE Observation&amp;quot;:#xD;\n    Profiles.Observation#xD;\n#xD;\ndefine &amp;quot;SDE ObservationCancelled&amp;quot;:#xD;\n    Profiles.ObservationCancelled#xD;\n#xD;\ndefine &amp;quot;SDE Organization&amp;quot;:#xD;\n    Profiles.Organization#xD;\n#xD;\ndefine &amp;quot;SDE Patient&amp;quot;:#xD;\n    Profiles.Patient#xD;\n#xD;\ndefine &amp;quot;SDE Practitioner&amp;quot;:#xD;\n    Profiles.Practitioner#xD;\n#xD;\ndefine &amp;quot;SDE PractitionerRole&amp;quot;:#xD;\n    Profiles.PractitionerRole#xD;\n#xD;\ndefine &amp;quot;SDE Procedure&amp;quot;:#xD;\n    Profiles.Procedure#xD;\n#xD;\ndefine &amp;quot;SDE ProcedurePerformed&amp;quot;:#xD;\n    Profiles.ProcedurePerformed#xD;\n#xD;\ndefine &amp;quot;SDE ProcedureNotDone&amp;quot;:#xD;\n    Profiles.ProcedureNotDone#xD;\n#xD;\ndefine &amp;quot;SDE RelatedPerson&amp;quot;:#xD;\n    Profiles.RelatedPerson#xD;\n#xD;\ndefine &amp;quot;SDE ServiceNotRequested&amp;quot;:#xD;\n    Profiles.ServiceNotRequested#xD;\n#xD;\ndefine &amp;quot;SDE ServiceRequest&amp;quot;:#xD;\n    Profiles.ServiceRequest#xD;\n#xD;\ndefine &amp;quot;SDE Specimen&amp;quot;:#xD;\n    Profiles.Specimen#xD;\n#xD;\ndefine &amp;quot;SDE Substance&amp;quot;:#xD;\n    Profiles.Substance#xD;\n#xD;\ndefine &amp;quot;SDE Task&amp;quot;:#xD;\n    Profiles.Task#xD;\n#xD;\ndefine &amp;quot;SDE TaskRejected&amp;quot;:#xD;\n    Profiles.TaskRejected</code></pre></td></tr>\n            </table>\n          </td>\n        </tr>\n        \n        \n        \n    </table>\n</div>"^^rdf:XMLLiteral ]
      ] ; #
      fhir:extension ( [
    fhir:url [
    fhir:v "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-softwaresystem"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-softwaresystem>     ] ;
    fhir:value [
    a fhir:Reference ;
    fhir:l fhir:Device/cqf-tooling ;
    fhir:reference [ fhir:v "Device/cqf-tooling" ]     ]
      ] ) ; #
      fhir:url [
    fhir:v "http://cms.gov/fhir/mct/Library/QiCoreProfileValidation"^^xsd:anyURI ;
    fhir:l <http://cms.gov/fhir/mct/Library/QiCoreProfileValidation>
      ] ; #
      fhir:version [ fhir:v "0.1.0"] ; #
      fhir:name [ fhir:v "QiCoreProfileValidation"] ; #
      fhir:title [ fhir:v "QiCore Profile Validation"] ; #
      fhir:status [ fhir:v "draft"] ; #
      fhir:type [
        ( fhir:coding [
    fhir:system [
    fhir:v "http://terminology.hl7.org/CodeSystem/library-type"^^xsd:anyURI ;
    fhir:l <http://terminology.hl7.org/CodeSystem/library-type>       ] ;
    fhir:code [ fhir:v "logic-library" ]     ] )
      ] ; #
      fhir:date [ fhir:v "2026-02-27T18:11:00+00:00"^^xsd:dateTime] ; #
      fhir:publisher [ fhir:v "HL7 International - [Some] Work Group"] ; #
      fhir:contact ( [
        ( fhir:telecom [
    fhir:system [ fhir:v "url" ] ;
    fhir:value [ fhir:v "http://hl7.org/Special/committees/[something]" ]     ] )
      ] ) ; #
      fhir:jurisdiction ( [
        ( fhir:coding [
    fhir:system [
    fhir:v "urn:iso:std:iso:3166"^^xsd:anyURI ;
    fhir:l <urn:iso:std:iso:3166>       ] ;
    fhir:code [ fhir:v "US" ]     ] )
      ] ) ; #
      fhir:content ( [
    fhir:contentType [ fhir:v "text/cql" ] ;
    fhir:data [ fhir:v " "^^xsd:base64Binary ]
      ] ) . #