-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathIntensiveCareUnitVenousThromboembolismProphylaxisFHIR.json
1464 lines (1464 loc) · 78.2 KB
/
IntensiveCareUnitVenousThromboembolismProphylaxisFHIR.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
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
{
"resourceType": "Measure",
"id": "IntensiveCareUnitVenousThromboembolismProphylaxisFHIR",
"meta": {
"versionId": "24",
"lastUpdated": "2021-08-24T07:50:27.000-06:00",
"source": "#rPO2p79Vw78Be3d6",
"profile": [ "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/proportion-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-clinical",
"code": "active",
"display": "active"
}
}, {
"url": "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-directReferenceCode",
"valueCoding": {
"system": "http://terminology.hl7.org/CodeSystem/condition-clinical",
"code": "recurrence",
"display": "recurrence"
}
}, {
"url": "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-directReferenceCode",
"valueCoding": {
"system": "http://terminology.hl7.org/CodeSystem/condition-clinical",
"code": "relapse",
"display": "relapse"
}
}, {
"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-directReferenceCode",
"valueCoding": {
"system": "http://terminology.hl7.org/CodeSystem/condition-clinical",
"code": "inactive",
"display": "inactive"
}
}, {
"url": "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-directReferenceCode",
"valueCoding": {
"system": "http://terminology.hl7.org/CodeSystem/condition-clinical",
"code": "remission",
"display": "remission"
}
}, {
"url": "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-directReferenceCode",
"valueCoding": {
"system": "http://terminology.hl7.org/CodeSystem/condition-clinical",
"code": "resolved",
"display": "resolved"
}
}, {
"url": "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-directReferenceCode",
"valueCoding": {
"system": "http://loinc.org",
"code": "72136-5",
"display": "Risk for venous thromboembolism"
}
}, {
"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": "IntensiveCareUnitVenousThromboembolismProphylaxisFHIR"
}, {
"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": "MATGlobalCommonFunctionsFHIR4"
}, {
"url": "name",
"valueString": "Inpatient Encounter"
}, {
"url": "statement",
"valueString": "define \"Inpatient Encounter\":\n [Encounter: \"Encounter Inpatient\"] EncounterInpatient\n \t\twhere EncounterInpatient.status = 'finished'\n \t\t and \"LengthInDays\"(EncounterInpatient.period) <= 120\n \t\t\tand EncounterInpatient.period ends during \"Measurement Period\""
}, {
"url": "displaySequence",
"valueInteger": 2
} ]
}, {
"url": "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition",
"extension": [ {
"url": "libraryName",
"valueString": "IntensiveCareUnitVenousThromboembolismProphylaxisFHIR"
}, {
"url": "name",
"valueString": "Admission Without VTE or Obstetrical Conditions"
}, {
"url": "statement",
"valueString": "define \"Admission Without VTE or Obstetrical Conditions\":\n Global.\"Inpatient Encounter\" InpatientEncounter\n \t\t where not (exists (Global.EncounterDiagnosis(InpatientEncounter)) EncounterDiagnosis\n where (EncounterDiagnosis.code in \"Obstetrics\"\n \t\t\t\t\t\t\t\tor EncounterDiagnosis.code in \"Venous Thromboembolism\"\n \t\t\t\t\t\t\t\tor EncounterDiagnosis.code in \"Obstetrics VTE\"\n \t\t\t )\n )"
}, {
"url": "displaySequence",
"valueInteger": 3
} ]
}, {
"url": "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition",
"extension": [ {
"url": "libraryName",
"valueString": "IntensiveCareUnitVenousThromboembolismProphylaxisFHIR"
}, {
"url": "name",
"valueString": "Encounter With Age Range and Without VTE Diagnosis or Obstetrical Conditions"
}, {
"url": "statement",
"valueString": "define \"Encounter With Age Range and Without VTE Diagnosis or Obstetrical Conditions\":\n ( Global.\"Inpatient Encounter\" InpatientEncounter\n where \"AgeInYearsAt\"(start of InpatientEncounter.period) >= 18\n )\n intersect \"Admission Without VTE or Obstetrical Conditions\""
}, {
"url": "displaySequence",
"valueInteger": 4
} ]
}, {
"url": "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition",
"extension": [ {
"url": "libraryName",
"valueString": "IntensiveCareUnitVenousThromboembolismProphylaxisFHIR"
}, {
"url": "name",
"valueString": "Encounter With ICU Location"
}, {
"url": "statement",
"valueString": "define \"Encounter With ICU Location\":\n \"Encounter With Age Range and Without VTE Diagnosis or Obstetrical Conditions\" QualifyingEncounter\n \twhere exists (QualifyingEncounter.location Location\n \t\t\t\twhere Global.GetLocation(Location.location).type in \"Intensive Care Unit\"\n \t\t\tand Location.period during QualifyingEncounter.period\n \t)"
}, {
"url": "displaySequence",
"valueInteger": 5
} ]
}, {
"url": "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition",
"extension": [ {
"url": "libraryName",
"valueString": "IntensiveCareUnitVenousThromboembolismProphylaxisFHIR"
}, {
"url": "name",
"valueString": "VTE Prophylaxis by Medication Administered or Device Applied"
}, {
"url": "statement",
"valueString": "define \"VTE Prophylaxis by Medication Administered or Device Applied\":\n ( [\"MedicationAdministration\":\"Low Dose Unfractionated Heparin for VTE Prophylaxis\"] VTEMedication\n where VTEMedication.status ='completed'\n and VTEMedication.dosage.route in \"Subcutaneous route\"\n )\n union ([\"MedicationAdministration\": \"Low Molecular Weight Heparin for VTE Prophylaxis\"] LMWH where LMWH.status = 'completed')\n union ([\"MedicationAdministration\": \"Injectable Factor Xa Inhibitor for VTE Prophylaxis\"] FactorXa where FactorXa.status = 'completed')\n union ([\"MedicationAdministration\": \"Warfarin\"] Warfarin where Warfarin.status = 'completed')\n union (\n [\"Procedure\": \"Device Application\"] DeviceApplied\n where DeviceApplied.status = 'completed'\n and (DeviceApplied.usedCode in \"Intermittent pneumatic compression devices (IPC)\"\n or DeviceApplied.usedCode in\"Venous foot pumps (VFP)\"\n or DeviceApplied.usedCode in \"Graduated compression stockings (GCS)\"\n )\n )"
}, {
"url": "displaySequence",
"valueInteger": 6
} ]
}, {
"url": "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition",
"extension": [ {
"url": "libraryName",
"valueString": "IntensiveCareUnitVenousThromboembolismProphylaxisFHIR"
}, {
"url": "name",
"valueString": "Encounter With VTE Prophylaxis Received on Day of or Day After First ICU Stay or Procedure"
}, {
"url": "statement",
"valueString": "define \"Encounter With VTE Prophylaxis Received on Day of or Day After First ICU Stay or Procedure\":\n ( from\n \t\t\t\"Encounter With ICU Location\" QualifyingEncounterICU,\n \t\t\t\"VTE Prophylaxis by Medication Administered or Device Applied\" VTEProphylaxis\n \t\t\twhere date from(start of Coalesce(Global.\"Normalize Interval\"(VTEProphylaxis.effective), Global.\"Normalize Interval\"(VTEProphylaxis.performed))) during VTE.\"CalendarDayOfOrDayAfter\"(VTE.\"StartOfFirstICU\"(QualifyingEncounterICU))\n \t\t\treturn QualifyingEncounterICU\n \t)\n \tunion ( from\n \t\t\t\t\"Encounter With ICU Location\" QualifyingEncounterICU,\n \t\t\t\t[\"Procedure\": \"General or Neuraxial Anesthesia\"] AnesthesiaProcedure,\n \t\t\t\t\"VTE Prophylaxis by Medication Administered or Device Applied\" VTEProphylaxis\n \t\t\t\twhere Global.\"Normalize Interval\"(AnesthesiaProcedure.performed) ends 1 day after day of VTE.\"StartOfFirstICU\"(QualifyingEncounterICU)\n \t\t\t\t\tand date from(start of Coalesce(Global.\"Normalize Interval\"(VTEProphylaxis.effective), Global.\"Normalize Interval\"(VTEProphylaxis.performed))) during VTE.\"CalendarDayOfOrDayAfter\"(\n \t\t\t\tend of Global.\"Normalize Interval\"(AnesthesiaProcedure.performed))\n return QualifyingEncounterICU\n )"
}, {
"url": "displaySequence",
"valueInteger": 7
} ]
}, {
"url": "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition",
"extension": [ {
"url": "libraryName",
"valueString": "IntensiveCareUnitVenousThromboembolismProphylaxisFHIR"
}, {
"url": "name",
"valueString": "Encounter With Medication Oral Factor Xa Inhibitor Administered on Day of or Day After First ICU Stay or Procedure"
}, {
"url": "statement",
"valueString": "define \"Encounter With Medication Oral Factor Xa Inhibitor Administered on Day of or Day After First ICU Stay or Procedure\":\n ( from\n \"Encounter With ICU Location\" QualifyingEncounterICU,\n [\"MedicationAdministration\": \"Oral Factor Xa Inhibitor for VTE Prophylaxis or VTE Treatment\"] FactorXaMedication\n where FactorXaMedication.status = 'completed'\n and date from(start of Global.\"Normalize Interval\"(FactorXaMedication.effective)) during VTE.\"CalendarDayOfOrDayAfter\"(VTE.\"StartOfFirstICU\"(QualifyingEncounterICU))\n return QualifyingEncounterICU\n )\n union ( from\n \t\t\t \"Encounter With ICU Location\" QualifyingEncounterICU,\n \t\t\t[\"Procedure\": \"General or Neuraxial Anesthesia\"] AnesthesiaProcedure,\n \t\t\t[\"MedicationAdministration\": \"Oral Factor Xa Inhibitor for VTE Prophylaxis or VTE Treatment\"] FactorXaMedication\n \t\t\twhere FactorXaMedication.status = 'completed'\n and AnesthesiaProcedure.status = 'completed'\n \t\t\t\tand Global.\"Normalize Interval\"(AnesthesiaProcedure.performed) ends 1 day after day of VTE.\"StartOfFirstICU\"(QualifyingEncounterICU)\n \t\t\t\t\tand date from(start of Global.\"Normalize Interval\"(FactorXaMedication.effective)) during VTE.\"CalendarDayOfOrDayAfter\"(\n \t\t\t\tend of Global.\"Normalize Interval\"(AnesthesiaProcedure.performed))\n \t\t\treturn QualifyingEncounterICU\n \t)"
}, {
"url": "displaySequence",
"valueInteger": 8
} ]
}, {
"url": "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition",
"extension": [ {
"url": "libraryName",
"valueString": "IntensiveCareUnitVenousThromboembolismProphylaxisFHIR"
}, {
"url": "name",
"valueString": "Encounter With Prior or Present Diagnosis of Atrial Fibrillation or VTE"
}, {
"url": "statement",
"valueString": "define \"Encounter With Prior or Present Diagnosis of Atrial Fibrillation or VTE\":\n ( \"Encounter With ICU Location\" QualifyingEncounterICU\n with [\"Condition\": \"Atrial Fibrillation/Flutter\"] AtrialFibrillation\n such that ( FHIRHelpers.ToConcept ( AtrialFibrillation.clinicalStatus ) ~ Global.\"active\"\n or FHIRHelpers.ToConcept ( AtrialFibrillation.clinicalStatus ) ~ Global.\"recurrence\"\n or FHIRHelpers.ToConcept ( AtrialFibrillation.clinicalStatus ) ~ Global.\"relapse\"\n )\n and FHIRHelpers.ToConcept ( AtrialFibrillation.verificationStatus ) ~ Global.\"confirmed\"\n and Global.\"Normalize Interval\" ( AtrialFibrillation.onset ) starts on or before \n end of QualifyingEncounterICU.period\n )\n union ( \"Encounter With ICU Location\" QualifyingEncounterICU\n where Global.EncounterDiagnosis ( QualifyingEncounterICU ).code in \"Atrial Fibrillation/Flutter\"\n )\n union ( \"Encounter With ICU Location\" QualifyingEncounterICU\n with [\"Condition\": \"Venous Thromboembolism\"] VTEDiagnosis\n such that ( FHIRHelpers.ToConcept ( VTEDiagnosis.clinicalStatus ) ~ Global.\"inactive\"\n or FHIRHelpers.ToConcept ( VTEDiagnosis.clinicalStatus ) ~ Global.\"remission\"\n or FHIRHelpers.ToConcept ( VTEDiagnosis.clinicalStatus ) ~ Global.\"resolved\"\n )\n and VTEDiagnosis.verificationStatus ~ Global.\"confirmed\"\n and Global.\"Normalize Interval\" ( VTEDiagnosis.onset ) before start of QualifyingEncounterICU.period\n )"
}, {
"url": "displaySequence",
"valueInteger": 9
} ]
}, {
"url": "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition",
"extension": [ {
"url": "libraryName",
"valueString": "IntensiveCareUnitVenousThromboembolismProphylaxisFHIR"
}, {
"url": "name",
"valueString": "Encounter With Prior or Present Procedure of Hip or Knee Replacement Surgery"
}, {
"url": "statement",
"valueString": "define \"Encounter With Prior or Present Procedure of Hip or Knee Replacement Surgery\":\n \"Encounter With ICU Location\" QualifyingEncounterICU\n \twith ( [\"Procedure\": \"Hip Replacement Surgery\"]\n \t\t\tunion [\"Procedure\": \"Knee Replacement Surgery\"] ) HipKneeProcedure\n \tsuch that HipKneeProcedure.status = 'completed'\n \t\t\tand Global.\"Normalize Interval\"(HipKneeProcedure.performed) starts on or before end of QualifyingEncounterICU.period"
}, {
"url": "displaySequence",
"valueInteger": 10
} ]
}, {
"url": "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition",
"extension": [ {
"url": "libraryName",
"valueString": "IntensiveCareUnitVenousThromboembolismProphylaxisFHIR"
}, {
"url": "name",
"valueString": "In Low Risk for VTE or On Anticoagulant"
}, {
"url": "statement",
"valueString": "define \"In Low Risk for VTE or On Anticoagulant\":\n ( [\"Observation\": \"Risk for venous thromboembolism\"] VTERiskAssessment\n where FHIRHelpers.ToConcept ( VTERiskAssessment.value ) in \"Low Risk\"\n and VTERiskAssessment.status in { 'final', 'amended', 'corrected' }\n )\n union ( [\"Observation\": \"INR\"] INRLabTest\n where INRLabTest.value as Quantity > 3.0\n and INRLabTest.status in { 'final', 'amended', 'corrected' }\n return \"Observation\" { id: INRLabTest.id, effective: INRLabTest.issued }\n )\n union ( ( ( [\"MedicationAdministration\": \"Unfractionated Heparin\"] UnfractionatedHeparin\n where UnfractionatedHeparin.dosage.route in \"Intravenous route\"\n )\n union [\"MedicationAdministration\": \"Direct Thrombin Inhibitor\"]\n union [\"MedicationAdministration\": \"Glycoprotein IIb/IIIa Inhibitors\"] ) AnticoagulantMedication\n where AnticoagulantMedication.status = 'completed'\n return \"Observation\" { id: AnticoagulantMedication.id, effective: AnticoagulantMedication.effective }\n )"
}, {
"url": "displaySequence",
"valueInteger": 11
} ]
}, {
"url": "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition",
"extension": [ {
"url": "libraryName",
"valueString": "IntensiveCareUnitVenousThromboembolismProphylaxisFHIR"
}, {
"url": "name",
"valueString": "Low Risk for VTE or Anticoagulant Administered From Day of Start of Hospitalization To Day After First ICU Stay"
}, {
"url": "statement",
"valueString": "define \"Low Risk for VTE or Anticoagulant Administered From Day of Start of Hospitalization To Day After First ICU Stay\":\n \"Encounter With ICU Location\" QualifyingEncounterICU\n with \"In Low Risk for VTE or On Anticoagulant\" VTERiskAssessment\n such that Global.\"Normalize Interval\"(VTERiskAssessment.effective) during VTE.\"FromDayOfStartOfHospitalizationToDayAfterFirstICU\"(QualifyingEncounterICU)"
}, {
"url": "displaySequence",
"valueInteger": 12
} ]
}, {
"url": "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition",
"extension": [ {
"url": "libraryName",
"valueString": "IntensiveCareUnitVenousThromboembolismProphylaxisFHIR"
}, {
"url": "name",
"valueString": "Low Risk for VTE or Anticoagulant Administered on Day of or Day After Procedure"
}, {
"url": "statement",
"valueString": "define \"Low Risk for VTE or Anticoagulant Administered on Day of or Day After Procedure\":\n from\n \t\"Encounter With ICU Location\" QualifyingEncounterICU,\n \t[\"Procedure\": \"General or Neuraxial Anesthesia\"] AnesthesiaProcedure,\n \t\"In Low Risk for VTE or On Anticoagulant\" LowRiskForVTE\n where Global.\"Normalize Interval\"(AnesthesiaProcedure.performed) ends 1 day after day of VTE.\"StartOfFirstICU\"(QualifyingEncounterICU)\n \tand Global.\"Normalize Interval\"(LowRiskForVTE.effective) during VTE.\"CalendarDayOfOrDayAfter\"(end of Global.\"Normalize Interval\"(AnesthesiaProcedure.performed))\n return QualifyingEncounterICU"
}, {
"url": "displaySequence",
"valueInteger": 13
} ]
}, {
"url": "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition",
"extension": [ {
"url": "libraryName",
"valueString": "IntensiveCareUnitVenousThromboembolismProphylaxisFHIR"
}, {
"url": "name",
"valueString": "Encounter With Low Risk for VTE or Anticoagulant Administered"
}, {
"url": "statement",
"valueString": "define \"Encounter With Low Risk for VTE or Anticoagulant Administered\":\n \"Low Risk for VTE or Anticoagulant Administered From Day of Start of Hospitalization To Day After First ICU Stay\"\n union \"Low Risk for VTE or Anticoagulant Administered on Day of or Day After Procedure\""
}, {
"url": "displaySequence",
"valueInteger": 14
} ]
}, {
"url": "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition",
"extension": [ {
"url": "libraryName",
"valueString": "IntensiveCareUnitVenousThromboembolismProphylaxisFHIR"
}, {
"url": "name",
"valueString": "No VTE Prophylaxis Medication Administered or Ordered"
}, {
"url": "statement",
"valueString": "define \"No VTE Prophylaxis Medication Administered or Ordered\":\n ( ( [\"MedicationAdministration\": \"Low Dose Unfractionated Heparin for VTE Prophylaxis\"]\n union [\"MedicationAdministration\": \"Low Molecular Weight Heparin for VTE Prophylaxis\"]\n union [\"MedicationAdministration\": \"Injectable Factor Xa Inhibitor for VTE Prophylaxis\"]\n union [\"MedicationAdministration\": \"Warfarin\"]\n union [\"MedicationAdministration\": \"Rivaroxaban for VTE Prophylaxis\"] ) MedicationAdm\n let MedicationNotDoneTiming: Global.GetExtension ( MedicationAdm, 'qicore-recorded' ).value\n where MedicationAdm.status = 'not-done'\n return {\n id: MedicationAdm.id,\n MedicationStatusReason: MedicationAdm.statusReason,\n authoredOn: MedicationNotDoneTiming\n }\n )\n union ( ( [\"MedicationRequest\": \"Low Dose Unfractionated Heparin for VTE Prophylaxis\"]\n union [\"MedicationRequest\": \"Low Molecular Weight Heparin for VTE Prophylaxis\"]\n union [\"MedicationRequest\": \"Injectable Factor Xa Inhibitor for VTE Prophylaxis\"]\n union [\"MedicationRequest\": \"Warfarin\"]\n union [\"MedicationRequest\": \"Rivaroxaban for VTE Prophylaxis\"] ) MedicationOrder\n where MedicationOrder.doNotPerform is true\n and MedicationOrder.status in { 'completed', 'cancelled' }\n return {\n id: MedicationOrder.id,\n MedicationStatusReason: MedicationOrder.reasonCode,\n authoredOn: MedicationOrder.authoredOn\n }\n )"
}, {
"url": "displaySequence",
"valueInteger": 15
} ]
}, {
"url": "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition",
"extension": [ {
"url": "libraryName",
"valueString": "IntensiveCareUnitVenousThromboembolismProphylaxisFHIR"
}, {
"url": "name",
"valueString": "No VTE Prophylaxis Medication Due to Medical Reason From Day Of Start of Hospitalization To Day After First ICU Stay"
}, {
"url": "statement",
"valueString": "define \"No VTE Prophylaxis Medication Due to Medical Reason From Day Of Start of Hospitalization To Day After First ICU Stay\":\n \"Encounter With ICU Location\" QualifyingEncounterICU\n with \"No VTE Prophylaxis Medication Administered or Ordered\" NoVTEMedication\n such that NoVTEMedication.MedicationStatusReason in \"Medical Reason\"\n and date from ( NoVTEMedication.authoredOn ) during VTE.\"FromDayOfStartOfHospitalizationToDayAfterFirstICU\" ( QualifyingEncounterICU )\n return QualifyingEncounterICU"
}, {
"url": "displaySequence",
"valueInteger": 16
} ]
}, {
"url": "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition",
"extension": [ {
"url": "libraryName",
"valueString": "IntensiveCareUnitVenousThromboembolismProphylaxisFHIR"
}, {
"url": "name",
"valueString": "No VTE Prophylaxis Device Applied or Ordered"
}, {
"url": "statement",
"valueString": "define \"No VTE Prophylaxis Device Applied or Ordered\":\n ( ( [\"ServiceRequest\": \"Venous foot pumps (VFP)\"]\n union [\"ServiceRequest\": \"Intermittent pneumatic compression devices (IPC)\"]\n union [\"ServiceRequest\": \"Graduated compression stockings (GCS)\"] ) DeviceOrder\n where DeviceOrder.status = 'completed'\n and DeviceOrder.doNotPerform is true\n return {\n id: DeviceOrder.id,\n requestStatusReason: GetStatusReason(DeviceOrder),\n authoredOn: DeviceOrder.authoredOn\n }\n )\n union ( [\"Procedure\": \"Device Application\"] DeviceApplied\n let DeviceNotDoneTiming: Global.GetExtension ( DeviceApplied, 'qicore-recorded' ).value\n where ( DeviceApplied.usedCode in \"Intermittent pneumatic compression devices (IPC)\"\n or DeviceApplied.usedCode in \"Venous foot pumps (VFP)\"\n or DeviceApplied.usedCode in \"Graduated compression stockings (GCS)\"\n )\n and DeviceApplied.status = 'not-done'\n return {\n id: DeviceApplied.id,\n requestStatusReason: DeviceApplied.statusReason,\n authoredOn: DeviceNotDoneTiming\n }\n )"
}, {
"url": "displaySequence",
"valueInteger": 17
} ]
}, {
"url": "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition",
"extension": [ {
"url": "libraryName",
"valueString": "IntensiveCareUnitVenousThromboembolismProphylaxisFHIR"
}, {
"url": "name",
"valueString": "No VTE Prophylaxis Device Due to Medical Reason From Day of Start of Hospitalization To Day After First ICU Stay"
}, {
"url": "statement",
"valueString": "define \"No VTE Prophylaxis Device Due to Medical Reason From Day of Start of Hospitalization To Day After First ICU Stay\":\n \"Encounter With ICU Location\" QualifyingEncounterICU\n with \"No VTE Prophylaxis Device Applied or Ordered\" NoVTEDevice\n such that NoVTEDevice.requestStatusReason in \"Medical Reason\"\n and date from(NoVTEDevice.authoredOn) during VTE.\"FromDayOfStartOfHospitalizationToDayAfterFirstICU\"(QualifyingEncounterICU)"
}, {
"url": "displaySequence",
"valueInteger": 18
} ]
}, {
"url": "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition",
"extension": [ {
"url": "libraryName",
"valueString": "IntensiveCareUnitVenousThromboembolismProphylaxisFHIR"
}, {
"url": "name",
"valueString": "No VTE Prophylaxis Medication Due to Medical Reason on Day of or Day After Procedure"
}, {
"url": "statement",
"valueString": "define \"No VTE Prophylaxis Medication Due to Medical Reason on Day of or Day After Procedure\":\n from\n \"Encounter With ICU Location\" QualifyingEncounterICU,\n [\"Procedure\": \"General or Neuraxial Anesthesia\"] AnesthesiaProcedure,\n \"No VTE Prophylaxis Medication Administered or Ordered\" NoVTEMedication\n where NoVTEMedication.MedicationStatusReason in \"Medical Reason\"\n and AnesthesiaProcedure.status = 'completed'\n and Global.\"Normalize Interval\" ( AnesthesiaProcedure.performed ) ends 1 day after day of VTE.\"StartOfFirstICU\" ( QualifyingEncounterICU )\n and date from ( NoVTEMedication.authoredOn ) during VTE.\"CalendarDayOfOrDayAfter\" ( \n end of Global.\"Normalize Interval\" ( AnesthesiaProcedure.performed as Period ) )\n return QualifyingEncounterICU"
}, {
"url": "displaySequence",
"valueInteger": 19
} ]
}, {
"url": "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition",
"extension": [ {
"url": "libraryName",
"valueString": "IntensiveCareUnitVenousThromboembolismProphylaxisFHIR"
}, {
"url": "name",
"valueString": "No VTE Prophylaxis Device Due to Medical Reason on Day of or Day After Procedure"
}, {
"url": "statement",
"valueString": "define \"No VTE Prophylaxis Device Due to Medical Reason on Day of or Day After Procedure\":\n from\n \t\t\"Encounter With ICU Location\" QualifyingEncounterICU,\n \t\t[\"Procedure\": \"General or Neuraxial Anesthesia\"] AnesthesiaProcedure,\n \t\t\"No VTE Prophylaxis Device Applied or Ordered\" NoVTEDevice\n \t\twhere NoVTEDevice.requestStatusReason in \"Medical Reason\"\n and AnesthesiaProcedure.status = 'completed'\n and Global.\"Normalize Interval\"(AnesthesiaProcedure.performed ) ends 1 day after day of VTE.\"StartOfFirstICU\"(QualifyingEncounterICU)\n and date from (NoVTEDevice.authoredOn) during VTE.\"CalendarDayOfOrDayAfter\"(\n \t\t\t end of Global.\"Normalize Interval\"(AnesthesiaProcedure.performed))\n \t\treturn QualifyingEncounterICU"
}, {
"url": "displaySequence",
"valueInteger": 20
} ]
}, {
"url": "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition",
"extension": [ {
"url": "libraryName",
"valueString": "IntensiveCareUnitVenousThromboembolismProphylaxisFHIR"
}, {
"url": "name",
"valueString": "Encounter With No VTE Prophylaxis Due to Medical Reason"
}, {
"url": "statement",
"valueString": "define \"Encounter With No VTE Prophylaxis Due to Medical Reason\":\n ( \"No VTE Prophylaxis Medication Due to Medical Reason From Day Of Start of Hospitalization To Day After First ICU Stay\"\n intersect \"No VTE Prophylaxis Device Due to Medical Reason From Day of Start of Hospitalization To Day After First ICU Stay\"\n )\n union ( \"No VTE Prophylaxis Medication Due to Medical Reason on Day of or Day After Procedure\"\n intersect \"No VTE Prophylaxis Device Due to Medical Reason on Day of or Day After Procedure\"\n )"
}, {
"url": "displaySequence",
"valueInteger": 21
} ]
}, {
"url": "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition",
"extension": [ {
"url": "libraryName",
"valueString": "IntensiveCareUnitVenousThromboembolismProphylaxisFHIR"
}, {
"url": "name",
"valueString": "No VTE Prophylaxis Medication or Device Due to Patient Refusal"
}, {
"url": "statement",
"valueString": "define \"No VTE Prophylaxis Medication or Device Due to Patient Refusal\":\n ( \"No VTE Prophylaxis Medication Administered or Ordered\" NoVTEMedication\n where NoVTEMedication.MedicationStatusReason in \"Patient Refusal\"\n )\n union ( \"No VTE Prophylaxis Device Applied or Ordered\" NoVTEDevice\n where NoVTEDevice.requestStatusReason in \"Patient Refusal\"\n )"
}, {
"url": "displaySequence",
"valueInteger": 22
} ]
}, {
"url": "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition",
"extension": [ {
"url": "libraryName",
"valueString": "IntensiveCareUnitVenousThromboembolismProphylaxisFHIR"
}, {
"url": "name",
"valueString": "No VTE Prophylaxis Due to Patient Refusal From Day of Start of Hospitalization To Day After First ICU Stay"
}, {
"url": "statement",
"valueString": "define \"No VTE Prophylaxis Due to Patient Refusal From Day of Start of Hospitalization To Day After First ICU Stay\":\n \"Encounter With ICU Location\" QualifyingEncounterICU\n with \"No VTE Prophylaxis Medication or Device Due to Patient Refusal\" PatientRefusal\n such that date from ( PatientRefusal.authoredOn ) during VTE.FromDayOfStartOfHospitalizationToDayAfterFirstICU ( QualifyingEncounterICU )"
}, {
"url": "displaySequence",
"valueInteger": 23
} ]
}, {
"url": "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition",
"extension": [ {
"url": "libraryName",
"valueString": "IntensiveCareUnitVenousThromboembolismProphylaxisFHIR"
}, {
"url": "name",
"valueString": "No VTE Prophylaxis Due to Patient Refusal on Day of or Day After Procedure"
}, {
"url": "statement",
"valueString": "define \"No VTE Prophylaxis Due to Patient Refusal on Day of or Day After Procedure\":\n from\n \"Encounter With ICU Location\" QualifyingEncounterICU,\n [\"Procedure\": \"General or Neuraxial Anesthesia\"] AnesthesiaProcedure,\n \"No VTE Prophylaxis Medication or Device Due to Patient Refusal\" PatientRefusal\n where Global.\"Normalize Interval\" ( AnesthesiaProcedure.performed ) ends 1 day after day of VTE.\"StartOfFirstICU\" ( QualifyingEncounterICU )\n and date from ( PatientRefusal.authoredOn ) during VTE.\"CalendarDayOfOrDayAfter\" ( \n end of Global.\"Normalize Interval\" ( AnesthesiaProcedure.performed ) )\n return QualifyingEncounterICU"
}, {
"url": "displaySequence",
"valueInteger": 24
} ]
}, {
"url": "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition",
"extension": [ {
"url": "libraryName",
"valueString": "IntensiveCareUnitVenousThromboembolismProphylaxisFHIR"
}, {
"url": "name",
"valueString": "Encounter With No VTE Prophylaxis Due to Patient Refusal"
}, {
"url": "statement",
"valueString": "define \"Encounter With No VTE Prophylaxis Due to Patient Refusal\":\n \"No VTE Prophylaxis Due to Patient Refusal From Day of Start of Hospitalization To Day After First ICU Stay\"\n \tunion \"No VTE Prophylaxis Due to Patient Refusal on Day of or Day After Procedure\""
}, {
"url": "displaySequence",
"valueInteger": 25
} ]
}, {
"url": "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition",
"extension": [ {
"url": "libraryName",
"valueString": "IntensiveCareUnitVenousThromboembolismProphylaxisFHIR"
}, {
"url": "name",
"valueString": "Numerator"
}, {
"url": "statement",
"valueString": "define \"Numerator\":\n \"Encounter With VTE Prophylaxis Received on Day of or Day After First ICU Stay or Procedure\"\n \tunion ( \"Encounter With Medication Oral Factor Xa Inhibitor Administered on Day of or Day After First ICU Stay or Procedure\"\n \t\t\tintersect ( \"Encounter With Prior or Present Diagnosis of Atrial Fibrillation or VTE\"\n \t\t\t\t\tunion \"Encounter With Prior or Present Procedure of Hip or Knee Replacement Surgery\"\n \t\t\t)\n \t)\n \tunion \"Encounter With Low Risk for VTE or Anticoagulant Administered\"\n \tunion \"Encounter With No VTE Prophylaxis Due to Medical Reason\"\n \tunion \"Encounter With No VTE Prophylaxis Due to Patient Refusal\""
}, {
"url": "displaySequence",
"valueInteger": 26
} ]
}, {
"url": "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition",
"extension": [ {
"url": "libraryName",
"valueString": "IntensiveCareUnitVenousThromboembolismProphylaxisFHIR"
}, {
"url": "name",
"valueString": "Denominator"
}, {
"url": "statement",
"valueString": "define \"Denominator\":\n \"Encounter With ICU Location\""
}, {
"url": "displaySequence",
"valueInteger": 27
} ]
}, {
"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": 28
} ]
}, {
"url": "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition",
"extension": [ {
"url": "libraryName",
"valueString": "IntensiveCareUnitVenousThromboembolismProphylaxisFHIR"
}, {
"url": "name",
"valueString": "SDE Payer"
}, {
"url": "statement",
"valueString": "define \"SDE Payer\":\n SDE.\"SDE Payer\""
}, {
"url": "displaySequence",
"valueInteger": 29
} ]
}, {
"url": "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition",
"extension": [ {
"url": "libraryName",
"valueString": "IntensiveCareUnitVenousThromboembolismProphylaxisFHIR"
}, {
"url": "name",
"valueString": "Initial Population"
}, {
"url": "statement",
"valueString": "define \"Initial Population\":\n \"Encounter With Age Range and Without VTE Diagnosis or Obstetrical Conditions\""
}, {
"url": "displaySequence",
"valueInteger": 30
} ]
}, {
"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": 31
} ]
}, {
"url": "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition",
"extension": [ {
"url": "libraryName",
"valueString": "IntensiveCareUnitVenousThromboembolismProphylaxisFHIR"
}, {
"url": "name",
"valueString": "SDE Ethnicity"
}, {
"url": "statement",
"valueString": "define \"SDE Ethnicity\":\n SDE.\"SDE Ethnicity\""
}, {
"url": "displaySequence",
"valueInteger": 32
} ]
}, {
"url": "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition",
"extension": [ {
"url": "libraryName",
"valueString": "IntensiveCareUnitVenousThromboembolismProphylaxisFHIR"
}, {
"url": "name",
"valueString": "Encounter With ICU Location And Encounter Less Than 2 Days"
}, {
"url": "statement",
"valueString": "define \"Encounter With ICU Location And Encounter Less Than 2 Days\":\n \"Encounter With ICU Location\"QualifyingEncounterICU\n \twhere Global.\"LengthInDays\"(QualifyingEncounterICU.period)< 2"
}, {
"url": "displaySequence",
"valueInteger": 33
} ]
}, {
"url": "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition",
"extension": [ {
"url": "libraryName",
"valueString": "IntensiveCareUnitVenousThromboembolismProphylaxisFHIR"
}, {
"url": "name",
"valueString": "SCIP VTE Selected Surgery"
}, {
"url": "statement",
"valueString": "define \"SCIP VTE Selected Surgery\":\n (\t[\"Procedure\": \"General Surgery\"]\n \t\tunion [\"Procedure\": \"Gynecological Surgery\"]\n \t\tunion [\"Procedure\": \"Hip Fracture Surgery\"]\n \t\tunion [\"Procedure\": \"Hip Replacement Surgery\"]\n \t\tunion [\"Procedure\": \"Intracranial Neurosurgery\"]\n \t\tunion [\"Procedure\": \"Knee Replacement Surgery\"]\n \t\tunion [\"Procedure\": \"Urological Surgery\"] ) Procedure\n \t\twhere Procedure.status = 'completed'"
}, {
"url": "displaySequence",
"valueInteger": 34
} ]
}, {
"url": "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition",
"extension": [ {
"url": "libraryName",
"valueString": "IntensiveCareUnitVenousThromboembolismProphylaxisFHIR"
}, {
"url": "name",
"valueString": "Encounter With First ICU Stay With Principal Procedure of SCIP VTE Selected Surgery"
}, {
"url": "statement",
"valueString": "define \"Encounter With First ICU Stay With Principal Procedure of SCIP VTE Selected Surgery\":\n from\n \"Encounter With ICU Location\" QualifyingEncounterICU,\n \"SCIP VTE Selected Surgery\" SelectedProcedure\n let EncounterProcedure: Global.GetExtension ( QualifyingEncounterICU, 'qicore-encounter-procedure' )\n where FHIRHelpers.ToInteger ( Global.GetExtension ( EncounterProcedure, 'rank' ).value as FHIR.positiveInt ) = 1\n and Global.GetId ( FHIRHelpers.ToString ( ( Global.GetExtension ( EncounterProcedure, 'procedure' ).value as FHIR.Reference ).reference ) ) = SelectedProcedure.id\n and date from ( \n end of Global.\"Normalize Interval\" ( SelectedProcedure.performed )\n ) during VTE.\"CalendarDayOfOrDayAfter\" ( VTE.\"StartOfFirstICU\" ( QualifyingEncounterICU ) )\n return QualifyingEncounterICU"
}, {
"url": "displaySequence",
"valueInteger": 35
} ]
}, {
"url": "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition",
"extension": [ {
"url": "libraryName",
"valueString": "IntensiveCareUnitVenousThromboembolismProphylaxisFHIR"
}, {
"url": "name",
"valueString": "Intervention Comfort Measures"
}, {
"url": "statement",
"valueString": "define \"Intervention Comfort Measures\":\n ( [\"ServiceRequest\": \"Comfort Measures\"] P\n where P.intent = 'order'\n and P.status in { 'active', 'on-hold', 'completed' }\n )\n union ( [\"Procedure\": \"Comfort Measures\"] InterventionPerformed\n where InterventionPerformed.status in { 'completed', 'in-progress' }\n )"
}, {
"url": "displaySequence",
"valueInteger": 36
} ]
}, {
"url": "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition",
"extension": [ {
"url": "libraryName",
"valueString": "IntensiveCareUnitVenousThromboembolismProphylaxisFHIR"
}, {
"url": "name",
"valueString": "Encounter With Intervention Comfort Measures From Day Of Start of Hospitalization To Day After First ICU Stay"
}, {
"url": "statement",
"valueString": "define \"Encounter With Intervention Comfort Measures From Day Of Start of Hospitalization To Day After First ICU Stay\":\n \"Encounter With ICU Location\" QualifyingEncounterICU\n with \"Intervention Comfort Measures\" ComfortMeasure\n such that date from(Coalesce(start of Global.\"Normalize Interval\"(ComfortMeasure.performed), ComfortMeasure.authoredOn)) during VTE.\"FromDayOfStartOfHospitalizationToDayAfterFirstICU\"(QualifyingEncounterICU)"
}, {
"url": "displaySequence",
"valueInteger": 37
} ]
}, {
"url": "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition",
"extension": [ {
"url": "libraryName",
"valueString": "IntensiveCareUnitVenousThromboembolismProphylaxisFHIR"
}, {
"url": "name",
"valueString": "Encounter With Intervention Comfort Measures on Day of or Day After Procedure"
}, {
"url": "statement",
"valueString": "define \"Encounter With Intervention Comfort Measures on Day of or Day After Procedure\":\n from\n \"Encounter With ICU Location\" QualifyingEncounterICU,\n [\"Procedure\": \"General or Neuraxial Anesthesia\"] AnesthesiaProcedure,\n \"Intervention Comfort Measures\" ComfortMeasure\n where AnesthesiaProcedure.status = 'completed'\n \tand Global.\"Normalize Interval\"(AnesthesiaProcedure.performed ) ends 1 day after day of VTE.\"StartOfFirstICU\"(QualifyingEncounterICU)\n and date from (Coalesce(start of Global.\"Normalize Interval\"(ComfortMeasure.performed), ComfortMeasure.authoredOn)) during VTE.\"CalendarDayOfOrDayAfter\"(\n \t\t\tend of Global.\"Normalize Interval\"(AnesthesiaProcedure.performed))\n \treturn QualifyingEncounterICU"
}, {
"url": "displaySequence",
"valueInteger": 38
} ]
}, {
"url": "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition",
"extension": [ {
"url": "libraryName",
"valueString": "IntensiveCareUnitVenousThromboembolismProphylaxisFHIR"
}, {
"url": "name",
"valueString": "Denominator Exclusions"
}, {
"url": "statement",
"valueString": "define \"Denominator Exclusions\":\n \"Encounter With ICU Location And Encounter Less Than 2 Days\"\n union \"Encounter With First ICU Stay With Principal Procedure of SCIP VTE Selected Surgery\"\n \tunion \"Encounter With Intervention Comfort Measures From Day Of Start of Hospitalization To Day After First ICU Stay\"\n \tunion \"Encounter With Intervention Comfort Measures on Day of or Day After Procedure\""
}, {
"url": "displaySequence",
"valueInteger": 39
} ]
}, {
"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": 40
} ]
}, {
"url": "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition",
"extension": [ {
"url": "libraryName",
"valueString": "IntensiveCareUnitVenousThromboembolismProphylaxisFHIR"
}, {
"url": "name",
"valueString": "SDE Race"
}, {
"url": "statement",
"valueString": "define \"SDE Race\":\n SDE.\"SDE Race\""
}, {
"url": "displaySequence",
"valueInteger": 41
} ]
}, {
"url": "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition",
"extension": [ {
"url": "libraryName",
"valueString": "IntensiveCareUnitVenousThromboembolismProphylaxisFHIR"
}, {
"url": "name",
"valueString": "Encounter With First ICU Location Stay Less Than 1 day"
}, {
"url": "statement",
"valueString": "define \"Encounter With First ICU Location Stay Less Than 1 day\":\n \"Encounter With ICU Location\" QualifyingEncounterICU\n \t where Global.\"LengthInDays\"(VTE.\"FirstICULocationPeriod\"(QualifyingEncounterICU)) < 1"
}, {
"url": "displaySequence",
"valueInteger": 42
} ]
}, {
"url": "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition",
"extension": [ {
"url": "libraryName",
"valueString": "IntensiveCareUnitVenousThromboembolismProphylaxisFHIR"
}, {
"url": "name",
"valueString": "Denominator Exceptions"
}, {
"url": "statement",
"valueString": "define \"Denominator Exceptions\":\n \"Encounter With First ICU Location Stay Less Than 1 day\""
}, {
"url": "displaySequence",
"valueInteger": 43
} ]
} ],
"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": "Library VTE",
"resource": "http://ecqi.healthit.gov/ecqms/Library/VTEFHIR4|4.8.000"
}, {
"type": "depends-on",
"display": "Code system ConditionClinicalStatusCodes",
"resource": "http://terminology.hl7.org/CodeSystem/condition-clinical"
}, {
"type": "depends-on",
"display": "Code system ConditionVerificationStatusCodes",
"resource": "http://terminology.hl7.org/CodeSystem/condition-ver-status"
}, {
"type": "depends-on",
"display": "Code system LOINC",
"resource": "http://loinc.org"
}, {
"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 Obstetrics",
"resource": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.263"
}, {
"type": "depends-on",
"display": "Value set Venous Thromboembolism",
"resource": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.279"
}, {
"type": "depends-on",
"display": "Value set Obstetrics VTE",
"resource": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.264"
}, {
"type": "depends-on",
"display": "Value set Intensive Care Unit",
"resource": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.206"
}, {
"type": "depends-on",
"display": "Value set Low Dose Unfractionated Heparin for VTE Prophylaxis",
"resource": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1045.39"
}, {
"type": "depends-on",
"display": "Value set Subcutaneous route",
"resource": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.223"
}, {
"type": "depends-on",
"display": "Value set Low Molecular Weight Heparin for VTE Prophylaxis",
"resource": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.219"
}, {
"type": "depends-on",
"display": "Value set Injectable Factor Xa Inhibitor for VTE Prophylaxis",
"resource": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.211"
}, {
"type": "depends-on",
"display": "Value set Warfarin",
"resource": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.232"
}, {
"type": "depends-on",
"display": "Value set Device Application",
"resource": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1110.48"
}, {
"type": "depends-on",
"display": "Value set Intermittent pneumatic compression devices (IPC)",
"resource": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.214"
}, {
"type": "depends-on",
"display": "Value set Venous foot pumps (VFP)",
"resource": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.230"
}, {
"type": "depends-on",
"display": "Value set Graduated compression stockings (GCS)",
"resource": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.256"
}, {
"type": "depends-on",
"display": "Value set General or Neuraxial Anesthesia",
"resource": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.666.5.1743"
}, {
"type": "depends-on",
"display": "Value set Oral Factor Xa Inhibitor for VTE Prophylaxis or VTE Treatment",
"resource": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.134"
}, {
"type": "depends-on",
"display": "Value set Atrial Fibrillation/Flutter",
"resource": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.202"
}, {
"type": "depends-on",
"display": "Value set Hip Replacement Surgery",
"resource": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.259"
}, {
"type": "depends-on",
"display": "Value set Knee Replacement Surgery",
"resource": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.261"
}, {
"type": "depends-on",
"display": "Value set Low Risk",
"resource": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.400"
}, {
"type": "depends-on",
"display": "Value set INR",
"resource": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.213"
}, {
"type": "depends-on",
"display": "Value set Unfractionated Heparin",
"resource": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.218"
}, {
"type": "depends-on",
"display": "Value set Intravenous route",
"resource": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.222"
}, {
"type": "depends-on",
"display": "Value set Direct Thrombin Inhibitor",
"resource": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.205"
}, {
"type": "depends-on",
"display": "Value set Glycoprotein IIb/IIIa Inhibitors",
"resource": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1045.41"
}, {
"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 Rivaroxaban for VTE Prophylaxis",
"resource": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1110.50"
}, {
"type": "depends-on",
"display": "Value set Medical Reason",
"resource": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.473"
}, {
"type": "depends-on",
"display": "Value set Patient Refusal",
"resource": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.93"
}, {
"type": "depends-on",
"display": "Value set Payer",
"resource": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3591"
}, {
"type": "depends-on",
"display": "Value set General Surgery",
"resource": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.255"
}, {
"type": "depends-on",
"display": "Value set Gynecological Surgery",
"resource": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.257"
}, {
"type": "depends-on",
"display": "Value set Hip Fracture Surgery",
"resource": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.258"
}, {
"type": "depends-on",
"display": "Value set Intracranial Neurosurgery",
"resource": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.260"
}, {
"type": "depends-on",
"display": "Value set Urological Surgery",
"resource": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.272"
}, {
"type": "depends-on",
"display": "Value set Comfort Measures",
"resource": "http://cts.nlm.nih.gov/fhir/ValueSet/1.3.6.1.4.1.33895.1.3.0.45"
} ],
"parameter": [ {
"name": "Measurement Period",
"use": "in",
"min": 0,
"max": "1",
"type": "Period"
}, {
"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": "Denominator Exclusions",
"use": "out",
"min": 0,
"max": "*",
"type": "Encounter"
}, {
"name": "SDE Race",
"use": "out",
"min": 0,
"max": "*",
"type": "Coding"
}, {
"name": "Denominator Exceptions",
"use": "out",
"min": 0,
"max": "*",
"type": "Encounter"
} ],
"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", "status", "period" ],
"codeFilter": [ {
"path": "type",
"valueSet": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.666.5.307"
} ]
}, {
"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": [ {