EXMRatio-FHIR
type: Measure
node role: treeRoot
resource.id:
  value: EXMRatio-FHIR
resource.meta:
  meta.profile:
    value: http://hl7.org/fhir/uv/cqm/StructureDefinition/cqm-ratiomeasure
    index: -1
    link: http://hl7.org/fhir/uv/cqm/StructureDefinition/cqm-ratiomeasure
  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/cqm/StructureDefinition/cqm-cqlmeasure
    index: -1
    link: http://hl7.org/fhir/uv/cqm/StructureDefinition/cqm-cqlmeasure
  meta.profile:
    value: http://hl7.org/fhir/uv/cqm/StructureDefinition/cqm-computablemeasure
    index: -1
    link: http://hl7.org/fhir/uv/cqm/StructureDefinition/cqm-computablemeasure
resource.language:
  value: en
domain resource.text:
  narrative.status:
    value: extensions
  narrative.div: Metadata Title EXM Ratio Measure Version 2.0.0 Identifier EXMRatio-FHIR Identifier urn:oid:2.16.840.1.113883.4.642.40.61.29.10 Approval Date 2019-02-17 Last Review Date 2019-02-17 Experimental true Use Context Clinical Venue = EC Jurisdiction 001 from http://unstats.un.org/unsd/methods/m49/m49.htm Topic Health Quality Measure Document Steward (Publisher) HL7 International / Clinical Quality Information Developer Example Measure Content Developer Description An example FHIR-based publishable measure Purpose This measure has been developed to support improvement in clinical care. Copyright Example Copyright Statement Disclaimer Example disclaimer Measure Basis Encounter Measure Scoring Ratio Measure Scoring Unit /1000.d from http://unitsofmeasure.org Improvement Notation Decreased score indicates improvement Measure Type process from http://terminology.hl7.org/CodeSystem/measure-type Rationale The rationale of this measure is... Guidance (Usage) Users of this measure should be aware of... Measure Group (Rate) (ID: primary) Measure Logic Primary Library EXMRatio - Example Ratio Measure Library Contents Population Criteria Logic Definitions Terminology Dependencies Data Requirements Parameters Population Criteria Measure Group (Rate) (ID: primary) Logic Definitions Logic Definition Library Name: EXMRatio define "Qualifying Encounters": ["Encounter": "Inpatient"] Logic Definition Library Name: EXMRatio define "Initial Population": "Qualifying Encounters" Logic Definition Library Name: EXMRatio define "Numerator": "Initial Population" Logic Definition Library Name: EXMRatio define "Denominator": "Initial Population" Logic Definition Library Name: EXMRatio define "Falls with Major Injury": ["Observation": "Fall"] Logic Definition Library Name: EXMRatio define function "Denominator Observation"(Encounter "Encounter"): duration in hours of Global.Hospitalization(Encounter) / 24 Logic Definition Library Name: EXMRatio define function "Numerator Observation"(Encounter "Encount…
