EXM55-FHIR
type: Measure
node role: treeRoot
resource.id:
  value: EXM55-FHIR
resource.meta:
  meta.profile:
    value: http://hl7.org/fhir/uv/cqm/StructureDefinition/cqm-cvmeasure
    index: 0
    link: http://hl7.org/fhir/uv/cqm/StructureDefinition/cqm-cvmeasure
  meta.profile:
    value: http://hl7.org/fhir/uv/cqm/StructureDefinition/cqm-computablemeasure
    index: 1
    link: http://hl7.org/fhir/uv/cqm/StructureDefinition/cqm-computablemeasure
  meta.profile:
    value: http://hl7.org/fhir/uv/crmi/StructureDefinition/crmi-shareablemeasure
    index: 2
    link: http://hl7.org/fhir/uv/crmi/StructureDefinition/crmi-shareablemeasure
domain resource.text:
  narrative.status:
    value: extensions
  narrative.div: Metadata Title EXM55 - Median Emergency Department Visit Duration Version 5.0.0 Identifier 55 Identifier urn:oid:2.16.840.1.113883.4.642.40.61.29.8 Effective Period 2018-01-01 through 2018-12-31 Approval Date 2019-03-08 Last Review Date 2019-03-08 Experimental true Use Context Clinical Venue = EH Jurisdiction 001 from http://unstats.un.org/unsd/methods/m49/m49.htm Topic Health Quality Measure Document Steward (Publisher) HL7 International / Clinical Quality Information Description This example illustrates a continuous variable measure represented as a FHIR eCQM Measure Basis Encounter Measure Scoring Continuous Variable Improvement Notation Decreased score indicates improvement Measure Type process from http://terminology.hl7.org/CodeSystem/measure-type Measure Group (Rate) (ID: primary) Stratifier Code: Stratification 1 Stratifier Code: Stratification 2 Stratifier Code: Stratification 3 Measure Logic Primary Library EXM55 - Median Emergency Department Visit Duration Library (Example Continuous Variable Measure Library) Contents Population Criteria Logic Definitions Terminology Dependencies Data Requirements Parameters Population Criteria Measure Group (Rate) (ID: primary) Stratifier define "Stratification 1" : "Inpatient Encounter" Encounter where not (PrincipalDiagnosis(Encounter).code in "Psychiatric/Mental Health Patient") Definition Stratifier define "Stratification 2" : "Inpatient Encounter" Encounter where PrincipalDiagnosis(Encounter).code in "Psychiatric/Mental Health Patient" Definition Stratifier define "Stratification 3" : "Inpatient Encounter" Encounter where PrincipalDiagnosis(Encounter) is null Definition Logic Definitions Logic Definition Library Name: FHIRHelpers /* @description: Converts the given [Period](https://hl7.org/fhir/datatypes.html#Period) value to a CQL DateTime Interval @comment: If the start value of the given period is unspecified, the starting boundary of the resulting interval will be open (meaning the start of the interval is unkno…
