eCQM QICore Content Implementation Guide
2024.0.0 - CI Build

eCQM QICore Content Implementation Guide, published by cqframework. This guide is not an authorized publication; it is the continuous build for version 2024.0.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/cqframework/ecqm-content-qicore-2024/ and changes regularly. See the Directory of published versions

Measure: Hospital Harm - Severe HypoglycemiaFHIR

Official URL: https://madie.cms.gov/Measure/CMS816HHHypoFHIR Version: 0.1.001
Active as of 2024-12-18 Responsible: Centers for Medicare & Medicaid Services (CMS) Computable Name: CMS816HHHypoFHIR
Other Identifiers: Short Name: CMS816FHIR (use: usual, ), UUID:1238aa6c-b533-4289-9ab9-8bb9900e9736 (use: official, ), UUID:92e7438a-961c-40b9-97a2-6abed9243574 (use: official, ), Endorser: 3503e (use: official, ), Publisher: 816FHIR (use: official, )

Copyright/Legal: Limited proprietary coding is contained in the Measure specifications for user convenience. Users of proprietary code sets should obtain all necessary licenses from the owners of the code sets. American Institutes for Research(R), formerly IMPAQ International, disclaims all liability for use or accuracy of any third party codes contained in the specifications.

LOINC(R) copyright 2004-2024 Regenstrief Institute, Inc. This material contains SNOMED Clinical Terms(R) (SNOMED CT[R]) copyright 2004-2024 International Health Terminology Standards Development Organisation. ICD-10 copyright 2024 World Health Organization. All Rights Reserved.

The measure assesses the number of inpatient hospitalizations for patients age 18 and older who were administered at least one hypoglycemic medication during the encounter, who suffer the harm of a severe hypoglycemic event during the encounter

UNKNOWN

Title: Hospital Harm - Severe HypoglycemiaFHIR
Id: CMS816HHHypoFHIR
Version: 0.1.001
Url: Hospital Harm - Severe HypoglycemiaFHIR
Short Name Identifier:

CMS816FHIR

Version Independent Identifier:

urn:uuid:1238aa6c-b533-4289-9ab9-8bb9900e9736

Version Specific Identifier:

urn:uuid:92e7438a-961c-40b9-97a2-6abed9243574

Endorser (CMS Consensus Based Entity) Identifier:

3503e

Publisher (CMS) Identifier:

816FHIR

Effective Period: 2026-01-01..2026-12-31
Publisher: Centers for Medicare & Medicaid Services (CMS)
Author: Mathematica
Description:

The measure assesses the number of inpatient hospitalizations for patients age 18 and older who were administered at least one hypoglycemic medication during the encounter, who suffer the harm of a severe hypoglycemic event during the encounter

Purpose:

UNKNOWN

Copyright:

Limited proprietary coding is contained in the Measure specifications for user convenience. Users of proprietary code sets should obtain all necessary licenses from the owners of the code sets. American Institutes for Research(R), formerly IMPAQ International, disclaims all liability for use or accuracy of any third party codes contained in the specifications.

LOINC(R) copyright 2004-2024 Regenstrief Institute, Inc. This material contains SNOMED Clinical Terms(R) (SNOMED CT[R]) copyright 2004-2024 International Health Terminology Standards Development Organisation. ICD-10 copyright 2024 World Health Organization. All Rights Reserved.

Disclaimer:

This performance measure is not a clinical guideline and does not establish a standard of medical care, and has not been tested for all potential applications.

THE MEASURES AND SPECIFICATIONS ARE PROVIDED “AS IS” WITHOUT WARRANTY OF ANY KIND.

Due to technical limitations, registered trademarks are indicated by (R) or [R] and unregistered trademarks are indicated by (TM) or [TM].

Rationale:

This measure focuses on severe hypoglycemia as an outcome in the hospital inpatient setting. In a study published by the Office of the Inspector General (OIG), in 2018 adverse drug events represented 43% of all adverse events in hospitals among Medicare patients; of those events, hypoglycemia was among the top 5 adverse drug events (Office of the Inspector General, 2022).

