-
Notifications
You must be signed in to change notification settings - Fork 8
/
HospitalHarmHyperglycemiainHospitalizedPatientsFHIR.json
673 lines (673 loc) · 34.8 KB
/
HospitalHarmHyperglycemiainHospitalizedPatientsFHIR.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
{
"resourceType": "Measure",
"id": "HospitalHarmHyperglycemiainHospitalizedPatientsFHIR",
"meta": {
"versionId": "12",
"lastUpdated": "2021-08-11T09:24:12.000-06:00",
"source": "#1oe1tBjP3kY9OK97",
"profile": [ "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/ratio-measure-cqfm", "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/computable-measure-cqfm" ]
},
"language": "en",
"contained": [ {
"resourceType": "Library",
"id": "effective-data-requirements",
"extension": [ {
"url": "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-directReferenceCode",
"valueCoding": {
"system": "http://terminology.hl7.org/CodeSystem/condition-ver-status",
"code": "confirmed",
"display": "confirmed"
}
}, {
"url": "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition",
"extension": [ {
"url": "libraryName",
"valueString": "SupplementalDataElementsFHIR4"
}, {
"url": "name",
"valueString": "SDE Sex"
}, {
"url": "statement",
"valueString": "define \"SDE Sex\":\n case\n when Patient.gender = 'male' then Code { code: 'M', system: 'http://hl7.org/fhir/v3/AdministrativeGender', display: 'Male' }\n when Patient.gender = 'female' then Code { code: 'F', system: 'http://hl7.org/fhir/v3/AdministrativeGender', display: 'Female' }\n else null\n end"
}, {
"url": "displaySequence",
"valueInteger": 0
} ]
}, {
"url": "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition",
"extension": [ {
"url": "libraryName",
"valueString": "HospitalHarmHyperglycemiainHospitalizedPatientsFHIR"
}, {
"url": "name",
"valueString": "SDE Sex"
}, {
"url": "statement",
"valueString": "define \"SDE Sex\":\n SDE.\"SDE Sex\""
}, {
"url": "displaySequence",
"valueInteger": 1
} ]
}, {
"url": "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition",
"extension": [ {
"url": "libraryName",
"valueString": "HospitalHarmHyperglycemiainHospitalizedPatientsFHIR"
}, {
"url": "name",
"valueString": "Inpatient Encounter During Measurement Period"
}, {
"url": "statement",
"valueString": "define \"Inpatient Encounter During Measurement Period\":\n [Encounter: \"Encounter Inpatient\"] EncounterInpatient"
}, {
"url": "displaySequence",
"valueInteger": 2
} ]
}, {
"url": "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition",
"extension": [ {
"url": "libraryName",
"valueString": "HospitalHarmHyperglycemiainHospitalizedPatientsFHIR"
}, {
"url": "name",
"valueString": "Qualifying Encounters"
}, {
"url": "statement",
"valueString": "define \"Qualifying Encounters\":\n \"Inpatient Encounter During Measurement Period\" InpatientEncounter \n where AgeInYearsAt (start of Global.\"HospitalizationWithObservation\"(InpatientEncounter))>=18"
}, {
"url": "displaySequence",
"valueInteger": 3
} ]
}, {
"url": "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition",
"extension": [ {
"url": "libraryName",
"valueString": "HospitalHarmHyperglycemiainHospitalizedPatientsFHIR"
}, {
"url": "name",
"valueString": "Qualifying Encounters With Hospitalization Period"
}, {
"url": "statement",
"valueString": "/**\n * Create paring of encounters to hospitalization period so this calculation can be inspected and the result \n * can be reused, making the logic faster.*/\ndefine \"Qualifying Encounters With Hospitalization Period\":\n \"Qualifying Encounters\" QualifyingEncounter\n return Tuple {\n encounter: QualifyingEncounter,\n hospitalizationPeriod: Global.\"HospitalizationWithObservation\" ( QualifyingEncounter )\n }"
}, {
"url": "displaySequence",
"valueInteger": 4
} ]
}, {
"url": "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition",
"extension": [ {
"url": "libraryName",
"valueString": "HospitalHarmHyperglycemiainHospitalizedPatientsFHIR"
}, {
"url": "name",
"valueString": "Qualifying Encounters With Existing Diabetes Diagnosis"
}, {
"url": "statement",
"valueString": "/**\n * Using the already calculated pairing of hospitalization periods with encounters, filter on ones with \n * diabetes and return the encounter.*/\ndefine \"Qualifying Encounters With Existing Diabetes Diagnosis\":\n \"Qualifying Encounters With Hospitalization Period\" EncounterWithHospitalization\n with [\"Condition\": \"Diabetes\"] DiabetesDiagnosis\n such that DiabetesDiagnosis.verificationStatus ~ ToConcept(Global.\"confirmed\")\n and (Global.\"Prevalence Period\"(DiabetesDiagnosis) starts before end of EncounterWithHospitalization.hospitalizationPeriod)\n return EncounterWithHospitalization.encounter"
}, {
"url": "displaySequence",
"valueInteger": 5
} ]
}, {
"url": "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition",
"extension": [ {
"url": "libraryName",
"valueString": "HospitalHarmHyperglycemiainHospitalizedPatientsFHIR"
}, {
"url": "name",
"valueString": "Qualifying Encounters With Hypoglycemic Medication"
}, {
"url": "statement",
"valueString": "/**\n * Using the already calculated pairing of hospitalization periods with encounters, filter on ones with \n * hypoglycemic medicatons and return the encounter.*/\ndefine \"Qualifying Encounters With Hypoglycemic Medication\":\n from \"Qualifying Encounters With Hospitalization Period\" EncounterWithHospitalization,\n [\"MedicationAdministration\": \"Hypoglycemics Treatment Medications\"] HypoglycemicMedication\n where HypoglycemicMedication.status = 'completed'\n and Global.\"Normalize Interval\" ( HypoglycemicMedication.effective ) during EncounterWithHospitalization.hospitalizationPeriod \n return EncounterWithHospitalization.encounter"
}, {
"url": "displaySequence",
"valueInteger": 6
} ]
}, {
"url": "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition",
"extension": [ {
"url": "libraryName",
"valueString": "HospitalHarmHyperglycemiainHospitalizedPatientsFHIR"
}, {
"url": "name",
"valueString": "Qualifying Encounters With Elevated Blood Glucose Lab"
}, {
"url": "statement",
"valueString": "/**\n * Using the already calculated pairing of hospitalization periods with encounters, filter on ones with \n * any elevated (>= 200) blood glucose reading during the hospitalization*/\ndefine \"Qualifying Encounters With Elevated Blood Glucose Lab\":\n \"Qualifying Encounters With Hospitalization Period\" EncounterWithHospitalization\n with [\"Observation\": \"Glucose lab test\"] BloodGlucoseLab\n such that BloodGlucoseLab.effective as dateTime during EncounterWithHospitalization.hospitalizationPeriod\n and BloodGlucoseLab.status = 'final'\n and BloodGlucoseLab.value >= 200 'mg/dL'\n return EncounterWithHospitalization.encounter"
}, {
"url": "displaySequence",
"valueInteger": 7
} ]
}, {
"url": "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition",
"extension": [ {
"url": "libraryName",
"valueString": "HospitalHarmHyperglycemiainHospitalizedPatientsFHIR"
}, {
"url": "name",
"valueString": "Initial Population"
}, {
"url": "statement",
"valueString": "define \"Initial Population\":\n \"Qualifying Encounters With Existing Diabetes Diagnosis\"\n union \"Qualifying Encounters With Hypoglycemic Medication\"\n union \"Qualifying Encounters With Elevated Blood Glucose Lab\""
}, {
"url": "displaySequence",
"valueInteger": 8
} ]
}, {
"url": "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition",
"extension": [ {
"url": "libraryName",
"valueString": "HospitalHarmHyperglycemiainHospitalizedPatientsFHIR"
}, {
"url": "name",
"valueString": "Pertinent Encounters With Days"
}, {
"url": "statement",
"valueString": "/***/\ndefine \"Pertinent Encounters With Days\":\n \"Initial Population\" PertinentEncounter\n let period: Global.\"HospitalizationWithObservation\" ( PertinentEncounter ),\n relevantPeriod: \"Crop Interval to 10 Days\"(period)\n return Tuple {\n encounter: PertinentEncounter,\n hospitalizationPeriod: period,\n relevantPeriod: relevantPeriod,\n relevantDays: \"Days In Period\"(relevantPeriod)\n }"
}, {
"url": "displaySequence",
"valueInteger": 9
} ]
}, {
"url": "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition",
"extension": [ {
"url": "libraryName",
"valueString": "HospitalHarmHyperglycemiainHospitalizedPatientsFHIR"
}, {
"url": "name",
"valueString": "Pertinent Encounters With Glucose Result Days"
}, {
"url": "statement",
"valueString": "define \"Pertinent Encounters With Glucose Result Days\":\n \"Pertinent Encounters With Days\" PertinentEncounterDays\n return Tuple {\n encounter: PertinentEncounterDays.encounter,\n relevantPeriod: PertinentEncounterDays.relevantPeriod,\n relevantDays: ( PertinentEncounterDays.relevantDays EncounterDay\n return Tuple {\n dayIndex: EncounterDay.dayIndex,\n dayPeriod: EncounterDay.dayPeriod,\n hasSevereResult: exists ( [\"Observation\": \"Glucose lab test\"] BloodGlucoseLab1\n where BloodGlucoseLab1.status = 'final'\n and BloodGlucoseLab1.value > 300 'mg/dL'\n and BloodGlucoseLab1.effective as dateTime during EncounterDay.dayPeriod\n ),\n hasElevatedResult: exists ( [\"Observation\": \"Glucose lab test\"] BloodGlucoseLab2\n where BloodGlucoseLab2.status = 'final'\n and BloodGlucoseLab2.value >= 200 'mg/dL'\n and BloodGlucoseLab2.effective as dateTime during EncounterDay.dayPeriod\n ),\n hasNoResult: not exists ( [\"Observation\": \"Glucose lab test\"] BloodGlucoseLab3\n where BloodGlucoseLab3.status = 'final'\n and BloodGlucoseLab3.effective as dateTime during EncounterDay.dayPeriod\n )\n }\n )\n }"
}, {
"url": "displaySequence",
"valueInteger": 10
} ]
}, {
"url": "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition",
"extension": [ {
"url": "libraryName",
"valueString": "HospitalHarmHyperglycemiainHospitalizedPatientsFHIR"
}, {
"url": "name",
"valueString": "Pertinent Encounters With Hyperglycemic Event Days"
}, {
"url": "statement",
"valueString": "/*# hyper days uses \"Relevant Encounters With Glucose Result Days\" to find if hyper event on each day. Skips 1st day in 'RelevantDays`. Returns boolean based on: Today high result OR Today no result AND Yesterday high result AND 2 days ago high result*/\ndefine \"Pertinent Encounters With Hyperglycemic Event Days\":\n \"Pertinent Encounters With Glucose Result Days\" EncounterWithResultDays\n let eligibleEventDays: EncounterWithResultDays.relevantDays EncounterDay\n where EncounterDay.dayIndex > 1\n return Tuple {\n dayIndex: EncounterDay.dayIndex,\n dayPeriod: EncounterDay.dayPeriod,\n hasHyperglycemicEvent: ( EncounterDay.hasSevereResult\n or ( EncounterDay.hasNoResult\n and EncounterWithResultDays.relevantDays[EncounterDay.dayIndex - 2].hasElevatedResult\n and EncounterWithResultDays.relevantDays[EncounterDay.dayIndex - 3].hasElevatedResult\n )\n )\n }\n return Tuple {\n encounter: EncounterWithResultDays.encounter,\n relevantPeriod: EncounterWithResultDays.relevantPeriod,\n eligibleEventDays: eligibleEventDays\n }"
}, {
"url": "displaySequence",
"valueInteger": 11
} ]
}, {
"url": "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition",
"extension": [ {
"url": "libraryName",
"valueString": "HospitalHarmHyperglycemiainHospitalizedPatientsFHIR"
}, {
"url": "name",
"valueString": "Numerator"
}, {
"url": "statement",
"valueString": "/*\n \t\twhere EncounterInpatient.status = 'finished'\n \t\t \t\t\tand EncounterInpatient.period ends during \"Measurement Period\"\n*/\n/***/\ndefine \"Numerator\":\n \"Pertinent Encounters With Hyperglycemic Event Days\" EncounterWithEventDays\n where exists ( EncounterWithEventDays.eligibleEventDays EligibleEventDay\n where EligibleEventDay.hasHyperglycemicEvent\n )\n return EncounterWithEventDays.encounter"
}, {
"url": "displaySequence",
"valueInteger": 12
} ]
}, {
"url": "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition",
"extension": [ {
"url": "libraryName",
"valueString": "HospitalHarmHyperglycemiainHospitalizedPatientsFHIR"
}, {
"url": "name",
"valueString": "Denominator"
}, {
"url": "statement",
"valueString": "define \"Denominator\":\n \"Initial Population\""
}, {
"url": "displaySequence",
"valueInteger": 13
} ]
}, {
"url": "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition",
"extension": [ {
"url": "libraryName",
"valueString": "SupplementalDataElementsFHIR4"
}, {
"url": "name",
"valueString": "SDE Payer"
}, {
"url": "statement",
"valueString": "define \"SDE Payer\":\n [Coverage: type in \"Payer\"] Payer\n return {\n code: Payer.type,\n period: Payer.period\n }"
}, {
"url": "displaySequence",
"valueInteger": 14
} ]
}, {
"url": "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition",
"extension": [ {
"url": "libraryName",
"valueString": "HospitalHarmHyperglycemiainHospitalizedPatientsFHIR"
}, {
"url": "name",
"valueString": "SDE Payer"
}, {
"url": "statement",
"valueString": "define \"SDE Payer\":\n SDE.\"SDE Payer\""
}, {
"url": "displaySequence",
"valueInteger": 15
} ]
}, {
"url": "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition",
"extension": [ {
"url": "libraryName",
"valueString": "SupplementalDataElementsFHIR4"
}, {
"url": "name",
"valueString": "SDE Ethnicity"
}, {
"url": "statement",
"valueString": "define \"SDE Ethnicity\":\n (flatten (\n Patient.extension Extension\n where Extension.url = 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity'\n return Extension.extension\n )) E\n where E.url = 'ombCategory'\n or E.url = 'detailed'\n return E.value as Coding"
}, {
"url": "displaySequence",
"valueInteger": 16
} ]
}, {
"url": "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition",
"extension": [ {
"url": "libraryName",
"valueString": "HospitalHarmHyperglycemiainHospitalizedPatientsFHIR"
}, {
"url": "name",
"valueString": "SDE Ethnicity"
}, {
"url": "statement",
"valueString": "define \"SDE Ethnicity\":\n SDE.\"SDE Ethnicity\""
}, {
"url": "displaySequence",
"valueInteger": 17
} ]
}, {
"url": "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition",
"extension": [ {
"url": "libraryName",
"valueString": "SupplementalDataElementsFHIR4"
}, {
"url": "name",
"valueString": "SDE Race"
}, {
"url": "statement",
"valueString": "define \"SDE Race\":\n (flatten (\n Patient.extension Extension\n where Extension.url = 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-race'\n return Extension.extension\n )) E\n where E.url = 'ombCategory'\n or E.url = 'detailed'\n return E.value as Coding"
}, {
"url": "displaySequence",
"valueInteger": 18
} ]
}, {
"url": "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition",
"extension": [ {
"url": "libraryName",
"valueString": "HospitalHarmHyperglycemiainHospitalizedPatientsFHIR"
}, {
"url": "name",
"valueString": "SDE Race"
}, {
"url": "statement",
"valueString": "define \"SDE Race\":\n SDE.\"SDE Race\""
}, {
"url": "displaySequence",
"valueInteger": 19
} ]
} ],
"status": "active",
"type": {
"coding": [ {
"system": "http://terminology.hl7.org/CodeSystem/library-type",
"code": "module-definition"
} ]
},
"relatedArtifact": [ {
"type": "depends-on",
"display": "Library SDE",
"resource": "http://ecqi.healthit.gov/ecqms/Library/SupplementalDataElementsFHIR4|2.0.000"
}, {
"type": "depends-on",
"display": "Library FHIRHelpers",
"resource": "http://ecqi.healthit.gov/ecqms/Library/FHIRHelpers|4.0.001"
}, {
"type": "depends-on",
"display": "Library Global",
"resource": "http://ecqi.healthit.gov/ecqms/Library/MATGlobalCommonFunctionsFHIR4|6.1.000"
}, {
"type": "depends-on",
"display": "Code system ConditionVerificationStatusCodes",
"resource": "http://terminology.hl7.org/CodeSystem/condition-ver-status"
}, {
"type": "depends-on",
"display": "Value set Encounter Inpatient",
"resource": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.666.5.307"
}, {
"type": "depends-on",
"display": "Value set Observation Services",
"resource": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1111.143"
}, {
"type": "depends-on",
"display": "Value set Emergency Department Visit",
"resource": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.292"
}, {
"type": "depends-on",
"display": "Value set Diabetes",
"resource": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.103.12.1001"
}, {
"type": "depends-on",
"display": "Value set Hypoglycemics Treatment Medications",
"resource": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1196.394"
}, {
"type": "depends-on",
"display": "Value set Glucose lab test",
"resource": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1045.134"
}, {
"type": "depends-on",
"display": "Value set Payer",
"resource": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3591"
} ],
"parameter": [ {
"name": "SDE Sex",
"use": "out",
"min": 0,
"max": "1",
"type": "Coding"
}, {
"name": "Numerator",
"use": "out",
"min": 0,
"max": "*",
"type": "Encounter"
}, {
"name": "Denominator",
"use": "out",
"min": 0,
"max": "*",
"type": "Encounter"
}, {
"name": "SDE Payer",
"use": "out",
"min": 0,
"max": "*",
"type": "Any"
}, {
"name": "Initial Population",
"use": "out",
"min": 0,
"max": "*",
"type": "Encounter"
}, {
"name": "SDE Ethnicity",
"use": "out",
"min": 0,
"max": "*",
"type": "Coding"
}, {
"name": "SDE Race",
"use": "out",
"min": 0,
"max": "*",
"type": "Coding"
} ],
"dataRequirement": [ {
"type": "Patient",
"profile": [ "http://hl7.org/fhir/StructureDefinition/Patient" ],
"mustSupport": [ "url", "extension", "value" ]
}, {
"type": "Encounter",
"profile": [ "http://hl7.org/fhir/StructureDefinition/Encounter" ],
"mustSupport": [ "type", "period" ],
"codeFilter": [ {
"path": "type",
"valueSet": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1111.143"
} ]
}, {
"type": "Encounter",
"profile": [ "http://hl7.org/fhir/StructureDefinition/Encounter" ],
"mustSupport": [ "type", "period" ],
"codeFilter": [ {
"path": "type",
"valueSet": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.292"
} ]
}, {
"type": "Encounter",
"profile": [ "http://hl7.org/fhir/StructureDefinition/Encounter" ],
"mustSupport": [ "type", "hospitalizationPeriod", "encounter" ],
"codeFilter": [ {
"path": "type",
"valueSet": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.666.5.307"
} ]
}, {
"type": "Condition",
"profile": [ "http://hl7.org/fhir/StructureDefinition/Condition" ],
"mustSupport": [ "code", "verificationStatus" ],
"codeFilter": [ {
"path": "code",
"valueSet": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.103.12.1001"
} ]
}, {
"type": "MedicationAdministration",
"profile": [ "http://hl7.org/fhir/StructureDefinition/MedicationAdministration" ],
"mustSupport": [ "medication", "status", "effective" ],
"codeFilter": [ {
"path": "medication",
"valueSet": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1196.394"
} ]
}, {
"type": "Observation",
"profile": [ "http://hl7.org/fhir/StructureDefinition/Observation" ],
"mustSupport": [ "code", "effective", "status", "value" ],
"codeFilter": [ {
"path": "code",
"valueSet": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1045.134"
} ]
}, {
"type": "Coverage",
"profile": [ "http://hl7.org/fhir/StructureDefinition/Coverage" ],
"mustSupport": [ "type", "period" ],
"codeFilter": [ {
"path": "type",
"valueSet": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3591"
} ]
} ]
} ],
"extension": [ {
"url": "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-populationBasis",
"valueCode": "Encounter"
}, {
"url": "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-softwaresystem",
"valueReference": {
"reference": "Device/cqf-tooling"
}
}, {
"id": "effective-data-requirements",
"url": "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-effectiveDataRequirements",
"valueReference": {
"reference": "#effective-data-requirements"
}
} ],
"url": "http://ecqi.healthit.gov/ecqms/Measure/HospitalHarmHyperglycemiainHospitalizedPatientsFHIR",
"identifier": [ {
"use": "official",
"system": "http://hl7.org/fhir/cqi/ecqm/Measure/Identifier/guid",
"value": "c44ca609-d795-4715-a8fc-1b0b30e46048"
}, {
"use": "official",
"system": "http://hl7.org/fhir/cqi/ecqm/Measure/Identifier/cms",
"value": "871FHIR"
} ],
"version": "0.0.006",
"name": "HospitalHarmHyperglycemiainHospitalizedPatientsFHIR",
"title": "Hospital Harm - Severe HyperglycemiaFHIR",
"status": "draft",
"experimental": false,
"date": "2022-07-05T22:34:35-04:00",
"publisher": "Centers for Medicare & Medicaid Services (CMS)",
"contact": [ {
"telecom": [ {
"system": "url",
"value": "https://cms.gov"
} ]
} ],
"description": "This measure assesses the number of inpatient hospital days with a hyperglycemic event (harm) per the total qualifying inpatient hospital days for patients 18 years of age or older at admission.",
"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. IMPAQ disclaims all liability for use or accuracy of any third party codes contained in the specifications.\n\nLOINC(R) copyright 2004-2020 Regenstrief Institute, Inc. This material contains SNOMED Clinical Terms(R) (SNOMED CT[R]) copyright 2004-2020 International Health Terminology Standards Development Organisation. ICD-10 copyright 2020 World Health Organization. All Rights Reserved.",
"effectivePeriod": {
"start": "2022-01-01",
"end": "2022-12-31"
},
"library": [ "http://ecqi.healthit.gov/ecqms/Library/HospitalHarmHyperglycemiainHospitalizedPatientsFHIR" ],
"disclaimer": "This measure and specifications are subject to further revisions. 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.\n\nTHE MEASURES AND SPECIFICATIONS ARE PROVIDED \"AS IS\" WITHOUT WARRANTY OF ANY KIND.\n\nDue to technical limitations, registered trademarks are indicated by (R) or [R] and unregistered trademarks are indicated by (TM) or [TM].",
"scoring": {
"coding": [ {
"system": "http://terminology.hl7.org/CodeSystem/measure-scoring",
"code": "ratio",
"display": "Ratio"
} ]
},
"type": [ {
"coding": [ {
"system": "http://terminology.hl7.org/CodeSystem/measure-type",
"code": "outcome"
} ]
} ],
"rationale": "Hyperglycemia, i.e., elevated blood glucose level, is common among hospitalized patients, especially those with preexisting diabetes (Swanson, et al., 2011; Umpierrez et al., 2012). 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.\n\nSevere hyperglycemia, i.e., extremely elevated blood 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., 2010; Rady, et al., 2005; Umpierrez, et al., 2002; Falciglia et al., 2009; Lee et al., 2012; King et al., 2011; Jackson et al., 2012; Umpierrez et al., 2012; Krinsley 2003). Lower rates of inpatient severe hyperglycemia may not only improve care for patients, but also reduce costs for healthcare payers (Krinsley 2003; Newton et al., 2006; Krinsley et al., 2016). The rate of hyperglycemia varies across hospitals, suggesting opportunities for improvement in inpatient glycemic management (Swanson et al., 2011; Cook et al., 2009; Matheny et al., 2008). 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 (Maynard et al., 2015; Donihi et al., 2006).",
"clinicalRecommendationStatement": "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. \n\nMultiple guidelines address recommended levels of glycemic control, though these do not define severe hyperglycemia:\nClinical Recommendation Statement From Section 14, Diabetes Care in the Hospital, in the Standards of Medical Care in Diabetes by the American Diabetes Association, (American Diabetes Association, 2017): \n\nInsulin therapy should be initiated for treatment of persistent hyperglycemia starting at a threshold >=180 mg/dL (10.0 mmol/L). 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 patients and noncritically ill patients. More stringent goals, such as <140 mg/dL (<7.8 mmol/L), may be appropriate for selected patients, as long as this can be achieved without significant hypoglycemia. \n\nFrom the Endocrine Society clinical practice guideline on the Management of Hyperglycemia in Hospitalized Patients in Non-critical Care Setting (Umpierrez et al., 2012):\n3.1. We recommend a pre-meal glucose target of less than 140 mg/dL (7.8 mmol/liter) and a random [blood glucose] of less than 180 mg/dL (10.0 mmol/liter) for the majority of hospitalized patients with non-critical illness.\n\nThere is no clinically accepted cutoff for severe hyperglycemia. Studies have used thresholds of >180 , >300, and >350 mg/dL, among other values (Jamesen et al., 2015; Cook et al., 2009; Donihi et al., 2011; Weinberg et al, 2010; Mendez et al, 2015). 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.",
"improvementNotation": {
"coding": [ {
"system": "http://terminology.hl7.org/CodeSystem/measure-improvement-notation",
"code": "increase"
} ]
},
"guidance": "Note the measure is currently confined to using mg/dL as the unit of measurement for glucose results.\n\nTo calculate a hospital-level measure result, total the number of hyperglycemic days (numerator events) across the total number of eligible days (denominator) which match the initial population/denominator criteria.\n\nTo create the Measure Observation associated with the numerator, include all hyperglycemic days meeting the follow criteria:\n\n1)\t All 24-hour periods with a blood 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)), \nOr,\n2)\t All days where a blood glucose was not measured, and it was preceded by two consecutive days where at least one glucose value during each of the two days is >=200 mg/dL.\n\nDo not count the first 24-hour period after inpatient admission to the hospital (including the emergency department and observation) for >300 mg/dL events in order to exclude hyperglycemic events potentially due to poor glucose control outside of the hospital setting or that preceded the start of hospital care.\n\nRemove the last time period before discharge, if it was less than 24-hours, to avoid counting a period of time that was less than 24-hours, on the day of discharge, as a full day.\n\nBlood glucose levels are determined by laboratory or point-of-care (POC) tests, including capillary/glucometer blood glucose tests.\n\nThis eCQM is an episode-based measure. An episode is defined as each inpatient hospitalization or encounter that ends during the measurement period.\n\nThis FHIR-based measure has been derived from the QDM-based measure: CMS871v1.0",
"group": [ {
"population": [ {
"id": "D53FB775-9BD2-4C05-A036-D63EE9B56399",
"code": {
"coding": [ {
"system": "http://terminology.hl7.org/CodeSystem/measure-population",
"code": "initial-population",
"display": "Initial Population"
} ]
},
"criteria": {
"language": "text/cql.identifier",
"expression": "Initial Population"
}
}, {
"id": "76C37014-951C-472C-A3DE-EFD036178D93",
"code": {
"coding": [ {
"system": "http://terminology.hl7.org/CodeSystem/measure-population",
"code": "denominator",
"display": "Denominator"
} ]
},
"criteria": {
"language": "text/cql.identifier",
"expression": "Denominator"
}
}, {
"id": "D7736481-5F3D-4D7E-99A3-E97091BDE4BD",
"code": {
"coding": [ {
"system": "http://terminology.hl7.org/CodeSystem/measure-population",
"code": "numerator",
"display": "Numerator"
} ]
},
"criteria": {
"language": "text/cql.identifier",
"expression": "Numerator"
}
}, {
"id": "CBCF0466-99D5-4B77-B8C3-E23006A0232C",
"extension": [ {
"url": "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-aggregateMethod",
"valueCode": "sum"
} ],
"code": {
"coding": [ {
"system": "http://terminology.hl7.org/CodeSystem/measure-population",
"code": "measure-observation",
"display": "Measure Observation"
} ]
},
"criteria": {
"language": "text/cql.identifier",
"expression": "Denominator Observations"
}
}, {
"id": "09DB8A87-15B3-4754-A9A4-0E32E4536E62",
"extension": [ {
"url": "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-aggregateMethod",
"valueCode": "count"
} ],
"code": {
"coding": [ {
"system": "http://terminology.hl7.org/CodeSystem/measure-population",
"code": "measure-observation",
"display": "Measure Observation"
} ]
},
"criteria": {
"language": "text/cql.identifier",
"expression": "Numerator Observations"
}
} ]
} ],
"supplementalData": [ {
"id": "43fd9282-a7e6-3335-be5c-e4dbf22a263a",
"usage": [ {
"coding": [ {
"system": "http://terminology.hl7.org/CodeSystem/measure-data-usage",
"code": "supplemental-data"
} ]
} ],
"criteria": {
"language": "text/cql.identifier",
"expression": "SDE Ethnicity"
}
}, {
"id": "f3090b84-cb46-34ba-9426-75ca19e7b09e",
"usage": [ {
"coding": [ {
"system": "http://terminology.hl7.org/CodeSystem/measure-data-usage",
"code": "supplemental-data"
} ]
} ],
"criteria": {
"language": "text/cql.identifier",
"expression": "SDE Payer"
}
}, {
"id": "4a656589-417f-370f-8ff5-b8a94e5cf2d8",
"usage": [ {
"coding": [ {
"system": "http://terminology.hl7.org/CodeSystem/measure-data-usage",
"code": "supplemental-data"
} ]
} ],
"criteria": {
"language": "text/cql.identifier",
"expression": "SDE Race"
}
}, {
"id": "644667d0-9231-3f98-a741-b4549b67a659",
"usage": [ {
"coding": [ {
"system": "http://terminology.hl7.org/CodeSystem/measure-data-usage",
"code": "supplemental-data"
} ]
} ],
"criteria": {
"language": "text/cql.identifier",
"expression": "SDE Sex"
}
} ]
}