eCQM Title | Hospital Harm - Severe Hyperglycemia |
||
---|---|---|---|
eCQM Identifier (Measure Authoring Tool) | 871 | eCQM Version Number | 3.0.000 |
NQF Number | 3533e | GUID | ef95493c-3f65-4440-9ccb-eaf1b9ed1210 |
Measurement Period | January 1, 20XX through December 31, 20XX | ||
Measure Steward | Centers for Medicare & Medicaid Services (CMS) | ||
Measure Developer | American Institutes for Research (AIR) | ||
Endorsed By | National Quality Forum | ||
Description |
This measure assesses the number of inpatient hospital days for patients age 18 and older with a hyperglycemic event (harm) per the total qualifying inpatient hospital days for that encounter |
||
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-2022 Regenstrief Institute, Inc. This material contains SNOMED Clinical Terms(R) (SNOMED CT[R]) copyright 2004-2022 International Health Terminology Standards Development Organisation. ICD-10 copyright 2022 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]. |
||
Measure Scoring | Ratio | ||
Measure Type | Outcome | ||
Stratification |
|
||
Risk Adjustment |
None |
||
Rate Aggregation |
None |
||
Rationale |
Hyperglycemia, i.e., elevated glucose level, is common among hospitalized patients, especially those with preexisting diabetes (Umpierrez et al., 2012) and account for over 30% of noncritically ill hospitalized patients (Korytkowski, 2022). Hyperglycemia can also affect individuals with no prior history of diabetes and may be induced by medications such as steroids, or parenteral (intravenous) or enteral (tube) feeding. Severe hyperglycemia, i.e., extremely elevated glucose level, is significantly associated with a range of harms, including increased in-hospital mortality, infection rates, and hospital length of stay (Pasquel, et al., 2021; Umpierrez et al., 2012, 2015). Lower rates of inpatient severe hyperglycemia may not only improve care for patients, but also reduce costs for healthcare payers (Krinsley et al., 2016). The rate of hyperglycemia varies across hospitals, suggesting opportunities for improvement in inpatient glycemic management (Bersoux et al., 2013). The rate of inpatient hyperglycemia can be considered a marker for quality of hospital care, since inpatient hyperglycemia is largely avoidable with proper glycemic management. The use of evidence-based standardized protocols and insulin management protocols have been shown to improve glycemic control and safety (Leroy et al., 2020; Maynard et al., 2015). From the Endocrine Society clinical practice guideline on the Management of Hyperglycemia in Hospitalized Patients in Non-critical Care Setting, 2022: 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. |
||
Clinical Recommendation Statement |
It should be noted that this measure does not aim to measure overall glucose control in hospitalized patients; rather, our goal is to assess the occurrence and extent of severe hyperglycemia. This measure is also intended to be used in combination with its companion measure of hypoglycemia (Hospital Harm – Hypoglycemia) to reduce unintended consequences of measurement. Multiple guidelines address recommended levels of glycemic control, though these do not define severe hyperglycemia: From Section 16, Diabetes Care in the Hospital, in the Standards of Medical Care in Diabetes by the American Diabetes Association, (American Diabetes Association, 2022): 16.4 Insulin therapy should be initiated for treatment of persistent hyperglycemia starting at a threshold ≥180 mg/dL (10.0 mmol/L) (checked on two occasions). Once insulin therapy is started, a target glucose range of 140–180 mg/dL (7.8–10.0 mmol/L) is recommended for the majority of critically ill and noncritically ill patients. A 16.5 More stringent goals, such as 110–140 mg/dL (6.1–7.8 mmol/L), may be appropriate for selected patients if they can be achieved without significant hypoglycemia. From the Endocrine Society clinical practice guideline on the Management of Hyperglycemia in Hospitalized Patients in Non-critical Care Setting (2022): Recommendation 10.1 In adults with no prior history of diabetes hospitalized for noncritical illness with hyperglycemia [defined as blood glucose (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 point-of-care blood glucose (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. There is no clinically accepted cutoff for severe hyperglycemia. Studies have used thresholds of >140, >180 , >300, and >350 mg/dL, among other values (American Diabetes Association, 2020; Umpierrez et al, 2012, 2015); Jamesen et al., 2015; Donihi et al., 2011; Mendez et al, 2015). BGL <180 mg/dL is associated with lower rates of mortality and stroke compared with a target glucose <200 mg/dL (Sathya, et al., 2013). Glycemic goals may also differ among hospitalized patients. For example, in an older patient with a prior history of severe hypoglycemia, some degree of hyperglycemia may be tolerated to maximize safety. Intensive insulin therapy to target glucose of 100 and 140mg/dLin the ICU didn’t significantly reduce perioperative complications compared with target glucose of 141and180mg/dLafter coronary artery bypass surgery (Umpierrez, 2015). For patients who present with hyperglycemic crises, neurologic status must be monitored closely, with frequent re-examination. Care should be taken to prevent over-correction of hyperglycemia and hyperosmolarity following initial fluid resuscitation of these patients to prevent cerebral edema, which carries a high mortality rate. (Gosmanov et al., 2021). |
||
Improvement Notation |
A lower measure score indicates higher quality |
||
Reference |
Reference Type: CITATION Reference Text: 'American Diabetes Association Professional Practice Committee; 16. (2022). Diabetes Care in the Hospital: Standards of Medical Care in Diabetes—2022. Diabetes Care 1 January 2022; 45 (Supplement_1): S244–S253. https://doi.org/10.2337/dc22-S016' |
||
Reference |
Reference Type: CITATION Reference Text: 'Bersoux, S., Cook, C.B., Kongable, G.L., Shu, J. (2013). Trends in glycemic control over a 2-year period in 126 US hospitals. J Hosp Med. 2013;8(3):121-125. doi:10.1002/jhm.1997' |
||
Reference |
Reference Type: CITATION Reference Text: 'Donihi, A.C., Gibson, J.M., Noschese, M.L., et al. (2011). Effect of targeted glycemic management program on provider response to inpatient hyperglycemia. Endocr Pract. 2011; (4)552-557' |
||
Reference |
Reference Type: CITATION Reference Text: 'Gosmanov, A.R., Gosmanova, E.O., Kitabchi, A.E. (2021). Hyperglycemic Crises: Diabetic Ketoacidosis and Hyperglycemic Hyperosmolar State. [Updated 2021 May 9]. In: Feingold KR, Anawalt B, Boyce A, et al., editors. Endotext [Internet]. South Dartmouth (MA): MDText.com, Inc.; 2000-. Retrieved from: https://www.ncbi.nlm.nih.gov/books/NBK279052/' |
||
Reference |
Reference Type: CITATION Reference Text: 'Jamesen, E., Nevalainen, P.L., Eskelinen, A., et al. (2015). Risk factors for perioperative hyperglycemia in primary hip and knee replacements. Acta Orthop. 2015; 86(2):175-182' |
||
Reference |
Reference Type: CITATION Reference Text: 'Korytkowski, M.T., Muniyappa, R., Antinori-Lent, K., Donihi, A.C., Drincic, A.T, Hirsch, I.B., Luger, A., McDonnell, M.E., Murad, M.H., Nielsen, C., Pegg, C., Rushakoff, R.J., Santesso, N., Umpierrez, G.E. (2022). Management of Hyperglycemia in Hospitalized Adult Patients in Non-Critical Care Settings: An Endocrine Society Clinical Practice Guideline, The Journal of Clinical Endocrinology & Metabolism, Volume 107, Issue 8, August 2022, Pages 2101–2128, https://doi.org/10.1210/clinem/dgac278' |
||
Reference |
Reference Type: CITATION Reference Text: 'Krinsley, J.S., Jones, R.L. (2016). Cost analysis of intensive glycemic control in critically ill adult patients. Chest. 2016;129(3)644-650' |
||
Reference |
Reference Type: CITATION Reference Text: 'LeRoy, L., Richard, S. (2020). Harms Due to Diabetic Agents (Chapter 8), Making Healthcare Safer III: A Critical Analysis of Existing and Emerging Patient Safety Practices. Retrieved from: https://www.ahrq.gov/sites/default/files/wysiwyg/research/findings/making-healthcare-safer/mhs3/diabetes-1.pdf' |
||
Reference |
Reference Type: CITATION Reference Text: 'Maynard, G., Kulasa, K., Ramos, P., et al. (2015). Impact of a hypoglycemic reduction bundle and a systems approach to inpatient glycemic management. Endocr Pract. 2015;21(4):355-367' |
||
Reference |
Reference Type: CITATION Reference Text: 'Mendez, C.E., Ata, A., Rourke, J.M., et al. (2015). Daily inpatient glycemic survey (DINGS): A process to remotely identify and assist in the management of hospitalized patients with diabetes and hyperglycemia. Endocr Pract. 2015;21(8):927-935' |
||
Reference |
Reference Type: CITATION Reference Text: 'Pasquel, F.J., Lansang, M.C., Dhatariya, K., Umpierrez, G.E. (2021). Management of diabetes and hyperglycaemia in the hospital. The Lancet Diabetes & Endocrinology. 2021; 9: 174–88' |
||
Reference |
Reference Type: CITATION Reference Text: 'Sathya, B., Davis, R., Taveira, T., et al. (2013). Intensity of peri-operative glycemic control and postoperative outcomes in patients with diabetes: a meta-analysis. Diabetes Res Clin Pract. 2013;102(1):815.10.1016/j.diabres.2013.05.003' |
||
Reference |
Reference Type: CITATION Reference Text: 'Umpierrez, G., Cardona, S., Pasquel, F., et al. (2015). Randomized controlled trial of intensive versus conservative glucose control in patients undergoing coronary artery bypass graft surgery: gluco-CABG trial. Diabetes Care. 2015;38(9):1665-1672' |
||
Reference |
Reference Type: CITATION Reference Text: 'Umpierrez, G.E., Hellman, R., Korytkowski, M.T., et al. (2012). Management of Hyperglycemia in Hospitalized Patients in Non-critical Care Setting: An Endocrine Society Clinical Practice Guideline. J Clin Endocrinol Metab. 2012;97, 16-38' |
||
Definition |
Inpatient hospitalizations: Includes time in the emergency department and observation when the transition between these encounters (if they exist) and the inpatient encounter are within an hour or less of each other. This measure defines a severe hyperglycemic day (harm) as either (1) a day with a test (lab or point-of-care (POC)) for glucose with a result of >300 mg/dL, or (2) a day in which a glucose test with a result was not found and it was preceded by two consecutive days where at least one lab or point-of-care (POC) test during each of the two days for glucose had a result >=200 mg/dL. Hospital days are not defined as midnight-to-midnight but are full 24-hour periods that start at the time of admission to the hospital (including emergency department and observation), excluding the last period before discharge from hospital inpatient if it is less than 24 hours. |
||
Guidance |
The measure is using mg/dL as the unit of measurement for glucose results. To determine the measure outcome, the total number of hyperglycemic days during the inpatient hospitalization is divided by the total number of eligible hospital days of the inpatient hospitalization. When evaluating for days with a glucose level >300 mg/dL, the first 24-hour period after admission to the hospital (including the emergency department or observation) is not evaluated to account for potentially poor glucose control outside of the hospital setting or that preceded the start of hospital care. This measure evaluates the first 10 days of an eligible inpatient hospitalization in determining eligible days for the denominator and numerator (i.e., the length of stay is truncated to <=10 days when the length exceeds 10 days). Patients admitted for longer length of stays are more likely to have more complex medical conditions. The “Days in Hospitalization” logic within Measure Observation 1 (associated with the denominator), in conjunction with other logic, returns the day number (e.g., day 1 to day 10) for each day within the hospitalization period to determine the eligible hospital days (e.g., from day 2 to day 10). The “Days in Hospitalization” logic within Measure Observation 2 (associated with the numerator), in conjunction with other logic, returns the day number (e.g., day 1 to day 10) for each day within the hospitalization period to determine the eligible hyperglycemic event days (e.g., from day 2 to day 10). Since the measure does not count any hyperglycemic events that occur in the first 24 hours, day 1 is not considered an eligible hospital day for the Measure Observations. Eligible days range from day 2 up to day 10. Although the measure does not count any hyperglycemic events that occur in the first 24 hours as a hyperglycemic event day in Measure Observation 2, the first 24 hours of the encounter is considered day 1. This is because if there was a day during the encounter where a glucose result is not found, the measure evaluates the two days preceding to see if each had a glucose value >=200 mg/dL. The measure allows the first 24 hours of the encounter, i.e., day 1, to be one of the preceding days. Multiple hyperglycemic events can occur during a ‘day’, but this is still considered one hyperglycemic event day. The numerator returns the first eligible encounter that meets the qualifying criteria: an inpatient hospitalization with a hyperglycemic event. Only one numerator is counted per encounter. Note that the Numerator returns the encounters, not days, that meet the criteria. The specimen source for the glucose test is blood, serum, plasma, or interstitial fluid, and can be obtained by a laboratory test, a Point of Care (POC) test, or a continuous glucose monitor (CGM). Glucose test results from urine specimens are not considered. This eCQM is an episode-based measure. An episode is defined as each inpatient hospitalization or encounter that ends during the measurement period. This version of the eCQM uses QDM version 5.6. Please refer to the eCQI resource center (https://ecqi.healthit.gov/qdm) for more information on the QDM. |
||
Transmission Format |
TBD |
||
Initial Population |
Inpatient hospitalizations for patients age 18 and older that end during the measurement period, as well as either: - A diagnosis of diabetes that starts before or during the encounter; or - Administration of at least one dose of insulin or any hypoglycemic medication during the encounter; or - Presence of at least one glucose value >=200 mg/dL at any time during the encounter |
||
Denominator |
Equals Initial Population |
||
Denominator Exclusions |
Inpatient hospitalizations for patients with an initial glucose result of >=1000 mg/dL anytime between 1 hour prior to the start of the encounter to 6 hours after the start of the encounter |
||
Measure Observations |
There are two Measure Observations: Encounter Observation 2, associated with the numerator of the ratio: The total number of hyperglycemic days during the inpatient hospitalization that meet the numerator criteria. Days with a hyperglycemic event are defined as: - All days with a glucose level >300 mg/dL (except those occurring in the first 24-hour period after admission to the hospital (including the emergency department and observation)), OR - All days where a glucose was not measured, and it was immediately preceded by two contiguous, consecutive days where at least one glucose value during each of the two days was >=200 mg/dL. Encounter Observation 1, associated with the denominator of the ratio: The total number of eligible days of the inpatient hospitalization which match the initial population/denominator criteria and did not meet the denominator exclusion criteria. The length of stay for all eligible inpatient hospitalizations is truncated to <=10 days when the length exceeds 10 days. Do not count the last day if it was less than a 24-hour period as this is not considered a full day. |
||
Numerator |
Inpatient hospitalizations with a hyperglycemic event within the first 10 days of the encounter minus the first 24 hours, and minus the last period before discharge from the hospital if less than 24 hours A hyperglycemic event is defined as: - A day with at least one glucose value >300 mg/dL, OR - A day where a glucose test and result was not found, and it was immediately preceded by two contiguous, consecutive days where at least one glucose value during each of the two days was >=200 mg/dL |
||
Numerator Exclusions |
Not Applicable |
||
Supplemental Data Elements |
For every patient evaluated by this measure also identify payer, race, ethnicity and sex |
"Encounter with Existing Diabetes Diagnosis" union "Encounter with Hypoglycemic Medication" union "Encounter with Elevated Glucose Greater Than or Equal to 200"
"Initial Population"
"Encounter with First Glucose Greater Than or Equal to 1000"
"Encounter with Hyperglycemic Events"
None
Sum ( if QualifyingEncounter.id in "Denominator Exclusions".id then singleton from ( "Days with Hyperglycemic Events" EncounterWithEventDays where EncounterWithEventDays.encounter = QualifyingEncounter return 0 ) else singleton from ( "Days with Hyperglycemic Events" EncounterWithEventDays where EncounterWithEventDays.encounter = QualifyingEncounter return Count(EncounterWithEventDays.eligibleEventDays) ) )
Sum ( if QualifyingEncounter.id in "Denominator Exclusions".id then singleton from ( "Days with Hyperglycemic Events" EncounterWithEventDays where EncounterWithEventDays.encounter = QualifyingEncounter return 0 ) else singleton from ( "Days with Hyperglycemic Events" EncounterWithEventDays where EncounterWithEventDays.encounter = QualifyingEncounter return Count(EncounterWithEventDays.eligibleEventDays EligibleEventDay where EligibleEventDay.hasHyperglycemicEvent ) ) )
"Measurement Population" EligibleInpatientHospitalization let period: Global."HospitalizationWithObservation" ( EligibleInpatientHospitalization ), relevantPeriod: "Hospital Days Max 10"(period) return Tuple { encounter: EligibleInpatientHospitalization, hospitalizationPeriod: period, relevantPeriod: relevantPeriod, relevantDays: "Days In Period"(relevantPeriod) }
"Days in Hospitalization" InpatientHospitalDays return Tuple { encounter: InpatientHospitalDays.encounter, relevantPeriod: InpatientHospitalDays.relevantPeriod, relevantDays: ( InpatientHospitalDays.relevantDays EncounterDay return Tuple { dayNumber: EncounterDay.dayNumber, dayPeriod: EncounterDay.dayPeriod, hasSevereResult: exists ( ["Laboratory Test, Performed": "Glucose Lab Test Mass Per Volume"] GlucoseTest where GlucoseTest.result > 300 'mg/dL' and Global."EarliestOf" ( GlucoseTest.relevantDatetime, GlucoseTest.relevantPeriod ) during EncounterDay.dayPeriod ), hasElevatedResult: exists ( ["Laboratory Test, Performed": "Glucose Lab Test Mass Per Volume"] GlucoseTest where GlucoseTest.result >= 200 'mg/dL' and Global."EarliestOf" ( GlucoseTest.relevantDatetime, GlucoseTest.relevantPeriod ) during EncounterDay.dayPeriod ), hasNoGlucoseTest: not exists ( ["Laboratory Test, Performed": "Glucose Lab Test Mass Per Volume"] GlucoseTest where Global."EarliestOf" ( GlucoseTest.relevantDatetime, GlucoseTest.relevantPeriod ) during EncounterDay.dayPeriod ) } ) }
"Days with Glucose Results" EncounterWithResultDays let eligibleEventDays: EncounterWithResultDays.relevantDays EncounterDay where EncounterDay.dayNumber > 1 return Tuple { dayNumber: EncounterDay.dayNumber, dayPeriod: EncounterDay.dayPeriod, hasHyperglycemicEvent: ( EncounterDay.hasSevereResult or ( EncounterDay.hasNoGlucoseTest and EncounterWithResultDays.relevantDays[EncounterDay.dayNumber - 2].hasElevatedResult and EncounterWithResultDays.relevantDays[EncounterDay.dayNumber - 3].hasElevatedResult ) ) } return Tuple { encounter: EncounterWithResultDays.encounter, relevantPeriod: EncounterWithResultDays.relevantPeriod, eligibleEventDays: eligibleEventDays }
"Initial Population"
"Encounter with First Glucose Greater Than or Equal to 1000"
"Encounter with Hospitalization Period" Hospitalization with ["Laboratory Test, Performed": "Glucose Lab Test Mass Per Volume"] GlucoseTest such that Global."EarliestOf" ( GlucoseTest.relevantDatetime, GlucoseTest.relevantPeriod ) during Hospitalization.hospitalizationPeriod and GlucoseTest.result >= 200 'mg/dL' return Hospitalization.encounter
"Encounter with Hospitalization Period" Hospitalization with ["Diagnosis": "Diabetes"] DiabetesCondition such that DiabetesCondition.prevalencePeriod starts before end of Hospitalization.hospitalizationPeriod return Hospitalization.encounter
"Initial Population" InpatientHospitalization with "Initial Glucose Greater Than or Equal to 1000 within 1 Hour Prior To and 6 Hours After Encounter Start" FirstGlucoseResult such that FirstGlucoseResult.result is not null and FirstGlucoseResult.result >= 1000 'mg/dL' and Global."EarliestOf" ( FirstGlucoseResult.relevantDatetime, FirstGlucoseResult.relevantPeriod ) during Interval[( start of Global."HospitalizationWithObservation" ( InpatientHospitalization ) - 1 hour ), ( start of Global."HospitalizationWithObservation" ( InpatientHospitalization ) + 6 hours )] return InpatientHospitalization
"Qualifying Encounter" QualifyingHospitalization return Tuple { encounter: QualifyingHospitalization, hospitalizationPeriod: Global."HospitalizationWithObservation" ( QualifyingHospitalization ) }
"Days with Hyperglycemic Events" HyperglycemicEventDays where exists ( HyperglycemicEventDays.eligibleEventDays EligibleEventDay where EligibleEventDay.hasHyperglycemicEvent ) return HyperglycemicEventDays.encounter
"Encounter with Hospitalization Period" Hospitalization with ["Medication, Administered": "Hypoglycemics Treatment Medications"] HypoglycemicMedication such that Global."NormalizeInterval" ( HypoglycemicMedication.relevantDatetime, HypoglycemicMedication.relevantPeriod ) starts during Hospitalization.hospitalizationPeriod return Hospitalization.encounter
from "Initial Population" InpatientHospitalization, ["Laboratory Test, Performed": "Glucose Lab Test Mass Per Volume"] GlucoseTest let HospitalizationInterval: Global."HospitalizationWithObservation" ( InpatientHospitalization ), GlucoseTestTime: Global."EarliestOf" ( GlucoseTest.relevantDatetime, GlucoseTest.relevantPeriod ) where GlucoseTest.result >= 1000 'mg/dL' and GlucoseTest.result is not null and GlucoseTestTime during Interval[( start of HospitalizationInterval - 1 hour ), ( start of HospitalizationInterval + 6 hours )] return GlucoseTest
from "Initial Population" InpatientHospitalization, "Glucose Greater Than or Equal to 1000 within 1 Hour Prior To and 6 Hours After Encounter Start" GlucoseResult1000, ["Laboratory Test, Performed": "Glucose Lab Test Mass Per Volume"] EarlierGlucoseTest let HospitalizationInterval: Global."HospitalizationWithObservation" ( InpatientHospitalization ), GlucoseTest1000Time: Global."EarliestOf" ( GlucoseResult1000.relevantDatetime, GlucoseResult1000.relevantPeriod ), EarlierGlucoseTestTime: Global."EarliestOf" ( EarlierGlucoseTest.relevantDatetime, EarlierGlucoseTest.relevantPeriod ) where GlucoseTest1000Time during Interval[( start of HospitalizationInterval - 1 hour ), ( start of HospitalizationInterval + 6 hour )] and EarlierGlucoseTestTime during Interval[( start of HospitalizationInterval - 1 hour ), GlucoseTest1000Time ) and EarlierGlucoseTest is not null and EarlierGlucoseTest.id !~ GlucoseResult1000.id return GlucoseResult1000
"Glucose Greater Than or Equal to 1000 within 1 Hour Prior To and 6 Hours After Encounter Start" GlucoseResult1000 where not ( GlucoseResult1000.id in "Glucose Tests Earlier Than Glucose Greater Than or Equal to 1000 within 1 Hour Prior To and 6 Hours After Encounter Start".id )
"Encounter with Existing Diabetes Diagnosis" union "Encounter with Hypoglycemic Medication" union "Encounter with Elevated Glucose Greater Than or Equal to 200"
"Denominator"
"Encounter with Hyperglycemic Events"
["Encounter, Performed": "Encounter Inpatient"] InpatientEncounter where InpatientEncounter.relevantPeriod ends during day of "Measurement Period" and AgeInYearsAt(date from start of InpatientEncounter.relevantPeriod)>= 18
["Patient Characteristic Ethnicity": "Ethnicity"]
["Patient Characteristic Payer": "Payer"]
["Patient Characteristic Race": "Race"]
["Patient Characteristic Sex": "ONC Administrative Sex"]
( "Interval To Day Numbers"(Period)) DayNumber let startPeriod: start of Period + ( 24 hours * ( DayNumber - 1 ) ), endPeriod: if ( hours between startPeriod and end of Period < 24 ) then startPeriod else start of Period + ( 24 hours * DayNumber ) return Tuple { dayNumber: DayNumber, dayPeriod: Interval[startPeriod, endPeriod ) }
if QualifyingEncounter.id in "Denominator Exclusions".id then singleton from ( "Days with Hyperglycemic Events" EncounterWithEventDays where EncounterWithEventDays.encounter = QualifyingEncounter return 0 ) else singleton from ( "Days with Hyperglycemic Events" EncounterWithEventDays where EncounterWithEventDays.encounter = QualifyingEncounter return Count(EncounterWithEventDays.eligibleEventDays) )
Interval[start of Period, Min({ end of Period, start of Period + 10 days } )]
( expand { Interval[1, days between start of Period and end of Period]} ) DayExpand return end of DayExpand
if ( HasStart(period)) then start of period else end of period
Earliest(NormalizeInterval(pointInTime, period))
not ( start of period is null or start of period = minimum DateTime )
Encounter Visit let ObsVisit: Last(["Encounter, Performed": "Observation Services"] LastObs where LastObs.relevantPeriod ends 1 hour or less on or before start of Visit.relevantPeriod sort by end of relevantPeriod ), VisitStart: Coalesce(start of ObsVisit.relevantPeriod, start of Visit.relevantPeriod), EDVisit: Last(["Encounter, Performed": "Emergency Department Visit"] LastED where LastED.relevantPeriod ends 1 hour or less on or before VisitStart sort by end of relevantPeriod ) return Interval[Coalesce(start of EDVisit.relevantPeriod, VisitStart), end of Visit.relevantPeriod]
if pointInTime is not null then Interval[pointInTime, pointInTime] else if period is not null then period else null as Interval<DateTime>
if QualifyingEncounter.id in "Denominator Exclusions".id then singleton from ( "Days with Hyperglycemic Events" EncounterWithEventDays where EncounterWithEventDays.encounter = QualifyingEncounter return 0 ) else singleton from ( "Days with Hyperglycemic Events" EncounterWithEventDays where EncounterWithEventDays.encounter = QualifyingEncounter return Count(EncounterWithEventDays.eligibleEventDays EligibleEventDay where EligibleEventDay.hasHyperglycemicEvent ) )
["Patient Characteristic Ethnicity": "Ethnicity"]
["Patient Characteristic Payer": "Payer"]
["Patient Characteristic Race": "Race"]
["Patient Characteristic Sex": "ONC Administrative Sex"]
Measure Set |
|
---|