Inpatient hypoglycemia can be life-threatening, and is associated with longer hospital stays and increased medical costs. Severe hypoglycemia (<40 mg/dL) occurs in 2–5% of hospitalized patients with diabetes mellitus, and medication-related hypoglycemic events are common causes of adverse drug events occurring in inpatient settings. Up to half of inpatient adverse drug events may be preventable, and recent studies show that rates of severe hypoglycemia vary across hospitals, suggesting opportunities for improved care (Santos et al., 2020). Rates of inpatient hypoglycemia events are considered an indicator of the quality of care provided by a hospital. Severe hypoglycemia events are largely avoidable by careful use of antihyperglycemic medication. Moreover, the rate of severe hypoglycemia varies across hospitals indicating an opportunity for improvement in care. The Agency for Healthcare Research and Quality (AHRQ) identified insulin and other hypoglycemic agents as high alert medications and associated adverse events to be included as a measure in the Medicare Patient Safety Monitoring System (MPSMS) (Classen et al., 2021). Hypoglycemic events are an adverse outcome that can cause patients to experience drowsiness, confusion, anxiety, irritability, sweating, weakness, increased heart rate, uncontrollable trembling, as well as loss of consciousness and seizure (American Diabetes Association, 2022; Cruz, 2020). It has been found that fasting glucose levels <100 mg/dL are predictors of hypoglycemia within the next 24 hours (ElSayed et al., 2023).

Clinical recommendation statement:

From Section 16, Diabetes Care in the Hospital in the Standards of Medical Care in Diabetes by the American Diabetes Association, (American Diabetes Association, 2024):

16.12 A hypoglycemia management protocol should be adopted and implemented by each hospital or hospital system. A plan for preventing and treating hypoglycemia should be established for each individual. Episodes of hypoglycemia in the hospital should be documented in the electronic health record and tracked for quality assessment and quality improvement.

16.13 Treatment plans should be reviewed and changed as necessary to prevent hypoglycemia when a blood glucose value of <70 mg/dL (3.9 mmol/L) is documented.

A standardized hospital-wide, nurse-initiated hypoglycemia treatment protocol should be in place to immediately address blood glucose levels of <70 mg/dL (3.9 mmol/L). In addition, individualized plans for preventing and treating hypoglycemia for each patient should also be developed. An American Diabetes Association consensus statement recommends that an individuals treatment plan be reviewed any time a blood glucose value of <70 mg/dL (3.9 mmol/L) occurs, as this level often predict subsequent level 3 hypoglycemia. Episodes of hypoglycemia in the hospital should be documented in the EHR and tracked. A key strategy is embedding hypoglycemia treatment into all insulin and insulin infusion orders.

From the Endocrine Society clinical practice guideline on the Management of Hyperglycemia in Hospitalized Patients in Non-critical Care Setting (Korytkowski et al., 2022) as it relates to patients at high risk of hypoglycemia:

Recommendation 1.1 In adults with insulin-treated diabetes hospitalized for noncritical illness who are at high risk of hypoglycemia, we suggest the use of real-time continuous glucose monitoring (CGM) with confirmatory bedside point-of-care blood glucose (POC-BG) monitoring for adjustments in insulin dosing rather than point-of-care blood glucose POC-BG testing alone in hospital settings where resources and training are available.

Recommendation 2.1 Management of patients with glucocorticoid (GC)-associated hyperglycemia requires ongoing BG monitoring with adjustment of insulin dosing. All therapies require safeguards to avoid hypoglycemia when doses of GCs are tapered or abruptly discontinued.

Recommendation 10.1
In adults with no prior history of diabetes hospitalized for noncritical illness with hyperglycemia [defined as BG > 140 mg/dL (7.8 mmol/L)] during hospitalization, we suggest initial therapy with correctional insulin over scheduled insulin therapy (defined as basal or basal/bolus insulin) to maintain glucose targets in the range of 100 to 180 mg/dL (5.6 to 10.0 mmol/L). For patients with persistent hyperglycemia [≥2 POC-BG measurements ≥ 180 mg/dL (≥10.0 mmol/L) in a 24-hour period on correctional insulin alone], we suggest the addition of scheduled insulin therapy.

Recommendation 10.2 In adults with diabetes treated with diet or noninsulin diabetes medications prior to admission, we suggest initial therapy with correctional insulin or scheduled insulin therapy to maintain glucose targets in the range of 100 to 180 mg/dL (5.6 to 10.0 mmol/L). For hospitalized adults started on correctional insulin alone and with persistent hyperglycemia [≥2 point-of-care blood glucose (POC-BG) measurements ≥ 180 mg/dL in a 24-hour period (≥10.0 mmol/L)], we suggest addition of scheduled insulin therapy. We suggest initiation of scheduled insulin therapy for patients with confirmed admission blood glucose (BG) ≥ 180 mg/dL (≥10.0 mmol/L).