domain resource.contained: Library
  index: -1
  resource.id:
    value: effective-data-requirements
  domain resource.extension:
    index: -1
    element.extension:
      index: -1
      extension.url:
        value: libraryName
      extension.value string:
        value: EXMRatio
    element.extension:
      index: -1
      extension.url:
        value: name
      extension.value string:
        value: Qualifying Encounters
    element.extension:
      index: -1
      extension.url:
        value: statement
      extension.value string:
        value: define "Qualifying Encounters": ["Encounter": "Inpatient"]
    element.extension:
      index: -1
      extension.url:
        value: displaySequence
      extension.value integer:
        value: 0
    extension.url:
      value: http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition
  domain resource.extension:
    index: -1
    element.extension:
      index: -1
      extension.url:
        value: libraryName
      extension.value string:
        value: EXMRatio
    element.extension:
      index: -1
      extension.url:
        value: name
      extension.value string:
        value: Initial Population
    element.extension:
      index: -1
      extension.url:
        value: statement
      extension.value string:
        value: define "Initial Population": "Qualifying Encounters"
    element.extension:
      index: -1
      extension.url:
        value: displaySequence
      extension.value integer:
        value: 1
    extension.url:
      value: http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition
  domain resource.extension:
    index: -1
    element.extension:
      index: -1
      extension.url:
        value: libraryName
      extension.value string:
        value: EXMRatio
    element.extension:
      index: -1
      extension.url:
        value: name
      extension.value string:
        value: Numerator
    element.extension:
      index: -1
      extension.url:
        value: statement
      extension.value string:
        value: define "Numerator": "Initial Population"
    element.extension:
      index: -1
      extension.url:
        value: displaySequence
      extension.value integer:
        value: 2
    extension.url:
      value: http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition
  domain resource.extension:
    index: -1
    element.extension:
      index: -1
      extension.url:
        value: libraryName
      extension.value string:
        value: EXMRatio
    element.extension:
      index: -1
      extension.url:
        value: name
      extension.value string:
        value: Denominator
    element.extension:
      index: -1
      extension.url:
        value: statement
      extension.value string:
        value: define "Denominator": "Initial Population"
    element.extension:
      index: -1
      extension.url:
        value: displaySequence
      extension.value integer:
        value: 3
    extension.url:
      value: http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition
  domain resource.extension:
    index: -1
    element.extension:
      index: -1
      extension.url:
        value: libraryName
      extension.value string:
        value: EXMRatio
    element.extension:
      index: -1
      extension.url:
        value: name
      extension.value string:
        value: Falls with Major Injury
    element.extension:
      index: -1
      extension.url:
        value: statement
      extension.value string:
        value: define "Falls with Major Injury": ["Observation": "Fall"]
    element.extension:
      index: -1
      extension.url:
        value: displaySequence
      extension.value integer:
        value: 4
    extension.url:
      value: http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition
  domain resource.extension:
    index: -1
    element.extension:
      index: -1
      extension.url:
        value: libraryName
      extension.value string:
        value: EXMRatio
    element.extension:
      index: -1
      extension.url:
        value: name
      extension.value string:
        value: Denominator Observation
    element.extension:
      index: -1
      extension.url:
        value: statement
      extension.value string:
        value: define function "Denominator Observation"(Encounter "Encounter"): duration in hours of Global.Hospitalization(Encounter) / 24
    element.extension:
      index: -1
      extension.url:
        value: displaySequence
      extension.value integer:
        value: 5
    extension.url:
      value: http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition
  domain resource.extension:
    index: -1
    element.extension:
      index: -1

value: libraryName

value: MATGlobalCommonFunctions

index: -1
extension.url:
  value: name
extension.value string:
  value: Hospitalization

index: -1
extension.url:
  value: statement
extension.value string:
  value: define function "Hospitalization"(TheEncounter FHIR.Encounter): ( "ED Visit"(TheEncounter) ) X return if X is null then TheEncounter.period else Interval[start of FHIRHelpers.ToInterval(X.period), end of FHIRHelpers.ToInterval(TheEncounter.period)]

index: -1
extension.url:
  value: displaySequence
extension.value integer:
  value: 6

index: -1
element.extension:
  index: -1
  extension.url:
    value: libraryName
  extension.value string:
    value: MATGlobalCommonFunctions
element.extension:
  index: -1
  extension.url:
    value: name
  extension.value string:
    value: ED Visit
element.extension:
  index: -1
  extension.url:
    value: statement
  extension.value string:
    value: define function "ED Visit"(TheEncounter FHIR.Encounter): singleton from ( [Encounter: "Emergency Department Visit"] EDVisit where EDVisit.status = 'finished' and EDVisit.period ends 1 hour or less on or before start of FHIRHelpers.ToInterval(TheEncounter.period) )
element.extension:
  index: -1
  extension.url:
    value: displaySequence
  extension.value integer:
    value: 7
extension.url:
  value: http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition

index: -1
element.extension:
  index: -1
  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: -1
  extension.url:
    value: statement
  extension.value string:
    value: define function ToString(value EncounterStatus): value.value
element.extension:
  index: -1
  extension.url:
    value: displaySequence
  extension.value integer:
    value: 8
extension.url:
  value: http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition

index: -1
element.extension:
  index: -1
  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: -1
  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: -1
  extension.url:
    value: displaySequence
  extension.value integer:
    value: 9
extension.url:
  value: http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition

index: -1
element.extension:
  index: -1
  extension.url:
    value: libraryName
  extension.value string:
    value: EXMRatio
element.extension:
  index: -1
  extension.url:
    value: name
  extension.value string:
    value: Numerator Observation
element.extension:
  index: -1
  extension.url:
    value: statement
  extension.value string:
    value: define function "Numerator Observation"(Encounter "Encounter"): Count( "Falls with Major Injury" Falls where Global."Normalize Interval"(Falls.effective) during Encounter.period )
element.extension:
  index: -1
  extension.url:
    value: displaySequence
  extension.value integer:
    value: 10
extension.url:
  value: http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition

index: -1
element.extension:
  index: -1
  extension.url:
    value: libraryName
  extension.value string:
    value: MATGlobalCommonFunctions