domain resource.contained: Library
  index: 0
  resource.id:
    value: effective-data-requirements
  domain resource.extension:
    index: 0
    extension.url:
      value: http://hl7.org/fhir/StructureDefinition/cqf-directReferenceCode
    extension.value coding:
      coding.system:
        value: http://terminology.hl7.org/CodeSystem/diagnosis-role
      coding.code:
        value: billing
      coding.display:
        value: Billing
  domain resource.extension:
    index: 1
    element.extension:
      index: 0
      extension.url:
        value: libraryName
      extension.value string:
        value: EXM55
    element.extension:
      index: 1
      extension.url:
        value: name
      extension.value string:
        value: Inpatient Encounter
    element.extension:
      index: 2
      extension.url:
        value: statement
      extension.value string:
        value: define "Inpatient Encounter" : ["Encounter"] Encounter where LengthInDays(Encounter.period) <= 120 and Encounter.period ends during "Measurement Period"
    element.extension:
      index: 3
      extension.url:
        value: displaySequence
      extension.value integer:
        value: 0
    extension.url:
      value: http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition
  domain resource.extension:
    index: 2
    element.extension:
      index: 0
      extension.url:
        value: libraryName
      extension.value string:
        value: EXM55
    element.extension:
      index: 1
      extension.url:
        value: name
      extension.value string:
        value: Stratification 3
    element.extension:
      index: 2
      extension.url:
        value: statement
      extension.value string:
        value: define "Stratification 3" : "Inpatient Encounter" Encounter where PrincipalDiagnosis(Encounter) is null
    element.extension:
      index: 3
      extension.url:
        value: displaySequence
      extension.value integer:
        value: 1
    extension.url:
      value: http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition
  domain resource.extension:
    index: 3
    element.extension:
      index: 0
      extension.url:
        value: libraryName
      extension.value string:
        value: EXM55
    element.extension:
      index: 1
      extension.url:
        value: name
      extension.value string:
        value: Stratification 2
    element.extension:
      index: 2
      extension.url:
        value: statement
      extension.value string:
        value: define "Stratification 2" : "Inpatient Encounter" Encounter where PrincipalDiagnosis(Encounter).code in "Psychiatric/Mental Health Patient"
    element.extension:
      index: 3
      extension.url:
        value: displaySequence
      extension.value integer:
        value: 2
    extension.url:
      value: http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition
  domain resource.extension:
    index: 4
    element.extension:
      index: 0
      extension.url:
        value: libraryName
      extension.value string:
        value: EXM55
    element.extension:
      index: 1
      extension.url:
        value: name
      extension.value string:
        value: Measure Population Exclusion
    element.extension:
      index: 2
      extension.url:
        value: statement
      extension.value string:
        value: define "Measure Population Exclusion" : "Inpatient Encounter" Encounter with ["Encounter" : "Emergency Department Visit"] ED such that ED.period ends 1 hour or less before start of Encounter.period and ED.status = 'finished' and ED.hospitalization.admitSource in "Hospital Settings"
    element.extension:
      index: 3
      extension.url:
        value: displaySequence
      extension.value integer:
        value: 3
    extension.url:
      value: http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition
  domain resource.extension:
    index: 5
    element.extension:
      index: 0
      extension.url:
        value: libraryName
      extension.value string:
        value: EXM55
    element.extension:
      index: 1
      extension.url:
        value: name
      extension.value string:
        value: Stratification 1
    element.extension:
      index: 2
      extension.url:
        value: statement
      extension.value string:
        value: define "Stratification 1" : "Inpatient Encounter" Encounter where not (PrincipalDiagnosis(Encounter).code in "Psychiatric/Mental Health Patient")
    element.extension:
      index: 3
      extension.url:
        value: displaySequence
      extension.value integer:
        value: 4
    extension.url:
      value: http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition
  domain resource.extension:
    index: 6
    element.extension:
      index: 0
      extension.url:
        value: libraryName
      extension.value string:
        value: EXM55
    element.extension:
      index: 1
      extension.url:
        value: name
      extension.value string:
        value: Initial Population
    element.extension:
      index: 2
      extension.url:
        value: statement
      extension.value string:
        value: define "Initial Population" : "Inpatient Encounter" Encounter with ["Encounter" : "Emergency Department Visit"] ED such that ED.status = 'finished' and ED.period ends 1 hour or less before start of Encounter.period
    element.extension:
      index: 3
      extension.url:
        value: displaySequence
      extension.value integer:
        value: 5

index: 7
element.extension:
  index: 0
  extension.url:
    value: libraryName
  extension.value string:
    value: EXM55
element.extension:
  index: 1
  extension.url:
    value: name
  extension.value string:
    value: Measure Population
element.extension:
  index: 2
  extension.url:
    value: statement
  extension.value string:
    value: define "Measure Population" : "Initial Population"
element.extension:
  index: 3
  extension.url:
    value: displaySequence
  extension.value integer:
    value: 6
extension.url:
  value: http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition

index: 8
element.extension:
  index: 0
  extension.url:
    value: libraryName
  extension.value string:
    value: EXM55
