forked from DBCG/connectathon
-
Notifications
You must be signed in to change notification settings - Fork 0
/
measure-EXM108_FHIR4-8.2.000.json
307 lines (307 loc) · 174 KB
/
measure-EXM108_FHIR4-8.2.000.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
{
"resourceType": "Measure",
"id": "measure-EXM108-FHIR4-8.2.000",
"meta": {
"versionId": "2",
"lastUpdated": "2020-01-29T22:39:28.514-07:00",
"profile": [
"http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/proportion-measure-cqfm"
]
},
"text": {
"status": "generated",
"div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><table style=\"width: 60%; border-bottom: none;\" class=\"header_table\"> <!-- <tr th:if=\"${resource.hasId()}\" style=\"vertical-align: top;\"><th style=\"background-color:#656565; width:20%\" scope=\"row\"><span class=\"td_label\">Id: </span></th><td style=\"width:80%\" colspan=\"3\" th:narrative=\"${resource.id}\"></td></tr> --><tr style=\"vertical-align: top;\"><td scope=\"row\" style=\"background-color:#656565; width:20%\"><span class=\"td_label\">Measure Title</span></td><td colspan=\"1\" style=\"width:60%\"><h1 style=\"font-size:10px\">Venous Thromboembolism Prophylaxis</h1></td><td scope=\"row\" style=\"background-color:#656565; width:10%\"><span class=\"td_label\">Measure ID</span></td><td colspan=\"1\" style=\"width:10%\"><h1 style=\"font-size:10px\"></h1></td></tr> <!-- <th:block th:each=\"ident, iter : ${resource.identifier}\"><tr th:if=\"${ident.type.coding[0].code == 'CMS'}\" style=\"vertical-align: top;\"><td style=\"background-color:#656565; width:20%\" scope=\"row\"><span class=\"td_label\">eCQM Identifier (Measure Authoring Tool)</span></td><td style=\"width:30%\" th:text=\"${ident.value}\"></td><td style=\"background-color:#656565; width:20%\" scope=\"row\"><span class=\"td_label\">eCQM Version number</span></td><td style=\"width:30%\" th:text=\"${resource.version}\"></td></tr></th:block><th:block th:each=\"ident, iter : ${resource.identifier}\"><tr th:if=\"${ident.type.coding[0].code == 'NQF'}\" style=\"vertical-align: top;\"><td style=\"background-color:#656565; width:20%\" scope=\"row\"><span class=\"td_label\">NQF Number</span></td><td style=\"width:30%\" th:text=\"${ident.value}\"></td><td style=\"background-color:#656565; width:20%\" scope=\"row\"><span class=\"td_label\">GUID</span></td><td style=\"width:30%\" th:text=\"${resource.url}\"></td></tr></th:block> --><tr style=\"vertical-align: top;\"><td scope=\"row\" style=\"background-color:#656565; width:20%\"><span class=\"td_label\">Description</span></td><td colspan=\"3\" style=\"width:80%\"><div style=\"width:660px;overflow-x:hidden;overflow-y:auto\"><pre><p>This measure assesses the number of patients who received VTE prophylaxis or have documentation why no VTE prophylaxis was given the day of or the day after hospital admission or surgery end date for surgeries that start the day of or the day after hospital admission</p>\n</pre>\r\n </div>\r\n </td>\r\n </tr>\r\n <tr>\r\n <td scope=\"row\" style=\"background-color:#656565; width:20%\"><span class=\"td_label\">Measurement Period</span></td>\r\n <td colspan=\"3\" style=\"width:80%\">January 1 - December 31</td>\r\n </tr>\r\n <!-- <tr>\r\n <td style=\"background-color:#656565; width:20%\" scope=\"row\"><span class=\"td_label\">Measure Steward</span></td>\r\n <td style=\"width:80%\" colspan=\"3\" th:text=\"${resource.publisher}\"></td>\r\n </tr>\r\n <tr>\r\n <td style=\"background-color:#656565; width:20%\" scope=\"row\"><span class=\"td_label\">Measure Developer</span></td>\r\n <td style=\"width:80%\" colspan=\"3\" th:text=\"${resource.publisher}\"></td>\r\n </tr> -->\r\n <!-- <tr th:if=\"${resource.hasDisclaimer()}\">\r\n <td style=\"background-color:#656565; width:20%\" scope=\"row\"><span class=\"td_label\">Disclaimer</span></td>\r\n <td style=\"width:80%\" colspan=\"3\">\r\n <div style=\"width:660px;overflow-x:hidden;overflow-y:auto\">\r\n <pre th:text=\"${resource.disclaimer}\"></pre>\r\n </div>\r\n </td>\r\n </tr> -->\r\n <tr>\r\n <td scope=\"row\" style=\"background-color:#656565; width:20%\"><span class=\"td_label\">Copyright and Disclaimer Notice</span></td>\r\n <td colspan=\"3\" style=\"width:80%\">\r\n <div style=\"width:660px;overflow-x:hidden;overflow-y:auto\">\r\n <pre>These performance measures are not clinical guidelines and do not establish a standard of medical care, and have not been tested for all potential applications. The measures and specifications are provided without warranty</pre>\r\n <br/>\r\n <pre>Measure specifications are in the Public Domain. LOINC(R) is a registered trademark of the Regenstrief Institute. This material contains SNOMED Clinical Terms(R) (SNOMED CT(C)) copyright 2004-2017 International Health Terminology Standards Development Organization. All rights reserved.</pre>\r\n </div>\r\n </td>\r\n </tr>\r\n <tr>\r\n <td scope=\"row\" style=\"background-color:#656565; width:20%\"><span class=\"td_label\">Clinical Recommendation Statement</span></td>\r\n <td colspan=\"3\" style=\"width:80%\">\r\n <div style=\"width:660px;overflow-x:hidden;overflow-y:auto\"><p>Failure to recognize and protect patients at risk for venous thromboembolism (VTE) increases the chances for acutely ill hospitalized patients at high risk for developing a deep vein thrombosis or dying from a pulmonary emboli. Screening all patients is the only evidence based practice in reducing incidence of disease. All hospitalized patients should be evaluated for primary VTE prophylaxis, and given appropriate prophylaxis when indicated.</p>\n</div>\r\n </td>\r\n </tr>\r\n \r\n <tr style=\"vertical-align: top;\">\r\n <td rowspan=\"6\" scope=\"row\" style=\"background-color:#656565; width:20%\"><span class=\"td_label\">References</span></td>\r\n <td colspan=\"3\" style=\"width:80%\">\r\n <div style=\"width:660px;overflow-x:hidden;overflow-y:auto\">\r\n <pre>Cohen AT, Tapson VF, Bergmann JF, et al. Venous thromboembolism risk and prophylaxis in the acute hospital care setting (ENDORSE study): a multinational cross-sectional study. Lancet. 2008;371:387-394.</pre>\r\n </div>\r\n </td>\r\n </tr>\r\n \r\n \r\n <tr style=\"vertical-align: top;\">\r\n \r\n <td colspan=\"3\" style=\"width:80%\">\r\n <div style=\"width:660px;overflow-x:hidden;overflow-y:auto\">\r\n <pre>Geerts WH, Bergqvist D, Pineo GF, Heit JA, Samama CM, Lassen MR, Colwell CW. Prevention of venous thromboembolism. The Eighth ACCP Conference on antithrombotic and thrombolytic therapy. Chest. 2008; 133:381S-453S</pre>\r\n </div>\r\n </td>\r\n </tr>\r\n \r\n \r\n <tr style=\"vertical-align: top;\">\r\n \r\n <td colspan=\"3\" style=\"width:80%\">\r\n <div style=\"width:660px;overflow-x:hidden;overflow-y:auto\">\r\n <pre>Guyatt, G.H., Akl, E.A., Crowther, M., Gutterman, D., Schunemann, H. Antithrombotic Therapy and Prevention of Thrombosis, 9th edition: American College of Chest Physicians Evidence-Based Clinical Practice Guidelines. CHEST 2012; 141(2)(Supp):7S-47S</pre>\r\n </div>\r\n </td>\r\n </tr>\r\n \r\n \r\n <tr style=\"vertical-align: top;\">\r\n \r\n <td colspan=\"3\" style=\"width:80%\">\r\n <div style=\"width:660px;overflow-x:hidden;overflow-y:auto\">\r\n <pre>Kearon C, Akl EA, Comerota AJ, Prandoni P, Bounameaux H, Goldhaber SZ, Nelson ME, Wells PS, Gould MK, Dentali F, Crowther M, Kahn SR. Antithrombotic therapy for VTE disease: Antithrombotic Therapy and Prevention of Thrombosis, 9th Edition: American College of Chest Physicians Evidence-based Clinical Practice Guidelines. CHEST 2012 Feb; 141(2) (Supp):e419S-94S.</pre>\r\n </div>\r\n </td>\r\n </tr>\r\n \r\n \r\n <tr style=\"vertical-align: top;\">\r\n \r\n <td colspan=\"3\" style=\"width:80%\">\r\n <div style=\"width:660px;overflow-x:hidden;overflow-y:auto\">\r\n <pre>National Quality Forum. National Voluntary Consensus Standards for Prevention and Care of Venous Thromboembolism: Policy, Preferred Practices, and Initial Performance Measures. A Consensus Report. Washington, DC. NQF; 2006</pre>\r\n </div>\r\n </td>\r\n </tr>\r\n \r\n \r\n <tr style=\"vertical-align: top;\">\r\n \r\n <td colspan=\"3\" style=\"width:80%\">\r\n <div style=\"width:660px;overflow-x:hidden;overflow-y:auto\">\r\n <pre>Shojania KG, Duncan BW, McDonald DM, et al. (Eds.). (2001). Making healthcare safer; A critical analysis of patient safety practices (Evidence Report/Technology Assessment No. 43). Prepared by the University of California at San Francisco-Stanford Evidenced-based Practice Center under Contract no. 290-97-0013 (AHRQ Publication NO.01-E058). Rockville, MD:Agency for Healthcare Research and Quality.</pre>\r\n </div>\r\n </td>\r\n </tr>\r\n \r\n <tr>\r\n <td colspan=\"4\" scope=\"row\" style=\"background-color:#656565; width:100%\"><span class=\"td_label\">Characteristics</span></td>\r\n </tr>\r\n <tr>\r\n <td scope=\"row\" style=\"width:20%\"><span>Scoring</span></td>\r\n <td colspan=\"3\" style=\"width:80%\">Proportion</td>\r\n </tr>\r\n <!-- <tr th:if=\"${resource.hasCompositeScoring()}\">\r\n <td style=\"width:20%\" scope=\"row\"><span class=\"td_label\">Composite Scoring</span></td>\r\n <td style=\"width:80%\" colspan=\"3\" th:text=\"${resource.compositeScoring.getText().substring(0, 1).toUpperCase() + resource.compositeScoring.getText().substring(1)}\"></td>\r\n </tr> -->\r\n \r\n <tr style=\"vertical-align: top;\">\r\n <td rowspan=\"1\" scope=\"row\" style=\"width:20%\"><span>Type</span></td>\r\n <td colspan=\"3\" style=\"width:80%\">Process</td>\r\n </tr>\r\n \r\n <!-- <tr th:if=\"${resource.hasStatus()}\" style=\"vertical-align: top;\">\r\n <td style=\"background-color:#656565; width:20%\" scope=\"row\"><span class=\"td_label\">Status</span></td>\r\n <td style=\"width:80%\" colspan=\"3\" th:text=\"${resource.status.toString().substring(0, 1).toUpperCase() + resource.status.toString().substring(1).toLowerCase()}\"></td>\r\n </tr>\r\n <tr th:if=\"${resource.hasPurpose()}\" style=\"vertical-align: top;\">\r\n <td style=\"background-color:#656565; width:20%\" scope=\"row\"><span class=\"td_label\">Purpose</span></td>\r\n <td style=\"width:80%\" colspan=\"3\" th:text=\"${resource.purpose}\"></td>\r\n </tr>\r\n <tr th:if=\"${resource.hasUsage()}\" style=\"vertical-align: top;\" >\r\n <td style=\"background-color:#656565; width:20%\" scope=\"row\"><span class=\"td_label\">Usage</span></td>\r\n <td style=\"width:80%\" colspan=\"3\" th:text=\"${resource.usage}\"></td>\r\n </tr>\r\n <th:block th:each=\"context, iter : ${resource.useContext}\" >\r\n <tr style=\"vertical-align: top;\">\r\n <td th:if=\"${iter.index == 0}\" th:rowspan=\"${iter.size}\" style=\"background-color:#656565; width:20%\" scope=\"row\"><span class=\"td_label\">Use Context</span></td>\r\n <td style=\"width:80%\" colspan=\"3\" th:text=\"${context}\"></td>\r\n </tr>\r\n </th:block>\r\n <th:block th:each=\"topics, iter : ${resource.topic}\" >\r\n <tr style=\"vertical-align: top;\">\r\n <td th:if=\"${iter.index == 0}\" th:rowspan=\"${iter.size}\" style=\"background-color:#656565; width:20%\" scope=\"row\"><span class=\"td_label\">Topic</span></td>\r\n <td style=\"width:80%\" colspan=\"3\" th:text=\"${topics}\"></td>\r\n </tr>\r\n </th:block>\r\n <th:block th:each=\"cont, iter : ${resource.contributor}\" >\r\n <tr style=\"vertical-align: top;\">\r\n <td th:if=\"${iter.index == 0}\" th:rowspan=\"${iter.size}\" style=\"background-color:#656565; width:20%\" scope=\"row\"><span class=\"td_label\">Contributor</span></td>\r\n <td style=\"width:80%\" colspan=\"3\">\r\n <b><span th:narrative=\"${cont.type.toCode()}\"></span>: </b><span th:text=\"${cont.name}\"></span>\r\n </td>\r\n </tr>\r\n </th:block> -->\r\n <!-- <th:block th:each=\"lib, iter : ${resource.library}\" >\r\n <tr style=\"vertical-align: top;\">\r\n <td th:if=\"${iter.index == 0}\" th:rowspan=\"${iter.size}\" style=\"background-color:#656565; width:20%\" scope=\"row\"><span class=\"td_label\">Library</span></td>\r\n <td style=\"width:80%\" colspan=\"3\">\r\n <p th:if=\"${lib.hasIdentifier()}\"><b>identifier: </b><span th:narrative=\"${lib.identifier}\"></span></p>\r\n <p th:if=\"${lib.hasReference()}\"><b>reference: </b><span th:narrative=\"${lib.reference}\"></span></p>\r\n <p th:if=\"${lib.hasDisplay()}\"><b>display: </b><span th:text=\"${lib.display}\"></span></p>\r\n </td>\r\n </tr>\r\n </th:block> -->\r\n \r\n <!-- <tr th:if=\"${resource.hasRateAggregation()}\" >\r\n <td style=\"background-color:#656565; width:20%\" scope=\"row\"><span class=\"td_label\">Rate Aggregation</span></td>\r\n <td style=\"width:80%\" colspan=\"3\">\r\n <div style=\"width:660px;overflow-x:hidden;overflow-y:auto\">\r\n <pre th:text=\"${resource.rateAggregation}\"></pre>\r\n </div>\r\n </td>\r\n </tr>\r\n <tr th:if=\"${resource.hasRationale()}\">\r\n <td style=\"background-color:#656565; width:20%\" scope=\"row\"><span class=\"td_label\">Rationale</span></td>\r\n <td style=\"width:80%\" colspan=\"3\">\r\n <div style=\"width:660px;overflow-x:hidden;overflow-y:auto\">\r\n <pre th:text=\"${resource.rationale}\"></pre>\r\n </div>\r\n </td>\r\n </tr> -->\r\n <tr>\r\n <td scope=\"row\" style=\"width:20%\"><span>Improvement Notation</span></td>\r\n <td colspan=\"3\" style=\"width:80%\">A higher rate indicates better performance.</td>\r\n \r\n </tr>\r\n <tr>\r\n <td scope=\"row\" style=\"width:20%\"><span>Guidance</span></td>\r\n <td colspan=\"3\" style=\"width:80%\">\r\n <div style=\"width:660px;overflow-x:hidden;overflow-y:auto\"><p>When low dose unfractionated heparin is administered for VTE Prophylaxis, the intended administration route for low dose unfractionated heparin is subcutaneous.</p>\n<p>Reasons for no pharmacological and no mechanical VTE prophylaxis must be explicitly documented by the MD/APN/PA or pharmacist and linked with VTE prophylaxis. Ambulation alone is not a sufficient reason for not administering VTE prophylaxis. In order for ambulation/patient ambulating to be considered as an acceptable reason, there needs to be explicit documentation, e.g., \"patient out of bed and ambulating in halls - no VTE prophylaxis needed.\"</p>\n</div>\r\n </td>\r\n </tr>\r\n <tr>\r\n <td colspan=\"4\" scope=\"row\" style=\"background-color:#656565; width:100%\"><span class=\"td_label\">Definitions</span></td>\r\n </tr>\r\n \r\n \r\n <!-- <th:block th:each=\"groups, iter : ${resource.uniquePopulationGroup}\" >\r\n <tr style=\"vertical-align: top;\">\r\n <td style=\"background-color:#656565; width:20%\" scope=\"row\"><span class=\"td_label\" th:text=\"${groups.identifier.value}\"></span></td>\r\n <td style=\"width:80%\" colspan=\"3\">\r\n <div style=\"width:660px;overflow-x:hidden;overflow-y:auto\">\r\n <pre th:text=\"${pops.description}\"></pre>\r\n </div>\r\n </td>\r\n </tr>\r\n </th:block> -->\r\n </table>\r\n <table style=\"width: 60%; border-top: none; border-bottom: none\" class=\"header_table\">\r\n \r\n </table>\r\n <table style=\"width: 60%; border-top: none;\" class=\"header_table\">\r\n <!-- <th:block th:each=\"supples, iter : ${resource.supplementalData}\">\r\n <tr>\r\n <th th:if=\"${iter.index == 0}\" th:rowspan=\"${iter.size}\" scope=\"row\"><b>Supplemental Data:</b></th>\r\n <td style=\"width:80%\" colspan=\"3\" >\r\n <p style=\"margin-bottom: 5px;\" th:narrative=\"${supples.identifier}\"></p>\r\n <p style=\"margin-bottom: 5px;\" th:each=\"uses : ${supples.usage}\">\r\n <b>usage: </b>\r\n <span th:narrative=\"${uses}\"></span>\r\n </p>\r\n <p style=\"margin-bottom: 5px;\" th:if=\"${supples.hasCriteria()}\">\r\n <b>criteria: </b>\r\n <span th:narrative=\"${supples.criteria}\"></span>\r\n </p>\r\n <p style=\"margin-bottom: 5px;\" th:if=\"${supples.hasPath()}\">\r\n <b>path: </b>\r\n <span th:narrative=\"${supples.path}\"></span>\r\n </p>\r\n </td>\r\n </tr>\r\n </th:block> -->\r\n <!-- <th:block th:each=\"param, iter : ${resource.parameter}\">\r\n <tr style=\"vertical-align: top;\">\r\n <th th:if=\"${iter.index == 0}\" th:rowspan=\"${iter.size}\" scope=\"row\"><b>Parameter: </b></th>\r\n <td style=\"width:80%\" colspan=\"3\" >\r\n <span th:if=\"${param.hasName()}\">\r\n <b>name: </b>\r\n <span th:narrative=\"${param.name}\"></span>\r\n <br/>\r\n </span>\r\n <b>use: </b>\r\n <span th:narrative=\"${param.use.toCode()}\"></span>\r\n <br/>\r\n <span th:if=\"${param.hasMin()}\">\r\n <b>minimum cardinality: </b>\r\n <span th:narrative=\"${param.min}\"></span>\r\n <br/>\r\n </span>\r\n <span th:if=\"${param.hasMax()}\">\r\n <b>maximum cardinality: </b>\r\n <span th:narrative=\"${param.max}\"></span>\r\n <br/>\r\n </span>\r\n <b>type: </b>\r\n <span th:narrative=\"${param.type}\"></span>\r\n <br/>\r\n <span th:if=\"${param.hasDocumentation()}\">\r\n <b>documentation: </b>\r\n <span th:narrative=\"${param.documentation}\"></span>\r\n <br/>\r\n </span>\r\n <span th:if=\"${param.hasProfile()}\">\r\n <b>profile: </b>\r\n <span th:narrative=\"${param.profile}\"></span>\r\n <br/>\r\n </span>\r\n <p style=\"margin-bottom: 5px;\"></p>\r\n </td>\r\n </tr>\r\n </th:block> -->\r\n <!-- <th:block th:each=\"dataReq, iter : ${resource.dataRequirement}\">\r\n <tr style=\"vertical-align: top;\">\r\n <th th:if=\"${iter.index == 0}\" th:rowspan=\"${iter.size}\" scope=\"row\" ><b>Data Requirements: </b></th>\r\n <td style=\"width:80%\" colspan=\"3\" th:narrative=\"${dataReq}\"></td>\r\n </tr>\r\n </th:block> -->\r\n </table>\r\n <h2><a name=\"toc\">Table of Contents</a></h2>\r\n <ul style=\"padding-left: 50px;\">\r\n <li><a href=\"#d1e405\">Population Criteria</a></li>\r\n <li><a href=\"#d1e649\">Definitions</a></li>\r\n <li><a href=\"#d1e650\">Functions</a></li>\r\n <li><a href=\"#d1e555\">Terminology</a></li>\r\n <li><a href=\"#d1e647\">Data Criteria (QDM Data Elements)</a></li>\r\n <li><a href=\"#d1e767\">Supplemental Data Elements</a></li>\r\n <li><a href=\"#d1e879\">Risk Adjustment Variables</a></li>\r\n </ul>\r\n <div style=\"float:left; background:teal; height:3px; width:80%\"></div>\r\n \r\n <pre><br/></pre>\r\n <h3><a name=\"d1e405\" href=\"#toc\">Population Criteria</a></h3>\r\n <div>\r\n <ul style=\"list-style:none;padding-left:10px;\">\r\n <li style=\"list-style:none;padding-left:0px;\" class=\"list-unstyled\">\r\n \r\n <div class=\"treeview hover p-l-10\">\r\n <ul class=\"list-unstyled\">\r\n <li class=\"list-unstyled\"><input id=\"Initial Population\" type=\"checkbox\"/><label for=\"Initial Population\" class=\"list-header\"><strong>Initial Population</strong></label>\r\n <ul class=\"code\">\r\n <li class=\"list-unstyled\">\r\n <div class=\"treeview hover p-l-10\">\r\n <ul>\r\n <li style=\"padding-left: 0px;\">\r\n <div>\r\n <pre class=\"cql-definition-body\"> \"Encounter With Age Range and Without VTE Diagnosis or Obstetrical Conditions\"</pre>\r\n </div></li>\r\n </ul> \r\n </div></li>\r\n </ul></li>\r\n </ul>\r\n </div>\r\n \r\n \r\n <div class=\"treeview hover p-l-10\">\r\n <ul class=\"list-unstyled\">\r\n <li class=\"list-unstyled\"><input id=\"Numerator\" type=\"checkbox\"/><label for=\"Numerator\" class=\"list-header\"><strong>Numerator</strong></label>\r\n <ul class=\"code\">\r\n <li class=\"list-unstyled\">\r\n <div class=\"treeview hover p-l-10\">\r\n <ul>\r\n <li style=\"padding-left: 0px;\">\r\n <div>\r\n <pre class=\"cql-definition-body\"> \"Encounter With VTE Prophylaxis Received on Day of or Day After Admission or Procedure\"\r\n union ( \"Encounter With Medication Oral Factor Xa Inhibitor Administered on Day of or Day After Admission or Procedure\"\r\n \t\t\t intersect ( \"Encounter With Prior or Present Diagnosis of Atrial Fibrillation or VTE\"\r\n \t\t\t\t\t\t union \"Encounter With Prior or Present Procedure of Hip or Knee Replacement Surgery\"\r\n \t\t\t )\r\n )\r\n union \"Encounter With Low Risk for VTE or Anticoagulant Administered\"\r\n union \"Encounter With No VTE Prophylaxis Due to Medical Reason\"\r\n union \"Encounter With No VTE Prophylaxis Due to Patient Refusal\"</pre>\r\n </div></li>\r\n </ul> \r\n </div></li>\r\n </ul></li>\r\n </ul>\r\n </div>\r\n \r\n \r\n <div class=\"treeview hover p-l-10\">\r\n <ul class=\"list-unstyled\">\r\n <li class=\"list-unstyled\"><input id=\"Denominator\" type=\"checkbox\"/><label for=\"Denominator\" class=\"list-header\"><strong>Denominator</strong></label>\r\n <ul class=\"code\">\r\n <li class=\"list-unstyled\">\r\n <div class=\"treeview hover p-l-10\">\r\n <ul>\r\n <li style=\"padding-left: 0px;\">\r\n <div>\r\n <pre class=\"cql-definition-body\"> \"Initial Population\"</pre>\r\n </div></li>\r\n </ul> \r\n </div></li>\r\n </ul></li>\r\n </ul>\r\n </div>\r\n \r\n \r\n <div class=\"treeview hover p-l-10\">\r\n <ul class=\"list-unstyled\">\r\n <li class=\"list-unstyled\"><input id=\"Denominator Exclusion\" type=\"checkbox\"/><label for=\"Denominator Exclusion\" class=\"list-header\"><strong>Denominator Exclusion</strong></label>\r\n <ul class=\"code\">\r\n <li class=\"list-unstyled\">\r\n <div class=\"treeview hover p-l-10\">\r\n <ul>\r\n <li style=\"padding-left: 0px;\">\r\n <div>\r\n <pre class=\"cql-definition-body\"> \"Encounter Less Than 2 Days\"\r\n union \"Encounter With ICU Location Stay 1 Day or More\"\r\n union \"Encounter With Principal Diagnosis of Mental Disorder or Stroke\"\r\n union \"Encounter With Principal Procedure of SCIP VTE Selected Surgery\"\r\n union \"Encounter With Intervention Comfort Measures From Day of Start of Hospitalization To Day After Admission\"\r\n union \"Encounter With Intervention Comfort Measures on Day of or Day After Procedure\"</pre>\r\n </div></li>\r\n </ul> \r\n </div></li>\r\n </ul></li>\r\n </ul>\r\n </div>\r\n \r\n \r\n </li>\r\n </ul>\r\n </div>\r\n\r\n <h3><a name=\"d1e649\" href=\"#toc\">Definitions</a></h3>\r\n <div>\r\n <ul style=\"list-style:none;padding-left: 10px;\">\r\n <li style=\"list-style:none;\" class=\"list-unstyled\">\r\n <div>\r\n <ul style=\"list-style:none;padding-left:0;\" class=\"list-unstyled\">\r\n <li class=\"list-unstyled\">\r\n <div class=\"treeview hover p-l-10\">\r\n <input id=\"Admission Without VTE or Obstetrical Conditions\" type=\"checkbox\"/>\r\n <label for=\"Admission Without VTE or Obstetrical Conditions\" class=\"list-header\"><strong>Admission Without VTE or Obstetrical Conditions</strong></label>\r\n <ul style=\"margin-right: 20%; opacity: 1;\" class=\"code\">\r\n <li class=\"list-unstyled\">\r\n <div>\r\n <ul style=\"padding-left: 0px;\">\r\n <li style=\"padding-left: 0px;\" class=\"list-unstyled\">\r\n <div>\r\n <pre class=\"cql-definition-body\">\t \tGlobal.\"Inpatient Encounter\" InpatientEncounter\r\n\t\t where not (exists (Global.EncounterDiagnosis(InpatientEncounter)) EncounterDiagnosis\r\n where (EncounterDiagnosis.code in \"Obstetrics\"\r\n\t\t\t\t\t\t\t\tor EncounterDiagnosis.code in \"Venous Thromboembolism\"\r\n\t\t\t\t\t\t\t\tor EncounterDiagnosis.code in \"Obstetrics VTE\"\r\n\t\t\t )\r\n )</pre>\r\n </div></li>\r\n </ul> \r\n </div></li>\r\n </ul>\r\n </div></li>\r\n </ul>\r\n </div></li>\r\n </ul>\r\n </div>\r\n <div>\r\n <ul style=\"list-style:none;padding-left: 10px;\">\r\n <li style=\"list-style:none;\" class=\"list-unstyled\">\r\n <div>\r\n <ul style=\"list-style:none;padding-left:0;\" class=\"list-unstyled\">\r\n <li class=\"list-unstyled\">\r\n <div class=\"treeview hover p-l-10\">\r\n <input id=\"Denominator\" type=\"checkbox\"/>\r\n <label for=\"Denominator\" class=\"list-header\"><strong>Denominator</strong></label>\r\n <ul style=\"margin-right: 20%; opacity: 1;\" class=\"code\">\r\n <li class=\"list-unstyled\">\r\n <div>\r\n <ul style=\"padding-left: 0px;\">\r\n <li style=\"padding-left: 0px;\" class=\"list-unstyled\">\r\n <div>\r\n <pre class=\"cql-definition-body\"> \"Initial Population\"</pre>\r\n </div></li>\r\n </ul> \r\n </div></li>\r\n </ul>\r\n </div></li>\r\n </ul>\r\n </div></li>\r\n </ul>\r\n </div>\r\n <div>\r\n <ul style=\"list-style:none;padding-left: 10px;\">\r\n <li style=\"list-style:none;\" class=\"list-unstyled\">\r\n <div>\r\n <ul style=\"list-style:none;padding-left:0;\" class=\"list-unstyled\">\r\n <li class=\"list-unstyled\">\r\n <div class=\"treeview hover p-l-10\">\r\n <input id=\"Denominator Exclusion\" type=\"checkbox\"/>\r\n <label for=\"Denominator Exclusion\" class=\"list-header\"><strong>Denominator Exclusion</strong></label>\r\n <ul style=\"margin-right: 20%; opacity: 1;\" class=\"code\">\r\n <li class=\"list-unstyled\">\r\n <div>\r\n <ul style=\"padding-left: 0px;\">\r\n <li style=\"padding-left: 0px;\" class=\"list-unstyled\">\r\n <div>\r\n <pre class=\"cql-definition-body\"> \"Encounter Less Than 2 Days\"\r\n union \"Encounter With ICU Location Stay 1 Day or More\"\r\n union \"Encounter With Principal Diagnosis of Mental Disorder or Stroke\"\r\n union \"Encounter With Principal Procedure of SCIP VTE Selected Surgery\"\r\n union \"Encounter With Intervention Comfort Measures From Day of Start of Hospitalization To Day After Admission\"\r\n union \"Encounter With Intervention Comfort Measures on Day of or Day After Procedure\"</pre>\r\n </div></li>\r\n </ul> \r\n </div></li>\r\n </ul>\r\n </div></li>\r\n </ul>\r\n </div></li>\r\n </ul>\r\n </div>\r\n <div>\r\n <ul style=\"list-style:none;padding-left: 10px;\">\r\n <li style=\"list-style:none;\" class=\"list-unstyled\">\r\n <div>\r\n <ul style=\"list-style:none;padding-left:0;\" class=\"list-unstyled\">\r\n <li class=\"list-unstyled\">\r\n <div class=\"treeview hover p-l-10\">\r\n <input id=\"Encounter Less Than 2 Days\" type=\"checkbox\"/>\r\n <label for=\"Encounter Less Than 2 Days\" class=\"list-header\"><strong>Encounter Less Than 2 Days</strong></label>\r\n <ul style=\"margin-right: 20%; opacity: 1;\" class=\"code\">\r\n <li class=\"list-unstyled\">\r\n <div>\r\n <ul style=\"padding-left: 0px;\">\r\n <li style=\"padding-left: 0px;\" class=\"list-unstyled\">\r\n <div>\r\n <pre class=\"cql-definition-body\"> \"Encounter With Age Range and Without VTE Diagnosis or Obstetrical Conditions\" QualifyingEncounter\r\n \twhere Global.\"LengthInDays\"(QualifyingEncounter.period)< 2</pre>\r\n </div></li>\r\n </ul> \r\n </div></li>\r\n </ul>\r\n </div></li>\r\n </ul>\r\n </div></li>\r\n </ul>\r\n </div>\r\n <div>\r\n <ul style=\"list-style:none;padding-left: 10px;\">\r\n <li style=\"list-style:none;\" class=\"list-unstyled\">\r\n <div>\r\n <ul style=\"list-style:none;padding-left:0;\" class=\"list-unstyled\">\r\n <li class=\"list-unstyled\">\r\n <div class=\"treeview hover p-l-10\">\r\n <input id=\"Encounter With Age Range and Without VTE Diagnosis or Obstetrical Conditions\" type=\"checkbox\"/>\r\n <label for=\"Encounter With Age Range and Without VTE Diagnosis or Obstetrical Conditions\" class=\"list-header\"><strong>Encounter With Age Range and Without VTE Diagnosis or Obstetrical Conditions</strong></label>\r\n <ul style=\"margin-right: 20%; opacity: 1;\" class=\"code\">\r\n <li class=\"list-unstyled\">\r\n <div>\r\n <ul style=\"padding-left: 0px;\">\r\n <li style=\"padding-left: 0px;\" class=\"list-unstyled\">\r\n <div>\r\n <pre class=\"cql-definition-body\"> ( Global.\"Inpatient Encounter\" InpatientEncounter\r\n \t\twith [\"Patient\"] BirthDate\r\n \t\t\tsuch that Global.\"CalendarAgeInYearsAt\"(FHIRHelpers.ToDate(BirthDate.birthDate), start of InpatientEncounter.period) >= 18\r\n )\r\n intersect \"Admission Without VTE or Obstetrical Conditions\"</pre>\r\n </div></li>\r\n </ul> \r\n </div></li>\r\n </ul>\r\n </div></li>\r\n </ul>\r\n </div></li>\r\n </ul>\r\n </div>\r\n <div>\r\n <ul style=\"list-style:none;padding-left: 10px;\">\r\n <li style=\"list-style:none;\" class=\"list-unstyled\">\r\n <div>\r\n <ul style=\"list-style:none;padding-left:0;\" class=\"list-unstyled\">\r\n <li class=\"list-unstyled\">\r\n <div class=\"treeview hover p-l-10\">\r\n <input id=\"Encounter With ICU Location Stay 1 Day or More\" type=\"checkbox\"/>\r\n <label for=\"Encounter With ICU Location Stay 1 Day or More\" class=\"list-header\"><strong>Encounter With ICU Location Stay 1 Day or More</strong></label>\r\n <ul style=\"margin-right: 20%; opacity: 1;\" class=\"code\">\r\n <li class=\"list-unstyled\">\r\n <div>\r\n <ul style=\"padding-left: 0px;\">\r\n <li style=\"padding-left: 0px;\" class=\"list-unstyled\">\r\n <div>\r\n <pre class=\"cql-definition-body\"> \"Encounter With Age Range and Without VTE Diagnosis or Obstetrical Conditions\" QualifyingEncounter\r\n where exists ( QualifyingEncounter.location Location\r\n \t\twhere Global.GetLocation(Location.location).type in \"Intensive Care Unit\"\r\n \t\t\tand Global.\"LengthInDays\"(Location.period)>= 1\r\n \t\t\tand Location.period starts during TJC.\"CalendarDayOfOrDayAfter\"(start of QualifyingEncounter.period)\r\n\t )</pre>\r\n </div></li>\r\n </ul> \r\n </div></li>\r\n </ul>\r\n </div></li>\r\n </ul>\r\n </div></li>\r\n </ul>\r\n </div>\r\n <div>\r\n <ul style=\"list-style:none;padding-left: 10px;\">\r\n <li style=\"list-style:none;\" class=\"list-unstyled\">\r\n <div>\r\n <ul style=\"list-style:none;padding-left:0;\" class=\"list-unstyled\">\r\n <li class=\"list-unstyled\">\r\n <div class=\"treeview hover p-l-10\">\r\n <input id=\"Encounter With Intervention Comfort Measures From Day of Start of Hospitalization To Day After Admission\" type=\"checkbox\"/>\r\n <label for=\"Encounter With Intervention Comfort Measures From Day of Start of Hospitalization To Day After Admission\" class=\"list-header\"><strong>Encounter With Intervention Comfort Measures From Day of Start of Hospitalization To Day After Admission</strong></label>\r\n <ul style=\"margin-right: 20%; opacity: 1;\" class=\"code\">\r\n <li class=\"list-unstyled\">\r\n <div>\r\n <ul style=\"padding-left: 0px;\">\r\n <li style=\"padding-left: 0px;\" class=\"list-unstyled\">\r\n <div>\r\n <pre class=\"cql-definition-body\">\t\"Encounter With Age Range and Without VTE Diagnosis or Obstetrical Conditions\" QualifyingEncounter\r\n\t\twith \"Intervention Comfort Measures\" ComfortMeasure\r\n\t\tsuch that Coalesce(start of Global.\"Normalize Interval\"(ComfortMeasure.performed), ComfortMeasure.authoredOn) during VTEICU.\"FromDayOfStartOfHospitalizationToDayAfterAdmission\"(QualifyingEncounter)</pre>\r\n </div></li>\r\n </ul> \r\n </div></li>\r\n </ul>\r\n </div></li>\r\n </ul>\r\n </div></li>\r\n </ul>\r\n </div>\r\n <div>\r\n <ul style=\"list-style:none;padding-left: 10px;\">\r\n <li style=\"list-style:none;\" class=\"list-unstyled\">\r\n <div>\r\n <ul style=\"list-style:none;padding-left:0;\" class=\"list-unstyled\">\r\n <li class=\"list-unstyled\">\r\n <div class=\"treeview hover p-l-10\">\r\n <input id=\"Encounter With Intervention Comfort Measures on Day of or Day After Procedure\" type=\"checkbox\"/>\r\n <label for=\"Encounter With Intervention Comfort Measures on Day of or Day After Procedure\" class=\"list-header\"><strong>Encounter With Intervention Comfort Measures on Day of or Day After Procedure</strong></label>\r\n <ul style=\"margin-right: 20%; opacity: 1;\" class=\"code\">\r\n <li class=\"list-unstyled\">\r\n <div>\r\n <ul style=\"padding-left: 0px;\">\r\n <li style=\"padding-left: 0px;\" class=\"list-unstyled\">\r\n <div>\r\n <pre class=\"cql-definition-body\"> from\r\n \t\t\"Encounter With Age Range and Without VTE Diagnosis or Obstetrical Conditions\" QualifyingEncounter,\r\n \t\t[\"Procedure\": \"General or Neuraxial Anesthesia\"] AnesthesiaProcedure,\r\n \t\t\"Intervention Comfort Measures\" ComfortMeasure\r\n\t\twhere AnesthesiaProcedure.status = 'completed'\r\n\t\t\t\tand Global.\"Normalize Interval\"(AnesthesiaProcedure.performed) ends 1 day after day of start of QualifyingEncounter.period\r\n and Coalesce(start of Global.\"Normalize Interval\"(ComfortMeasure.performed), ComfortMeasure.authoredOn) during TJC.\"CalendarDayOfOrDayAfter\"(end of Global.\"Normalize Interval\"(AnesthesiaProcedure.performed))\r\n return QualifyingEncounter</pre>\r\n </div></li>\r\n </ul> \r\n </div></li>\r\n </ul>\r\n </div></li>\r\n </ul>\r\n </div></li>\r\n </ul>\r\n </div>\r\n <div>\r\n <ul style=\"list-style:none;padding-left: 10px;\">\r\n <li style=\"list-style:none;\" class=\"list-unstyled\">\r\n <div>\r\n <ul style=\"list-style:none;padding-left:0;\" class=\"list-unstyled\">\r\n <li class=\"list-unstyled\">\r\n <div class=\"treeview hover p-l-10\">\r\n <input id=\"Encounter With Low Risk for VTE or Anticoagulant Administered\" type=\"checkbox\"/>\r\n <label for=\"Encounter With Low Risk for VTE or Anticoagulant Administered\" class=\"list-header\"><strong>Encounter With Low Risk for VTE or Anticoagulant Administered</strong></label>\r\n <ul style=\"margin-right: 20%; opacity: 1;\" class=\"code\">\r\n <li class=\"list-unstyled\">\r\n <div>\r\n <ul style=\"padding-left: 0px;\">\r\n <li style=\"padding-left: 0px;\" class=\"list-unstyled\">\r\n <div>\r\n <pre class=\"cql-definition-body\"> \"Low Risk for VTE or Anticoagulant Administered From Day of Start of Hospitalization To Day After Admission\"\r\n \t union \"Low Risk for VTE or Anticoagulant Administered on Day of or Day After Procedure\"</pre>\r\n </div></li>\r\n </ul> \r\n </div></li>\r\n </ul>\r\n </div></li>\r\n </ul>\r\n </div></li>\r\n </ul>\r\n </div>\r\n <div>\r\n <ul style=\"list-style:none;padding-left: 10px;\">\r\n <li style=\"list-style:none;\" class=\"list-unstyled\">\r\n <div>\r\n <ul style=\"list-style:none;padding-left:0;\" class=\"list-unstyled\">\r\n <li class=\"list-unstyled\">\r\n <div class=\"treeview hover p-l-10\">\r\n <input id=\"Encounter With Medication Oral Factor Xa Inhibitor Administered on Day of or Day After Admission or Procedure\" type=\"checkbox\"/>\r\n <label for=\"Encounter With Medication Oral Factor Xa Inhibitor Administered on Day of or Day After Admission or Procedure\" class=\"list-header\"><strong>Encounter With Medication Oral Factor Xa Inhibitor Administered on Day of or Day After Admission or Procedure</strong></label>\r\n <ul style=\"margin-right: 20%; opacity: 1;\" class=\"code\">\r\n <li class=\"list-unstyled\">\r\n <div>\r\n <ul style=\"padding-left: 0px;\">\r\n <li style=\"padding-left: 0px;\" class=\"list-unstyled\">\r\n <div>\r\n <pre class=\"cql-definition-body\">\t( from\r\n \t\t\"Encounter With Age Range and Without VTE Diagnosis or Obstetrical Conditions\" QualifyingEncounter,\r\n \t\t\t[\"MedicationAdministration\": medication in \"Oral Factor Xa Inhibitor for VTE Prophylaxis or VTE Treatment\"] FactorXaMedication\r\n where FactorXaMedication.status = 'completed'\r\n and Global.\"Normalize Interval\"(FactorXaMedication.effective) starts during TJC.\"CalendarDayOfOrDayAfter\"(start of QualifyingEncounter.period)\r\n return QualifyingEncounter\r\n )\r\n union ( from\r\n \t\t\t\t \"Encounter With Age Range and Without VTE Diagnosis or Obstetrical Conditions\" QualifyingEncounter,\r\n \t\t\t\t[\"Procedure\": \"General or Neuraxial Anesthesia\"] AnesthesiaProcedure,\r\n \t\t\t\t[\"MedicationAdministration\": medication in \"Oral Factor Xa Inhibitor for VTE Prophylaxis or VTE Treatment\"] FactorXaMedication\r\n \t\t\twhere FactorXaMedication.status = 'completed'\r\n and AnesthesiaProcedure.status = 'completed'\r\n \t\t\t and Global.\"Normalize Interval\"(AnesthesiaProcedure.performed) ends 1 day after day of start of QualifyingEncounter.period\r\n \t\t\t\t\tand Global.\"Normalize Interval\"(FactorXaMedication.effective) starts during TJC.\"CalendarDayOfOrDayAfter\"(end of Global.\"Normalize Interval\"(AnesthesiaProcedure.performed))\r\n \t\t\treturn QualifyingEncounter\r\n \t\t)</pre>\r\n </div></li>\r\n </ul> \r\n </div></li>\r\n </ul>\r\n </div></li>\r\n </ul>\r\n </div></li>\r\n </ul>\r\n </div>\r\n <div>\r\n <ul style=\"list-style:none;padding-left: 10px;\">\r\n <li style=\"list-style:none;\" class=\"list-unstyled\">\r\n <div>\r\n <ul style=\"list-style:none;padding-left:0;\" class=\"list-unstyled\">\r\n <li class=\"list-unstyled\">\r\n <div class=\"treeview hover p-l-10\">\r\n <input id=\"Encounter With No VTE Prophylaxis Due to Medical Reason\" type=\"checkbox\"/>\r\n <label for=\"Encounter With No VTE Prophylaxis Due to Medical Reason\" class=\"list-header\"><strong>Encounter With No VTE Prophylaxis Due to Medical Reason</strong></label>\r\n <ul style=\"margin-right: 20%; opacity: 1;\" class=\"code\">\r\n <li class=\"list-unstyled\">\r\n <div>\r\n <ul style=\"padding-left: 0px;\">\r\n <li style=\"padding-left: 0px;\" class=\"list-unstyled\">\r\n <div>\r\n <pre class=\"cql-definition-body\"> ( \"No VTE Prophylaxis Medication Due to Medical Reason From Day of Start of Hospitalization To Day After Admission\"\r\n intersect \"No VTE Prophylaxis Device Due to Medical Reason From Day of Start of Hospitalization To Day After Admission\"\r\n )\r\n union ( \"No VTE Prophylaxis Medication Due to Medical Reason on Day of or Day After Procedure\"\r\n intersect \"No VTE Prophylaxis Device Due to Medical Reason on Day of or Day After Procedure\"\r\n )</pre>\r\n </div></li>\r\n </ul> \r\n </div></li>\r\n </ul>\r\n </div></li>\r\n </ul>\r\n </div></li>\r\n </ul>\r\n </div>\r\n <div>\r\n <ul style=\"list-style:none;padding-left: 10px;\">\r\n <li style=\"list-style:none;\" class=\"list-unstyled\">\r\n <div>\r\n <ul style=\"list-style:none;padding-left:0;\" class=\"list-unstyled\">\r\n <li class=\"list-unstyled\">\r\n <div class=\"treeview hover p-l-10\">\r\n <input id=\"Encounter With No VTE Prophylaxis Due to Patient Refusal\" type=\"checkbox\"/>\r\n <label for=\"Encounter With No VTE Prophylaxis Due to Patient Refusal\" class=\"list-header\"><strong>Encounter With No VTE Prophylaxis Due to Patient Refusal</strong></label>\r\n <ul style=\"margin-right: 20%; opacity: 1;\" class=\"code\">\r\n <li class=\"list-unstyled\">\r\n <div>\r\n <ul style=\"padding-left: 0px;\">\r\n <li style=\"padding-left: 0px;\" class=\"list-unstyled\">\r\n <div>\r\n <pre class=\"cql-definition-body\"> \"No VTE Prophylaxis Due to Patient Refusal From Day of Start of Hospitalization To Day After Admission\"\r\n \tunion \"No VTE Prophylaxis Due to Patient Refusal on Day of or Day After Procedure\"</pre>\r\n </div></li>\r\n </ul> \r\n </div></li>\r\n </ul>\r\n </div></li>\r\n </ul>\r\n </div></li>\r\n </ul>\r\n </div>\r\n <div>\r\n <ul style=\"list-style:none;padding-left: 10px;\">\r\n <li style=\"list-style:none;\" class=\"list-unstyled\">\r\n <div>\r\n <ul style=\"list-style:none;padding-left:0;\" class=\"list-unstyled\">\r\n <li class=\"list-unstyled\">\r\n <div class=\"treeview hover p-l-10\">\r\n <input id=\"Encounter With Principal Diagnosis of Mental Disorder or Stroke\" type=\"checkbox\"/>\r\n <label for=\"Encounter With Principal Diagnosis of Mental Disorder or Stroke\" class=\"list-header\"><strong>Encounter With Principal Diagnosis of Mental Disorder or Stroke</strong></label>\r\n <ul style=\"margin-right: 20%; opacity: 1;\" class=\"code\">\r\n <li class=\"list-unstyled\">\r\n <div>\r\n <ul style=\"padding-left: 0px;\">\r\n <li style=\"padding-left: 0px;\" class=\"list-unstyled\">\r\n <div>\r\n <pre class=\"cql-definition-body\"> \"Encounter With Age Range and Without VTE Diagnosis or Obstetrical Conditions\" QualifyingEncounter\r\n where Global.\"PrincipalDiagnosis\"(QualifyingEncounter).code in \"Mental Health Diagnoses\"\r\n or Global.\"PrincipalDiagnosis\"(QualifyingEncounter).code in \"Hemorrhagic Stroke\"\r\n or Global.\"PrincipalDiagnosis\"(QualifyingEncounter).code in \"Ischemic Stroke\"</pre>\r\n </div></li>\r\n </ul> \r\n </div></li>\r\n </ul>\r\n </div></li>\r\n </ul>\r\n </div></li>\r\n </ul>\r\n </div>\r\n <div>\r\n <ul style=\"list-style:none;padding-left: 10px;\">\r\n <li style=\"list-style:none;\" class=\"list-unstyled\">\r\n <div>\r\n <ul style=\"list-style:none;padding-left:0;\" class=\"list-unstyled\">\r\n <li class=\"list-unstyled\">\r\n <div class=\"treeview hover p-l-10\">\r\n <input id=\"Encounter With Principal Procedure of SCIP VTE Selected Surgery\" type=\"checkbox\"/>\r\n <label for=\"Encounter With Principal Procedure of SCIP VTE Selected Surgery\" class=\"list-header\"><strong>Encounter With Principal Procedure of SCIP VTE Selected Surgery</strong></label>\r\n <ul style=\"margin-right: 20%; opacity: 1;\" class=\"code\">\r\n <li class=\"list-unstyled\">\r\n <div>\r\n <ul style=\"padding-left: 0px;\">\r\n <li style=\"padding-left: 0px;\" class=\"list-unstyled\">\r\n <div>\r\n <pre class=\"cql-definition-body\"> from\r\n \"Encounter With Age Range and Without VTE Diagnosis or Obstetrical Conditions\" QualifyingEncounter,\r\n \"SCIP VTE Selected Surgery\" SelectedProcedure\r\n let EncounterProcedure: Global.GetExtension(QualifyingEncounter, 'qicore-encounter-procedure')\r\n where FHIRHelpers.ToInteger(Global.GetExtension(EncounterProcedure, 'rank').value as FHIR.positiveInt) = 1\r\n and Global.GetId(FHIRHelpers.ToString((Global.GetExtension(EncounterProcedure, 'procedure').value as FHIR.Reference).reference)) = SelectedProcedure.id\r\n and Global.\"Normalize Interval\"(SelectedProcedure.performed) during QualifyingEncounter.period</pre>\r\n </div></li>\r\n </ul> \r\n </div></li>\r\n </ul>\r\n </div></li>\r\n </ul>\r\n </div></li>\r\n </ul>\r\n </div>\r\n <div>\r\n <ul style=\"list-style:none;padding-left: 10px;\">\r\n <li style=\"list-style:none;\" class=\"list-unstyled\">\r\n <div>\r\n <ul style=\"list-style:none;padding-left:0;\" class=\"list-unstyled\">\r\n <li class=\"list-unstyled\">\r\n <div class=\"treeview hover p-l-10\">\r\n <input id=\"Encounter With Prior or Present Diagnosis of Atrial Fibrillation or VTE\" type=\"checkbox\"/>\r\n <label for=\"Encounter With Prior or Present Diagnosis of Atrial Fibrillation or VTE\" class=\"list-header\"><strong>Encounter With Prior or Present Diagnosis of Atrial Fibrillation or VTE</strong></label>\r\n <ul style=\"margin-right: 20%; opacity: 1;\" class=\"code\">\r\n <li class=\"list-unstyled\">\r\n <div>\r\n <ul style=\"padding-left: 0px;\">\r\n <li style=\"padding-left: 0px;\" class=\"list-unstyled\">\r\n <div>\r\n <pre class=\"cql-definition-body\">\t( \"Encounter With Age Range and Without VTE Diagnosis or Obstetrical Conditions\" QualifyingEncounter\r\n\t\twith [\"Condition\": code in \"Atrial Fibrillation/Flutter\"] AtrialFibrillation\r\n\t\tsuch that FHIRHelpers.ToConcept(AtrialFibrillation.clinicalStatus) in { Global.\"active\", Global.\"recurrence\", Global.\"relapse\" }\r\n\t\t\tand Global.\"Normalize Onset\"(AtrialFibrillation.onset) starts on or before end of QualifyingEncounter.period\r\n )\r\n union ( \"Encounter With Age Range and Without VTE Diagnosis or Obstetrical Conditions\" QualifyingEncounter\r\n \t\t\t\twhere Global.EncounterDiagnosis(QualifyingEncounter).code in \"Atrial Fibrillation/Flutter\"\r\n \t\t\t)\r\n union ( \"Encounter With Age Range and Without VTE Diagnosis or Obstetrical Conditions\" QualifyingEncounter\r\n \t\t\t\twith [\"Condition\": code in \"Venous Thromboembolism\"] VTEDiagnosis\r\n \t\t\t\tsuch that FHIRHelpers.ToConcept(VTEDiagnosis.clinicalStatus) in { Global.\"inactive\", Global.\"remission\", Global.\"resolved\" }\r\n \t\t\t\t\t//and VTEDiagnosis.verificationStatus = 'confirmed'\r\n \t\t\t\tand Global.\"Normalize Onset\"(VTEDiagnosis.onset) before start of QualifyingEncounter.period\r\n \t\t)</pre>\r\n </div></li>\r\n </ul> \r\n </div></li>\r\n </ul>\r\n </div></li>\r\n </ul>\r\n </div></li>\r\n </ul>\r\n </div>\r\n <div>\r\n <ul style=\"list-style:none;padding-left: 10px;\">\r\n <li style=\"list-style:none;\" class=\"list-unstyled\">\r\n <div>\r\n <ul style=\"list-style:none;padding-left:0;\" class=\"list-unstyled\">\r\n <li class=\"list-unstyled\">\r\n <div class=\"treeview hover p-l-10\">\r\n <input id=\"Encounter With Prior or Present Procedure of Hip or Knee Replacement Surgery\" type=\"checkbox\"/>\r\n <label for=\"Encounter With Prior or Present Procedure of Hip or Knee Replacement Surgery\" class=\"list-header\"><strong>Encounter With Prior or Present Procedure of Hip or Knee Replacement Surgery</strong></label>\r\n <ul style=\"margin-right: 20%; opacity: 1;\" class=\"code\">\r\n <li class=\"list-unstyled\">\r\n <div>\r\n <ul style=\"padding-left: 0px;\">\r\n <li style=\"padding-left: 0px;\" class=\"list-unstyled\">\r\n <div>\r\n <pre class=\"cql-definition-body\">\t\"Encounter With Age Range and Without VTE Diagnosis or Obstetrical Conditions\" QualifyingEncounter\r\n\twith ( [\"Procedure\": \"Hip Replacement Surgery\"]\r\n \t\t\tunion [\"Procedure\": \"Knee Replacement Surgery\"] ) HipKneeProcedure\r\n\tsuch that HipKneeProcedure.status = 'completed'\r\n\t and Global.\"Normalize Interval\"(HipKneeProcedure.performed) starts on or before end of QualifyingEncounter.period</pre>\r\n </div></li>\r\n </ul> \r\n </div></li>\r\n </ul>\r\n </div></li>\r\n </ul>\r\n </div></li>\r\n </ul>\r\n </div>\r\n <div>\r\n <ul style=\"list-style:none;padding-left: 10px;\">\r\n <li style=\"list-style:none;\" class=\"list-unstyled\">\r\n <div>\r\n <ul style=\"list-style:none;padding-left:0;\" class=\"list-unstyled\">\r\n <li class=\"list-unstyled\">\r\n <div class=\"treeview hover p-l-10\">\r\n <input id=\"Encounter With VTE Prophylaxis Received on Day of or Day After Admission or Procedure\" type=\"checkbox\"/>\r\n <label for=\"Encounter With VTE Prophylaxis Received on Day of or Day After Admission or Procedure\" class=\"list-header\"><strong>Encounter With VTE Prophylaxis Received on Day of or Day After Admission or Procedure</strong></label>\r\n <ul style=\"margin-right: 20%; opacity: 1;\" class=\"code\">\r\n <li class=\"list-unstyled\">\r\n <div>\r\n <ul style=\"padding-left: 0px;\">\r\n <li style=\"padding-left: 0px;\" class=\"list-unstyled\">\r\n <div>\r\n <pre class=\"cql-definition-body\"> \t( from\r\n \t\t\t\"Encounter With Age Range and Without VTE Diagnosis or Obstetrical Conditions\" QualifyingEncounter,\r\n \t\t\t\"VTE Prophylaxis by Medication Administered or Device Applied\" VTEProphylaxis\r\n \t\twhere Coalesce(Global.\"Normalize Interval\"(VTEProphylaxis.effective), Global.\"Normalize Interval\"(VTEProphylaxis.performed)) starts during TJC.\"CalendarDayOfOrDayAfter\"(start of QualifyingEncounter.period)\r\n \t\treturn QualifyingEncounter\r\n \t)\r\n \tunion (\r\n from\r\n \t\t\t\"Encounter With Age Range and Without VTE Diagnosis or Obstetrical Conditions\" QualifyingEncounter,\r\n \t\t\t[\"Procedure\": \"General or Neuraxial Anesthesia\"] AnesthesiaProcedure,\r\n \t\t\t\"VTE Prophylaxis by Medication Administered or Device Applied\" VTEProphylaxis\r\n\t\t\twhere Global.\"Normalize Interval\"(AnesthesiaProcedure.performed) ends 1 day after day of start of QualifyingEncounter.period\r\n\t\t\t\tand Coalesce(Global.\"Normalize Interval\"(VTEProphylaxis.effective), Global.\"Normalize Interval\"(VTEProphylaxis.performed)) starts during TJC.\"CalendarDayOfOrDayAfter\"(end of Global.\"Normalize Interval\"(AnesthesiaProcedure.performed))\r\n\t\t\treturn QualifyingEncounter\r\n\t)</pre>\r\n </div></li>\r\n </ul> \r\n </div></li>\r\n </ul>\r\n </div></li>\r\n </ul>\r\n </div></li>\r\n </ul>\r\n </div>\r\n <div>\r\n <ul style=\"list-style:none;padding-left: 10px;\">\r\n <li style=\"list-style:none;\" class=\"list-unstyled\">\r\n <div>\r\n <ul style=\"list-style:none;padding-left:0;\" class=\"list-unstyled\">\r\n <li class=\"list-unstyled\">\r\n <div class=\"treeview hover p-l-10\">\r\n <input id=\"Initial Population\" type=\"checkbox\"/>\r\n <label for=\"Initial Population\" class=\"list-header\"><strong>Initial Population</strong></label>\r\n <ul style=\"margin-right: 20%; opacity: 1;\" class=\"code\">\r\n <li class=\"list-unstyled\">\r\n <div>\r\n <ul style=\"padding-left: 0px;\">\r\n <li style=\"padding-left: 0px;\" class=\"list-unstyled\">\r\n <div>\r\n <pre class=\"cql-definition-body\"> \"Encounter With Age Range and Without VTE Diagnosis or Obstetrical Conditions\"</pre>\r\n </div></li>\r\n </ul> \r\n </div></li>\r\n </ul>\r\n </div></li>\r\n </ul>\r\n </div></li>\r\n </ul>\r\n </div>\r\n <div>\r\n <ul style=\"list-style:none;padding-left: 10px;\">\r\n <li style=\"list-style:none;\" class=\"list-unstyled\">\r\n <div>\r\n <ul style=\"list-style:none;padding-left:0;\" class=\"list-unstyled\">\r\n <li class=\"list-unstyled\">\r\n <div class=\"treeview hover p-l-10\">\r\n <input id=\"Intervention Comfort Measures\" type=\"checkbox\"/>\r\n <label for=\"Intervention Comfort Measures\" class=\"list-header\"><strong>Intervention Comfort Measures</strong></label>\r\n <ul style=\"margin-right: 20%; opacity: 1;\" class=\"code\">\r\n <li class=\"list-unstyled\">\r\n <div>\r\n <ul style=\"padding-left: 0px;\">\r\n <li style=\"padding-left: 0px;\" class=\"list-unstyled\">\r\n <div>\r\n <pre class=\"cql-definition-body\">\t([\"ServiceRequest\": \"Comfort Measures\"] P\r\n \t\twhere P.intent = 'order'\r\n )\r\n \tunion\r\n \t([\"Procedure\": \"Comfort Measures\"] InterventionPerformed\r\n \twhere InterventionPerformed.status in {'completed', 'in-progress'})</pre>\r\n </div></li>\r\n </ul> \r\n </div></li>\r\n </ul>\r\n </div></li>\r\n </ul>\r\n </div></li>\r\n </ul>\r\n </div>\r\n <div>\r\n <ul style=\"list-style:none;padding-left: 10px;\">\r\n <li style=\"list-style:none;\" class=\"list-unstyled\">\r\n <div>\r\n <ul style=\"list-style:none;padding-left:0;\" class=\"list-unstyled\">\r\n <li class=\"list-unstyled\">\r\n <div class=\"treeview hover p-l-10\">\r\n <input id=\"Is In Low Risk for VTE or On Anticoagulant\" type=\"checkbox\"/>\r\n <label for=\"Is In Low Risk for VTE or On Anticoagulant\" class=\"list-header\"><strong>Is In Low Risk for VTE or On Anticoagulant</strong></label>\r\n <ul style=\"margin-right: 20%; opacity: 1;\" class=\"code\">\r\n <li class=\"list-unstyled\">\r\n <div>\r\n <ul style=\"padding-left: 0px;\">\r\n <li style=\"padding-left: 0px;\" class=\"list-unstyled\">\r\n <div>\r\n <pre class=\"cql-definition-body\">\t ( [\"Observation\": \"Risk for venous thromboembolism\"] VTERiskAssessment\r\n\t\t\t where VTERiskAssessment.value in \"Low Risk\"\r\n and VTERiskAssessment.status in {'final','amended', 'corrected'}\r\n\t )\r\n union ( [\"Observation\": \"INR\"] INRLabTest\r\n where INRLabTest.value as Quantity > 3.0\r\n and INRLabTest.status in {'final','amended', 'corrected'}\r\n return \"Observation\" { id: INRLabTest.id, effective: INRLabTest.issued }\r\n )\r\n union ((( [\"MedicationAdministration\": \"Unfractionated Heparin\"] UnfractionatedHeparin\r\n where UnfractionatedHeparin.dosage.route in \"Intravenous route\"\r\n )\r\n union [\"MedicationAdministration\": \"Direct Thrombin Inhibitor\"]\r\n union [\"MedicationAdministration\": \"Glycoprotein IIb/IIIa Inhibitors\"] ) AnticoagulantMedication\r\n where AnticoagulantMedication.status = 'complete'\r\n return \"Observation\" { id: AnticoagulantMedication.id, effective: AnticoagulantMedication.effective }\r\n )</pre>\r\n </div></li>\r\n </ul> \r\n </div></li>\r\n </ul>\r\n </div></li>\r\n </ul>\r\n </div></li>\r\n </ul>\r\n </div>\r\n <div>\r\n <ul style=\"list-style:none;padding-left: 10px;\">\r\n <li style=\"list-style:none;\" class=\"list-unstyled\">\r\n <div>\r\n <ul style=\"list-style:none;padding-left:0;\" class=\"list-unstyled\">\r\n <li class=\"list-unstyled\">\r\n <div class=\"treeview hover p-l-10\">\r\n <input id=\"Low Risk for VTE or Anticoagulant Administered From Day of Start of Hospitalization To Day After Admission\" type=\"checkbox\"/>\r\n <label for=\"Low Risk for VTE or Anticoagulant Administered From Day of Start of Hospitalization To Day After Admission\" class=\"list-header\"><strong>Low Risk for VTE or Anticoagulant Administered From Day of Start of Hospitalization To Day After Admission</strong></label>\r\n <ul style=\"margin-right: 20%; opacity: 1;\" class=\"code\">\r\n <li class=\"list-unstyled\">\r\n <div>\r\n <ul style=\"padding-left: 0px;\">\r\n <li style=\"padding-left: 0px;\" class=\"list-unstyled\">\r\n <div>\r\n <pre class=\"cql-definition-body\"> \t\"Encounter With Age Range and Without VTE Diagnosis or Obstetrical Conditions\" QualifyingEncounter\r\n with \"Is In Low Risk for VTE or On Anticoagulant\" VTERiskAssessment\r\n such that Global.\"Normalize Interval\"(VTERiskAssessment.effective) starts during VTEICU.\"FromDayOfStartOfHospitalizationToDayAfterAdmission\"(QualifyingEncounter)</pre>\r\n </div></li>\r\n </ul> \r\n </div></li>\r\n </ul>\r\n </div></li>\r\n </ul>\r\n </div></li>\r\n </ul>\r\n </div>\r\n <div>\r\n <ul style=\"list-style:none;padding-left: 10px;\">\r\n <li style=\"list-style:none;\" class=\"list-unstyled\">\r\n <div>\r\n <ul style=\"list-style:none;padding-left:0;\" class=\"list-unstyled\">\r\n <li class=\"list-unstyled\">\r\n <div class=\"treeview hover p-l-10\">\r\n <input id=\"Low Risk for VTE or Anticoagulant Administered on Day of or Day After Procedure\" type=\"checkbox\"/>\r\n <label for=\"Low Risk for VTE or Anticoagulant Administered on Day of or Day After Procedure\" class=\"list-header\"><strong>Low Risk for VTE or Anticoagulant Administered on Day of or Day After Procedure</strong></label>\r\n <ul style=\"margin-right: 20%; opacity: 1;\" class=\"code\">\r\n <li class=\"list-unstyled\">\r\n <div>\r\n <ul style=\"padding-left: 0px;\">\r\n <li style=\"padding-left: 0px;\" class=\"list-unstyled\">\r\n <div>\r\n <pre class=\"cql-definition-body\"> \tfrom\r\n \t\t\"Encounter With Age Range and Without VTE Diagnosis or Obstetrical Conditions\" QualifyingEncounter,\r\n \t\t[\"Procedure\": \"General or Neuraxial Anesthesia\"] AnesthesiaProcedure,\r\n \t\t\"Is In Low Risk for VTE or On Anticoagulant\" VTERiskAssessment\r\n\twhere Global.\"Normalize Interval\"(AnesthesiaProcedure.performed) ends 1 day after day of start of QualifyingEncounter.period\r\n \t\t\tand Global.\"Normalize Interval\"(VTERiskAssessment.effective) starts during TJC.\"CalendarDayOfOrDayAfter\"(end of Global.\"Normalize Interval\"(AnesthesiaProcedure.performed))\r\n\treturn QualifyingEncounter</pre>\r\n </div></li>\r\n </ul> \r\n </div></li>\r\n </ul>\r\n </div></li>\r\n </ul>\r\n </div></li>\r\n </ul>\r\n </div>\r\n <div>\r\n <ul style=\"list-style:none;padding-left: 10px;\">\r\n <li style=\"list-style:none;\" class=\"list-unstyled\">\r\n <div>\r\n <ul style=\"list-style:none;padding-left:0;\" class=\"list-unstyled\">\r\n <li class=\"list-unstyled\">\r\n <div class=\"treeview hover p-l-10\">\r\n <input id=\"No VTE Prophylaxis Device Applied or Ordered\" type=\"checkbox\"/>\r\n <label for=\"No VTE Prophylaxis Device Applied or Ordered\" class=\"list-header\"><strong>No VTE Prophylaxis Device Applied or Ordered</strong></label>\r\n <ul style=\"margin-right: 20%; opacity: 1;\" class=\"code\">\r\n <li class=\"list-unstyled\">\r\n <div>\r\n <ul style=\"padding-left: 0px;\">\r\n <li style=\"padding-left: 0px;\" class=\"list-unstyled\">\r\n <div>\r\n <pre class=\"cql-definition-body\"> ((\r\n [\"ServiceRequest\": \"Venous foot pumps (VFP)\"]\r\n union [\"ServiceRequest\": \"Intermittent pneumatic compression devices (IPC)\"]\r\n union [\"ServiceRequest\": \"Graduated compression stockings (GCS)\"]\r\n ) DeviceOrder\r\n where DeviceOrder.status = 'completed'\r\n //11/5 discussion: all expressions for QI-Core must include a status\r\n //ServiceRequest.status - draft | active | suspended | completed | entered-in-error | cancelled\r\n and DeviceOrder.doNotPerform is true\r\n return {id: DeviceOrder.id, requestStatusReason: GetStatusReason(DeviceOrder), authoredOn: DeviceOrder.authoredOn}\r\n )\r\n union\r\n (\r\n [\"Procedure\": \"Device Application\"] DeviceApplied\r\n let DeviceNotDoneTiming: Global.GetExtension(DeviceApplied, 'qicore-recorded').value\r\n where (DeviceApplied.usedCode in \"Intermittent pneumatic compression devices (IPC)\"\r\n or DeviceApplied.usedCode in \"Venous foot pumps (VFP)\"\r\n or DeviceApplied.usedCode in \"Graduated compression stockings (GCS)\"\r\n )\r\n and DeviceApplied.status = 'not-done'\r\n return {id: DeviceApplied.id, requestStatusReason: DeviceApplied.statusReason, authoredOn: DeviceNotDoneTiming}\r\n\r\n )</pre>\r\n </div></li>\r\n </ul> \r\n </div></li>\r\n </ul>\r\n </div></li>\r\n </ul>\r\n </div></li>\r\n </ul>\r\n </div>\r\n <div>\r\n <ul style=\"list-style:none;padding-left: 10px;\">\r\n <li style=\"list-style:none;\" class=\"list-unstyled\">\r\n <div>\r\n <ul style=\"list-style:none;padding-left:0;\" class=\"list-unstyled\">\r\n <li class=\"list-unstyled\">\r\n <div class=\"treeview hover p-l-10\">\r\n <input id=\"No VTE Prophylaxis Device Due to Medical Reason From Day of Start of Hospitalization To Day After Admission\" type=\"checkbox\"/>\r\n <label for=\"No VTE Prophylaxis Device Due to Medical Reason From Day of Start of Hospitalization To Day After Admission\" class=\"list-header\"><strong>No VTE Prophylaxis Device Due to Medical Reason From Day of Start of Hospitalization To Day After Admission</strong></label>\r\n <ul style=\"margin-right: 20%; opacity: 1;\" class=\"code\">\r\n <li class=\"list-unstyled\">\r\n <div>\r\n <ul style=\"padding-left: 0px;\">\r\n <li style=\"padding-left: 0px;\" class=\"list-unstyled\">\r\n <div>\r\n <pre class=\"cql-definition-body\"> \"Encounter With Age Range and Without VTE Diagnosis or Obstetrical Conditions\" QualifyingEncounter\r\n \twith \"No VTE Prophylaxis Device Applied or Ordered\" NoVTEDevice\r\n such that NoVTEDevice.requestStatusReason in \"Medical Reason\"\r\n and NoVTEDevice.authoredOn during VTEICU.\"FromDayOfStartOfHospitalizationToDayAfterAdmission\"(QualifyingEncounter)</pre>\r\n </div></li>\r\n </ul> \r\n </div></li>\r\n </ul>\r\n </div></li>\r\n </ul>\r\n </div></li>\r\n </ul>\r\n </div>\r\n <div>\r\n <ul style=\"list-style:none;padding-left: 10px;\">\r\n <li style=\"list-style:none;\" class=\"list-unstyled\">\r\n <div>\r\n <ul style=\"list-style:none;padding-left:0;\" class=\"list-unstyled\">\r\n <li class=\"list-unstyled\">\r\n <div class=\"treeview hover p-l-10\">\r\n <input id=\"No VTE Prophylaxis Device Due to Medical Reason on Day of or Day After Procedure\" type=\"checkbox\"/>\r\n <label for=\"No VTE Prophylaxis Device Due to Medical Reason on Day of or Day After Procedure\" class=\"list-header\"><strong>No VTE Prophylaxis Device Due to Medical Reason on Day of or Day After Procedure</strong></label>\r\n <ul style=\"margin-right: 20%; opacity: 1;\" class=\"code\">\r\n <li class=\"list-unstyled\">\r\n <div>\r\n <ul style=\"padding-left: 0px;\">\r\n <li style=\"padding-left: 0px;\" class=\"list-unstyled\">\r\n <div>\r\n <pre class=\"cql-definition-body\"> from\r\n \t\t\"Encounter With Age Range and Without VTE Diagnosis or Obstetrical Conditions\" QualifyingEncounter,\r\n \t\t[\"Procedure\": \"General or Neuraxial Anesthesia\"] AnesthesiaProcedure,\r\n \t\t\"No VTE Prophylaxis Device Applied or Ordered\" NoVTEDevice\r\n where NoVTEDevice.requestStatusReason in \"Medical Reason\"\r\n and AnesthesiaProcedure.status = 'completed'\r\n \t\tand Global.\"Normalize Interval\"(AnesthesiaProcedure.performed) ends 1 day after day of start of QualifyingEncounter.period\r\n and NoVTEDevice.authoredOn during TJC.\"CalendarDayOfOrDayAfter\"(end of Global.\"Normalize Interval\"(AnesthesiaProcedure.performed))\r\n return QualifyingEncounter</pre>\r\n </div></li>\r\n </ul> \r\n </div></li>\r\n </ul>\r\n </div></li>\r\n </ul>\r\n </div></li>\r\n </ul>\r\n </div>\r\n <div>\r\n <ul style=\"list-style:none;padding-left: 10px;\">\r\n <li style=\"list-style:none;\" class=\"list-unstyled\">\r\n <div>\r\n <ul style=\"list-style:none;padding-left:0;\" class=\"list-unstyled\">\r\n <li class=\"list-unstyled\">\r\n <div class=\"treeview hover p-l-10\">\r\n <input id=\"No VTE Prophylaxis Due to Patient Refusal From Day of Start of Hospitalization To Day After Admission\" type=\"checkbox\"/>\r\n <label for=\"No VTE Prophylaxis Due to Patient Refusal From Day of Start of Hospitalization To Day After Admission\" class=\"list-header\"><strong>No VTE Prophylaxis Due to Patient Refusal From Day of Start of Hospitalization To Day After Admission</strong></label>\r\n <ul style=\"margin-right: 20%; opacity: 1;\" class=\"code\">\r\n <li class=\"list-unstyled\">\r\n <div>\r\n <ul style=\"padding-left: 0px;\">\r\n <li style=\"padding-left: 0px;\" class=\"list-unstyled\">\r\n <div>\r\n <pre class=\"cql-definition-body\"> \t\"Encounter With Age Range and Without VTE Diagnosis or Obstetrical Conditions\" QualifyingEncounter\r\n\t with \"No VTE Prophylaxis Medication or Device Due to Patient Refusal\" PatientRefusal\r\n such that Coalesce(start of Global.\"Normalize Interval\"(PatientRefusal.effective), PatientRefusal.authoredOn)\r\n during VTEICU.\"FromDayOfStartOfHospitalizationToDayAfterAdmission\"(QualifyingEncounter)</pre>\r\n </div></li>\r\n </ul> \r\n </div></li>\r\n </ul>\r\n </div></li>\r\n </ul>\r\n </div></li>\r\n </ul>\r\n </div>\r\n <div>\r\n <ul style=\"list-style:none;padding-left: 10px;\">\r\n <li style=\"list-style:none;\" class=\"list-unstyled\">\r\n <div>\r\n <ul style=\"list-style:none;padding-left:0;\" class=\"list-unstyled\">\r\n <li class=\"list-unstyled\">\r\n <div class=\"treeview hover p-l-10\">\r\n <input id=\"No VTE Prophylaxis Due to Patient Refusal on Day of or Day After Procedure\" type=\"checkbox\"/>\r\n <label for=\"No VTE Prophylaxis Due to Patient Refusal on Day of or Day After Procedure\" class=\"list-header\"><strong>No VTE Prophylaxis Due to Patient Refusal on Day of or Day After Procedure</strong></label>\r\n <ul style=\"margin-right: 20%; opacity: 1;\" class=\"code\">\r\n <li class=\"list-unstyled\">\r\n <div>\r\n <ul style=\"padding-left: 0px;\">\r\n <li style=\"padding-left: 0px;\" class=\"list-unstyled\">\r\n <div>\r\n <pre class=\"cql-definition-body\"> \tfrom\r\n \t\t\"Encounter With Age Range and Without VTE Diagnosis or Obstetrical Conditions\" QualifyingEncounter,\r\n \t\t[\"Procedure\": \"General or Neuraxial Anesthesia\"] AnesthesiaProcedure,\r\n \t\t\"No VTE Prophylaxis Medication or Device Due to Patient Refusal\" PatientRefusal\r\n\twhere Global.\"Normalize Interval\"(AnesthesiaProcedure.performed) ends 1 day after day of start of QualifyingEncounter.period\r\n \t\t\tand Coalesce(start of Global.\"Normalize Interval\"(PatientRefusal.effective), PatientRefusal.authoredOn)\r\n during TJC.\"CalendarDayOfOrDayAfter\"(end of Global.\"Normalize Interval\"(AnesthesiaProcedure.performed))\r\n\treturn QualifyingEncounter</pre>\r\n </div></li>\r\n </ul> \r\n </div></li>\r\n </ul>\r\n </div></li>\r\n </ul>\r\n </div></li>\r\n </ul>\r\n </div>\r\n <div>\r\n <ul style=\"list-style:none;padding-left: 10px;\">\r\n <li style=\"list-style:none;\" class=\"list-unstyled\">\r\n <div>\r\n <ul style=\"list-style:none;padding-left:0;\" class=\"list-unstyled\">\r\n <li class=\"list-unstyled\">\r\n <div class=\"treeview hover p-l-10\">\r\n <input id=\"No VTE Prophylaxis Medication Administered or Ordered\" type=\"checkbox\"/>\r\n <label for=\"No VTE Prophylaxis Medication Administered or Ordered\" class=\"list-header\"><strong>No VTE Prophylaxis Medication Administered or Ordered</strong></label>\r\n <ul style=\"margin-right: 20%; opacity: 1;\" class=\"code\">\r\n <li class=\"list-unstyled\">\r\n <div>\r\n <ul style=\"padding-left: 0px;\">\r\n <li style=\"padding-left: 0px;\" class=\"list-unstyled\">\r\n <div>\r\n <pre class=\"cql-definition-body\"> ((\t[\"MedicationAdministration\": medication in \"Low Dose Unfractionated Heparin for VTE Prophylaxis\"]\r\n union\r\n\t [\"MedicationAdministration\": medication in \"Low Molecular Weight Heparin for VTE Prophylaxis\"]\r\n union\r\n\t [\"MedicationAdministration\": medication in \"Injectable Factor Xa Inhibitor for VTE Prophylaxis\"]\r\n union\r\n\t [\"MedicationAdministration\": medication in \"Warfarin\"]\r\n ) MedicationAdm\r\n where MedicationAdm.status = 'not-done'\r\n )\r\n union\r\n\t ((\t[\"MedicationRequest\": medication in \"Low Dose Unfractionated Heparin for VTE Prophylaxis\"]\r\n \tunion\r\n \t [\"MedicationRequest\": medication in \"Low Molecular Weight Heparin for VTE Prophylaxis\"]\r\n union\r\n \t[\"MedicationRequest\": medication in \"Injectable Factor Xa Inhibitor for VTE Prophylaxis\"]\r\n union\r\n \t[\"MedicationRequest\": medication in \"Warfarin\"]\r\n ) MedicationOrder\r\n \twhere\tMedicationOrder.doNotPerform is true\r\n and MedicationOrder.status in {'completed', 'cancelled'}\r\n //11/5 discussion: all expressions for QI-Core must include a status.\r\n //Therefore, we need ServiceRequest.status = completed; and MedicationRequest.status = cancelled (or completed, since cancelled indicates it was once ordered but intentionally never filled).\r\n //So the not done issue is handled by ServiceRequest.doNotPerform = True Or MedicationRequest.doNotPerform = True\r\n )</pre>\r\n </div></li>\r\n </ul> \r\n </div></li>\r\n </ul>\r\n </div></li>\r\n </ul>\r\n </div></li>\r\n </ul>\r\n </div>\r\n <div>\r\n <ul style=\"list-style:none;padding-left: 10px;\">\r\n <li style=\"list-style:none;\" class=\"list-unstyled\">\r\n <div>\r\n <ul style=\"list-style:none;padding-left:0;\" class=\"list-unstyled\">\r\n <li class=\"list-unstyled\">\r\n <div class=\"treeview hover p-l-10\">\r\n <input id=\"No VTE Prophylaxis Medication Due to Medical Reason From Day of Start of Hospitalization To Day After Admission\" type=\"checkbox\"/>\r\n <label for=\"No VTE Prophylaxis Medication Due to Medical Reason From Day of Start of Hospitalization To Day After Admission\" class=\"list-header\"><strong>No VTE Prophylaxis Medication Due to Medical Reason From Day of Start of Hospitalization To Day After Admission</strong></label>\r\n <ul style=\"margin-right: 20%; opacity: 1;\" class=\"code\">\r\n <li class=\"list-unstyled\">\r\n <div>\r\n <ul style=\"padding-left: 0px;\">\r\n <li style=\"padding-left: 0px;\" class=\"list-unstyled\">\r\n <div>\r\n <pre class=\"cql-definition-body\"> \t\"Encounter With Age Range and Without VTE Diagnosis or Obstetrical Conditions\" QualifyingEncounter\r\n with\t\"No VTE Prophylaxis Medication Administered or Ordered\" NoVTEMedication\r\n \tsuch that Coalesce(NoVTEMedication.statusReason,NoVTEMedication.reasonCode) in \"Medical Reason\"\r\n \t\t\tand Coalesce(NoVTEMedication.authoredOn, start of Global.\"Normalize Interval\"(NoVTEMedication.effective)) during VTEICU.\"FromDayOfStartOfHospitalizationToDayAfterAdmission\"(QualifyingEncounter)</pre>\r\n </div></li>\r\n </ul> \r\n </div></li>\r\n </ul>\r\n </div></li>\r\n </ul>\r\n </div></li>\r\n </ul>\r\n </div>\r\n <div>\r\n <ul style=\"list-style:none;padding-left: 10px;\">\r\n <li style=\"list-style:none;\" class=\"list-unstyled\">\r\n <div>\r\n <ul style=\"list-style:none;padding-left:0;\" class=\"list-unstyled\">\r\n <li class=\"list-unstyled\">\r\n <div class=\"treeview hover p-l-10\">\r\n <input id=\"No VTE Prophylaxis Medication Due to Medical Reason on Day of or Day After Procedure\" type=\"checkbox\"/>\r\n <label for=\"No VTE Prophylaxis Medication Due to Medical Reason on Day of or Day After Procedure\" class=\"list-header\"><strong>No VTE Prophylaxis Medication Due to Medical Reason on Day of or Day After Procedure</strong></label>\r\n <ul style=\"margin-right: 20%; opacity: 1;\" class=\"code\">\r\n <li class=\"list-unstyled\">\r\n <div>\r\n <ul style=\"padding-left: 0px;\">\r\n <li style=\"padding-left: 0px;\" class=\"list-unstyled\">\r\n <div>\r\n <pre class=\"cql-definition-body\">\tfrom\r\n \t\t\"Encounter With Age Range and Without VTE Diagnosis or Obstetrical Conditions\" QualifyingEncounter,\r\n \t\t[\"Procedure\": \"General or Neuraxial Anesthesia\"] AnesthesiaProcedure,\r\n \t\t\"No VTE Prophylaxis Medication Administered or Ordered\" NoVTEMedication\r\n\twhere Coalesce(NoVTEMedication.statusReason,NoVTEMedication.reasonCode) in \"Medical Reason\"\r\n\t\t\tand AnesthesiaProcedure.status = 'completed'\r\n\t\t\tand Global.\"Normalize Interval\"(AnesthesiaProcedure.performed) ends 1 day after day of start of QualifyingEncounter.period\r\n\t\t\tand Coalesce(NoVTEMedication.authoredOn, start of Global.\"Normalize Interval\"(NoVTEMedication.effective)) during TJC.\"CalendarDayOfOrDayAfter\"(end of Global.\"Normalize Interval\"(AnesthesiaProcedure.performed))\r\n return QualifyingEncounter</pre>\r\n </div></li>\r\n </ul> \r\n </div></li>\r\n </ul>\r\n </div></li>\r\n </ul>\r\n </div></li>\r\n </ul>\r\n </div>\r\n <div>\r\n <ul style=\"list-style:none;padding-left: 10px;\">\r\n <li style=\"list-style:none;\" class=\"list-unstyled\">\r\n <div>\r\n <ul style=\"list-style:none;padding-left:0;\" class=\"list-unstyled\">\r\n <li class=\"list-unstyled\">\r\n <div class=\"treeview hover p-l-10\">\r\n <input id=\"No VTE Prophylaxis Medication or Device Due to Patient Refusal\" type=\"checkbox\"/>\r\n <label for=\"No VTE Prophylaxis Medication or Device Due to Patient Refusal\" class=\"list-header\"><strong>No VTE Prophylaxis Medication or Device Due to Patient Refusal</strong></label>\r\n <ul style=\"margin-right: 20%; opacity: 1;\" class=\"code\">\r\n <li class=\"list-unstyled\">\r\n <div>\r\n <ul style=\"padding-left: 0px;\">\r\n <li style=\"padding-left: 0px;\" class=\"list-unstyled\">\r\n <div>\r\n <pre class=\"cql-definition-body\"> ( \"No VTE Prophylaxis Medication Administered or Ordered\" NoVTEMedication\r\n where Coalesce(NoVTEMedication.statusReason,NoVTEMedication.reasonCode) in \"Patient Refusal\"\r\n )\r\n union (\"No VTE Prophylaxis Device Applied or Ordered\" NoVTEDevice\r\n where NoVTEDevice.requestStatusReason in \"Patient Refusal\"\r\n )</pre>\r\n </div></li>\r\n </ul> \r\n </div></li>\r\n </ul>\r\n </div></li>\r\n </ul>\r\n </div></li>\r\n </ul>\r\n </div>\r\n <div>\r\n <ul style=\"list-style:none;padding-left: 10px;\">\r\n <li style=\"list-style:none;\" class=\"list-unstyled\">\r\n <div>\r\n <ul style=\"list-style:none;padding-left:0;\" class=\"list-unstyled\">\r\n <li class=\"list-unstyled\">\r\n <div class=\"treeview hover p-l-10\">\r\n <input id=\"Numerator\" type=\"checkbox\"/>\r\n <label for=\"Numerator\" class=\"list-header\"><strong>Numerator</strong></label>\r\n <ul style=\"margin-right: 20%; opacity: 1;\" class=\"code\">\r\n <li class=\"list-unstyled\">\r\n <div>\r\n <ul style=\"padding-left: 0px;\">\r\n <li style=\"padding-left: 0px;\" class=\"list-unstyled\">\r\n <div>\r\n <pre class=\"cql-definition-body\"> \"Encounter With VTE Prophylaxis Received on Day of or Day After Admission or Procedure\"\r\n union ( \"Encounter With Medication Oral Factor Xa Inhibitor Administered on Day of or Day After Admission or Procedure\"\r\n \t\t\t intersect ( \"Encounter With Prior or Present Diagnosis of Atrial Fibrillation or VTE\"\r\n \t\t\t\t\t\t union \"Encounter With Prior or Present Procedure of Hip or Knee Replacement Surgery\"\r\n \t\t\t )\r\n )\r\n union \"Encounter With Low Risk for VTE or Anticoagulant Administered\"\r\n union \"Encounter With No VTE Prophylaxis Due to Medical Reason\"\r\n union \"Encounter With No VTE Prophylaxis Due to Patient Refusal\"</pre>\r\n </div></li>\r\n </ul> \r\n </div></li>\r\n </ul>\r\n </div></li>\r\n </ul>\r\n </div></li>\r\n </ul>\r\n </div>\r\n <div>\r\n <ul style=\"list-style:none;padding-left: 10px;\">\r\n <li style=\"list-style:none;\" class=\"list-unstyled\">\r\n <div>\r\n <ul style=\"list-style:none;padding-left:0;\" class=\"list-unstyled\">\r\n <li class=\"list-unstyled\">\r\n <div class=\"treeview hover p-l-10\">\r\n <input id=\"SCIP VTE Selected Surgery\" type=\"checkbox\"/>\r\n <label for=\"SCIP VTE Selected Surgery\" class=\"list-header\"><strong>SCIP VTE Selected Surgery</strong></label>\r\n <ul style=\"margin-right: 20%; opacity: 1;\" class=\"code\">\r\n <li class=\"list-unstyled\">\r\n <div>\r\n <ul style=\"padding-left: 0px;\">\r\n <li style=\"padding-left: 0px;\" class=\"list-unstyled\">\r\n <div>\r\n <pre class=\"cql-definition-body\"> (\t[\"Procedure\": \"General Surgery\"]\r\n union [\"Procedure\": \"Gynecological Surgery\"]\r\n union [\"Procedure\": \"Hip Fracture Surgery\"]\r\n union [\"Procedure\": \"Hip Replacement Surgery\"]\r\n union [\"Procedure\": \"Intracranial Neurosurgery\"]\r\n union [\"Procedure\": \"Knee Replacement Surgery\"]\r\n union [\"Procedure\": \"Urological Surgery\"] ) Procedure\r\n where Procedure.status = 'completed'</pre>\r\n </div></li>\r\n </ul> \r\n </div></li>\r\n </ul>\r\n </div></li>\r\n </ul>\r\n </div></li>\r\n </ul>\r\n </div>\r\n <div>\r\n <ul style=\"list-style:none;padding-left: 10px;\">\r\n <li style=\"list-style:none;\" class=\"list-unstyled\">\r\n <div>\r\n <ul style=\"list-style:none;padding-left:0;\" class=\"list-unstyled\">\r\n <li class=\"list-unstyled\">\r\n <div class=\"treeview hover p-l-10\">\r\n <input id=\"SDE Ethnicity\" type=\"checkbox\"/>\r\n <label for=\"SDE Ethnicity\" class=\"list-header\"><strong>SDE Ethnicity</strong></label>\r\n <ul style=\"margin-right: 20%; opacity: 1;\" class=\"code\">\r\n <li class=\"list-unstyled\">\r\n <div>\r\n <ul style=\"padding-left: 0px;\">\r\n <li style=\"padding-left: 0px;\" class=\"list-unstyled\">\r\n <div>\r\n <pre class=\"cql-definition-body\"> SDE.\"SDE Ethnicity\"</pre>\r\n </div></li>\r\n </ul> \r\n </div></li>\r\n </ul>\r\n </div></li>\r\n </ul>\r\n </div></li>\r\n </ul>\r\n </div>\r\n <div>\r\n <ul style=\"list-style:none;padding-left: 10px;\">\r\n <li style=\"list-style:none;\" class=\"list-unstyled\">\r\n <div>\r\n <ul style=\"list-style:none;padding-left:0;\" class=\"list-unstyled\">\r\n <li class=\"list-unstyled\">\r\n <div class=\"treeview hover p-l-10\">\r\n <input id=\"SDE Payer\" type=\"checkbox\"/>\r\n <label for=\"SDE Payer\" class=\"list-header\"><strong>SDE Payer</strong></label>\r\n <ul style=\"margin-right: 20%; opacity: 1;\" class=\"code\">\r\n <li class=\"list-unstyled\">\r\n <div>\r\n <ul style=\"padding-left: 0px;\">\r\n <li style=\"padding-left: 0px;\" class=\"list-unstyled\">\r\n <div>\r\n <pre class=\"cql-definition-body\">\tSDE.\"SDE Payer\"</pre>\r\n </div></li>\r\n </ul> \r\n </div></li>\r\n </ul>\r\n </div></li>\r\n </ul>\r\n </div></li>\r\n </ul>\r\n </div>\r\n <div>\r\n <ul style=\"list-style:none;padding-left: 10px;\">\r\n <li style=\"list-style:none;\" class=\"list-unstyled\">\r\n <div>\r\n <ul style=\"list-style:none;padding-left:0;\" class=\"list-unstyled\">\r\n <li class=\"list-unstyled\">\r\n <div class=\"treeview hover p-l-10\">\r\n <input id=\"SDE Race\" type=\"checkbox\"/>\r\n <label for=\"SDE Race\" class=\"list-header\"><strong>SDE Race</strong></label>\r\n <ul style=\"margin-right: 20%; opacity: 1;\" class=\"code\">\r\n <li class=\"list-unstyled\">\r\n <div>\r\n <ul style=\"padding-left: 0px;\">\r\n <li style=\"padding-left: 0px;\" class=\"list-unstyled\">\r\n <div>\r\n <pre class=\"cql-definition-body\"> SDE.\"SDE Race\"</pre>\r\n </div></li>\r\n </ul> \r\n </div></li>\r\n </ul>\r\n </div></li>\r\n </ul>\r\n </div></li>\r\n </ul>\r\n </div>\r\n <div>\r\n <ul style=\"list-style:none;padding-left: 10px;\">\r\n <li style=\"list-style:none;\" class=\"list-unstyled\">\r\n <div>\r\n <ul style=\"list-style:none;padding-left:0;\" class=\"list-unstyled\">\r\n <li class=\"list-unstyled\">\r\n <div class=\"treeview hover p-l-10\">\r\n <input id=\"SDE Sex\" type=\"checkbox\"/>\r\n <label for=\"SDE Sex\" class=\"list-header\"><strong>SDE Sex</strong></label>\r\n <ul style=\"margin-right: 20%; opacity: 1;\" class=\"code\">\r\n <li class=\"list-unstyled\">\r\n <div>\r\n <ul style=\"padding-left: 0px;\">\r\n <li style=\"padding-left: 0px;\" class=\"list-unstyled\">\r\n <div>\r\n <pre class=\"cql-definition-body\">\tSDE.\"SDE Sex\"</pre>\r\n </div></li>\r\n </ul> \r\n </div></li>\r\n </ul>\r\n </div></li>\r\n </ul>\r\n </div></li>\r\n </ul>\r\n </div>\r\n <div>\r\n <ul style=\"list-style:none;padding-left: 10px;\">\r\n <li style=\"list-style:none;\" class=\"list-unstyled\">\r\n <div>\r\n <ul style=\"list-style:none;padding-left:0;\" class=\"list-unstyled\">\r\n <li class=\"list-unstyled\">\r\n <div class=\"treeview hover p-l-10\">\r\n <input id=\"VTE Prophylaxis by Medication Administered or Device Applied\" type=\"checkbox\"/>\r\n <label for=\"VTE Prophylaxis by Medication Administered or Device Applied\" class=\"list-header\"><strong>VTE Prophylaxis by Medication Administered or Device Applied</strong></label>\r\n <ul style=\"margin-right: 20%; opacity: 1;\" class=\"code\">\r\n <li class=\"list-unstyled\">\r\n <div>\r\n <ul style=\"padding-left: 0px;\">\r\n <li style=\"padding-left: 0px;\" class=\"list-unstyled\">\r\n <div>\r\n <pre class=\"cql-definition-body\"> ( [\"MedicationAdministration\": medication in \"Low Dose Unfractionated Heparin for VTE Prophylaxis\"] VTEMedication\r\n where VTEMedication.status ='completed'\r\n\t\t\t and VTEMedication.dosage.route in \"Subcutaneous route\"\r\n )\r\n union ([\"MedicationAdministration\": medication in \"Low Molecular Weight Heparin for VTE Prophylaxis\"] LMWH where LMWH.status = 'completed')\r\n union ([\"MedicationAdministration\": medication in \"Injectable Factor Xa Inhibitor for VTE Prophylaxis\"] FactorXa where FactorXa.status = 'completed')\r\n union ([\"MedicationAdministration\": medication in \"Warfarin\"] Warfarin where Warfarin.status = 'completed')\r\n union (\r\n [\"Procedure\": \"Device Application\"] DeviceApplied\r\n where DeviceApplied.status = 'complete'\r\n and (DeviceApplied.usedCode in \"Intermittent pneumatic compression devices (IPC)\"\r\n or DeviceApplied.usedCode in\"Venous foot pumps (VFP)\"\r\n or DeviceApplied.usedCode in \"Graduated compression stockings (GCS)\"\r\n )\r\n )</pre>\r\n </div></li>\r\n </ul> \r\n </div></li>\r\n </ul>\r\n </div></li>\r\n </ul>\r\n </div></li>\r\n </ul>\r\n </div>\r\n <h3><a name=\"d1e650\" href=\"#toc\">Functions</a></h3>\r\n <div>\r\n <ul style=\"list-style:none;padding-left: 10px;\">\r\n <li style=\"list-style:none;\" class=\"list-unstyled\">\r\n <div>\r\n <ul style=\"list-style:none;padding-left:0;\" class=\"list-unstyled\">\r\n <li class=\"list-unstyled\">\r\n <div class=\"treeview hover p-l-10\">\r\n <input id=\"GetStatusReason\" type=\"checkbox\"/>\r\n <label for=\"GetStatusReason\" class=\"list-header\"><strong>GetStatusReason</strong></label>\r\n <ul style=\"margin-right: 20%; opacity: 1;\" class=\"code\">\r\n <li class=\"list-unstyled\">\r\n <div>\r\n <ul style=\"padding-left: 0px;\">\r\n <li style=\"padding-left: 0px;\" class=\"list-unstyled\">\r\n <div>\r\n <pre class=\"cql-definition-body\">define function GetStatusReason(requestReason ServiceRequest):\r\n Global.GetBaseExtension(requestReason, 'request-statusReason')</pre>\r\n </div></li>\r\n </ul> \r\n </div></li>\r\n </ul>\r\n </div></li>\r\n </ul>\r\n </div></li>\r\n </ul>\r\n </div>\r\n <h3><a name=\"d1e555\" href=\"#toc\">Terminology</a></h3>\r\n <div>\r\n <ul style=\"padding-left: 50px;\">\r\n <li style=\"width:80%\">codesystem \"ActPriority\" : 'http://terminology.hl7.org/ValueSet/v3-ActPriority'</li>\r\n <li style=\"width:80%\">codesystem \"LOINC\" : 'http://loinc.org'</li>\r\n <li style=\"width:80%\">codesystem \"RequestIntent\" : 'http://terminology.hl7.org/CodeSystem/request-intent'</li>\r\n <li style=\"width:80%\">codesystem \"SNOMEDCT\" : 'http://snomed.info/sct/731000124108'</li>\r\n <li style=\"width:80%\">code \"Risk for venous thromboembolism\" : '72136-5' from \"LOINC\" display 'Risk for venous thromboembolism'</li>\r\n <li style=\"width:80%\">valueset \"Atrial Fibrillation/Flutter\" : 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.202'</li>\r\n <li style=\"width:80%\">valueset \"Comfort Measures\" : 'http://cts.nlm.nih.gov/fhir/ValueSet/1.3.6.1.4.1.33895.1.3.0.45'</li>\r\n <li style=\"width:80%\">valueset \"Device Application\" : 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1110.48'</li>\r\n <li style=\"width:80%\">valueset \"Direct Thrombin Inhibitor\" : 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.205'</li>\r\n <li style=\"width:80%\">valueset \"Emergency Department Visit\" : 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.292'</li>\r\n <li style=\"width:80%\">valueset \"General or Neuraxial Anesthesia\" : 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.666.5.1743'</li>\r\n <li style=\"width:80%\">valueset \"General Surgery\" : 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.255'</li>\r\n <li style=\"width:80%\">valueset \"Glycoprotein IIb/IIIa Inhibitors\" : 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1045.41'</li>\r\n <li style=\"width:80%\">valueset \"Graduated compression stockings (GCS)\" : 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.256'</li>\r\n <li style=\"width:80%\">valueset \"Gynecological Surgery\" : 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.257'</li>\r\n <li style=\"width:80%\">valueset \"Hemorrhagic Stroke\" : 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.212'</li>\r\n <li style=\"width:80%\">valueset \"Hip Fracture Surgery\" : 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.258'</li>\r\n <li style=\"width:80%\">valueset \"Hip Replacement Surgery\" : 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.259'</li>\r\n <li style=\"width:80%\">valueset \"Injectable Factor Xa Inhibitor for VTE Prophylaxis\" : 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.211'</li>\r\n <li style=\"width:80%\">valueset \"INR\" : 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.213'</li>\r\n <li style=\"width:80%\">valueset \"Intensive Care Unit\" : 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1110.23'</li>\r\n <li style=\"width:80%\">valueset \"Intermittent pneumatic compression devices (IPC)\" : 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.214'</li>\r\n <li style=\"width:80%\">valueset \"Intracranial Neurosurgery\" : 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.260'</li>\r\n <li style=\"width:80%\">valueset \"Intravenous route\" : 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.222'</li>\r\n <li style=\"width:80%\">valueset \"Ischemic Stroke\" : 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.247'</li>\r\n <li style=\"width:80%\">valueset \"Knee Replacement Surgery\" : 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.261'</li>\r\n <li style=\"width:80%\">valueset \"Low Dose Unfractionated Heparin for VTE Prophylaxis\" : 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1045.39'</li>\r\n <li style=\"width:80%\">valueset \"Low Molecular Weight Heparin for VTE Prophylaxis\" : 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.219'</li>\r\n <li style=\"width:80%\">valueset \"Low Risk\" : 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.400'</li>\r\n <li style=\"width:80%\">valueset \"Medical Reason\" : 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.473'</li>\r\n <li style=\"width:80%\">valueset \"Mental Health Diagnoses\" : 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.105.12.1004'</li>\r\n <li style=\"width:80%\">valueset \"Obstetrics VTE\" : 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.264'</li>\r\n <li style=\"width:80%\">valueset \"Obstetrics\" : 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.263'</li>\r\n <li style=\"width:80%\">valueset \"Oral Factor Xa Inhibitor for VTE Prophylaxis or VTE Treatment\" : 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.134'</li>\r\n <li style=\"width:80%\">valueset \"Patient Refusal\" : 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.93'</li>\r\n <li style=\"width:80%\">valueset \"Subcutaneous route\" : 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.223'</li>\r\n <li style=\"width:80%\">valueset \"Unfractionated Heparin\" : 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.218'</li>\r\n <li style=\"width:80%\">valueset \"Urological Surgery\" : 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.272'</li>\r\n <li style=\"width:80%\">valueset \"Venous foot pumps (VFP)\" : 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.230'</li>\r\n <li style=\"width:80%\">valueset \"Venous Thromboembolism\" : 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.279'</li>\r\n <li style=\"width:80%\">valueset \"Warfarin\" : 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.232'</li>\r\n </ul>\r\n </div>\r\n <h3><a name=\"d1e647\" href=\"#toc\">Data Criteria (QDM Data Elements)</a></h3>\r\n <div>\r\n <ul style=\"padding-left: 50px;\">\r\n <li style=\"width:80%\">\"Condition: Atrial Fibrillation/Flutter\" using \"Atrial Fibrillation/Flutter (http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.202)</li>\r\n <li style=\"width:80%\">\"Condition: Venous Thromboembolism\" using \"Venous Thromboembolism (http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.279)</li>\r\n <li style=\"width:80%\">\"MedicationAdministration: Direct Thrombin Inhibitor\" using \"Direct Thrombin Inhibitor (http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.205)</li>\r\n <li style=\"width:80%\">\"MedicationAdministration: Glycoprotein IIb/IIIa Inhibitors\" using \"Glycoprotein IIb/IIIa Inhibitors (http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1045.41)</li>\r\n <li style=\"width:80%\">\"MedicationAdministration: Injectable Factor Xa Inhibitor for VTE Prophylaxis\" using \"Injectable Factor Xa Inhibitor for VTE Prophylaxis (http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.211)</li>\r\n <li style=\"width:80%\">\"MedicationAdministration: Low Dose Unfractionated Heparin for VTE Prophylaxis\" using \"Low Dose Unfractionated Heparin for VTE Prophylaxis (http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1045.39)</li>\r\n <li style=\"width:80%\">\"MedicationAdministration: Low Molecular Weight Heparin for VTE Prophylaxis\" using \"Low Molecular Weight Heparin for VTE Prophylaxis (http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.219)</li>\r\n <li style=\"width:80%\">\"MedicationAdministration: Oral Factor Xa Inhibitor for VTE Prophylaxis or VTE Treatment\" using \"Oral Factor Xa Inhibitor for VTE Prophylaxis or VTE Treatment (http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.134)</li>\r\n <li style=\"width:80%\">\"MedicationAdministration: Unfractionated Heparin\" using \"Unfractionated Heparin (http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.218)</li>\r\n <li style=\"width:80%\">\"MedicationAdministration: Warfarin\" using \"Warfarin (http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.232)</li>\r\n <li style=\"width:80%\">\"MedicationRequest: Injectable Factor Xa Inhibitor for VTE Prophylaxis\" using \"Injectable Factor Xa Inhibitor for VTE Prophylaxis (http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.211)</li>\r\n <li style=\"width:80%\">\"MedicationRequest: Low Dose Unfractionated Heparin for VTE Prophylaxis\" using \"Low Dose Unfractionated Heparin for VTE Prophylaxis (http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1045.39)</li>\r\n <li style=\"width:80%\">\"MedicationRequest: Low Molecular Weight Heparin for VTE Prophylaxis\" using \"Low Molecular Weight Heparin for VTE Prophylaxis (http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.219)</li>\r\n <li style=\"width:80%\">\"MedicationRequest: Warfarin\" using \"Warfarin (http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.232)</li>\r\n <li style=\"width:80%\">\"Observation: INR\" using \"INR (http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.213)</li>\r\n <li style=\"width:80%\">\"Procedure: Comfort Measures\" using \"Comfort Measures (http://cts.nlm.nih.gov/fhir/ValueSet/1.3.6.1.4.1.33895.1.3.0.45)</li>\r\n <li style=\"width:80%\">\"Procedure: Device Application\" using \"Device Application (http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1110.48)</li>\r\n <li style=\"width:80%\">\"Procedure: General or Neuraxial Anesthesia\" using \"General or Neuraxial Anesthesia (http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.666.5.1743)</li>\r\n <li style=\"width:80%\">\"Procedure: General Surgery\" using \"General Surgery (http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.255)</li>\r\n <li style=\"width:80%\">\"Procedure: Gynecological Surgery\" using \"Gynecological Surgery (http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.257)</li>\r\n <li style=\"width:80%\">\"Procedure: Hip Fracture Surgery\" using \"Hip Fracture Surgery (http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.258)</li>\r\n <li style=\"width:80%\">\"Procedure: Hip Replacement Surgery\" using \"Hip Replacement Surgery (http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.259)</li>\r\n <li style=\"width:80%\">\"Procedure: Intracranial Neurosurgery\" using \"Intracranial Neurosurgery (http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.260)</li>\r\n <li style=\"width:80%\">\"Procedure: Knee Replacement Surgery\" using \"Knee Replacement Surgery (http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.261)</li>\r\n <li style=\"width:80%\">\"Procedure: Urological Surgery\" using \"Urological Surgery (http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.272)</li>\r\n <li style=\"width:80%\">\"ServiceRequest: Comfort Measures\" using \"Comfort Measures (http://cts.nlm.nih.gov/fhir/ValueSet/1.3.6.1.4.1.33895.1.3.0.45)</li>\r\n <li style=\"width:80%\">\"ServiceRequest: Graduated compression stockings (GCS)\" using \"Graduated compression stockings (GCS) (http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.256)</li>\r\n <li style=\"width:80%\">\"ServiceRequest: Intermittent pneumatic compression devices (IPC)\" using \"Intermittent pneumatic compression devices (IPC) (http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.214)</li>\r\n <li style=\"width:80%\">\"ServiceRequest: Venous foot pumps (VFP)\" using \"Venous foot pumps (VFP) (http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.230)</li>\r\n </ul>\r\n </div>\r\n <h3><a name=\"d1e767\" href=\"#toc\">Supplemental Data Elements</a></h3>\r\n <div>\r\n <ul style=\"list-style:none;padding-left: 25px;\">\r\n <li class=\"list-unstyled\">\r\n <div class=\"treeview hover p-l-10\">\r\n <input id=\"SDE Ethnicity\" type=\"checkbox\"/>\r\n <label for=\"SDE Ethnicity\" class=\"list-header\"><strong>SDE Ethnicity</strong></label>\r\n <ul style=\"margin-right: 20%; opacity: 1;\" class=\"code\">\r\n <li class=\"list-unstyled\">\r\n <div>\r\n <ul style=\"padding-left: 0px;\">\r\n <li style=\"padding-left: 0px;\" class=\"list-unstyled\">\r\n <div>\r\n <pre class=\"cql-definition-body\"> SDE.\"SDE Ethnicity\"</pre>\r\n </div></li>\r\n </ul> \r\n </div></li>\r\n </ul>\r\n </div></li>\r\n </ul>\r\n </div>\r\n <div>\r\n <ul style=\"list-style:none;padding-left: 25px;\">\r\n <li class=\"list-unstyled\">\r\n <div class=\"treeview hover p-l-10\">\r\n <input id=\"SDE Payer\" type=\"checkbox\"/>\r\n <label for=\"SDE Payer\" class=\"list-header\"><strong>SDE Payer</strong></label>\r\n <ul style=\"margin-right: 20%; opacity: 1;\" class=\"code\">\r\n <li class=\"list-unstyled\">\r\n <div>\r\n <ul style=\"padding-left: 0px;\">\r\n <li style=\"padding-left: 0px;\" class=\"list-unstyled\">\r\n <div>\r\n <pre class=\"cql-definition-body\">\tSDE.\"SDE Payer\"</pre>\r\n </div></li>\r\n </ul> \r\n </div></li>\r\n </ul>\r\n </div></li>\r\n </ul>\r\n </div>\r\n <div>\r\n <ul style=\"list-style:none;padding-left: 25px;\">\r\n <li class=\"list-unstyled\">\r\n <div class=\"treeview hover p-l-10\">\r\n <input id=\"SDE Race\" type=\"checkbox\"/>\r\n <label for=\"SDE Race\" class=\"list-header\"><strong>SDE Race</strong></label>\r\n <ul style=\"margin-right: 20%; opacity: 1;\" class=\"code\">\r\n <li class=\"list-unstyled\">\r\n <div>\r\n <ul style=\"padding-left: 0px;\">\r\n <li style=\"padding-left: 0px;\" class=\"list-unstyled\">\r\n <div>\r\n <pre class=\"cql-definition-body\"> SDE.\"SDE Race\"</pre>\r\n </div></li>\r\n </ul> \r\n </div></li>\r\n </ul>\r\n </div></li>\r\n </ul>\r\n </div>\r\n <div>\r\n <ul style=\"list-style:none;padding-left: 25px;\">\r\n <li class=\"list-unstyled\">\r\n <div class=\"treeview hover p-l-10\">\r\n <input id=\"SDE Sex\" type=\"checkbox\"/>\r\n <label for=\"SDE Sex\" class=\"list-header\"><strong>SDE Sex</strong></label>\r\n <ul style=\"margin-right: 20%; opacity: 1;\" class=\"code\">\r\n <li class=\"list-unstyled\">\r\n <div>\r\n <ul style=\"padding-left: 0px;\">\r\n <li style=\"padding-left: 0px;\" class=\"list-unstyled\">\r\n <div>\r\n <pre class=\"cql-definition-body\">\tSDE.\"SDE Sex\"</pre>\r\n </div></li>\r\n </ul> \r\n </div></li>\r\n </ul>\r\n </div></li>\r\n </ul>\r\n </div>\r\n \r\n <h3><a name=\"d1e879\" href=\"#toc\">Risk Adjustment Variables</a></h3>\r\n <div>\r\n <ul style=\"list-style:none;padding-left: 25px;\">\r\n <li>None</li>\r\n </ul>\r\n </div>\r\n <div style=\"float:left; background:teal; height:3px; width:80%\"></div>\r\n <table>\r\n <!-- <tr th:if=\"${resource.hasSet()}\" >\r\n <td style=\"background-color:#656565; width:20%\" scope=\"row\"><span class=\"td_label\">Measure Set</span></td>\r\n <td style=\"width:80%\" th:text=\"${resource.set}\"></td>\r\n </tr> -->\r\n \r\n \r\n \r\n \r\n \r\n <tr style=\"vertical-align: top;\">\r\n <td scope=\"row\" style=\"background-color:#656565; width:20%\"><span class=\"td_label\">Content</span></td>\r\n <td style=\"width:80%\"><b>type: </b><span>text/cql</span></td>\r\n </tr>\r\n <tr>\r\n <td colspan=\"2\" style=\"width:100%\">\r\n \r\n <pre><code class=\"language-cql\">library EXM108_FHIR4 version '8.2.000'\n//for 2020 reporting year. QDM to QI-4\n//Venous Thromboembolism Prophylaxis\n//Author: TJC\n\nusing FHIR version '4.0.0'\n\ninclude FHIRHelpers version '4.0.0' called FHIRHelpers\ninclude MATGlobalCommonFunctions_FHIR4 version '4.0.000' called Global\ninclude SupplementalDataElements_FHIR4 version '1.0.0' called SDE\ninclude VTEICU_FHIR4 version '3.1.000' called VTEICU\ninclude TJCOverall_FHIR4 version '4.0.000' called TJC\n\ncodesystem \"SNOMEDCT\": 'http://snomed.info/sct/731000124108'\ncodesystem \"LOINC\": 'http://loinc.org'\n// NOTE: R4 code system URLs changed to be based on terminology.hl7.org...\ncodesystem \"RequestIntent\": 'http://terminology.hl7.org/CodeSystem/request-intent'\n//NOTE: Created for ActPriority for Encounter.category which is codeableConcept\ncodesystem \"ActPriority\": 'http://terminology.hl7.org/ValueSet/v3-ActPriority'\n\nvalueset \"Device Application\": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1110.48'\nvalueset \"Atrial Fibrillation/Flutter\": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.202'\nvalueset \"Comfort Measures\": 'http://cts.nlm.nih.gov/fhir/ValueSet/1.3.6.1.4.1.33895.1.3.0.45'\nvalueset \"Direct Thrombin Inhibitor\": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.205'\nvalueset \"Emergency Department Visit\": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.292'\nvalueset \"General or Neuraxial Anesthesia\": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.666.5.1743'\nvalueset \"General Surgery\": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.255'\nvalueset \"Glycoprotein IIb/IIIa Inhibitors\": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1045.41'\nvalueset \"Graduated compression stockings (GCS)\": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.256'\nvalueset \"Gynecological Surgery\": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.257'\nvalueset \"Hemorrhagic Stroke\": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.212'\nvalueset \"Hip Fracture Surgery\": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.258'\nvalueset \"Hip Replacement Surgery\": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.259'\nvalueset \"Injectable Factor Xa Inhibitor for VTE Prophylaxis\": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.211'\nvalueset \"INR\": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.213'\nvalueset \"Intermittent pneumatic compression devices (IPC)\": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.214'\nvalueset \"Intracranial Neurosurgery\": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.260'\nvalueset \"Intravenous route\": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.222'\nvalueset \"Ischemic Stroke\": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.247'\nvalueset \"Knee Replacement Surgery\": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.261'\nvalueset \"Low Dose Unfractionated Heparin for VTE Prophylaxis\": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1045.39'\nvalueset \"Low Molecular Weight Heparin for VTE Prophylaxis\": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.219'\nvalueset \"Low Risk\": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.400'\nvalueset \"Medical Reason\": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.473'\nvalueset \"Mental Health Diagnoses\": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.105.12.1004'\nvalueset \"Obstetrics\": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.263'\nvalueset \"Obstetrics VTE\": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.264'\nvalueset \"Oral Factor Xa Inhibitor for VTE Prophylaxis or VTE Treatment\": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.134'\nvalueset \"Patient Refusal\": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.93'\nvalueset \"Subcutaneous route\": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.223'\nvalueset \"Unfractionated Heparin\": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.218'\nvalueset \"Urological Surgery\": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.272'\nvalueset \"Venous foot pumps (VFP)\": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.230'\nvalueset \"Venous Thromboembolism\": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.279'\nvalueset \"Warfarin\": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.232'\nvalueset \"Intensive Care Unit\": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1110.23'\n\ncode \"Risk for venous thromboembolism\": '72136-5' from \"LOINC\" display 'Risk for venous thromboembolism'\n\ncontext Patient\n\ndefine \"SDE Ethnicity\":\n SDE.\"SDE Ethnicity\"\n\ndefine \"SDE Payer\":\n\tSDE.\"SDE Payer\"\n\ndefine \"SDE Race\":\n SDE.\"SDE Race\"\n\ndefine \"SDE Sex\":\n\tSDE.\"SDE Sex\"\n\ndefine \"Initial Population\":\n \"Encounter With Age Range and Without VTE Diagnosis or Obstetrical Conditions\"\n\n// Note: added FHIRHelpers.ToDate() in R4\ndefine \"Encounter With Age Range and Without VTE Diagnosis or Obstetrical Conditions\":\n ( Global.\"Inpatient Encounter\" InpatientEncounter\n \t\twith [\"Patient\"] BirthDate\n \t\t\tsuch that Global.\"CalendarAgeInYearsAt\"(FHIRHelpers.ToDate(BirthDate.birthDate), start of InpatientEncounter.period) >= 18\n )\n intersect \"Admission Without VTE or Obstetrical Conditions\"\n\n define \"Admission Without VTE or Obstetrical Conditions\":\n\t \tGlobal.\"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 )\n\ndefine \"Denominator\":\n \"Initial Population\"\n\ndefine \"Denominator Exclusion\":\n \"Encounter Less Than 2 Days\"\n union \"Encounter With ICU Location Stay 1 Day or More\"\n union \"Encounter With Principal Diagnosis of Mental Disorder or Stroke\"\n union \"Encounter With Principal Procedure of SCIP VTE Selected Surgery\"\n union \"Encounter With Intervention Comfort Measures From Day of Start of Hospitalization To Day After Admission\"\n union \"Encounter With Intervention Comfort Measures on Day of or Day After Procedure\"\n\ndefine \"Encounter Less Than 2 Days\":\n \"Encounter With Age Range and Without VTE Diagnosis or Obstetrical Conditions\" QualifyingEncounter\n \twhere Global.\"LengthInDays\"(QualifyingEncounter.period)< 2\n\ndefine \"Encounter With ICU Location Stay 1 Day or More\":\n \"Encounter With Age Range and Without VTE Diagnosis or Obstetrical Conditions\" QualifyingEncounter\n where exists ( QualifyingEncounter.location Location\n \t\twhere Global.GetLocation(Location.location).type in \"Intensive Care Unit\"\n \t\t\tand Global.\"LengthInDays\"(Location.period)>= 1\n \t\t\tand Location.period starts during TJC.\"CalendarDayOfOrDayAfter\"(start of QualifyingEncounter.period)\n\t )\n\ndefine \"Encounter With Principal Diagnosis of Mental Disorder or Stroke\":\n \"Encounter With Age Range and Without VTE Diagnosis or Obstetrical Conditions\" QualifyingEncounter\n where Global.\"PrincipalDiagnosis\"(QualifyingEncounter).code in \"Mental Health Diagnoses\"\n or Global.\"PrincipalDiagnosis\"(QualifyingEncounter).code in \"Hemorrhagic Stroke\"\n or Global.\"PrincipalDiagnosis\"(QualifyingEncounter).code in \"Ischemic Stroke\"\n\n/* NOTE: 2 options to express Principal Procedure to retrive \"encounter Procedure as an url\" and proedure \"rank as extension\" in R4\n VTE-1 uses Option 1 - generic extension funtion\n VTE-2 uses Option 2 - Specific extension functions\n TODO: Mapping Table needs revision on using \"Encounter.procedure.code\", \"Encounter.procedure.sequence\"\n*/\n\ndefine \"Encounter With Principal Procedure of SCIP VTE Selected Surgery\":\n from\n \"Encounter With Age Range and Without VTE Diagnosis or Obstetrical Conditions\" QualifyingEncounter,\n \"SCIP VTE Selected Surgery\" SelectedProcedure\n let EncounterProcedure: Global.GetExtension(QualifyingEncounter, '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 Global.\"Normalize Interval\"(SelectedProcedure.performed) during QualifyingEncounter.period\n\ndefine \"SCIP VTE Selected Surgery\":\n (\t[\"Procedure\": \"General Surgery\"]\n union [\"Procedure\": \"Gynecological Surgery\"]\n union [\"Procedure\": \"Hip Fracture Surgery\"]\n union [\"Procedure\": \"Hip Replacement Surgery\"]\n union [\"Procedure\": \"Intracranial Neurosurgery\"]\n union [\"Procedure\": \"Knee Replacement Surgery\"]\n union [\"Procedure\": \"Urological Surgery\"] ) Procedure\n where Procedure.status = 'completed'\n\ndefine \"Encounter With Intervention Comfort Measures From Day of Start of Hospitalization To Day After Admission\":\n\t\"Encounter With Age Range and Without VTE Diagnosis or Obstetrical Conditions\" QualifyingEncounter\n\t\twith \"Intervention Comfort Measures\" ComfortMeasure\n\t\tsuch that Coalesce(start of Global.\"Normalize Interval\"(ComfortMeasure.performed), ComfortMeasure.authoredOn) during VTEICU.\"FromDayOfStartOfHospitalizationToDayAfterAdmission\"(QualifyingEncounter)\n\ndefine \"Intervention Comfort Measures\":\n\t([\"ServiceRequest\": \"Comfort Measures\"] P\n \t\twhere P.intent = 'order'\n )\n \tunion\n \t([\"Procedure\": \"Comfort Measures\"] InterventionPerformed\n \twhere InterventionPerformed.status in {'completed', 'in-progress'})\n\ndefine \"Encounter With Intervention Comfort Measures on Day of or Day After Procedure\":\n from\n \t\t\"Encounter With Age Range and Without VTE Diagnosis or Obstetrical Conditions\" QualifyingEncounter,\n \t\t[\"Procedure\": \"General or Neuraxial Anesthesia\"] AnesthesiaProcedure,\n \t\t\"Intervention Comfort Measures\" ComfortMeasure\n\t\twhere AnesthesiaProcedure.status = 'completed'\n\t\t\t\tand Global.\"Normalize Interval\"(AnesthesiaProcedure.performed) ends 1 day after day of start of QualifyingEncounter.period\n and Coalesce(start of Global.\"Normalize Interval\"(ComfortMeasure.performed), ComfortMeasure.authoredOn) during TJC.\"CalendarDayOfOrDayAfter\"(end of Global.\"Normalize Interval\"(AnesthesiaProcedure.performed))\n return QualifyingEncounter\n\ndefine \"Numerator\":\n \"Encounter With VTE Prophylaxis Received on Day of or Day After Admission or Procedure\"\n union ( \"Encounter With Medication Oral Factor Xa Inhibitor Administered on Day of or Day After Admission or Procedure\"\n \t\t\t intersect ( \"Encounter With Prior or Present Diagnosis of Atrial Fibrillation or VTE\"\n \t\t\t\t\t\t union \"Encounter With Prior or Present Procedure of Hip or Knee Replacement Surgery\"\n \t\t\t )\n )\n union \"Encounter With Low Risk for VTE or Anticoagulant Administered\"\n union \"Encounter With No VTE Prophylaxis Due to Medical Reason\"\n union \"Encounter With No VTE Prophylaxis Due to Patient Refusal\"\n\ndefine \"Encounter With VTE Prophylaxis Received on Day of or Day After Admission or Procedure\":\n \t( from\n \t\t\t\"Encounter With Age Range and Without VTE Diagnosis or Obstetrical Conditions\" QualifyingEncounter,\n \t\t\t\"VTE Prophylaxis by Medication Administered or Device Applied\" VTEProphylaxis\n \t\twhere Coalesce(Global.\"Normalize Interval\"(VTEProphylaxis.effective), Global.\"Normalize Interval\"(VTEProphylaxis.performed)) starts during TJC.\"CalendarDayOfOrDayAfter\"(start of QualifyingEncounter.period)\n \t\treturn QualifyingEncounter\n \t)\n \tunion (\n from\n \t\t\t\"Encounter With Age Range and Without VTE Diagnosis or Obstetrical Conditions\" QualifyingEncounter,\n \t\t\t[\"Procedure\": \"General or Neuraxial Anesthesia\"] AnesthesiaProcedure,\n \t\t\t\"VTE Prophylaxis by Medication Administered or Device Applied\" VTEProphylaxis\n\t\t\twhere Global.\"Normalize Interval\"(AnesthesiaProcedure.performed) ends 1 day after day of start of QualifyingEncounter.period\n\t\t\t\tand Coalesce(Global.\"Normalize Interval\"(VTEProphylaxis.effective), Global.\"Normalize Interval\"(VTEProphylaxis.performed)) starts during TJC.\"CalendarDayOfOrDayAfter\"(end of Global.\"Normalize Interval\"(AnesthesiaProcedure.performed))\n\t\t\treturn QualifyingEncounter\n\t)\n\n// 10/29: Replaced DeviceUseStatement with Procedure with a new value set and procedure.usdCode for specifying devices\ndefine \"VTE Prophylaxis by Medication Administered or Device Applied\":\n ( [\"MedicationAdministration\": medication in \"Low Dose Unfractionated Heparin for VTE Prophylaxis\"] VTEMedication\n where VTEMedication.status ='completed'\n\t\t\t and VTEMedication.dosage.route in \"Subcutaneous route\"\n )\n union ([\"MedicationAdministration\": medication in \"Low Molecular Weight Heparin for VTE Prophylaxis\"] LMWH where LMWH.status = 'completed')\n union ([\"MedicationAdministration\": medication in \"Injectable Factor Xa Inhibitor for VTE Prophylaxis\"] FactorXa where FactorXa.status = 'completed')\n union ([\"MedicationAdministration\": medication in \"Warfarin\"] Warfarin where Warfarin.status = 'completed')\n union (\n [\"Procedure\": \"Device Application\"] DeviceApplied\n where DeviceApplied.status = 'complete'\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 )\n\ndefine \"Encounter With Medication Oral Factor Xa Inhibitor Administered on Day of or Day After Admission or Procedure\":\n\t( from\n \t\t\"Encounter With Age Range and Without VTE Diagnosis or Obstetrical Conditions\" QualifyingEncounter,\n \t\t\t[\"MedicationAdministration\": medication in \"Oral Factor Xa Inhibitor for VTE Prophylaxis or VTE Treatment\"] FactorXaMedication\n where FactorXaMedication.status = 'completed'\n and Global.\"Normalize Interval\"(FactorXaMedication.effective) starts during TJC.\"CalendarDayOfOrDayAfter\"(start of QualifyingEncounter.period)\n return QualifyingEncounter\n )\n union ( from\n \t\t\t\t \"Encounter With Age Range and Without VTE Diagnosis or Obstetrical Conditions\" QualifyingEncounter,\n \t\t\t\t[\"Procedure\": \"General or Neuraxial Anesthesia\"] AnesthesiaProcedure,\n \t\t\t\t[\"MedicationAdministration\": medication in \"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 and Global.\"Normalize Interval\"(AnesthesiaProcedure.performed) ends 1 day after day of start of QualifyingEncounter.period\n \t\t\t\t\tand Global.\"Normalize Interval\"(FactorXaMedication.effective) starts during TJC.\"CalendarDayOfOrDayAfter\"(end of Global.\"Normalize Interval\"(AnesthesiaProcedure.performed))\n \t\t\treturn QualifyingEncounter\n \t\t)\n\n/*NOTE: Feedback at Digitial Quality Summit 2019 indicates verificationStatus may be difficult for implementers to retrieve\n both condition.clinicalStatus and condition.verificationStatus = 'confirmed'\n*/\ndefine \"Encounter With Prior or Present Diagnosis of Atrial Fibrillation or VTE\":\n\t( \"Encounter With Age Range and Without VTE Diagnosis or Obstetrical Conditions\" QualifyingEncounter\n\t\twith [\"Condition\": code in \"Atrial Fibrillation/Flutter\"] AtrialFibrillation\n\t\tsuch that FHIRHelpers.ToConcept(AtrialFibrillation.clinicalStatus) in { Global.\"active\", Global.\"recurrence\", Global.\"relapse\" }\n\t\t\tand Global.\"Normalize Onset\"(AtrialFibrillation.onset) starts on or before end of QualifyingEncounter.period\n )\n union ( \"Encounter With Age Range and Without VTE Diagnosis or Obstetrical Conditions\" QualifyingEncounter\n \t\t\t\twhere Global.EncounterDiagnosis(QualifyingEncounter).code in \"Atrial Fibrillation/Flutter\"\n \t\t\t)\n union ( \"Encounter With Age Range and Without VTE Diagnosis or Obstetrical Conditions\" QualifyingEncounter\n \t\t\t\twith [\"Condition\": code in \"Venous Thromboembolism\"] VTEDiagnosis\n \t\t\t\tsuch that FHIRHelpers.ToConcept(VTEDiagnosis.clinicalStatus) in { Global.\"inactive\", Global.\"remission\", Global.\"resolved\" }\n \t\t\t\t\t//and VTEDiagnosis.verificationStatus = 'confirmed'\n \t\t\t\tand Global.\"Normalize Onset\"(VTEDiagnosis.onset) before start of QualifyingEncounter.period\n \t\t)\n\ndefine \"Encounter With Prior or Present Procedure of Hip or Knee Replacement Surgery\":\n\t\"Encounter With Age Range and Without VTE Diagnosis or Obstetrical Conditions\" QualifyingEncounter\n\twith ( [\"Procedure\": \"Hip Replacement Surgery\"]\n \t\t\tunion [\"Procedure\": \"Knee Replacement Surgery\"] ) HipKneeProcedure\n\tsuch that HipKneeProcedure.status = 'completed'\n\t and Global.\"Normalize Interval\"(HipKneeProcedure.performed) starts on or before end of QualifyingEncounter.period\n\n\ndefine \"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 Admission\"\n \t union \"Low Risk for VTE or Anticoagulant Administered on Day of or Day After Procedure\"\n\ndefine \"Low Risk for VTE or Anticoagulant Administered From Day of Start of Hospitalization To Day After Admission\":\n \t\"Encounter With Age Range and Without VTE Diagnosis or Obstetrical Conditions\" QualifyingEncounter\n with \"Is In Low Risk for VTE or On Anticoagulant\" VTERiskAssessment\n such that Global.\"Normalize Interval\"(VTERiskAssessment.effective) starts during VTEICU.\"FromDayOfStartOfHospitalizationToDayAfterAdmission\"(QualifyingEncounter)\n\ndefine \"Is In Low Risk for VTE or On Anticoagulant\":\n\t ( [\"Observation\": \"Risk for venous thromboembolism\"] VTERiskAssessment\n\t\t\t where VTERiskAssessment.value in \"Low Risk\"\n and VTERiskAssessment.status in {'final','amended', 'corrected'}\n\t )\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 = 'complete'\n return \"Observation\" { id: AnticoagulantMedication.id, effective: AnticoagulantMedication.effective }\n )\n\ndefine \"Low Risk for VTE or Anticoagulant Administered on Day of or Day After Procedure\":\n \tfrom\n \t\t\"Encounter With Age Range and Without VTE Diagnosis or Obstetrical Conditions\" QualifyingEncounter,\n \t\t[\"Procedure\": \"General or Neuraxial Anesthesia\"] AnesthesiaProcedure,\n \t\t\"Is In Low Risk for VTE or On Anticoagulant\" VTERiskAssessment\n\twhere Global.\"Normalize Interval\"(AnesthesiaProcedure.performed) ends 1 day after day of start of QualifyingEncounter.period\n \t\t\tand Global.\"Normalize Interval\"(VTERiskAssessment.effective) starts during TJC.\"CalendarDayOfOrDayAfter\"(end of Global.\"Normalize Interval\"(AnesthesiaProcedure.performed))\n\treturn QualifyingEncounter\n\ndefine \"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 Admission\"\n intersect \"No VTE Prophylaxis Device Due to Medical Reason From Day of Start of Hospitalization To Day After Admission\"\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 )\n\ndefine \"No VTE Prophylaxis Medication Due to Medical Reason From Day of Start of Hospitalization To Day After Admission\":\n \t\"Encounter With Age Range and Without VTE Diagnosis or Obstetrical Conditions\" QualifyingEncounter\n with\t\"No VTE Prophylaxis Medication Administered or Ordered\" NoVTEMedication\n \tsuch that Coalesce(NoVTEMedication.statusReason,NoVTEMedication.reasonCode) in \"Medical Reason\"\n \t\t\tand Coalesce(NoVTEMedication.authoredOn, start of Global.\"Normalize Interval\"(NoVTEMedication.effective)) during VTEICU.\"FromDayOfStartOfHospitalizationToDayAfterAdmission\"(QualifyingEncounter)\n\ndefine \"No VTE Prophylaxis Medication Administered or Ordered\":\n ((\t[\"MedicationAdministration\": medication in \"Low Dose Unfractionated Heparin for VTE Prophylaxis\"]\n union\n\t [\"MedicationAdministration\": medication in \"Low Molecular Weight Heparin for VTE Prophylaxis\"]\n union\n\t [\"MedicationAdministration\": medication in \"Injectable Factor Xa Inhibitor for VTE Prophylaxis\"]\n union\n\t [\"MedicationAdministration\": medication in \"Warfarin\"]\n ) MedicationAdm\n where MedicationAdm.status = 'not-done'\n )\n union\n\t ((\t[\"MedicationRequest\": medication in \"Low Dose Unfractionated Heparin for VTE Prophylaxis\"]\n \tunion\n \t [\"MedicationRequest\": medication in \"Low Molecular Weight Heparin for VTE Prophylaxis\"]\n union\n \t[\"MedicationRequest\": medication in \"Injectable Factor Xa Inhibitor for VTE Prophylaxis\"]\n union\n \t[\"MedicationRequest\": medication in \"Warfarin\"]\n ) MedicationOrder\n \twhere\tMedicationOrder.doNotPerform is true\n and MedicationOrder.status in {'completed', 'cancelled'}\n //11/5 discussion: all expressions for QI-Core must include a status.\n //Therefore, we need ServiceRequest.status = completed; and MedicationRequest.status = cancelled (or completed, since cancelled indicates it was once ordered but intentionally never filled).\n //So the not done issue is handled by ServiceRequest.doNotPerform = True Or MedicationRequest.doNotPerform = True\n )\n\ndefine \"No VTE Prophylaxis Medication Due to Medical Reason on Day of or Day After Procedure\":\n\tfrom\n \t\t\"Encounter With Age Range and Without VTE Diagnosis or Obstetrical Conditions\" QualifyingEncounter,\n \t\t[\"Procedure\": \"General or Neuraxial Anesthesia\"] AnesthesiaProcedure,\n \t\t\"No VTE Prophylaxis Medication Administered or Ordered\" NoVTEMedication\n\twhere Coalesce(NoVTEMedication.statusReason,NoVTEMedication.reasonCode) in \"Medical Reason\"\n\t\t\tand AnesthesiaProcedure.status = 'completed'\n\t\t\tand Global.\"Normalize Interval\"(AnesthesiaProcedure.performed) ends 1 day after day of start of QualifyingEncounter.period\n\t\t\tand Coalesce(NoVTEMedication.authoredOn, start of Global.\"Normalize Interval\"(NoVTEMedication.effective)) during TJC.\"CalendarDayOfOrDayAfter\"(end of Global.\"Normalize Interval\"(AnesthesiaProcedure.performed))\n return QualifyingEncounter\n\ndefine \"No VTE Prophylaxis Device Due to Medical Reason From Day of Start of Hospitalization To Day After Admission\":\n \"Encounter With Age Range and Without VTE Diagnosis or Obstetrical Conditions\" QualifyingEncounter\n \twith \"No VTE Prophylaxis Device Applied or Ordered\" NoVTEDevice\n such that NoVTEDevice.requestStatusReason in \"Medical Reason\"\n and NoVTEDevice.authoredOn during VTEICU.\"FromDayOfStartOfHospitalizationToDayAfterAdmission\"(QualifyingEncounter)\n\n//11/5: ServiceRequest not done reason is an extension in QI-Core R4 as ServiceRequest.extension:statusReason\ndefine function GetStatusReason(requestReason ServiceRequest):\n Global.GetBaseExtension(requestReason, 'request-statusReason')\n\ndefine \"No VTE Prophylaxis Device Applied or Ordered\":\n ((\n [\"ServiceRequest\": \"Venous foot pumps (VFP)\"]\n union [\"ServiceRequest\": \"Intermittent pneumatic compression devices (IPC)\"]\n union [\"ServiceRequest\": \"Graduated compression stockings (GCS)\"]\n ) DeviceOrder\n where DeviceOrder.status = 'completed'\n //11/5 discussion: all expressions for QI-Core must include a status\n //ServiceRequest.status - draft | active | suspended | completed | entered-in-error | cancelled\n and DeviceOrder.doNotPerform is true\n return {id: DeviceOrder.id, requestStatusReason: GetStatusReason(DeviceOrder), authoredOn: DeviceOrder.authoredOn}\n )\n union\n (\n [\"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 {id: DeviceApplied.id, requestStatusReason: DeviceApplied.statusReason, authoredOn: DeviceNotDoneTiming}\n\n )\n\ndefine \"No VTE Prophylaxis Device Due to Medical Reason on Day of or Day After Procedure\":\n from\n \t\t\"Encounter With Age Range and Without VTE Diagnosis or Obstetrical Conditions\" QualifyingEncounter,\n \t\t[\"Procedure\": \"General or Neuraxial Anesthesia\"] AnesthesiaProcedure,\n \t\t\"No VTE Prophylaxis Device Applied or Ordered\" NoVTEDevice\n where NoVTEDevice.requestStatusReason in \"Medical Reason\"\n and AnesthesiaProcedure.status = 'completed'\n \t\tand Global.\"Normalize Interval\"(AnesthesiaProcedure.performed) ends 1 day after day of start of QualifyingEncounter.period\n and NoVTEDevice.authoredOn during TJC.\"CalendarDayOfOrDayAfter\"(end of Global.\"Normalize Interval\"(AnesthesiaProcedure.performed))\n return QualifyingEncounter\n\ndefine \"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 Admission\"\n \tunion \"No VTE Prophylaxis Due to Patient Refusal on Day of or Day After Procedure\"\n\ndefine \"No VTE Prophylaxis Due to Patient Refusal From Day of Start of Hospitalization To Day After Admission\":\n \t\"Encounter With Age Range and Without VTE Diagnosis or Obstetrical Conditions\" QualifyingEncounter\n\t with \"No VTE Prophylaxis Medication or Device Due to Patient Refusal\" PatientRefusal\n such that Coalesce(start of Global.\"Normalize Interval\"(PatientRefusal.effective), PatientRefusal.authoredOn)\n during VTEICU.\"FromDayOfStartOfHospitalizationToDayAfterAdmission\"(QualifyingEncounter)\n\ndefine \"No VTE Prophylaxis Medication or Device Due to Patient Refusal\":\n ( \"No VTE Prophylaxis Medication Administered or Ordered\" NoVTEMedication\n where Coalesce(NoVTEMedication.statusReason,NoVTEMedication.reasonCode) in \"Patient Refusal\"\n )\n union (\"No VTE Prophylaxis Device Applied or Ordered\" NoVTEDevice\n where NoVTEDevice.requestStatusReason in \"Patient Refusal\"\n )\n\ndefine \"No VTE Prophylaxis Due to Patient Refusal on Day of or Day After Procedure\":\n \tfrom\n \t\t\"Encounter With Age Range and Without VTE Diagnosis or Obstetrical Conditions\" QualifyingEncounter,\n \t\t[\"Procedure\": \"General or Neuraxial Anesthesia\"] AnesthesiaProcedure,\n \t\t\"No VTE Prophylaxis Medication or Device Due to Patient Refusal\" PatientRefusal\n\twhere Global.\"Normalize Interval\"(AnesthesiaProcedure.performed) ends 1 day after day of start of QualifyingEncounter.period\n \t\t\tand Coalesce(start of Global.\"Normalize Interval\"(PatientRefusal.effective), PatientRefusal.authoredOn)\n during TJC.\"CalendarDayOfOrDayAfter\"(end of Global.\"Normalize Interval\"(AnesthesiaProcedure.performed))\n\treturn QualifyingEncounter\n</code></pre>\r\n \r\n \r\n </td>\r\n </tr>\r\n \r\n \r\n \r\n \r\n \r\n \r\n <tr style=\"vertical-align: top;\">\r\n <td scope=\"row\" style=\"background-color:#656565; width:20%\"><span class=\"td_label\">Content</span></td>\r\n <td style=\"width:80%\"><b>type: </b><span>text/cql</span></td>\r\n </tr>\r\n <tr>\r\n <td colspan=\"2\" style=\"width:100%\">\r\n \r\n <pre><code class=\"language-cql\">library EXM108_FHIR4 version '8.2.000'\n//for 2020 reporting year. QDM to QI-4\n//Venous Thromboembolism Prophylaxis\n//Author: TJC\n\nusing FHIR version '4.0.0'\n\ninclude FHIRHelpers version '4.0.0' called FHIRHelpers\ninclude MATGlobalCommonFunctions_FHIR4 version '4.0.000' called Global\ninclude SupplementalDataElements_FHIR4 version '1.0.0' called SDE\ninclude VTEICU_FHIR4 version '3.1.000' called VTEICU\ninclude TJCOverall_FHIR4 version '4.0.000' called TJC\n\ncodesystem \"SNOMEDCT\": 'http://snomed.info/sct/731000124108'\ncodesystem \"LOINC\": 'http://loinc.org'\n// NOTE: R4 code system URLs changed to be based on terminology.hl7.org...\ncodesystem \"RequestIntent\": 'http://terminology.hl7.org/CodeSystem/request-intent'\n//NOTE: Created for ActPriority for Encounter.category which is codeableConcept\ncodesystem \"ActPriority\": 'http://terminology.hl7.org/ValueSet/v3-ActPriority'\n\nvalueset \"Device Application\": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1110.48'\nvalueset \"Atrial Fibrillation/Flutter\": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.202'\nvalueset \"Comfort Measures\": 'http://cts.nlm.nih.gov/fhir/ValueSet/1.3.6.1.4.1.33895.1.3.0.45'\nvalueset \"Direct Thrombin Inhibitor\": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.205'\nvalueset \"Emergency Department Visit\": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.292'\nvalueset \"General or Neuraxial Anesthesia\": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.666.5.1743'\nvalueset \"General Surgery\": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.255'\nvalueset \"Glycoprotein IIb/IIIa Inhibitors\": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1045.41'\nvalueset \"Graduated compression stockings (GCS)\": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.256'\nvalueset \"Gynecological Surgery\": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.257'\nvalueset \"Hemorrhagic Stroke\": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.212'\nvalueset \"Hip Fracture Surgery\": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.258'\nvalueset \"Hip Replacement Surgery\": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.259'\nvalueset \"Injectable Factor Xa Inhibitor for VTE Prophylaxis\": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.211'\nvalueset \"INR\": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.213'\nvalueset \"Intermittent pneumatic compression devices (IPC)\": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.214'\nvalueset \"Intracranial Neurosurgery\": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.260'\nvalueset \"Intravenous route\": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.222'\nvalueset \"Ischemic Stroke\": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.247'\nvalueset \"Knee Replacement Surgery\": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.261'\nvalueset \"Low Dose Unfractionated Heparin for VTE Prophylaxis\": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1045.39'\nvalueset \"Low Molecular Weight Heparin for VTE Prophylaxis\": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.219'\nvalueset \"Low Risk\": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.400'\nvalueset \"Medical Reason\": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.473'\nvalueset \"Mental Health Diagnoses\": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.105.12.1004'\nvalueset \"Obstetrics\": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.263'\nvalueset \"Obstetrics VTE\": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.264'\nvalueset \"Oral Factor Xa Inhibitor for VTE Prophylaxis or VTE Treatment\": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.134'\nvalueset \"Patient Refusal\": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.93'\nvalueset \"Subcutaneous route\": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.223'\nvalueset \"Unfractionated Heparin\": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.218'\nvalueset \"Urological Surgery\": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.272'\nvalueset \"Venous foot pumps (VFP)\": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.230'\nvalueset \"Venous Thromboembolism\": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.279'\nvalueset \"Warfarin\": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.232'\nvalueset \"Intensive Care Unit\": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1110.23'\n\ncode \"Risk for venous thromboembolism\": '72136-5' from \"LOINC\" display 'Risk for venous thromboembolism'\n\ncontext Patient\n\ndefine \"SDE Ethnicity\":\n SDE.\"SDE Ethnicity\"\n\ndefine \"SDE Payer\":\n\tSDE.\"SDE Payer\"\n\ndefine \"SDE Race\":\n SDE.\"SDE Race\"\n\ndefine \"SDE Sex\":\n\tSDE.\"SDE Sex\"\n\ndefine \"Initial Population\":\n \"Encounter With Age Range and Without VTE Diagnosis or Obstetrical Conditions\"\n\n// Note: added FHIRHelpers.ToDate() in R4\ndefine \"Encounter With Age Range and Without VTE Diagnosis or Obstetrical Conditions\":\n ( Global.\"Inpatient Encounter\" InpatientEncounter\n \t\twith [\"Patient\"] BirthDate\n \t\t\tsuch that Global.\"CalendarAgeInYearsAt\"(FHIRHelpers.ToDate(BirthDate.birthDate), start of InpatientEncounter.period) >= 18\n )\n intersect \"Admission Without VTE or Obstetrical Conditions\"\n\n define \"Admission Without VTE or Obstetrical Conditions\":\n\t \tGlobal.\"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 )\n\ndefine \"Denominator\":\n \"Initial Population\"\n\ndefine \"Denominator Exclusion\":\n \"Encounter Less Than 2 Days\"\n union \"Encounter With ICU Location Stay 1 Day or More\"\n union \"Encounter With Principal Diagnosis of Mental Disorder or Stroke\"\n union \"Encounter With Principal Procedure of SCIP VTE Selected Surgery\"\n union \"Encounter With Intervention Comfort Measures From Day of Start of Hospitalization To Day After Admission\"\n union \"Encounter With Intervention Comfort Measures on Day of or Day After Procedure\"\n\ndefine \"Encounter Less Than 2 Days\":\n \"Encounter With Age Range and Without VTE Diagnosis or Obstetrical Conditions\" QualifyingEncounter\n \twhere Global.\"LengthInDays\"(QualifyingEncounter.period)< 2\n\ndefine \"Encounter With ICU Location Stay 1 Day or More\":\n \"Encounter With Age Range and Without VTE Diagnosis or Obstetrical Conditions\" QualifyingEncounter\n where exists ( QualifyingEncounter.location Location\n \t\twhere Global.GetLocation(Location.location).type in \"Intensive Care Unit\"\n \t\t\tand Global.\"LengthInDays\"(Location.period)>= 1\n \t\t\tand Location.period starts during TJC.\"CalendarDayOfOrDayAfter\"(start of QualifyingEncounter.period)\n\t )\n\ndefine \"Encounter With Principal Diagnosis of Mental Disorder or Stroke\":\n \"Encounter With Age Range and Without VTE Diagnosis or Obstetrical Conditions\" QualifyingEncounter\n where Global.\"PrincipalDiagnosis\"(QualifyingEncounter).code in \"Mental Health Diagnoses\"\n or Global.\"PrincipalDiagnosis\"(QualifyingEncounter).code in \"Hemorrhagic Stroke\"\n or Global.\"PrincipalDiagnosis\"(QualifyingEncounter).code in \"Ischemic Stroke\"\n\n/* NOTE: 2 options to express Principal Procedure to retrive \"encounter Procedure as an url\" and proedure \"rank as extension\" in R4\n VTE-1 uses Option 1 - generic extension funtion\n VTE-2 uses Option 2 - Specific extension functions\n TODO: Mapping Table needs revision on using \"Encounter.procedure.code\", \"Encounter.procedure.sequence\"\n*/\n\ndefine \"Encounter With Principal Procedure of SCIP VTE Selected Surgery\":\n from\n \"Encounter With Age Range and Without VTE Diagnosis or Obstetrical Conditions\" QualifyingEncounter,\n \"SCIP VTE Selected Surgery\" SelectedProcedure\n let EncounterProcedure: Global.GetExtension(QualifyingEncounter, '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 Global.\"Normalize Interval\"(SelectedProcedure.performed) during QualifyingEncounter.period\n\ndefine \"SCIP VTE Selected Surgery\":\n (\t[\"Procedure\": \"General Surgery\"]\n union [\"Procedure\": \"Gynecological Surgery\"]\n union [\"Procedure\": \"Hip Fracture Surgery\"]\n union [\"Procedure\": \"Hip Replacement Surgery\"]\n union [\"Procedure\": \"Intracranial Neurosurgery\"]\n union [\"Procedure\": \"Knee Replacement Surgery\"]\n union [\"Procedure\": \"Urological Surgery\"] ) Procedure\n where Procedure.status = 'completed'\n\ndefine \"Encounter With Intervention Comfort Measures From Day of Start of Hospitalization To Day After Admission\":\n\t\"Encounter With Age Range and Without VTE Diagnosis or Obstetrical Conditions\" QualifyingEncounter\n\t\twith \"Intervention Comfort Measures\" ComfortMeasure\n\t\tsuch that Coalesce(start of Global.\"Normalize Interval\"(ComfortMeasure.performed), ComfortMeasure.authoredOn) during VTEICU.\"FromDayOfStartOfHospitalizationToDayAfterAdmission\"(QualifyingEncounter)\n\ndefine \"Intervention Comfort Measures\":\n\t([\"ServiceRequest\": \"Comfort Measures\"] P\n \t\twhere P.intent = 'order'\n )\n \tunion\n \t([\"Procedure\": \"Comfort Measures\"] InterventionPerformed\n \twhere InterventionPerformed.status in {'completed', 'in-progress'})\n\ndefine \"Encounter With Intervention Comfort Measures on Day of or Day After Procedure\":\n from\n \t\t\"Encounter With Age Range and Without VTE Diagnosis or Obstetrical Conditions\" QualifyingEncounter,\n \t\t[\"Procedure\": \"General or Neuraxial Anesthesia\"] AnesthesiaProcedure,\n \t\t\"Intervention Comfort Measures\" ComfortMeasure\n\t\twhere AnesthesiaProcedure.status = 'completed'\n\t\t\t\tand Global.\"Normalize Interval\"(AnesthesiaProcedure.performed) ends 1 day after day of start of QualifyingEncounter.period\n and Coalesce(start of Global.\"Normalize Interval\"(ComfortMeasure.performed), ComfortMeasure.authoredOn) during TJC.\"CalendarDayOfOrDayAfter\"(end of Global.\"Normalize Interval\"(AnesthesiaProcedure.performed))\n return QualifyingEncounter\n\ndefine \"Numerator\":\n \"Encounter With VTE Prophylaxis Received on Day of or Day After Admission or Procedure\"\n union ( \"Encounter With Medication Oral Factor Xa Inhibitor Administered on Day of or Day After Admission or Procedure\"\n \t\t\t intersect ( \"Encounter With Prior or Present Diagnosis of Atrial Fibrillation or VTE\"\n \t\t\t\t\t\t union \"Encounter With Prior or Present Procedure of Hip or Knee Replacement Surgery\"\n \t\t\t )\n )\n union \"Encounter With Low Risk for VTE or Anticoagulant Administered\"\n union \"Encounter With No VTE Prophylaxis Due to Medical Reason\"\n union \"Encounter With No VTE Prophylaxis Due to Patient Refusal\"\n\ndefine \"Encounter With VTE Prophylaxis Received on Day of or Day After Admission or Procedure\":\n \t( from\n \t\t\t\"Encounter With Age Range and Without VTE Diagnosis or Obstetrical Conditions\" QualifyingEncounter,\n \t\t\t\"VTE Prophylaxis by Medication Administered or Device Applied\" VTEProphylaxis\n \t\twhere Coalesce(Global.\"Normalize Interval\"(VTEProphylaxis.effective), Global.\"Normalize Interval\"(VTEProphylaxis.performed)) starts during TJC.\"CalendarDayOfOrDayAfter\"(start of QualifyingEncounter.period)\n \t\treturn QualifyingEncounter\n \t)\n \tunion (\n from\n \t\t\t\"Encounter With Age Range and Without VTE Diagnosis or Obstetrical Conditions\" QualifyingEncounter,\n \t\t\t[\"Procedure\": \"General or Neuraxial Anesthesia\"] AnesthesiaProcedure,\n \t\t\t\"VTE Prophylaxis by Medication Administered or Device Applied\" VTEProphylaxis\n\t\t\twhere Global.\"Normalize Interval\"(AnesthesiaProcedure.performed) ends 1 day after day of start of QualifyingEncounter.period\n\t\t\t\tand Coalesce(Global.\"Normalize Interval\"(VTEProphylaxis.effective), Global.\"Normalize Interval\"(VTEProphylaxis.performed)) starts during TJC.\"CalendarDayOfOrDayAfter\"(end of Global.\"Normalize Interval\"(AnesthesiaProcedure.performed))\n\t\t\treturn QualifyingEncounter\n\t)\n\n// 10/29: Replaced DeviceUseStatement with Procedure with a new value set and procedure.usdCode for specifying devices\ndefine \"VTE Prophylaxis by Medication Administered or Device Applied\":\n ( [\"MedicationAdministration\": medication in \"Low Dose Unfractionated Heparin for VTE Prophylaxis\"] VTEMedication\n where VTEMedication.status ='completed'\n\t\t\t and VTEMedication.dosage.route in \"Subcutaneous route\"\n )\n union ([\"MedicationAdministration\": medication in \"Low Molecular Weight Heparin for VTE Prophylaxis\"] LMWH where LMWH.status = 'completed')\n union ([\"MedicationAdministration\": medication in \"Injectable Factor Xa Inhibitor for VTE Prophylaxis\"] FactorXa where FactorXa.status = 'completed')\n union ([\"MedicationAdministration\": medication in \"Warfarin\"] Warfarin where Warfarin.status = 'completed')\n union (\n [\"Procedure\": \"Device Application\"] DeviceApplied\n where DeviceApplied.status = 'complete'\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 )\n\ndefine \"Encounter With Medication Oral Factor Xa Inhibitor Administered on Day of or Day After Admission or Procedure\":\n\t( from\n \t\t\"Encounter With Age Range and Without VTE Diagnosis or Obstetrical Conditions\" QualifyingEncounter,\n \t\t\t[\"MedicationAdministration\": medication in \"Oral Factor Xa Inhibitor for VTE Prophylaxis or VTE Treatment\"] FactorXaMedication\n where FactorXaMedication.status = 'completed'\n and Global.\"Normalize Interval\"(FactorXaMedication.effective) starts during TJC.\"CalendarDayOfOrDayAfter\"(start of QualifyingEncounter.period)\n return QualifyingEncounter\n )\n union ( from\n \t\t\t\t \"Encounter With Age Range and Without VTE Diagnosis or Obstetrical Conditions\" QualifyingEncounter,\n \t\t\t\t[\"Procedure\": \"General or Neuraxial Anesthesia\"] AnesthesiaProcedure,\n \t\t\t\t[\"MedicationAdministration\": medication in \"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 and Global.\"Normalize Interval\"(AnesthesiaProcedure.performed) ends 1 day after day of start of QualifyingEncounter.period\n \t\t\t\t\tand Global.\"Normalize Interval\"(FactorXaMedication.effective) starts during TJC.\"CalendarDayOfOrDayAfter\"(end of Global.\"Normalize Interval\"(AnesthesiaProcedure.performed))\n \t\t\treturn QualifyingEncounter\n \t\t)\n\n/*NOTE: Feedback at Digitial Quality Summit 2019 indicates verificationStatus may be difficult for implementers to retrieve\n both condition.clinicalStatus and condition.verificationStatus = 'confirmed'\n*/\ndefine \"Encounter With Prior or Present Diagnosis of Atrial Fibrillation or VTE\":\n\t( \"Encounter With Age Range and Without VTE Diagnosis or Obstetrical Conditions\" QualifyingEncounter\n\t\twith [\"Condition\": code in \"Atrial Fibrillation/Flutter\"] AtrialFibrillation\n\t\tsuch that FHIRHelpers.ToConcept(AtrialFibrillation.clinicalStatus) in { Global.\"active\", Global.\"recurrence\", Global.\"relapse\" }\n\t\t\tand Global.\"Normalize Onset\"(AtrialFibrillation.onset) starts on or before end of QualifyingEncounter.period\n )\n union ( \"Encounter With Age Range and Without VTE Diagnosis or Obstetrical Conditions\" QualifyingEncounter\n \t\t\t\twhere Global.EncounterDiagnosis(QualifyingEncounter).code in \"Atrial Fibrillation/Flutter\"\n \t\t\t)\n union ( \"Encounter With Age Range and Without VTE Diagnosis or Obstetrical Conditions\" QualifyingEncounter\n \t\t\t\twith [\"Condition\": code in \"Venous Thromboembolism\"] VTEDiagnosis\n \t\t\t\tsuch that FHIRHelpers.ToConcept(VTEDiagnosis.clinicalStatus) in { Global.\"inactive\", Global.\"remission\", Global.\"resolved\" }\n \t\t\t\t\t//and VTEDiagnosis.verificationStatus = 'confirmed'\n \t\t\t\tand Global.\"Normalize Onset\"(VTEDiagnosis.onset) before start of QualifyingEncounter.period\n \t\t)\n\ndefine \"Encounter With Prior or Present Procedure of Hip or Knee Replacement Surgery\":\n\t\"Encounter With Age Range and Without VTE Diagnosis or Obstetrical Conditions\" QualifyingEncounter\n\twith ( [\"Procedure\": \"Hip Replacement Surgery\"]\n \t\t\tunion [\"Procedure\": \"Knee Replacement Surgery\"] ) HipKneeProcedure\n\tsuch that HipKneeProcedure.status = 'completed'\n\t and Global.\"Normalize Interval\"(HipKneeProcedure.performed) starts on or before end of QualifyingEncounter.period\n\n\ndefine \"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 Admission\"\n \t union \"Low Risk for VTE or Anticoagulant Administered on Day of or Day After Procedure\"\n\ndefine \"Low Risk for VTE or Anticoagulant Administered From Day of Start of Hospitalization To Day After Admission\":\n \t\"Encounter With Age Range and Without VTE Diagnosis or Obstetrical Conditions\" QualifyingEncounter\n with \"Is In Low Risk for VTE or On Anticoagulant\" VTERiskAssessment\n such that Global.\"Normalize Interval\"(VTERiskAssessment.effective) starts during VTEICU.\"FromDayOfStartOfHospitalizationToDayAfterAdmission\"(QualifyingEncounter)\n\ndefine \"Is In Low Risk for VTE or On Anticoagulant\":\n\t ( [\"Observation\": \"Risk for venous thromboembolism\"] VTERiskAssessment\n\t\t\t where VTERiskAssessment.value in \"Low Risk\"\n and VTERiskAssessment.status in {'final','amended', 'corrected'}\n\t )\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 = 'complete'\n return \"Observation\" { id: AnticoagulantMedication.id, effective: AnticoagulantMedication.effective }\n )\n\ndefine \"Low Risk for VTE or Anticoagulant Administered on Day of or Day After Procedure\":\n \tfrom\n \t\t\"Encounter With Age Range and Without VTE Diagnosis or Obstetrical Conditions\" QualifyingEncounter,\n \t\t[\"Procedure\": \"General or Neuraxial Anesthesia\"] AnesthesiaProcedure,\n \t\t\"Is In Low Risk for VTE or On Anticoagulant\" VTERiskAssessment\n\twhere Global.\"Normalize Interval\"(AnesthesiaProcedure.performed) ends 1 day after day of start of QualifyingEncounter.period\n \t\t\tand Global.\"Normalize Interval\"(VTERiskAssessment.effective) starts during TJC.\"CalendarDayOfOrDayAfter\"(end of Global.\"Normalize Interval\"(AnesthesiaProcedure.performed))\n\treturn QualifyingEncounter\n\ndefine \"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 Admission\"\n intersect \"No VTE Prophylaxis Device Due to Medical Reason From Day of Start of Hospitalization To Day After Admission\"\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 )\n\ndefine \"No VTE Prophylaxis Medication Due to Medical Reason From Day of Start of Hospitalization To Day After Admission\":\n \t\"Encounter With Age Range and Without VTE Diagnosis or Obstetrical Conditions\" QualifyingEncounter\n with\t\"No VTE Prophylaxis Medication Administered or Ordered\" NoVTEMedication\n \tsuch that Coalesce(NoVTEMedication.statusReason,NoVTEMedication.reasonCode) in \"Medical Reason\"\n \t\t\tand Coalesce(NoVTEMedication.authoredOn, start of Global.\"Normalize Interval\"(NoVTEMedication.effective)) during VTEICU.\"FromDayOfStartOfHospitalizationToDayAfterAdmission\"(QualifyingEncounter)\n\ndefine \"No VTE Prophylaxis Medication Administered or Ordered\":\n ((\t[\"MedicationAdministration\": medication in \"Low Dose Unfractionated Heparin for VTE Prophylaxis\"]\n union\n\t [\"MedicationAdministration\": medication in \"Low Molecular Weight Heparin for VTE Prophylaxis\"]\n union\n\t [\"MedicationAdministration\": medication in \"Injectable Factor Xa Inhibitor for VTE Prophylaxis\"]\n union\n\t [\"MedicationAdministration\": medication in \"Warfarin\"]\n ) MedicationAdm\n where MedicationAdm.status = 'not-done'\n )\n union\n\t ((\t[\"MedicationRequest\": medication in \"Low Dose Unfractionated Heparin for VTE Prophylaxis\"]\n \tunion\n \t [\"MedicationRequest\": medication in \"Low Molecular Weight Heparin for VTE Prophylaxis\"]\n union\n \t[\"MedicationRequest\": medication in \"Injectable Factor Xa Inhibitor for VTE Prophylaxis\"]\n union\n \t[\"MedicationRequest\": medication in \"Warfarin\"]\n ) MedicationOrder\n \twhere\tMedicationOrder.doNotPerform is true\n and MedicationOrder.status in {'completed', 'cancelled'}\n //11/5 discussion: all expressions for QI-Core must include a status.\n //Therefore, we need ServiceRequest.status = completed; and MedicationRequest.status = cancelled (or completed, since cancelled indicates it was once ordered but intentionally never filled).\n //So the not done issue is handled by ServiceRequest.doNotPerform = True Or MedicationRequest.doNotPerform = True\n )\n\ndefine \"No VTE Prophylaxis Medication Due to Medical Reason on Day of or Day After Procedure\":\n\tfrom\n \t\t\"Encounter With Age Range and Without VTE Diagnosis or Obstetrical Conditions\" QualifyingEncounter,\n \t\t[\"Procedure\": \"General or Neuraxial Anesthesia\"] AnesthesiaProcedure,\n \t\t\"No VTE Prophylaxis Medication Administered or Ordered\" NoVTEMedication\n\twhere Coalesce(NoVTEMedication.statusReason,NoVTEMedication.reasonCode) in \"Medical Reason\"\n\t\t\tand AnesthesiaProcedure.status = 'completed'\n\t\t\tand Global.\"Normalize Interval\"(AnesthesiaProcedure.performed) ends 1 day after day of start of QualifyingEncounter.period\n\t\t\tand Coalesce(NoVTEMedication.authoredOn, start of Global.\"Normalize Interval\"(NoVTEMedication.effective)) during TJC.\"CalendarDayOfOrDayAfter\"(end of Global.\"Normalize Interval\"(AnesthesiaProcedure.performed))\n return QualifyingEncounter\n\ndefine \"No VTE Prophylaxis Device Due to Medical Reason From Day of Start of Hospitalization To Day After Admission\":\n \"Encounter With Age Range and Without VTE Diagnosis or Obstetrical Conditions\" QualifyingEncounter\n \twith \"No VTE Prophylaxis Device Applied or Ordered\" NoVTEDevice\n such that NoVTEDevice.requestStatusReason in \"Medical Reason\"\n and NoVTEDevice.authoredOn during VTEICU.\"FromDayOfStartOfHospitalizationToDayAfterAdmission\"(QualifyingEncounter)\n\n//11/5: ServiceRequest not done reason is an extension in QI-Core R4 as ServiceRequest.extension:statusReason\ndefine function GetStatusReason(requestReason ServiceRequest):\n Global.GetBaseExtension(requestReason, 'request-statusReason')\n\ndefine \"No VTE Prophylaxis Device Applied or Ordered\":\n ((\n [\"ServiceRequest\": \"Venous foot pumps (VFP)\"]\n union [\"ServiceRequest\": \"Intermittent pneumatic compression devices (IPC)\"]\n union [\"ServiceRequest\": \"Graduated compression stockings (GCS)\"]\n ) DeviceOrder\n where DeviceOrder.status = 'completed'\n //11/5 discussion: all expressions for QI-Core must include a status\n //ServiceRequest.status - draft | active | suspended | completed | entered-in-error | cancelled\n and DeviceOrder.doNotPerform is true\n return {id: DeviceOrder.id, requestStatusReason: GetStatusReason(DeviceOrder), authoredOn: DeviceOrder.authoredOn}\n )\n union\n (\n [\"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 {id: DeviceApplied.id, requestStatusReason: DeviceApplied.statusReason, authoredOn: DeviceNotDoneTiming}\n\n )\n\ndefine \"No VTE Prophylaxis Device Due to Medical Reason on Day of or Day After Procedure\":\n from\n \t\t\"Encounter With Age Range and Without VTE Diagnosis or Obstetrical Conditions\" QualifyingEncounter,\n \t\t[\"Procedure\": \"General or Neuraxial Anesthesia\"] AnesthesiaProcedure,\n \t\t\"No VTE Prophylaxis Device Applied or Ordered\" NoVTEDevice\n where NoVTEDevice.requestStatusReason in \"Medical Reason\"\n and AnesthesiaProcedure.status = 'completed'\n \t\tand Global.\"Normalize Interval\"(AnesthesiaProcedure.performed) ends 1 day after day of start of QualifyingEncounter.period\n and NoVTEDevice.authoredOn during TJC.\"CalendarDayOfOrDayAfter\"(end of Global.\"Normalize Interval\"(AnesthesiaProcedure.performed))\n return QualifyingEncounter\n\ndefine \"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 Admission\"\n \tunion \"No VTE Prophylaxis Due to Patient Refusal on Day of or Day After Procedure\"\n\ndefine \"No VTE Prophylaxis Due to Patient Refusal From Day of Start of Hospitalization To Day After Admission\":\n \t\"Encounter With Age Range and Without VTE Diagnosis or Obstetrical Conditions\" QualifyingEncounter\n\t with \"No VTE Prophylaxis Medication or Device Due to Patient Refusal\" PatientRefusal\n such that Coalesce(start of Global.\"Normalize Interval\"(PatientRefusal.effective), PatientRefusal.authoredOn)\n during VTEICU.\"FromDayOfStartOfHospitalizationToDayAfterAdmission\"(QualifyingEncounter)\n\ndefine \"No VTE Prophylaxis Medication or Device Due to Patient Refusal\":\n ( \"No VTE Prophylaxis Medication Administered or Ordered\" NoVTEMedication\n where Coalesce(NoVTEMedication.statusReason,NoVTEMedication.reasonCode) in \"Patient Refusal\"\n )\n union (\"No VTE Prophylaxis Device Applied or Ordered\" NoVTEDevice\n where NoVTEDevice.requestStatusReason in \"Patient Refusal\"\n )\n\ndefine \"No VTE Prophylaxis Due to Patient Refusal on Day of or Day After Procedure\":\n \tfrom\n \t\t\"Encounter With Age Range and Without VTE Diagnosis or Obstetrical Conditions\" QualifyingEncounter,\n \t\t[\"Procedure\": \"General or Neuraxial Anesthesia\"] AnesthesiaProcedure,\n \t\t\"No VTE Prophylaxis Medication or Device Due to Patient Refusal\" PatientRefusal\n\twhere Global.\"Normalize Interval\"(AnesthesiaProcedure.performed) ends 1 day after day of start of QualifyingEncounter.period\n \t\t\tand Coalesce(start of Global.\"Normalize Interval\"(PatientRefusal.effective), PatientRefusal.authoredOn)\n during TJC.\"CalendarDayOfOrDayAfter\"(end of Global.\"Normalize Interval\"(AnesthesiaProcedure.performed))\n\treturn QualifyingEncounter\n</code></pre>\r\n \r\n \r\n </td>\r\n </tr>\r\n \r\n </table>\r\n</div>"
},
"extension": [
{
"url": "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-populationBasis",
"valueCode": "boolean"
}
],
"url": "http://hl7.org/fhir/us/cqfmeasures/Measure/measure-exm108-FHIR4",
"identifier": [
{
"use": "official",
"system": "http://hl7.org/fhir/cqi/ecqm/Measure/Identifier/cms",
"value": "108"
}
],
"title": "Venous Thromboembolism Prophylaxis",
"status": "active",
"experimental": true,
"publisher": "The Joint Commission",
"contact": [
{
"telecom": [
{
"system": "url",
"value": "https://www.jointcommission.org/en/"
}
]
}
],
"description": "This measure assesses the number of patients who received VTE prophylaxis or have documentation why no VTE prophylaxis was given the day of or the day after hospital admission or surgery end date for surgeries that start the day of or the day after hospital admission",
"useContext": [
{
"code": {
"code": "program"
},
"valueCodeableConcept": {
"text": "eligible-provider"
}
}
],
"jurisdiction": [
{
"coding": [
{
"system": "urn:iso:std:iso:3166",
"code": "US"
}
]
}
],
"purpose": "Patients age 18 and older discharged from hospital inpatient acute care without a diagnosis of venous thromboembolism (VTE) or obstetrics with a length of stay less than or equal to 120 days that ends during the measurement period",
"copyright": "Measure specifications are in the Public Domain. LOINC(R) is a registered trademark of the Regenstrief Institute. This material contains SNOMED Clinical Terms(R) (SNOMED CT(C)) copyright 2004-2017 International Health Terminology Standards Development Organization. All rights reserved.",
"approvalDate": "2016-01-01",
"lastReviewDate": "2019-08-19",
"effectivePeriod": {
"start": "2019-01-01",
"end": "2019-12-31"
},
"topic": [
{
"coding": [
{
"system": "http://loinc.org",
"code": "57024-2",
"display": "Health Quality Measure Document"
}
]
}
],
"relatedArtifact": [
{
"type": "citation",
"citation": "Cohen AT, Tapson VF, Bergmann JF, et al. Venous thromboembolism risk and prophylaxis in the acute hospital care setting (ENDORSE study): a multinational cross-sectional study. Lancet. 2008;371:387-394."
},
{
"type": "citation",
"citation": "\t\nGeerts WH, Bergqvist D, Pineo GF, Heit JA, Samama CM, Lassen MR, Colwell CW. Prevention of venous thromboembolism. The Eighth ACCP Conference on antithrombotic and thrombolytic therapy. Chest. 2008; 133:381S-453S"
},
{
"type": "citation",
"citation": "Guyatt, G.H., Akl, E.A., Crowther, M., Gutterman, D., Schunemann, H. Antithrombotic Therapy and Prevention of Thrombosis, 9th edition: American College of Chest Physicians Evidence-Based Clinical Practice Guidelines. CHEST 2012; 141(2)(Supp):7S-47S"
},
{
"type": "citation",
"citation": "Kearon C, Akl EA, Comerota AJ, Prandoni P, Bounameaux H, Goldhaber SZ, Nelson ME, Wells PS, Gould MK, Dentali F, Crowther M, Kahn SR. Antithrombotic therapy for VTE disease: Antithrombotic Therapy and Prevention of Thrombosis, 9th Edition: American College of Chest Physicians Evidence-based Clinical Practice Guidelines. CHEST 2012 Feb; 141(2) (Supp):e419S-94S. "
},
{
"type": "citation",
"citation": "National Quality Forum. National Voluntary Consensus Standards for Prevention and Care of Venous Thromboembolism: Policy, Preferred Practices, and Initial Performance Measures. A Consensus Report. Washington, DC. NQF; 2006"
},
{
"type": "citation",
"citation": "\t\nShojania KG, Duncan BW, McDonald DM, et al. (Eds.). (2001). Making healthcare safer; A critical analysis of patient safety practices (Evidence Report/Technology Assessment No. 43). Prepared by the University of California at San Francisco-Stanford Evidenced-based Practice Center under Contract no. 290-97-0013 (AHRQ Publication NO.01-E058). Rockville, MD:Agency for Healthcare Research and Quality."
},
{
"type": "depends-on",
"resource": "Library/library-FHIRHelpers-4.0.0"
},
{
"type": "depends-on",
"resource": "Library/library-MATGlobalCommonFunctions-FHIR4-4.0.000"
},
{
"type": "depends-on",
"resource": "Library/library-SupplementalDataElements-FHIR4-1.0.0"
},
{
"type": "depends-on",
"resource": "Library/library-VTEICU-FHIR4-3.1.000"
},
{
"type": "depends-on",
"resource": "Library/library-TJCOverall-FHIR4-4.0.000"
}
],
"library": [
"Library/library-EXM108-FHIR4-8.2.000"
],
"disclaimer": "These performance measures are not clinical guidelines and do not establish a standard of medical care, and have not been tested for all potential applications. The measures and specifications are provided without warranty",
"scoring": {
"coding": [
{
"system": "http://hl7.org/fhir/measure-scoring",
"code": "proportion"
}
]
},
"type": [
{
"coding": [
{
"system": "http://hl7.org/fhir/measure-type",
"code": "process"
}
]
}
],
"rationale": "Hospitalized patients at high-risk for VTE may develop an asymptomatic deep vein thrombosis (DVT), and die from pulmonary embolism (PE) even before the diagnosis is suspected. The majority of fatal events occur as sudden or abrupt death, underscoring the importance of prevention as the most critical action step for reducing death from PE (Geerts, et al, 2008).\n\nThe estimated annual incidence of deep-vein thrombosis (DVT) and pulmonary embolism (PE), known collectively as venous thromboembolism (VTE), is approximately 900,000 (Geerts, et al, 2008). Approximately two-thirds of cases of DVT or PE are associated with recent hospitalization. This is consistent with the 2001 report by The Agency for Healthcare Research and Quality (AHRQ). AHRQ indicates that \"the appropriate application of effective preventive measures in hospitals has major potential for improving patient safety by reducing the incidence of venous thromboembolism\" (Shojania, 2001).\n\nDespite its proven effectiveness, rates of appropriate thromboprophylaxis remain low in both medical and surgical patients. A recent analysis from the ENDORSE survey, which evaluated prophylaxis rates in 17,084 major surgery patients, found that more than one third of patients at risk for VTE (38%) did not receive prophylaxis and that rates varied by surgery type (Cohen, et al., 2008).\n\nIn a review of evidence-based patient safety practices, the Agency for Healthcare Research and Quality defined thromboprophylaxis against VTE as the \"number one patient safety practice\" for hospitalized patients (Shojania, 2001). Updated \"safe practices\" published by the National Quality Forum (NQF) recommend routine evaluation of hospitalized patients for risk of VTE and use of appropriate prophylaxis (National Quality Forum. National Voluntary Consensus Standards for Prevention and Care of Venous Thromboembolism, 2006).\n\nAs noted by the ACCP, a vast number of randomized clinical trials provide irrefutable evidence that thromboprophylaxis reduces VTE events, and there are studies that have also shown that fatal PE is prevented by thromboprophylaxis (Geerts, et al. 2008).\n\nSome select surgeries have previously been monitored in the Surgical Care Improvement Project; since performance on these surgeries has achieved very high levels, they are not included in this measure.",
"clinicalRecommendationStatement": "Failure to recognize and protect patients at risk for venous thromboembolism (VTE) increases the chances for acutely ill hospitalized patients at high risk for developing a deep vein thrombosis or dying from a pulmonary emboli. Screening all patients is the only evidence based practice in reducing incidence of disease. All hospitalized patients should be evaluated for primary VTE prophylaxis, and given appropriate prophylaxis when indicated.",
"improvementNotation": {
"coding": [
{
"system": "http://terminology.hl7.org/CodeSystem/measure-improvement-notation",
"code": "increase"
}
]
},
"guidance": "When low dose unfractionated heparin is administered for VTE Prophylaxis, the intended administration route for low dose unfractionated heparin is subcutaneous.\n\nReasons for no pharmacological and no mechanical VTE prophylaxis must be explicitly documented by the MD/APN/PA or pharmacist and linked with VTE prophylaxis. Ambulation alone is not a sufficient reason for not administering VTE prophylaxis. In order for ambulation/patient ambulating to be considered as an acceptable reason, there needs to be explicit documentation, e.g., \"patient out of bed and ambulating in halls - no VTE prophylaxis needed.\"",
"group": [
{
"id": "group-1",
"population": [
{
"code": {
"coding": [
{
"system": "http://terminology.hl7.org/CodeSystem/measure-population",
"code": "initial-population",
"display": "Initial Population"
}
]
},
"criteria": {
"language": "text/cql",
"expression": "Initial Population"
}
},
{
"code": {
"coding": [
{
"system": "http://terminology.hl7.org/CodeSystem/measure-population",
"code": "numerator",
"display": "Numerator"
}
]
},
"criteria": {
"language": "text/cql",
"expression": "Numerator"
}
},
{
"code": {
"coding": [
{
"system": "http://terminology.hl7.org/CodeSystem/measure-population",
"code": "denominator",
"display": "Denominator"
}
]
},
"criteria": {
"language": "text/cql",
"expression": "Denominator"
}
},
{
"code": {
"coding": [
{
"system": "http://terminology.hl7.org/CodeSystem/measure-population",
"code": "denominator-exclusion",
"display": "Denominator Exclusion"
}
]
},
"criteria": {
"language": "text/cql",
"expression": "Denominator Exclusion"
}
}
]
}
],
"supplementalData": [
{
"code": {
"text": "sde-ethnicity"
},
"usage": [
{
"coding": [
{
"system": "http://hl7.org/fhir/measure-data-usage",
"code": "supplemental-data"
}
]
}
],
"criteria": {
"language": "text/cql",
"expression": "SDE Ethnicity"
}
},
{
"code": {
"text": "sde-payer"
},
"usage": [
{
"coding": [
{
"system": "http://hl7.org/fhir/measure-data-usage",
"code": "supplemental-data"
}
]
}
],
"criteria": {
"language": "text/cql",
"expression": "SDE Payer"
}
},
{
"code": {
"text": "sde-race"
},
"usage": [
{
"coding": [
{
"system": "http://hl7.org/fhir/measure-data-usage",
"code": "supplemental-data"
}
]
}
],
"criteria": {
"language": "text/cql",
"expression": "SDE Race"
}
},
{
"code": {
"text": "sde-sex"
},
"usage": [
{
"coding": [
{
"system": "http://hl7.org/fhir/measure-data-usage",
"code": "supplemental-data"
}
]
}
],
"criteria": {
"language": "text/cql",
"expression": "SDE Sex"
}
}
]
}