# CQM CQL Measure - Quality Measure Implementation Guide v2.0.0-ballot

## Resource Profile: CQM CQL Measure 

 
The cqm CQL Measure Profile describes minimum expectations for a computable electronic Quality Measure (QM) that uses Clinical Quality Language to represent computable logic in the measure. 

**Usages:**

* Examples for this Profile: [BCSComponent](Measure-BCSComponent.md), [CCSComponent](Measure-CCSComponent.md), [EXM108](Measure-EXM108-FHIR.md), [EXM124](Measure-EXM124-FHIR.md)... Show 5 more, [EXM125](Measure-EXM125-FHIR.md), [EXM130](Measure-EXM130-FHIR.md), [EXM146](Measure-EXM146-FHIR.md), [MeasureEXM](Measure-EXMLogic-FHIR.md) and [EXMRatioMeasure](Measure-EXMRatio-FHIR.md)

You can also check for [usages in the FHIR IG Statistics](https://packages2.fhir.org/xig/hl7.fhir.uv.cqm|current/StructureDefinition/cqm-cqlmeasure)

### Formal Views of Profile Content

 [Description Differentials, Snapshots, and other representations](http://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#structure-definitions). 

 

Other representations of profile: [CSV](../StructureDefinition-cqm-cqlmeasure.csv), [Excel](../StructureDefinition-cqm-cqlmeasure.xlsx), [Schematron](../StructureDefinition-cqm-cqlmeasure.sch) 



## Resource Content

```json
{
  "resourceType" : "StructureDefinition",
  "id" : "cqm-cqlmeasure",
  "extension" : [{
    "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
    "valueCode" : "cqi"
  },
  {
    "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
    "valueInteger" : 4,
    "_valueInteger" : {
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom",
        "valueCanonical" : "http://hl7.org/fhir/uv/cqm/ImplementationGuide/hl7.fhir.uv.cqm"
      }]
    }
  },
  {
    "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
    "valueCode" : "trial-use",
    "_valueCode" : {
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom",
        "valueCanonical" : "http://hl7.org/fhir/uv/cqm/ImplementationGuide/hl7.fhir.uv.cqm"
      }]
    }
  }],
  "url" : "http://hl7.org/fhir/uv/cqm/StructureDefinition/cqm-cqlmeasure",
  "identifier" : [{
    "system" : "urn:ietf:rfc:3986",
    "value" : "urn:oid:2.16.840.1.113883.4.642.40.61.42.9"
  }],
  "version" : "1.0.0",
  "name" : "CQMCQLMeasure",
  "title" : "CQM CQL Measure",
  "status" : "active",
  "experimental" : false,
  "date" : "2026-04-07T02:06:45+10:00",
  "publisher" : "HL7 International / Clinical Quality Information",
  "contact" : [{
    "telecom" : [{
      "system" : "url",
      "value" : "http://www.hl7.org/Special/committees/cqi"
    }]
  }],
  "description" : "The cqm CQL Measure Profile describes minimum expectations for a computable electronic Quality Measure (QM) that uses Clinical Quality Language to represent computable logic in the measure.",
  "jurisdiction" : [{
    "coding" : [{
      "system" : "http://unstats.un.org/unsd/methods/m49/m49.htm",
      "code" : "001"
    }]
  }],
  "fhirVersion" : "4.0.1",
  "mapping" : [{
    "identity" : "rim",
    "uri" : "http://hl7.org/v3",
    "name" : "RIM Mapping"
  },
  {
    "identity" : "workflow",
    "uri" : "http://hl7.org/fhir/workflow",
    "name" : "Workflow Pattern"
  },
  {
    "identity" : "w5",
    "uri" : "http://hl7.org/fhir/fivews",
    "name" : "FiveWs Pattern Mapping"
  },
  {
    "identity" : "objimpl",
    "uri" : "http://hl7.org/fhir/object-implementation",
    "name" : "Object Implementation Information"
  }],
  "kind" : "resource",
  "abstract" : false,
  "type" : "Measure",
  "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Measure",
  "derivation" : "constraint",
  "differential" : {
    "element" : [{
      "id" : "Measure",
      "path" : "Measure",
      "mustSupport" : true
    },
    {
      "id" : "Measure.library",
      "path" : "Measure.library",
      "max" : "1",
      "type" : [{
        "code" : "canonical",
        "targetProfile" : ["http://hl7.org/fhir/uv/cql/StructureDefinition/cql-library"]
      }],
      "mustSupport" : true
    },
    {
      "id" : "Measure.group",
      "path" : "Measure.group",
      "mustSupport" : true
    },
    {
      "id" : "Measure.group.population",
      "path" : "Measure.group.population",
      "condition" : ["cql-32"],
      "constraint" : [{
        "key" : "cql-32",
        "severity" : "error",
        "human" : "Computable measures must use text/cql-expression or text/cql-identifier for all criteria",
        "expression" : "criteria.language in ('text/cql-expression' | 'text/cql-identifier')"
      }],
      "mustSupport" : true
    },
    {
      "id" : "Measure.group.stratifier",
      "path" : "Measure.group.stratifier",
      "condition" : ["cql-33"],
      "constraint" : [{
        "key" : "cql-33",
        "severity" : "error",
        "human" : "CQL measures must use text/cql-expression, text/cql-identifier, or text/fhirpath for all stratifier criteria",
        "expression" : "criteria.language in ('text/cql-expression' | 'text/cql-identifier' | 'text/fhirpath')"
      }],
      "mustSupport" : true
    },
    {
      "id" : "Measure.group.stratifier.component",
      "path" : "Measure.group.stratifier.component",
      "condition" : ["cql-34"],
      "constraint" : [{
        "key" : "cql-34",
        "severity" : "error",
        "human" : "CQL measures must use text/cql-expression, text/cql-identifier, or text/fhirpath for all stratifier component criteria",
        "expression" : "criteria.language in ('text/cql-expression' | 'text/cql-identifier' | 'text/fhirpath')"
      }],
      "mustSupport" : true
    },
    {
      "id" : "Measure.supplementalData",
      "path" : "Measure.supplementalData",
      "condition" : ["cql-35"],
      "constraint" : [{
        "key" : "cql-35",
        "severity" : "error",
        "human" : "CQL measures must use text/cql-expression, text/cql-identifier, or text/fhirpath for all supplemental data criteria",
        "expression" : "criteria.language in ('text/cql-expression' | 'text/cql-identifier' | 'text/fhirpath')"
      }],
      "mustSupport" : true
    }]
  }
}

```