element.extension:
  index: 1
  extension.url:
    value: name
  extension.value string:
    value: LengthInDays
element.extension:
  index: 2
  extension.url:
    value: statement
  extension.value string:
    value: define function "LengthInDays"(Value Interval<DateTime>): difference in days between start of Value and end of Value
element.extension:
  index: 3
  extension.url:
    value: displaySequence
  extension.value integer:
    value: 7
extension.url:
  value: http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition

index: 9
element.extension:
  index: 0
  extension.url:
    value: libraryName
  extension.value string:
    value: FHIRHelpers
element.extension:
  index: 1
  extension.url:
    value: name
  extension.value string:
    value: ToInterval
element.extension:
  index: 2
  extension.url:
    value: statement
  extension.value string:
    value: /* @description: Converts the given [Period](https://hl7.org/fhir/datatypes.html#Period) value to a CQL DateTime Interval @comment: If the start value of the given period is unspecified, the starting boundary of the resulting interval will be open (meaning the start of the interval is unknown, as opposed to interpreted as the beginning of time). */ define function ToInterval(period FHIR.Period): if period is null then null else if period."start" is null then Interval(period."start".value, period."end".value] else Interval[period."start".value, period."end".value]
element.extension:
  index: 3
  extension.url:
    value: displaySequence
  extension.value integer:
    value: 8
extension.url:
  value: http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition

index: 10
element.extension:
  index: 0
  extension.url:
    value: libraryName
  extension.value string:
    value: EXM55
element.extension:
  index: 1
  extension.url:
    value: name
  extension.value string:
    value: PrincipalDiagnosis
element.extension:
  index: 2
  extension.url:
    value: statement
  extension.value string:
    value: define function "PrincipalDiagnosis"(Encounter Encounter): (singleton from (Encounter.diagnosis D where D.use ~ ToConcept("Billing") and D.rank.value = 1)) PD return singleton from ([Condition: id in "GetId"(PD.condition.reference)])
element.extension:
  index: 3
  extension.url:
    value: displaySequence
  extension.value integer:
    value: 9
extension.url:
  value: http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition

index: 11
element.extension:
  index: 0
  extension.url:
    value: libraryName
  extension.value string:
    value: FHIRHelpers
element.extension:
  index: 1
  extension.url:
    value: name
  extension.value string:
    value: ToConcept
element.extension:
  index: 2
  extension.url:
    value: statement
  extension.value string:
    value: /* @description: Converts the given FHIR [CodeableConcept](https://hl7.org/fhir/datatypes.html#CodeableConcept) value to a CQL Concept. */ define function ToConcept(concept FHIR.CodeableConcept): if concept is null then null else System.Concept { codes: concept.coding C return ToCode(C), display: concept.text.value }
element.extension:
  index: 3
  extension.url:
    value: displaySequence
  extension.value integer:
    value: 10
extension.url:
  value: http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition

index: 12
element.extension:
  index: 0
  extension.url:
    value: libraryName
  extension.value string:
    value: FHIRHelpers
element.extension:
  index: 1
  extension.url:
    value: name
  extension.value string:
    value: ToCode
element.extension:
  index: 2
  extension.url:
    value: statement
  extension.value string:
    value: /* @description: Converts the given FHIR [Coding](https://hl7.org/fhir/datatypes.html#Coding) value to a CQL Code. */ define function ToCode(coding FHIR.Coding): if coding is null then null else System.Code { code: coding.code.value, system: coding.system.value, version: coding.version.value, display: coding.display.value }
element.extension:
  index: 3
  extension.url:
    value: displaySequence
  extension.value integer:
    value: 11
extension.url:
  value: http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition

index: 13
element.extension:
  index: 0
  extension.url:
    value: libraryName
  extension.value string:
    value: EXM55
element.extension:
  index: 1
  extension.url:
    value: name
  extension.value string:
    value: GetId
element.extension:
  index: 2
  extension.url:
    value: statement
  extension.value string:
    value: define function "GetId"(uri String): Last(Split(uri, '/'))