element.extension:
  index: -1
  extension.url:
    value: name
  extension.value string:
    value: Normalize Interval
element.extension:
  index: -1
  extension.url:
    value: statement
  extension.value string:
    value: /* * * CQFMeasures Common Logic * */ define function "Normalize Interval"(choice Choice<FHIR.dateTime, FHIR.Period, FHIR.Timing, FHIR.instant, FHIR.string, FHIR.Age, FHIR.Range>): case when choice is FHIR.dateTime then Interval[FHIRHelpers.ToDateTime(choice as FHIR.dateTime), FHIRHelpers.ToDateTime(choice as FHIR.dateTime)] when choice is FHIR.Period then FHIRHelpers.ToInterval(choice as FHIR.Period) when choice is FHIR.instant then Interval[FHIRHelpers.ToDateTime(choice as FHIR.instant), FHIRHelpers.ToDateTime(choice as FHIR.instant)] when choice is FHIR.Age then Interval[FHIRHelpers.ToDate(Patient.birthDate) + FHIRHelpers.ToQuantity(choice as FHIR.Age), FHIRHelpers.ToDate(Patient.birthDate) + FHIRHelpers.ToQuantity(choice as FHIR.Age) + 1 year) when choice is FHIR.Range then Interval[FHIRHelpers.ToDate(Patient.birthDate) + FHIRHelpers.ToQuantity((choice as FHIR.Range).low), FHIRHelpers.ToDate(Patient.birthDate) + FHIRHelpers.ToQuantity((choice as FHIR.Range).high) + 1 year) when choice is FHIR.Timing then Message(null as Interval<DateTime>, true, '1', 'Error', 'Cannot compute a single interval from a Timing type') when choice is FHIR.string then Message(null as Interval<DateTime>, true, '1', 'Error', 'Cannot compute an interval from a String value') else null as Interval<DateTime> end
element.extension:
  index: -1
  extension.url:
    value: displaySequence
  extension.value integer:
    value: 11
extension.url:
  value: http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition

index: -1
element.extension:
  index: -1
  extension.url:
    value: libraryName
  extension.value string:
    value: FHIRHelpers
element.extension:
  index: -1
  extension.url:
    value: name
  extension.value string:
    value: ToDateTime
element.extension:
  index: -1
  extension.url:
    value: statement
  extension.value string:
    value: define function ToDateTime(value dateTime): value.value
element.extension:
  index: -1
  extension.url:
    value: displaySequence
  extension.value integer:
    value: 12
extension.url:
  value: http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition

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

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

index: -1
element.extension:
  index: -1
  extension.url:
    value: libraryName
  extension.value string:
    value: FHIRHelpers
element.extension:
  index: -1
  extension.url:
    value: name
  extension.value string:
    value: ToQuantity
element.extension:
  index: -1
  extension.url:
    value: statement
  extension.value string:
    value: /* @description: Converts the given FHIR [Quantity](https://hl7.org/fhir/datatypes.html#Quantity) value to a CQL Quantity @comment: If the given quantity has a comparator specified, a runtime error is raised. If the given quantity has a system other than UCUM (i.e. `http://unitsofmeasure.org`) or CQL calendar units (i.e. `http://hl7.org/fhirpath/CodeSystem/calendar-units`) an error is raised. For UCUM to calendar units, the `ToCalendarUnit` function is used. @seealso: ToCalendarUnit */ define function ToQuantity(quantity FHIR.Quantity): case when quantity is null then null when quantity.value is null then null when quantity.comparator is not null then Message(null, true, 'FHIRHelpers.ToQuantity.ComparatorQuantityNotSupported', 'Error', 'FHIR Quantity value has a comparator and cannot be converted to a System.Quantity value.') when quantity.system is null or quantity.system.value = 'http://unitsofmeasure.org' or quantity.system.value = 'http://hl7.org/fhirpath/CodeSystem/calendar-units' then System.Quantity { value: quantity.value.value, unit: ToCalendarUnit(Coalesce(quantity.code.value, quantity.unit.value, '1')) } else Message(null, true, 'FHIRHelpers.ToQuantity.InvalidFHIRQuantity', 'Error', 'Invalid FHIR Quantity code: ' & quantity.unit.value & ' (' & quantity.system.value & '|' & quantity.code.value & ')') end
element.extension:
  index: -1
  extension.url:
    value: displaySequence
  extension.value integer:
    value: 15
extension.url:
  value: http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition

index: -1
element.extension:
  index: -1
  extension.url:
    value: libraryName
  extension.value string:
    value: FHIRHelpers