Recommendation 10.3 In adults with insulin-treated diabetes prior to admission who are hospitalized for noncritical illness, we recommend continuation of the scheduled insulin regimen modified for nutritional status and severity of illness to maintain glucose targets in the range of 100 to 180 mg/dL (5.6 to 10.0 mmol/L).

Remarks Reductions in the dose of basal insulin (by 10% to 20%) at time of hospitalization may be required for patients on basal heavy insulin regimens (defined as doses of basal insulin ≥ 0.6 to 1.0 units/kg/day), in which basal insulin is being used inappropriately to cover meal-related excursions in BG.

Guidance (Usage): Note the measure is currently confined to using mg/dL as the unit of measurement for glucose results. Glucose levels are determined by laboratory or point-of-care (POC) tests, including capillary/glucometer blood glucose tests, and by interstitial fluid specimens from continuous glucose monitors. Glucose test results from urine specimens are not considered. Millimoles per liter (mmol/L) should be converted to milligrams per deciliter (mg/dL) for reporting this measure. This eCQM is an episode-based measure. An episode is defined as each inpatient hospitalization or encounter that ends during the measurement period. This FHIR-based measure has been derived from the QDM-based measure: CMS816v5. Please refer to the HL7 QI-Core Implementation Guide (https://hl7.org/fhir/us/qicore/STU4.1.1/) for more information on QI-Core and mapping recommendations from QDM to QI-Core 4.1.1 (https://hl7.org/fhir/us/qicore/STU4.1.1/qdm-to-qicore.html).
Population Criteria:
65020114da013638e7b3dc19
Initial Population: Inpatient hospitalizations for patients age 18 and older and at least one hypoglycemic medication was administered during the encounter. The measure includes instances of administration of hypoglycemic medications in the emergency department or in observation status at the start of an inpatient hospitalization when assessing inclusion of encounters in the measure denominator.
Denominator: Equals Initial Population
Numerator: Inpatient hospitalizations where a severe hypoglycemic event occurred during the encounter, which is: - A glucose result less than 40 mg/dL AND - A hypoglycemic medication administered within 24 hours prior to the start of the severe hypoglycemic event (i.e., the glucose result less than 40 mg/dL) AND - No subsequent repeat test for glucose with a result greater than 80 mg/dL within five minutes of the time of the initial glucose test with result less than 40mg/dL Only one qualifying severe hypoglycemic event is counted in the numerator, and only one severe hypoglycemic event is counted per encounter. The 24-hour and 5-minute timeframes are based on the time the glucose was drawn, as this reflects the time the patient was experiencing that specific glucose level.
Supplemental Data Elements:

SDE Ethnicity

SDE Payer

SDE Race

SDE Sex

Supplemental Data Guidance : For every patient evaluated by this measure also identify payer, race, ethnicity and sex; SDE Ethnicity SDE Payer SDE Race SDE Sex
Libraries:
CMS816HHHypoFHIR
Terminology and Other Dependencies:
  • Library/SupplementalDataElements|3.5.000
  • Library/FHIRHelpers|4.4.000
  • Library/QICoreCommon|2.1.000
  • Library/CQMCommon|2.2.000
  • AdministrativeGender
  • Encounter Inpatient
  • http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1196.393
  • Observation Services
  • Emergency Department Visit
  • http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1248.34
  • Payer
  • Parameters:
    name use min max type
    Measurement Period In 0 1 Period
    SDE Sex Out 0 1 Coding
    Numerator Out 0 * Resource
    Denominator Out 0 * Resource
    SDE Payer Out 0 * Resource
    Initial Population Out 0 * Resource
    SDE Ethnicity Out 0 1 Resource
    SDE Race Out 0 1 Resource
    DataRequirements:
    Resource Type Resource Elements Valueset Name Valueset
    Patient(QICorePatient) ethnicity race
    Encounter(QICoreEncounter) type status status.value period Observation Services Observation Services
    Encounter(QICoreEncounter) type status status.value period Emergency Department Visit Emergency Department Visit
    Encounter(QICoreEncounter) type period status status.value Encounter Inpatient Encounter Inpatient
    MedicationAdministration(QICoreMedicationAdministration) medication status status.value effective Hypoglycemics Severe Hypoglycemia http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1196.393
    Observation(QICoreObservation) code effective status status.value value id id.value Glucose Lab Test Mass Per Volume http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1248.34
    Coverage(QICoreCoverage) type period Payer Type Payer
    Direct Reference Codes:
    display code system
    Male M http://hl7.org/fhir/administrative-gender
    Female F http://hl7.org/fhir/administrative-gender
    Logic Definitions:
    Group Scoring Population Criteria Expression
    65020114da013638e7b3dc19 Group scoring: proportion
    Type:

    Outcome

    Rate Aggregation: None
    Improvement Notation:

    decrease

    Initial Population
    define "Initial Population":
      "Encounter with Hypoglycemic Medication Administration"
    Denominator
    define "Denominator":
      "Initial Population"
    Numerator
    define "Numerator":
      "Encounter with Severe Hypoglycemic Harm Event"
    Library Name Name
    SupplementalDataElements SDE Sex
    define "SDE Sex":
      case
        when Patient.gender = 'male' then "M"
        when Patient.gender = 'female' then "F"
        else null
      end
    Library Name Name
    CMS816HHHypoFHIR SDE Sex
    define "SDE Sex":
      SDE."SDE Sex"
    Library Name Name
    CMS816HHHypoFHIR Qualifying Encounter
    define "Qualifying Encounter":
      ["Encounter": "Encounter Inpatient"] InpatientEncounter
        where AgeInYearsAt(date from start of InpatientEncounter.period) >= 18
          and InpatientEncounter.period ends during day of "Measurement Period"
          and InpatientEncounter.status = 'finished'
    Library Name Name
    CMS816HHHypoFHIR Hypoglycemic Medication Administration
    define "Hypoglycemic Medication Administration":
      ["MedicationAdministration": "Hypoglycemics Severe Hypoglycemia"] HypoMedication
        where HypoMedication.status = 'completed'
          and HypoMedication.status != 'not-done'
    Library Name Name
    CMS816HHHypoFHIR Encounter with Hypoglycemic Medication Administration
    define "Encounter with Hypoglycemic Medication Administration":
      "Qualifying Encounter" InpatientHospitalization
        with "Hypoglycemic Medication Administration" HypoglycemicMedication
          such that QICoreCommon."ToInterval" ( HypoglycemicMedication.effective ) starts during CQMCommon."HospitalizationWithObservation" ( InpatientHospitalization )
    Library Name Name
    CMS816HHHypoFHIR Initial Population
    define "Initial Population":
      "Encounter with Hypoglycemic Medication Administration"
    Library Name Name
    CMS816HHHypoFHIR Denominator
    define "Denominator":
      "Initial Population"
    Library Name Name
    CMS816HHHypoFHIR Glucose Test with Result Less Than 40
    define "Glucose Test with Result Less Than 40":
      from
        "Denominator" QualifyingEncounter,
        "Hypoglycemic Medication Administration" HypoglycemicMedication,
        ["Observation": "Glucose Lab Test Mass Per Volume"] GlucoseTest
        let HospitalizationInterval: CQMCommon."HospitalizationWithObservation" ( QualifyingEncounter ),
        HypoglycemicMedicationStart: QICoreCommon."ToInterval" ( HypoglycemicMedication.effective ),
        GlucoseTestTime: QICoreCommon."Earliest" ( GlucoseTest.effective )
        where GlucoseTestTime during HospitalizationInterval
          and GlucoseTest.status in { 'final', 'amended', 'corrected' }
          and GlucoseTest.value < 40 'mg/dL'
          and HypoglycemicMedicationStart starts 24 hours or less before or on GlucoseTestTime
        return GlucoseTest
    Library Name Name
    CMS816HHHypoFHIR Low Glucose Test Followed By Glucose Test Result Greater Than 80
    define "Low Glucose Test Followed By Glucose Test Result Greater Than 80":
      from
        "Denominator" QualifyingEncounter,
        "Glucose Test with Result Less Than 40" LowGlucoseTest,
        ["Observation": "Glucose Lab Test Mass Per Volume"] FollowupGlucoseTest
        let GlucoseTestTime: QICoreCommon."Earliest" ( LowGlucoseTest.effective ),
        FollowupGlucoseTestTime: QICoreCommon."Earliest" ( FollowupGlucoseTest.effective )
      //    FollowupInterval: duration in minutes between LowGlucoseTestResultTime and FollowupGlucoseTestTime//
        
        where FollowupGlucoseTestTime 5 minutes or less after GlucoseTestTime
          and GlucoseTestTime during CQMCommon."HospitalizationWithObservation" ( QualifyingEncounter )
          and FollowupGlucoseTestTime during CQMCommon."HospitalizationWithObservation" ( QualifyingEncounter )
          and FollowupGlucoseTest.id !~ LowGlucoseTest.id
          and FollowupGlucoseTest.status in { 'final', 'amended', 'corrected' }
          and FollowupGlucoseTest.value > 80 'mg/dL'
        return LowGlucoseTest
    Library Name Name
    CMS816HHHypoFHIR Severe Hypoglycemic Harm Event
    define "Severe Hypoglycemic Harm Event":
      "Glucose Test with Result Less Than 40" LowGlucoseTest
        where not ( LowGlucoseTest.id in "Low Glucose Test Followed By Glucose Test Result Greater Than 80".id )
    Library Name Name
    CMS816HHHypoFHIR Encounter with Severe Hypoglycemic Harm Event
    define "Encounter with Severe Hypoglycemic Harm Event":
      from
        "Denominator" QualifyingEncounter,
        "Severe Hypoglycemic Harm Event" HypoglycemicEvent
        let GlucoseTestTime: QICoreCommon."Earliest" ( HypoglycemicEvent.effective ),
        HospitalizationInterval: CQMCommon."HospitalizationWithObservation" ( QualifyingEncounter )
        where GlucoseTestTime during HospitalizationInterval
        return QualifyingEncounter
    Library Name Name
    CMS816HHHypoFHIR Numerator
    define "Numerator":
      "Encounter with Severe Hypoglycemic Harm Event"
    Library Name Name
    SupplementalDataElements SDE Payer
    define "SDE Payer":
      [Coverage: type in "Payer Type"] Payer
        return {
          code: Payer.type,
          period: Payer.period
        }
    Library Name Name
    CMS816HHHypoFHIR SDE Payer
    define "SDE Payer":
      SDE."SDE Payer"
    Library Name Name
    SupplementalDataElements SDE Ethnicity
    define "SDE Ethnicity":
      Patient.ethnicity E
        return Tuple {
          codes: { E.ombCategory } union E.detailed,
          display: E.text
        }
    Library Name Name
    CMS816HHHypoFHIR SDE Ethnicity
    define "SDE Ethnicity":
      SDE."SDE Ethnicity"
    Library Name Name
    SupplementalDataElements SDE Race
    define "SDE Race":
      Patient.race R
        return Tuple {
          codes: R.ombCategory union R.detailed,
          display: R.text
        }
    Library Name Name
    CMS816HHHypoFHIR SDE Race
    define "SDE Race":
      SDE."SDE Race"
    Library Name Name
    CQMCommon HospitalizationWithObservation
    /*
    @description: Hospitalization with Observation returns the total interval from the start of any immediately prior emergency department visit through the observation visit to the discharge of the given encounter
    @deprecated: This function is deprecated. Use the fluent function `hospitalizationWithObservation()` instead.
    */
    define function "HospitalizationWithObservation"(TheEncounter Encounter ):
      TheEncounter Visit
      		let ObsVisit: Last([Encounter: "Observation Services"] LastObs
      				where LastObs.status = 'finished'
                and LastObs.period ends 1 hour or less on or before start of Visit.period
      				sort by end of period
      			),
      			VisitStart: Coalesce(start of ObsVisit.period, start of Visit.period),
      			EDVisit: Last([Encounter: "Emergency Department Visit"] LastED
      				where LastED.status = 'finished'
                and LastED.period ends 1 hour or less on or before VisitStart
      				sort by end of period
      			)
      		return Interval[Coalesce(start of EDVisit.period, VisitStart), end of Visit.period]
    Library Name Name
    QICoreCommon Earliest
    /*
    @description: Given an interval, return the starting point if the interval has a starting boundary specified,
    otherwise, return the ending point
    @deprecated: This function is deprecated. Use the fluent function `earliest()` instead
    */
    define function "Earliest"(choice Choice<DateTime, Quantity, Interval<DateTime>, Interval<Quantity>> ):
      (choice.toInterval()) period
        return
          if (HasStart(period)) then start of period
          else end of period
    Library Name Name
    FHIRHelpers ToString
    define function ToString(value uri): value.value
    Library Name Name
    FHIRHelpers ToCode
    /*
    @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
            }