element.extension:
  index: 3
  extension.url:
    value: displaySequence
  extension.value integer:
    value: 12
extension.url:
  value: http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition

index: 14
element.extension:
  index: 0
  extension.url:
    value: libraryName
  extension.value string:
    value: FHIRHelpers
element.extension:
  index: 1
  extension.url:
    value: name
  extension.value string:
    value: ToString
element.extension:
  index: 2
  extension.url:
    value: statement
  extension.value string:
    value: define function ToString(value string): value.value
element.extension:
  index: 3
  extension.url:
    value: displaySequence
  extension.value integer:
    value: 13
extension.url:
  value: http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition

index: 15
element.extension:
  index: 0
  extension.url:
    value: libraryName
  extension.value string:
    value: FHIRHelpers
element.extension:
  index: 1
  extension.url:
    value: name
  extension.value string:
    value: ToString
element.extension:
  index: 2
  extension.url:
    value: statement
  extension.value string:
    value: define function ToString(value EncounterStatus): value.value
element.extension:
  index: 3
  extension.url:
    value: displaySequence
  extension.value integer:
    value: 14
extension.url:
  value: http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition

index: 16
element.extension:
  index: 0
  extension.url:
    value: libraryName
  extension.value string:
    value: EXM55
element.extension:
  index: 1
  extension.url:
    value: name
  extension.value string:
    value: Measure Observation
element.extension:
  index: 2
  extension.url:
    value: statement
  extension.value string:
    value: define function "Measure Observation" (Encounter "Encounter" ) : duration in minutes of "Related ED Visit"(Encounter).period
element.extension:
  index: 3
  extension.url:
    value: displaySequence
  extension.value integer:
    value: 15
extension.url:
  value: http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition

index: 17
element.extension:
  index: 0
  extension.url:
    value: libraryName
  extension.value string:
    value: EXM55
element.extension:
  index: 1
  extension.url:
    value: name
  extension.value string:
    value: Related ED Visit
element.extension:
  index: 2
  extension.url:
    value: statement
  extension.value string:
    value: //Measure Observation define function "Related ED Visit" (Encounter "Encounter" ) : Last(["Encounter" : "Emergency Department Visit"] ED where ED.status = 'finished' and ED.period ends 1 hour or less before start of Encounter.period sort by start of period )
element.extension:
  index: 3
  extension.url:
    value: displaySequence
  extension.value integer:
    value: 16
extension.url:
  value: http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition

value: EffectiveDataRequirements

value: active

codeable concept.coding:
  index: 0
  coding.system:
    value: http://terminology.hl7.org/CodeSystem/library-type
  coding.code:
    value: module-definition

index: 0
related artifact.type:
  value: depends-on
related artifact.display:
  value: FHIR model information
related artifact.resource:
  value: http://hl7.org/fhir/uv/cql/Library/FHIR-ModelInfo|4.0.1
  link: 4.0
  link: .1

index: 1
related artifact.type:
  value: depends-on
related artifact.display:
  value: Library FHIRHelpers
related artifact.resource:
  value: http://hl7.org/fhir/uv/cql/Library/FHIRHelpers|4.0.1
  link: 4.0
  link: .1

index: 2
related artifact.type:
  value: depends-on
related artifact.display:
  value: Code system Diagnosis Role
related artifact.resource:
  value: http://terminology.hl7.org/CodeSystem/diagnosis-role
  link: http://terminology.hl7.org/CodeSystem/diagnosis-role

index: 3
related artifact.type:
  value: depends-on
related artifact.display:
  value: Value set Psychiatric/Mental Health Patient
related artifact.resource:
  value: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.299
  link: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.299

index: 4
related artifact.type:
  value: depends-on
related artifact.display:
  value: Value set Emergency Department Visit
related artifact.resource:
  value: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.292
  link: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.292

index: 5
related artifact.type:
  value: depends-on
related artifact.display:
  value: Value set Hospital Settings
related artifact.resource:
  value: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1111.126
  link: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1111.126

index: 0
parameter definition.name:
  value: Measurement Period
parameter definition.use:
  value: in