element.extension:
  index: -1
  extension.url:
    value: name
  extension.value string:
    value: ToCalendarUnit
element.extension:
  index: -1
  extension.url:
    value: statement
  extension.value string:
    value: /* @description: Converts a UCUM definite duration unit to a CQL calendar duration unit using conversions specified in the [quantities](https://cql.hl7.org/02-authorsguide.html#quantities) topic of the CQL specification. @comment: Note that for durations above days (or weeks), the conversion is understood to be approximate */ define function ToCalendarUnit(unit System.String): case unit when 'ms' then 'millisecond' when 's' then 'second' when 'min' then 'minute' when 'h' then 'hour' when 'd' then 'day' when 'wk' then 'week' when 'mo' then 'month' when 'a' then 'year' else unit end
element.extension:
  index: -1
  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: -1
  coding.system:
    value: http://terminology.hl7.org/CodeSystem/library-type
  coding.code:
    value: module-definition

index: -1
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 Global
related artifact.resource:
  value: http://hl7.org/fhir/uv/cqm/Library/MATGlobalCommonFunctions|5.0.000
  link: 5.0
  link: .000

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: -1
related artifact.type:
  value: depends-on
related artifact.display:
  value: Value set Inpatient
related artifact.resource:
  value: http://example.org/fhir/ValueSet/inpatient
  link: http://example.org/fhir/ValueSet/inpatient

index: -1
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: -1
related artifact.type:
  value: depends-on
related artifact.display:
  value: Value set Fall
related artifact.resource:
  value: http://example.org/fhir/ValueSet/fall
  link: http://example.org/fhir/ValueSet/fall

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

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

index: -1
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: -1
data requirement.type:
  value: Encounter
data requirement.profile:
  value: http://hl7.org/fhir/StructureDefinition/Encounter
  index: -1
  link: http://hl7.org/fhir/StructureDefinition/Encounter
data requirement.must support:
  value: type
  index: -1
data requirement.must support:
  value: status
  index: -1
data requirement.must support:
  value: period
  index: -1
data requirement.code filter:
  index: -1
  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: -1
data requirement.type:
  value: Encounter
data requirement.profile:
  value: http://hl7.org/fhir/StructureDefinition/Encounter
  index: -1
  link: http://hl7.org/fhir/StructureDefinition/Encounter
data requirement.must support:
  value: type
  index: -1
data requirement.must support:
  value: period
  index: -1
data requirement.code filter:
  index: -1
  data requirement.code filter.path:
    value: type
  data requirement.code filter.value set:
    value: http://example.org/fhir/ValueSet/inpatient
    link: http://example.org/fhir/ValueSet/inpatient

index: -1
data requirement.type:
  value: Observation
data requirement.profile:
  value: http://hl7.org/fhir/StructureDefinition/Observation
  index: -1
  link: http://hl7.org/fhir/StructureDefinition/Observation
data requirement.must support:
  value: code
  index: -1
data requirement.must support:
  value: effective
  index: -1
data requirement.code filter:
  index: -1
  data requirement.code filter.path:
    value: code
  data requirement.code filter.value set:
    value: http://example.org/fhir/ValueSet/fall
    link: http://example.org/fhir/ValueSet/fall

index: -1
data requirement.type:
  value: Patient
data requirement.profile:
  value: http://hl7.org/fhir/StructureDefinition/Patient
  index: -1
  link: http://hl7.org/fhir/StructureDefinition/Patient

index: -1
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/cqm/StructureDefinition/cqm-scoringUnit
extension.value codeable concept:
  codeable concept.coding:
    index: -1
    coding.system:
      value: http://unitsofmeasure.org
    coding.code:
      value: /1000.d

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: -1
extension.url:
  value: http://hl7.org/fhir/uv/crmi/StructureDefinition/crmi-effectiveDataRequirements
extension.value canonical:
  value: #effective-data-requirements

index: -1
identifier.system:
  value: http://example.org/fhir/cqi/ecqm/Measure/Identifier/exm
identifier.value:
  value: EXMRatio-FHIR

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

value: 2.0.0

value: EXMRatioMeasure

value: EXM Ratio Measure

value: active

value: true

value: 2025-08-13

value: HL7 International / Clinical Quality Information

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

value: An example FHIR-based publishable measure

index: -1
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: -1
    coding.system:
      value: http://hl7.org/fhir/uv/cqm/CodeSystem/intended-venue-codes
    coding.code:
      value: ec
    coding.display:
      value: EC

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

value: This measure has been developed to support improvement in clinical care.

