FHIR © HL7.org  |  Server Home  |  XIG Home  |  XIG Stats  |  Server Source  |  FHIR  

FHIR IG Statistics: StructureDefinition/cqm-populationBasis

Packagehl7.fhir.uv.cqm
Resource TypeStructureDefinition
Idcqm-populationBasis
FHIR VersionR4
Sourcehttp://hl7.org/fhir/uv/cqm/https://build.fhir.org/ig/HL7/fhir-cqm/StructureDefinition-cqm-populationBasis.html
URLhttp://hl7.org/fhir/uv/cqm/StructureDefinition/cqm-populationBasis
Version1.0.0
Statusactive
Date2025-08-08T21:17:28+00:00
NameCQMPopulationBasis
TitleCQM Population Basis
Realmuv
Authorityhl7
DescriptionThe population basis specifies the type of elements in the population. For a subject-based measure, this is boolean (because the subject and the population basis are the same, and the population criteria define yes/no values for each individual in the population). For measures that have a population basis that is different than the subject, this element specifies the type of the population basis. For example, an encounter-based measure has a subject of Patient and a population basis of Encounter, and the population criteria all return lists of Encounters. Note that the subject of a measure can be found in the element [subject[x].](https://hl7.org/fhir/uv/cqm/StructureDefinition-cqm-computablemeasure-definitions.html#Measure.subject[x])
PurposeA measure specification needs to be able to specify the expected result type of each population criteria. This value SHALL be consistent with the result type of all population-level criteria in the measure.
TypeExtension
Kindcomplex-type

Resources that use this resource

StructureDefinition
cqm-computablemeasureCQM Computable Measure
cqm-ratiomeasureCQM Ratio Measure

Resources that this resource uses

No resources found


Examples of Use for Extension

ResourceVersion
hl7.fhir.uv.cqm#current:Measure/BCSComponentR4
hl7.fhir.uv.cqm#current:Measure/CCSComponentR4
hl7.fhir.uv.cqm#current:Measure/EXM108-FHIRR4
hl7.fhir.uv.cqm#current:Measure/EXM124-FHIRR4
hl7.fhir.uv.cqm#current:Measure/EXM125-FHIRR4
hl7.fhir.uv.cqm#current:Measure/EXM130-FHIRR4
hl7.fhir.uv.cqm#current:Measure/EXM146-FHIRR4
hl7.fhir.uv.cqm#current:Measure/EXM55-FHIRR4
hl7.fhir.uv.cqm#current:Measure/EXMLogic-FHIRR4
hl7.fhir.uv.cqm#current:Measure/EXMRatio-FHIRR4
hl7.fhir.uv.cqm#current:Measure/HBPComponentR4
hl7.fhir.uv.cqm#current:Measure/MultiRateExample-FHIRR4
hl7.fhir.uv.cqm#current:Measure/PVSComponentR4
hl7.fhir.uv.cqm#current:Measure/TSCComponentR4
hl7.fhir.uv.cqm#current:Measure/Terminology-FHIRR4
hl7.fhir.uv.cqm#current:Measure/age-stratified-exampleR4
hl7.fhir.uv.cqm#current:Measure/measure-publishable-exmR4

Narrative

Note: links and images are rebased to the (stated) source

Generated Narrative: StructureDefinition cqm-populationBasis

NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension C0..*ExtensionWhat type of population
Constraints: popBasis-1
... url 1..1uri"http://hl7.org/fhir/uv/cqm/StructureDefinition/cqm-populationBasis"
... value[x] 0..1Value of extension
Binding: FHIRAllTypes (required): The type of elements in the population
.... valueCodecode
.... valueDataRequirementDataRequirement

doco Documentation for this format

Source

{
  "resourceType": "StructureDefinition",
  "id": "cqm-populationBasis",
  "text": {
    "status": "extensions",
    "div": "<!-- snip (see above) -->"
  },
  "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-populationBasis",
  "identifier": [
    {
      "system": "urn:ietf:rfc:3986",
      "value": "urn:oid:2.16.840.1.113883.4.642.40.61.42.21"
    }
  ],
  "version": "1.0.0",
  "name": "CQMPopulationBasis",
  "title": "CQM Population Basis",
  "status": "active",
  "experimental": false,
  "date": "2025-08-08T21:17:28+00:00",
  "publisher": "HL7 International / Clinical Quality Information",
  "contact": [
    {
      "telecom": [
        {
          "system": "url",
          "value": "http://www.hl7.org/Special/committees/cqi"
        }
      ]
    }
  ],
  "description": "The population basis specifies the type of elements in the population. For a subject-based measure, this is boolean (because the subject and the population basis are the same, and the population criteria define yes/no values for each individual in the population). For measures that have a population basis that is different than the subject, this element specifies the type of the population basis. For example, an encounter-based measure has a subject of Patient and a population basis of Encounter, and the population criteria all return lists of Encounters. Note that the subject of a measure can be found in the element [subject[x].](https://hl7.org/fhir/uv/cqm/StructureDefinition-cqm-computablemeasure-definitions.html#Measure.subject[x])",
  "jurisdiction": [
    {
      "coding": [
        {
          "system": "http://unstats.un.org/unsd/methods/m49/m49.htm",
          "code": "001"
        }
      ]
    }
  ],
  "purpose": "A measure specification needs to be able to specify the expected result type of each population criteria. This value SHALL be consistent with the result type of all population-level criteria in the measure.",
  "fhirVersion": "4.0.1",
  "mapping": [
    {
      "identity": "rim",
      "uri": "http://hl7.org/v3",
      "name": "RIM Mapping"
    }
  ],
  "kind": "complex-type",
  "abstract": false,
  "context": [
    {
      "type": "element",
      "expression": "Measure"
    },
    {
      "type": "element",
      "expression": "Measure.group"
    },
    {
      "type": "element",
      "expression": "Measure.group.population"
    }
  ],
  "type": "Extension",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension",
  "derivation": "constraint",
  "snapshot": {
    "extension": [
      {
        "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version",
        "valueString": "4.0.1"
      }
    ],
    "element": [
      {
        "id": "Extension",
        "path": "Extension",
        "short": "What type of population",
        "definition": "The population basis specifies the type of elements in the population. For a subject-based measure, this is boolean (because the subject and the population basis are the same, and the population criteria define yes/no values for each individual in the population). For measures that have a population basis that is different than the subject, this element specifies the type of the population basis. For example, an encounter-based measure has a subject of Patient and a population basis of Encounter, and the population criteria all return lists of Encounters.",
        "comment": "In Health Quality Measure Format, this was referred to as the Item Count metadata attribute. If the populationBasis is specified as a data requirement, the type SHALL be present, profile and codeFilter MAY be present, and no other elements are allowed. This usage allows population basis to be stated with more specificity, e.g. CT Scans, rather than just DiagnosticReport.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Extension",
          "min": 0,
          "max": "*"
        },
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "popBasis-1",
            "severity": "error",
            "human": "If DataRequirement.type is present, it may only contain the elements 'profile' and 'codeFilter'.",
            "expression": "value.exists() and value.is(DataRequirement) implies (  value.as(DataRequirement).type.exists() and  value.as(DataRequirement).limit.empty() and  value.as(DataRequirement).sort.empty() and  value.as(DataRequirement).dateFilter.empty() and  value.as(DataRequirement).subject.empty() and  value.as(DataRequirement).mustSupport.empty())"
          }
        ],
        "isModifier": false
      },
      {
        "id": "Extension.id",
        "path": "Extension.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "Unique id for inter-element referencing",
        "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                "valueUrl": "string"
              }
            ],
            "code": "http://hl7.org/fhirpath/System.String"
          }
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "Extension.extension",
        "path": "Extension.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "description": "Extensions are always sliced by (at least) url",
          "rules": "open"
        },
        "short": "Additional content defined by implementations",
        "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
        "alias": [
          "extensions",
          "user content"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "Extension.url",
        "path": "Extension.url",
        "representation": [
          "xmlAttr"
        ],
        "short": "identifies the meaning of the extension",
        "definition": "Source of the definition for the extension code - a logical name or a URL.",
        "comment": "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "Extension.url",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "fixedUri": "http://hl7.org/fhir/uv/cqm/StructureDefinition/cqm-populationBasis",
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "Extension.value[x]",
        "path": "Extension.value[x]",
        "short": "Value of extension",
        "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R4/extensibility.html) for a list).",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Extension.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          },
          {
            "code": "DataRequirement"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ],
        "isModifier": false,
        "isSummary": false,
        "binding": {
          "strength": "required",
          "description": "The type of elements in the population",
          "valueSet": "http://hl7.org/fhir/ValueSet/all-types"
        },
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      }
    ]
  },
  "differential": {
    "element": [
      {
        "id": "Extension",
        "path": "Extension",
        "short": "What type of population",
        "definition": "The population basis specifies the type of elements in the population. For a subject-based measure, this is boolean (because the subject and the population basis are the same, and the population criteria define yes/no values for each individual in the population). For measures that have a population basis that is different than the subject, this element specifies the type of the population basis. For example, an encounter-based measure has a subject of Patient and a population basis of Encounter, and the population criteria all return lists of Encounters.",
        "comment": "In Health Quality Measure Format, this was referred to as the Item Count metadata attribute. If the populationBasis is specified as a data requirement, the type SHALL be present, profile and codeFilter MAY be present, and no other elements are allowed. This usage allows population basis to be stated with more specificity, e.g. CT Scans, rather than just DiagnosticReport.",
        "min": 0,
        "max": "*",
        "constraint": [
          {
            "key": "popBasis-1",
            "severity": "error",
            "human": "If DataRequirement.type is present, it may only contain the elements 'profile' and 'codeFilter'.",
            "expression": "value.exists() and value.is(DataRequirement) implies (  value.as(DataRequirement).type.exists() and  value.as(DataRequirement).limit.empty() and  value.as(DataRequirement).sort.empty() and  value.as(DataRequirement).dateFilter.empty() and  value.as(DataRequirement).subject.empty() and  value.as(DataRequirement).mustSupport.empty())"
          }
        ]
      },
      {
        "id": "Extension.url",
        "path": "Extension.url",
        "type": [
          {
            "code": "uri"
          }
        ],
        "fixedUri": "http://hl7.org/fhir/uv/cqm/StructureDefinition/cqm-populationBasis"
      },
      {
        "id": "Extension.value[x]",
        "path": "Extension.value[x]",
        "type": [
          {
            "code": "code"
          },
          {
            "code": "DataRequirement"
          }
        ],
        "binding": {
          "strength": "required",
          "description": "The type of elements in the population",
          "valueSet": "http://hl7.org/fhir/ValueSet/all-types"
        }
      }
    ]
  }
}