parameter definition.min:
  value: 0
parameter definition.max:
  value: 1
parameter definition.type:
  value: Period

index: 1
parameter definition.name:
  value: Stratification 3
parameter definition.use:
  value: out
parameter definition.min:
  value: 0
parameter definition.max:
  value: *
parameter definition.type:
  value: Encounter

index: 2
parameter definition.name:
  value: Stratification 2
parameter definition.use:
  value: out
parameter definition.min:
  value: 0
parameter definition.max:
  value: *
parameter definition.type:
  value: Encounter

index: 3
parameter definition.name:
  value: Measure Population Exclusion
parameter definition.use:
  value: out
parameter definition.min:
  value: 0
parameter definition.max:
  value: *
parameter definition.type:
  value: Encounter

index: 4
parameter definition.name:
  value: Stratification 1
parameter definition.use:
  value: out
parameter definition.min:
  value: 0
parameter definition.max:
  value: *
parameter definition.type:
  value: Encounter

index: 5
parameter definition.name:
  value: Initial Population
parameter definition.use:
  value: out
parameter definition.min:
  value: 0
parameter definition.max:
  value: *
parameter definition.type:
  value: Encounter

index: 6
parameter definition.name:
  value: Measure Population
parameter definition.use:
  value: out
parameter definition.min:
  value: 0
parameter definition.max:
  value: *
parameter definition.type:
  value: Encounter

index: 0
data requirement.type:
  value: Encounter
data requirement.profile:
  value: http://hl7.org/fhir/StructureDefinition/Encounter
  index: 0
  link: http://hl7.org/fhir/StructureDefinition/Encounter
data requirement.must support:
  value: period
  index: 0
data requirement.must support:
  value: use
  index: 1
data requirement.must support:
  value: rank
  index: 2
data requirement.must support:
  value: rank.value
  index: 3
data requirement.must support:
  value: condition
  index: 4
data requirement.must support:
  value: condition.reference
  index: 5

index: 1
data requirement.type:
  value: Encounter
data requirement.profile:
  value: http://hl7.org/fhir/StructureDefinition/Encounter
  index: 0
  link: http://hl7.org/fhir/StructureDefinition/Encounter
data requirement.must support:
  value: type
  index: 0
data requirement.must support:
  value: period
  index: 1
data requirement.must support:
  value: status
  index: 2
data requirement.must support:
  value: hospitalization
  index: 3
data requirement.must support:
  value: hospitalization.admitSource
  index: 4
data requirement.must support:
  value: use
  index: 5
data requirement.must support:
  value: rank
  index: 6
data requirement.must support:
  value: rank.value
  index: 7
data requirement.must support:
  value: condition
  index: 8
data requirement.must support:
  value: condition.reference
  index: 9
data requirement.code filter:
  index: 0
  data requirement.code filter.path:
    value: type
  data requirement.code filter.value set:
    value: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.292
    link: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.292

index: 2
data requirement.type:
  value: Condition
data requirement.profile:
  value: http://hl7.org/fhir/StructureDefinition/Condition
  index: 0
  link: http://hl7.org/fhir/StructureDefinition/Condition
data requirement.must support:
  value: id
  index: 0
data requirement.code filter:
  index: 0
  data requirement.code filter.path:
    value: id

index: 0
extension.url:
  value: http://hl7.org/fhir/uv/cqm/StructureDefinition/cqm-populationBasis
extension.value code:
  value: Encounter

index: 1
extension.url:
  value: http://hl7.org/fhir/uv/crmi/StructureDefinition/crmi-softwaresystem
extension.value reference:
  link: http://hl7.org/fhir/uv/cqm/Device/software-system-example
  reference.reference:
    value: Device/software-system-example

index: 2
extension.url:
  value: http://hl7.org/fhir/uv/crmi/StructureDefinition/crmi-effectiveDataRequirements
extension.value canonical:
  value: #effective-data-requirements

index: 0
identifier.use:
  value: official
identifier.system:
  value: http://example.org/fhir/cqi/ecqm/Measure/Identifier/exm
identifier.value:
  value: 55