value: Users of this measure should be aware of...

value: Example Copyright Statement

value: 2019-02-17

value: 2019-02-17

element.extension:
  index: -1
  extension.url:
    value: http://hl7.org/fhir/uv/cqm/StructureDefinition/cqm-effectivePeriodAnchor
  extension.value date time:
    value: 2018-01-01
element.extension:
  index: -1
  extension.url:
    value: http://hl7.org/fhir/uv/cqm/StructureDefinition/cqm-effectivePeriodDuration
  extension.value duration:
    quantity.value:
      value: 1
    quantity.system:
      value: http://unitsofmeasure.org
    quantity.code:
      value: a
period.start:
  value: 2018-01-01
period.end:
  value: 2018-12-31

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

index: -1
contact detail.name:
  value: Example Measure Content Developer

value: http://hl7.org/fhir/uv/cqm/Library/EXMRatio
index: -1
link: http://hl7.org/fhir/uv/cqm/Library/EXMRatio

value: Example disclaimer

codeable concept.coding:
  index: -1
  coding.system:
    value: http://terminology.hl7.org/CodeSystem/measure-scoring
  coding.code:
    value: ratio
  coding.display:
    value: Ratio

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

value: The rationale of this measure is...

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

index: -1
element.id:
  value: group-1
element.extension:
  index: -1
  extension.url:
    value: http://hl7.org/fhir/5.0/StructureDefinition/extension-Measure.group.linkId
  extension.value string:
    value: primary
measure.group.population:
  index: -1
  element.id:
    value: initial-population
  element.extension:
    index: -1
    extension.url:
      value: http://hl7.org/fhir/5.0/StructureDefinition/extension-Measure.group.population.linkId
    extension.value string:
      value: primary-exmratio-initial-population
  measure.group.population.code:
    codeable concept.coding:
      index: -1
      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.id:
    value: numerator
  element.extension:
    index: -1
    extension.url:
      value: http://hl7.org/fhir/5.0/StructureDefinition/extension-Measure.group.population.linkId
    extension.value string:
      value: primary-exmratio-numerator
  measure.group.population.code:
    codeable concept.coding:
      index: -1
      coding.system:
        value: http://terminology.hl7.org/CodeSystem/measure-population
      coding.code:
        value: numerator
      coding.display:
        value: Numerator
  measure.group.population.criteria:
    expression.language:
      value: text/cql-identifier
    expression.expression:
      value: Numerator
measure.group.population:
  index: -1
  element.id:
    value: denominator
  element.extension:
    index: -1
    extension.url:
      value: http://hl7.org/fhir/5.0/StructureDefinition/extension-Measure.group.population.linkId
    extension.value string:
      value: primary-exmratio-denominator
  measure.group.population.code:
    codeable concept.coding:
      index: -1
      coding.system:
        value: http://terminology.hl7.org/CodeSystem/measure-population
      coding.code:
        value: denominator
      coding.display:
        value: Denominator
  measure.group.population.criteria:
    expression.language:
      value: text/cql-identifier
    expression.expression:
      value: Denominator
measure.group.population:
  index: -1
  element.id:
    value: denominator-observation
  element.extension:
    index: -1
    extension.url:
      value: http://hl7.org/fhir/5.0/StructureDefinition/extension-Measure.group.population.linkId
    extension.value string:
      value: primary-exmratio-denominator-observation
  element.extension:
    index: -1
    extension.url:
      value: http://hl7.org/fhir/StructureDefinition/cqf-criteriaReference
    extension.value string:
      value: denominator
  element.extension:
    index: -1
    extension.url:
      value: http://hl7.org/fhir/uv/cqm/StructureDefinition/cqm-aggregateMethod
    extension.value code:
      value: sum
  measure.group.population.code:
    codeable concept.coding:
      index: -1
      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: Denominator Observation
measure.group.population:
  index: -1
  element.id:
    value: numerator-observation
  element.extension:
    index: -1
    extension.url:
      value: http://hl7.org/fhir/5.0/StructureDefinition/extension-Measure.group.population.linkId
    extension.value string:
      value: primary-exmratio-numerator-observation
  element.extension:
    index: -1
    extension.url:
      value: http://hl7.org/fhir/StructureDefinition/cqf-criteriaReference
    extension.value string:
      value: numerator
  element.extension:
    index: -1
    extension.url:
      value: http://hl7.org/fhir/uv/cqm/StructureDefinition/cqm-aggregateMethod
    extension.value code:
      value: sum
  measure.group.population.code:
    codeable concept.coding:
      index: -1
      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: Numerator Observation