index: 1
identifier.system:
  value: urn:ietf:rfc:3986
identifier.value:
  value: urn:oid:2.16.840.1.113883.4.642.40.61.29.8

value: 5.0.0

value: EXM55

value: EXM55 - Median Emergency Department Visit Duration

value: active

value: true

value: 2025-08-13

value: HL7 International / Clinical Quality Information

index: 0
contact detail.telecom:
  index: 0
  contact point.system:
    value: url
  contact point.value:
    value: http://www.hl7.org/Special/committees/cqi

value: This example illustrates a continuous variable measure represented as a FHIR eCQM

index: 0
usage context.code:
  coding.system:
    value: http://terminology.hl7.org/CodeSystem/usage-context-type
  coding.code:
    value: venue
  coding.display:
    value: Clinical Venue
usage context.value codeable concept:
  codeable concept.coding:
    index: 0
    coding.system:
      value: http://hl7.org/fhir/uv/cqm/CodeSystem/intended-venue-codes
    coding.code:
      value: eh
    coding.display:
      value: EH

index: 0
codeable concept.coding:
  index: 0
  coding.system:
    value: http://unstats.un.org/unsd/methods/m49/m49.htm
  coding.code:
    value: 001

value: 2019-03-08

value: 2019-03-08

period.start:
  value: 2018-01-01
period.end:
  value: 2018-12-31

index: 0
codeable concept.coding: http://loinc.org/rdf#57024-2
  index: 0
  coding.system:
    value: http://loinc.org
  coding.code:
    value: 57024-2
  coding.display:
    value: Health Quality Measure Document

value: http://hl7.org/fhir/uv/cqm/Library/EXM55
index: 0
link: http://hl7.org/fhir/uv/cqm/Library/EXM55

codeable concept.coding:
  index: 0
  coding.system:
    value: http://terminology.hl7.org/CodeSystem/measure-scoring
  coding.code:
    value: continuous-variable
  coding.display:
    value: Continuous Variable

index: 0
codeable concept.coding:
  index: 0
  coding.system:
    value: http://terminology.hl7.org/CodeSystem/measure-type
  coding.code:
    value: process

codeable concept.coding:
  index: 0
  coding.system:
    value: http://terminology.hl7.org/CodeSystem/measure-improvement-notation
  coding.code:
    value: decrease
  coding.display:
    value: Decreased score indicates improvement

index: 0
element.id:
  value: group-1
element.extension:
  index: 0
  extension.url:
    value: http://hl7.org/fhir/5.0/StructureDefinition/extension-Measure.group.linkId
  extension.value string:
    value: primary
measure.group.population:
  index: 0
  element.extension:
    index: 0
    extension.url:
      value: http://hl7.org/fhir/5.0/StructureDefinition/extension-Measure.group.population.linkId
    extension.value string:
      value: primary-exm55-initial-population
  measure.group.population.code:
    codeable concept.coding:
      index: 0
      coding.system:
        value: http://terminology.hl7.org/CodeSystem/measure-population
      coding.code:
        value: initial-population
      coding.display:
        value: Initial Population
  measure.group.population.criteria:
    expression.language:
      value: text/cql-identifier
    expression.expression:
      value: Initial Population
measure.group.population:
  index: 1
  element.extension:
    index: 0
    extension.url:
      value: http://hl7.org/fhir/5.0/StructureDefinition/extension-Measure.group.population.linkId
    extension.value string:
      value: primary-exm55-measure-population
  measure.group.population.code:
    codeable concept.coding:
      index: 0
      coding.system:
        value: http://terminology.hl7.org/CodeSystem/measure-population
      coding.code:
        value: measure-population
      coding.display:
        value: Measure Population
  measure.group.population.criteria:
    expression.language:
      value: text/cql-identifier
    expression.expression:
      value: Measure Population
measure.group.population:
  index: 2
  element.extension:
    index: 0
    extension.url:
      value: http://hl7.org/fhir/5.0/StructureDefinition/extension-Measure.group.population.linkId
    extension.value string:
      value: primary-exm55-measure-population-exclusion
  measure.group.population.code:
    codeable concept.coding:
      index: 0
      coding.system:
        value: http://terminology.hl7.org/CodeSystem/measure-population
      coding.code:
        value: measure-population-exclusion
      coding.display:
        value: Measure Population Exclusion
  measure.group.population.criteria:
    expression.language:
      value: text/cql-identifier
    expression.expression:
      value: Measure Population Exclusion
measure.group.population:
  index: 3
  element.extension:
    index: 0
    extension.url:
      value: http://hl7.org/fhir/5.0/StructureDefinition/extension-Measure.group.population.linkId
    extension.value string:
      value: primary-exm55-measure-population-identifier
  element.extension:
    index: 1
    extension.url:
      value: http://hl7.org/fhir/StructureDefinition/cqf-criteriaReference
    extension.value string:
      value: measure-population-identifier
  element.extension:
    index: 2
    extension.url:
      value: http://hl7.org/fhir/uv/cqm/StructureDefinition/cqm-aggregateMethod
    extension.value code:
      value: median
  measure.group.population.code:
    codeable concept.coding:
      index: 0
      coding.system:
        value: http://terminology.hl7.org/CodeSystem/measure-population
      coding.code:
        value: measure-observation
      coding.display:
        value: Measure Observation
  measure.group.population.criteria:
    expression.language:
      value: text/cql-identifier
    expression.expression:
      value: Measure Observation
measure.group.stratifier:
  index: 0
  element.extension:
    index: 0
    extension.url:
      value: http://hl7.org/fhir/5.0/StructureDefinition/extension-Measure.group.stratifier.linkId
    extension.value string:
      value: primary-exm55-stratification-1
  element.extension:
    index: 1
    extension.url:
      value: http://hl7.org/fhir/uv/cqm/StructureDefinition/cqm-appliesTo
    extension.value codeable concept:
      codeable concept.coding:
        index: 0
  measure.group.stratifier.code:
    codeable concept.coding:
      index: 0
      coding.system:
        value: http://example.org/stratification
      coding.code:
        value: Stratification 1
      coding.display:
        value: Stratification 1
  measure.group.stratifier.criteria:
    expression.language:
      value: text/cql-identifier
    expression.expression:
      value: Stratification 1
measure.group.stratifier:
  index: 1
  element.extension:
    index: 0
    extension.url:
      value: http://hl7.org/fhir/5.0/StructureDefinition/extension-Measure.group.stratifier.linkId
    extension.value string:
      value: primary-exm55-stratificatio-2
  element.extension:
    index: 1
    extension.url:
      value: http://hl7.org/fhir/uv/cqm/StructureDefinition/cqm-appliesTo
    extension.value codeable concept:
      codeable concept.coding:
        index: 0
  measure.group.stratifier.code:
    codeable concept.coding:
      index: 0
      coding.system:
        value: http://example.org/stratification
      coding.code:
        value: Stratification 2
      coding.display:
        value: Stratification 2
  measure.group.stratifier.criteria:
    expression.language:
      value: text/cql-identifier
    expression.expression:
      value: Stratification 2
measure.group.stratifier:
  index: 2
  element.extension:
    index: 0
    extension.url:
      value: http://hl7.org/fhir/5.0/StructureDefinition/extension-Measure.group.stratifier.linkId
    extension.value string:
      value: primary-exm55-stratification-3
  element.extension:
    index: 1
    extension.url:
      value: http://hl7.org/fhir/uv/cqm/StructureDefinition/cqm-appliesTo
    extension.value codeable concept:
      codeable concept.coding:
        index: 0
  measure.group.stratifier.code:
    codeable concept.coding:
      index: 0
      coding.system:
        value: http://example.org/stratification
      coding.code:
        value: Stratification 3
      coding.display:
        value: Stratification 3
  measure.group.stratifier.criteria:
    expression.language:
      value: text/cql-identifier
    expression.expression:
      value: Stratification 3

value: initial-population

value: Initial Population

value: initial-population

value: Initial Population

value: initial-population

value: Initial Population