-
Notifications
You must be signed in to change notification settings - Fork 23
/
measure-EXM105_FHIR4-8.1.000.json
401 lines (401 loc) · 480 KB
/
measure-EXM105_FHIR4-8.1.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
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
{
"resourceType": "Measure",
"id": "measure-EXM105-FHIR4-8.1.000",
"meta": {
"lastUpdated": "2020-01-29T22:39:44.006-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\">Discharged on Statin Medication</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\">EXM105</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>Ischemic stroke patients who are prescribed or continuing to take statin medication at hospital discharge</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>LOINC(R) copyright 2004-2018 Regenstrief Institute, Inc. \r\nThis material contains SNOMED Clinical Terms(R) (SNOMED CT[R]) copyright 2004-2018 International Health Terminology Standards Development Organisation. All Rights Reserved.\r\n\r\nMeasure specifications are in the Public Domain.</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>For patients with stroke of atherosclerotic origin, intensive lipid lowering therapy with statins should be initiated</p>\n</div>\r\n </td>\r\n </tr>\r\n \r\n <tr style=\"vertical-align: top;\">\r\n <td rowspan=\"20\" 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>Amarenco, P., Bogousslavsky, J., Callahan, A., III, et al. (2006, August 10). High-dose atorvastatin after stroke or transient ischemic attack. New England Journal of Medicine, 355(6), 549-559.</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>Biffi, A., Devan, W. J., Anderson, C. D., et al. (2011, May). Statin treatment and functional outcome after ischemic stroke: Case-control and meta-analysis. Stroke, 42(5), 1314-1319.</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>Centers for Disease Control and Prevention. (2009, May 1). Prevalence and most common causes of disability among adults United States, 2005. Morbidity and Mortality Weekly Report, 58(16), 421-426.</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>Chan, P. S., Nallamothu, B. K., Gurm, H. S., et al. (2007, May 8). Incremental benefit and cost-effectiveness of high-dose statin therapy in high-risk patients with coronary artery disease. Circulation, 115(18), 2398-2409.</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>Culver, A. L., Ockene, I. S., Balasubramanian, R., et al. (2012, January 23). Statin use and risk of diabetes mellitus in postmenopausal women in the Women's Health Initiative. Archives of Internal Medicine, 172(2), 144-152.</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>Feher, A., Pusch, G., Koltai, K., et al. (2011, April 14). Statin therapy in the primary and the secondary prevention of ischaemic cerebrovascular diseases. International Journal of Cardiology, 148(2), 131-138.</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>Grundy, S. M., Cleeman, J. I., Merz, C. N., et al. (2004, July 13). Implications of recent clinical trials for the National Cholesterol Education Program Adult Treatment Panel III Guidelines. Circulation, 110(2), 227-239.</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>Kernan, W. N., Ovbiagele, B., Black, H. R., et al. (2014, May). Guidelines for the prevention of stroke in patients with stroke and transient ischemic attack: A guideline for health care professionals from the American Heart Association/American Stroke Association. Stroke, 45(7), 2160-2223.</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>Kostis, W. J., Cheng, J. Q., Dobrzynski, J. M., et al. (2012, February 7). Meta-analysis of statin effects in women versus men. Journal of the American College of Cardiology, 59(6), 572-582.</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>Lazar, L. D., Pletcher, M. J., Coxson, P. G., et al. (2011, July 12). Cost-effectiveness of statin therapy for primary prevention in a low-cost statin era. Circulation, 124(2), 146-153.</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>Mitka, M. (2012, March 7). Some question use of statins to reduce cardiovascular risks in healthy women. JAMA, 307(9), 893-894.</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 Cholesterol Education Program Expert Panel on Detection, Evaluation, and Adults Treatment of High Blood Cholesterol in Adults. (2002, December 17). Third report of the National Cholesterol Education Program (NCEP) Expert Panel on Detection, Evaluation, and Treatment of High Blood Cholesterol in Adults (Adult Treatment Panel III) Final report. Circulation, 106(25), 3143-3421.</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>Powers, W. J., Rabinstein, A. A., Ackerson, T., et al. (2018, January). 2018 guidelines for the early management of patients with acute ischemic stroke: A guideline for health care professionals from the American Heart Association/American Stroke Association. Stroke, 49, e44-e47.</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>Rodriguez-Yanez, M., Agulla, J., Rodriguez-Gonzalez, R., et al. (2008, June). Statins and stroke. Therapeutic Advances in Cardiovascular Disease, 2(3), 157-166.</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>Roger, V. L., Go, A. S., Lloyd-Jones, D. M., et al. (2012, January 3). Heart disease and stroke statistics 2012 update: A report from the American Heart Association. Circulation, 125(1), e2-e220.</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>Schellinger, P. D., Bryan, R. N., Caplan, L. R., et al. (2010, July 13). Evidence-based guideline: The role of diffusion and perfusion MRI for the diagnosis of acute ischemic stroke: Report of the Therapeutics and Technology Assessment Subcommittee of the American Academy of Neurology. Neurology, 75(2), 177-185.</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>Squizzato, A., Romualdi, E., Dentali, F., et al. (2011). Statins for acute ischemic stroke. Cochrane Database of Systematic Reviews, 8, CD007551.</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>Stone, N. J., Robinson, J., Lichtenstein, A. H., et al. (2013, November). Guideline on the treatment of blood cholesterol to reduce atherosclerotic cardiovascular disease in adults: A report of the American College of Cardiology/American Heart Association Task Force on Practice Guidelines. Circulation, 11, 1-84.</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>Van Dis, F. J., Keilson, L. M., Rundell, C. A., et al. (1996, June). Direct measurement of serum low-density lipoprotein cholesterol in patients with acute myocardial infarction on admission to the emergency room. American Journal of Cardiology, 77(14), 1232-1234.</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>atients with or without type 2 diabetes mellitus receiving treatment with 3-hydroxy-3-methylglutaryl-coenzyme a reductase inhibitors. Clinical Therapeutics, 25(5), 1490-1497.</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>The "Non-elective Inpatient Encounter" value set intends to capture all non-scheduled hospitalizations. This value set is a subset of the "Inpatient Encounter" value set, excluding concepts that specifically refer to elective hospital admissions. Non-elective Inpatient Encounters include emergency, urgent, and unplanned admissions.</p>\n<p>The "Medication, Discharge" datatype refers to the discharge medication list and is intended to express medications ordered for post-discharge use.</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%\"/>\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\">\tTJC."Encounter with Principal Diagnosis and Age"</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\">\tTJC."Ischemic Stroke Encounter" IschemicStrokeEncounter\r\n\t\twith "Statin at Discharge" DischargeStatin\r\n\t\t\tsuch that DischargeStatin.authoredOn during day of Global."Normalize Interval"(IschemicStrokeEncounter.period)</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\">\tTJC."Ischemic Stroke Encounter"</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\">\tTJC."Ischemic Stroke Encounters with Discharge Disposition"\r\n\t\tunion TJC."Comfort Measures during Hospitalization"</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=\"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\">\tTJC."Ischemic Stroke Encounter"</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 Exception\" type=\"checkbox\"/>\r\n <label for=\"Denominator Exception\" class=\"list-header\"><strong>Denominator Exception</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(\r\n TJC."Ischemic Stroke Encounter" IschemicStrokeEncounter\r\n \twith "Statin Not Given at Discharge" NoDischargeStatin\r\n \t\tsuch that NoDischargeStatin.authoredOn during day of IschemicStrokeEncounter.period\r\n\t) union\r\n\t (\r\n TJC."Ischemic Stroke Encounter" IschemicStrokeEncounter\r\n\t\t with "Statin Allergy" StatinAllergy\r\n\t\t\t such that Global."Normalize Onset"(StatinAllergy.onset) starts on or before end of IschemicStrokeEncounter.period\r\n ) union\r\n "Encounter with Max LDL less than 70 mg per dL"</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\">\tTJC."Ischemic Stroke Encounters with Discharge Disposition"\r\n\t\tunion TJC."Comfort Measures during Hospitalization"</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 Max LDL less than 70 mg per dL\" type=\"checkbox\"/>\r\n <label for=\"Encounter with Max LDL less than 70 mg per dL\" class=\"list-header\"><strong>Encounter with Max LDL less than 70 mg per dL</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\">\tTJC."Ischemic Stroke Encounter" IschemicStrokeEncounter\r\n\t\twhere Max(\r\n ["Observation": "LDL-c"] Ldl\r\n\t\t\t\t where Ldl.status in { 'final', 'amended' }\r\n and Ldl.issued during Interval[IschemicStrokeEncounter.period.start - 30 days, IschemicStrokeEncounter.period.end]\r\n\t\t\t\treturn Ldl.value as Quantity\r\n\t\t) < 70 'mg/dL'</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=\"Global.Inpatient Encounter\" type=\"checkbox\"/>\r\n <label for=\"Global.Inpatient Encounter\" class=\"list-header\"><strong>Global.Inpatient Encounter</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: "Encounter Inpatient"] EncounterInpatient\r\n\t\twhere EncounterInpatient.status = 'finished'\r\n\t\t and "LengthInDays"(EncounterInpatient.period) <= 120\r\n\t\t\tand EncounterInpatient.period ends during "Measurement 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=\"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\">\tTJC."Encounter with Principal Diagnosis and Age"</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\">\tTJC."Ischemic Stroke Encounter" IschemicStrokeEncounter\r\n\t\twith "Statin at Discharge" DischargeStatin\r\n\t\t\tsuch that DischargeStatin.authoredOn during day of Global."Normalize Interval"(IschemicStrokeEncounter.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=\"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=\"SDE.SDE Ethnicity\" type=\"checkbox\"/>\r\n <label for=\"SDE.SDE Ethnicity\" class=\"list-header\"><strong>SDE.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\"> (flatten (\r\n Patient.extension Extension\r\n where Extension.url = 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity'\r\n return Extension.extension\r\n )) E\r\n where E.url = 'ombCategory'\r\n or E.url = 'detailed'\r\n return E.value as Coding</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.SDE Payer\" type=\"checkbox\"/>\r\n <label for=\"SDE.SDE Payer\" class=\"list-header\"><strong>SDE.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\"> [Coverage: type in "Payer"] Payer\r\n return {\r\n code: Payer.type,\r\n period: Payer.period\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=\"SDE.SDE Race\" type=\"checkbox\"/>\r\n <label for=\"SDE.SDE Race\" class=\"list-header\"><strong>SDE.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\"> (flatten (\r\n Patient.extension Extension\r\n where Extension.url = 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-race'\r\n return Extension.extension\r\n )) E\r\n where E.url = 'ombCategory'\r\n or E.url = 'detailed'\r\n return E.value as Coding</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.SDE Sex\" type=\"checkbox\"/>\r\n <label for=\"SDE.SDE Sex\" class=\"list-header\"><strong>SDE.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\"> case \r\n when Patient.gender = 'male' then Code { code: 'M', system: 'http://hl7.org/fhir/v3/AdministrativeGender', display: 'Male' }\r\n when Patient.gender = 'female' then Code { code: 'F', system: 'http://hl7.org/fhir/v3/AdministrativeGender', display: 'Female' }\r\n else null\r\n end</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=\"Statin Allergy\" type=\"checkbox\"/>\r\n <label for=\"Statin Allergy\" class=\"list-header\"><strong>Statin Allergy</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["AllergyIntolerance": "Statin Allergen"] StatinAllergy\r\n where (StatinAllergy.clinicalStatus is null or FHIRHelpers.ToConcept(StatinAllergy.clinicalStatus) ~ Global."allergy-active")\r\n and FHIRHelpers.ToConcept(StatinAllergy.verificationStatus) in { Global."allergy-unconfirmed", Global."allergy-confirmed" }</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=\"Statin at Discharge\" type=\"checkbox\"/>\r\n <label for=\"Statin at Discharge\" class=\"list-header\"><strong>Statin at Discharge</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\"> ["MedicationRequest": medication in "Statin Grouper"] Statin\r\n where exists (Statin.category C where FHIRHelpers.ToConcept(C) in { Global."Community", Global."Discharge" })\r\n and Statin.status in { 'active', 'completed' }\r\n and Statin.intent = 'order'</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=\"Statin Not Given at Discharge\" type=\"checkbox\"/>\r\n <label for=\"Statin Not Given at Discharge\" class=\"list-header\"><strong>Statin Not Given at Discharge</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\"> ["MedicationRequest": medication in "Statin Grouper"] NoStatin\r\n where NoStatin.doNotPerform is true\r\n and (\r\n NoStatin.reasonCode in "Medical Reason"\r\n or NoStatin.reasonCode in "Patient Refusal"\r\n )\r\n and exists (NoStatin.category C where FHIRHelpers.ToConcept(C) in { Global."Community", Global."Discharge" })\r\n and NoStatin.status = 'completed'\r\n and NoStatin.intent = 'order'</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=\"TJC.All Stroke Encounter\" type=\"checkbox\"/>\r\n <label for=\"TJC.All Stroke Encounter\" class=\"list-header\"><strong>TJC.All Stroke Encounter</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"Non Elective Inpatient Encounter" NonElectiveEncounter\r\n where Global.PrincipalDiagnosis(NonElectiveEncounter).code in "Hemorrhagic Stroke"\r\n or Global.PrincipalDiagnosis(NonElectiveEncounter).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=\"TJC.Comfort Measures during Hospitalization\" type=\"checkbox\"/>\r\n <label for=\"TJC.Comfort Measures during Hospitalization\" class=\"list-header\"><strong>TJC.Comfort Measures during Hospitalization</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"Ischemic Stroke Encounter" IschemicStrokeEncounter\r\n \twith "Intervention Comfort Measures" ComfortMeasure\r\n \tsuch that FHIRHelpers.ToDateTime(Coalesce(ComfortMeasure.performed as dateTime,ComfortMeasure.authoredOn)) during Global."HospitalizationWithObservation"(IschemicStrokeEncounter)</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=\"TJC.Encounter with Principal Diagnosis and Age\" type=\"checkbox\"/>\r\n <label for=\"TJC.Encounter with Principal Diagnosis and Age\" class=\"list-header\"><strong>TJC.Encounter with Principal Diagnosis and Age</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"All Stroke Encounter" AllStrokeEncounter\r\n\t\twith ["Patient"] BirthDate\r\n\t\t\tsuch that Global."CalendarAgeInYearsAt"(FHIRHelpers.ToDate(BirthDate.birthDate), start of FHIRHelpers.ToInterval(AllStrokeEncounter.period)) >= 18</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=\"TJC.Intervention Comfort Measures\" type=\"checkbox\"/>\r\n <label for=\"TJC.Intervention Comfort Measures\" class=\"list-header\"><strong>TJC.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\t\tunion\r\n\t\t(["Procedure": "Comfort Measures"] InterventionPerformed\r\n\t\twhere InterventionPerformed.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=\"TJC.Ischemic Stroke Encounter\" type=\"checkbox\"/>\r\n <label for=\"TJC.Ischemic Stroke Encounter\" class=\"list-header\"><strong>TJC.Ischemic Stroke Encounter</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 Principal Diagnosis and Age" EncounterWithAge\r\n\t\twhere Global.PrincipalDiagnosis(EncounterWithAge).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=\"TJC.Ischemic Stroke Encounters with Discharge Disposition\" type=\"checkbox\"/>\r\n <label for=\"TJC.Ischemic Stroke Encounters with Discharge Disposition\" class=\"list-header\"><strong>TJC.Ischemic Stroke Encounters with Discharge Disposition</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"Ischemic Stroke Encounter" IschemicStrokeEncounter\r\n\t\twhere IschemicStrokeEncounter.hospitalization.dischargeDisposition in "Discharge To Acute Care Facility"\r\n\t\t\tor IschemicStrokeEncounter.hospitalization.dischargeDisposition in "Left Against Medical Advice"\r\n\t\t\tor IschemicStrokeEncounter.hospitalization.dischargeDisposition in "Patient Expired"\r\n\t\t\tor IschemicStrokeEncounter.hospitalization.dischargeDisposition in "Discharged to Home for Hospice Care"\r\n\t\t\tor IschemicStrokeEncounter.hospitalization.dischargeDisposition in "Discharged to Health Care Facility for Hospice Care"</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=\"TJC.Non Elective Inpatient Encounter\" type=\"checkbox\"/>\r\n <label for=\"TJC.Non Elective Inpatient Encounter\" class=\"list-header\"><strong>TJC.Non Elective Inpatient Encounter</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": "Non-Elective Inpatient Encounter"] NonElectiveEncounter\r\n\t\twhere Global."LengthInDays"(NonElectiveEncounter.period) <= 120\r\n\t\t\tand NonElectiveEncounter.period ends during "Measurement 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 <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=\"FHIRHelpers.ToBoolean\" type=\"checkbox\"/>\r\n <label for=\"FHIRHelpers.ToBoolean\" class=\"list-header\"><strong>FHIRHelpers.ToBoolean</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 ToBoolean(value FHIR.boolean): value.value</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=\"FHIRHelpers.ToCode\" type=\"checkbox\"/>\r\n <label for=\"FHIRHelpers.ToCode\" class=\"list-header\"><strong>FHIRHelpers.ToCode</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 ToCode(coding FHIR.Coding):\r\n if coding is null then\r\n null\r\n else\r\n System.Code {\r\n code: coding.code.value,\r\n system: coding.system.value,\r\n version: coding.version.value,\r\n display: coding.display.value\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=\"FHIRHelpers.ToConcept\" type=\"checkbox\"/>\r\n <label for=\"FHIRHelpers.ToConcept\" class=\"list-header\"><strong>FHIRHelpers.ToConcept</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 ToConcept(concept FHIR.CodeableConcept):\r\n if concept is null then\r\n null\r\n else\r\n System.Concept {\r\n codes: concept.coding C return ToCode(C),\r\n display: concept.text.value\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=\"FHIRHelpers.ToDate\" type=\"checkbox\"/>\r\n <label for=\"FHIRHelpers.ToDate\" class=\"list-header\"><strong>FHIRHelpers.ToDate</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 ToDate(value FHIR.date): value.value</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=\"FHIRHelpers.ToDateTime\" type=\"checkbox\"/>\r\n <label for=\"FHIRHelpers.ToDateTime\" class=\"list-header\"><strong>FHIRHelpers.ToDateTime</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 ToDateTime(value FHIR.instant): value.value</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=\"FHIRHelpers.ToDateTime\" type=\"checkbox\"/>\r\n <label for=\"FHIRHelpers.ToDateTime\" class=\"list-header\"><strong>FHIRHelpers.ToDateTime</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 ToDateTime(value FHIR.dateTime): value.value</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=\"FHIRHelpers.ToDecimal\" type=\"checkbox\"/>\r\n <label for=\"FHIRHelpers.ToDecimal\" class=\"list-header\"><strong>FHIRHelpers.ToDecimal</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 ToDecimal(value FHIR.decimal): value.value</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=\"FHIRHelpers.ToInteger\" type=\"checkbox\"/>\r\n <label for=\"FHIRHelpers.ToInteger\" class=\"list-header\"><strong>FHIRHelpers.ToInteger</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 ToInteger(value FHIR.positiveInt): value.value</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=\"FHIRHelpers.ToInteger\" type=\"checkbox\"/>\r\n <label for=\"FHIRHelpers.ToInteger\" class=\"list-header\"><strong>FHIRHelpers.ToInteger</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 ToInteger(value FHIR.unsignedInt): value.value</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=\"FHIRHelpers.ToInteger\" type=\"checkbox\"/>\r\n <label for=\"FHIRHelpers.ToInteger\" class=\"list-header\"><strong>FHIRHelpers.ToInteger</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 ToInteger(value FHIR.integer): value.value</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=\"FHIRHelpers.ToInterval\" type=\"checkbox\"/>\r\n <label for=\"FHIRHelpers.ToInterval\" class=\"list-header\"><strong>FHIRHelpers.ToInterval</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 ToInterval(period FHIR.Period):\r\n if period is null then\r\n null\r\n else\r\n Interval[period."start".value, period."end".value]</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=\"FHIRHelpers.ToInterval\" type=\"checkbox\"/>\r\n <label for=\"FHIRHelpers.ToInterval\" class=\"list-header\"><strong>FHIRHelpers.ToInterval</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 ToInterval(range FHIR.Range):\r\n if range is null then\r\n null\r\n else\r\n Interval[ToQuantity(range.low), ToQuantity(range.high)]</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=\"FHIRHelpers.ToQuantity\" type=\"checkbox\"/>\r\n <label for=\"FHIRHelpers.ToQuantity\" class=\"list-header\"><strong>FHIRHelpers.ToQuantity</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 ToQuantity(quantity FHIR.Quantity):\r\n if quantity is null then\r\n null\r\n else\r\n System.Quantity { value: quantity.value.value, unit: quantity.unit.value }</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=\"FHIRHelpers.ToString\" type=\"checkbox\"/>\r\n <label for=\"FHIRHelpers.ToString\" class=\"list-header\"><strong>FHIRHelpers.ToString</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 ToString(value FHIR.uuid): value.value</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=\"FHIRHelpers.ToString\" type=\"checkbox\"/>\r\n <label for=\"FHIRHelpers.ToString\" class=\"list-header\"><strong>FHIRHelpers.ToString</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 ToString(value FHIR.TestScriptRequestMethodCode): value.value</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=\"FHIRHelpers.ToString\" type=\"checkbox\"/>\r\n <label for=\"FHIRHelpers.ToString\" class=\"list-header\"><strong>FHIRHelpers.ToString</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 ToString(value FHIR.SortDirection): value.value</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=\"FHIRHelpers.ToString\" type=\"checkbox\"/>\r\n <label for=\"FHIRHelpers.ToString\" class=\"list-header\"><strong>FHIRHelpers.ToString</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 ToString(value FHIR.BiologicallyDerivedProductStatus): value.value</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=\"FHIRHelpers.ToString\" type=\"checkbox\"/>\r\n <label for=\"FHIRHelpers.ToString\" class=\"list-header\"><strong>FHIRHelpers.ToString</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 ToString(value FHIR.UnitsOfTime): value.value</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=\"FHIRHelpers.ToString\" type=\"checkbox\"/>\r\n <label for=\"FHIRHelpers.ToString\" class=\"list-header\"><strong>FHIRHelpers.ToString</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 ToString(value FHIR.AddressType): value.value</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=\"FHIRHelpers.ToString\" type=\"checkbox\"/>\r\n <label for=\"FHIRHelpers.ToString\" class=\"list-header\"><strong>FHIRHelpers.ToString</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 ToString(value FHIR.AllergyIntoleranceCategory): value.value</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=\"FHIRHelpers.ToString\" type=\"checkbox\"/>\r\n <label for=\"FHIRHelpers.ToString\" class=\"list-header\"><strong>FHIRHelpers.ToString</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 ToString(value FHIR.IssueSeverity): value.value</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=\"FHIRHelpers.ToString\" type=\"checkbox\"/>\r\n <label for=\"FHIRHelpers.ToString\" class=\"list-header\"><strong>FHIRHelpers.ToString</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 ToString(value FHIR.CareTeamStatus): value.value</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=\"FHIRHelpers.ToString\" type=\"checkbox\"/>\r\n <label for=\"FHIRHelpers.ToString\" class=\"list-header\"><strong>FHIRHelpers.ToString</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 ToString(value FHIR.EncounterStatus): value.value</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=\"FHIRHelpers.ToString\" type=\"checkbox\"/>\r\n <label for=\"FHIRHelpers.ToString\" class=\"list-header\"><strong>FHIRHelpers.ToString</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 ToString(value FHIR.StructureDefinitionKind): value.value</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=\"FHIRHelpers.ToString\" type=\"checkbox\"/>\r\n <label for=\"FHIRHelpers.ToString\" class=\"list-header\"><strong>FHIRHelpers.ToString</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 ToString(value FHIR.PublicationStatus): value.value</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=\"FHIRHelpers.ToString\" type=\"checkbox\"/>\r\n <label for=\"FHIRHelpers.ToString\" class=\"list-header\"><strong>FHIRHelpers.ToString</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 ToString(value FHIR.FHIRVersion): value.value</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=\"FHIRHelpers.ToString\" type=\"checkbox\"/>\r\n <label for=\"FHIRHelpers.ToString\" class=\"list-header\"><strong>FHIRHelpers.ToString</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 ToString(value FHIR.CarePlanActivityKind): value.value</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=\"FHIRHelpers.ToString\" type=\"checkbox\"/>\r\n <label for=\"FHIRHelpers.ToString\" class=\"list-header\"><strong>FHIRHelpers.ToString</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 ToString(value FHIR.StructureMapSourceListMode): value.value</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=\"FHIRHelpers.ToString\" type=\"checkbox\"/>\r\n <label for=\"FHIRHelpers.ToString\" class=\"list-header\"><strong>FHIRHelpers.ToString</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 ToString(value FHIR.RequestStatus): value.value</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=\"FHIRHelpers.ToString\" type=\"checkbox\"/>\r\n <label for=\"FHIRHelpers.ToString\" class=\"list-header\"><strong>FHIRHelpers.ToString</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 ToString(value FHIR.strandType): value.value</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=\"FHIRHelpers.ToString\" type=\"checkbox\"/>\r\n <label for=\"FHIRHelpers.ToString\" class=\"list-header\"><strong>FHIRHelpers.ToString</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 ToString(value FHIR.QuestionnaireResponseStatus): value.value</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=\"FHIRHelpers.ToString\" type=\"checkbox\"/>\r\n <label for=\"FHIRHelpers.ToString\" class=\"list-header\"><strong>FHIRHelpers.ToString</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 ToString(value FHIR.SearchComparator): value.value</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=\"FHIRHelpers.ToString\" type=\"checkbox\"/>\r\n <label for=\"FHIRHelpers.ToString\" class=\"list-header\"><strong>FHIRHelpers.ToString</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 ToString(value FHIR.ChargeItemStatus): value.value</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=\"FHIRHelpers.ToString\" type=\"checkbox\"/>\r\n <label for=\"FHIRHelpers.ToString\" class=\"list-header\"><strong>FHIRHelpers.ToString</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 ToString(value FHIR.ActionParticipantType): value.value</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=\"FHIRHelpers.ToString\" type=\"checkbox\"/>\r\n <label for=\"FHIRHelpers.ToString\" class=\"list-header\"><strong>FHIRHelpers.ToString</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 ToString(value FHIR.AllergyIntoleranceType): value.value</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=\"FHIRHelpers.ToString\" type=\"checkbox\"/>\r\n <label for=\"FHIRHelpers.ToString\" class=\"list-header\"><strong>FHIRHelpers.ToString</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 ToString(value FHIR.CarePlanActivityStatus): value.value</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=\"FHIRHelpers.ToString\" type=\"checkbox\"/>\r\n <label for=\"FHIRHelpers.ToString\" class=\"list-header\"><strong>FHIRHelpers.ToString</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 ToString(value FHIR.InvoiceStatus): value.value</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=\"FHIRHelpers.ToString\" type=\"checkbox\"/>\r\n <label for=\"FHIRHelpers.ToString\" class=\"list-header\"><strong>FHIRHelpers.ToString</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 ToString(value FHIR.ClaimProcessingCodes): value.value</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=\"FHIRHelpers.ToString\" type=\"checkbox\"/>\r\n <label for=\"FHIRHelpers.ToString\" class=\"list-header\"><strong>FHIRHelpers.ToString</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 ToString(value FHIR.RequestResourceType): value.value</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=\"FHIRHelpers.ToString\" type=\"checkbox\"/>\r\n <label for=\"FHIRHelpers.ToString\" class=\"list-header\"><strong>FHIRHelpers.ToString</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 ToString(value FHIR.ParticipationStatus): value.value</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=\"FHIRHelpers.ToString\" type=\"checkbox\"/>\r\n <label for=\"FHIRHelpers.ToString\" class=\"list-header\"><strong>FHIRHelpers.ToString</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 ToString(value FHIR.DeviceNameType): value.value</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=\"FHIRHelpers.ToString\" type=\"checkbox\"/>\r\n <label for=\"FHIRHelpers.ToString\" class=\"list-header\"><strong>FHIRHelpers.ToString</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 ToString(value FHIR.DocumentMode): value.value</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=\"FHIRHelpers.ToString\" type=\"checkbox\"/>\r\n <label for=\"FHIRHelpers.ToString\" class=\"list-header\"><strong>FHIRHelpers.ToString</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 ToString(value FHIR.AssertionOperatorType): value.value</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=\"FHIRHelpers.ToString\" type=\"checkbox\"/>\r\n <label for=\"FHIRHelpers.ToString\" class=\"list-header\"><strong>FHIRHelpers.ToString</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 ToString(value FHIR.DaysOfWeek): value.value</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=\"FHIRHelpers.ToString\" type=\"checkbox\"/>\r\n <label for=\"FHIRHelpers.ToString\" class=\"list-header\"><strong>FHIRHelpers.ToString</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 ToString(value FHIR.IssueType): value.value</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=\"FHIRHelpers.ToString\" type=\"checkbox\"/>\r\n <label for=\"FHIRHelpers.ToString\" class=\"list-header\"><strong>FHIRHelpers.ToString</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 ToString(value FHIR.canonical): value.value</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=\"FHIRHelpers.ToString\" type=\"checkbox\"/>\r\n <label for=\"FHIRHelpers.ToString\" class=\"list-header\"><strong>FHIRHelpers.ToString</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 ToString(value FHIR.StructureMapContextType): value.value</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=\"FHIRHelpers.ToString\" type=\"checkbox\"/>\r\n <label for=\"FHIRHelpers.ToString\" class=\"list-header\"><strong>FHIRHelpers.ToString</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 ToString(value FHIR.FamilyHistoryStatus): value.value</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=\"FHIRHelpers.ToString\" type=\"checkbox\"/>\r\n <label for=\"FHIRHelpers.ToString\" class=\"list-header\"><strong>FHIRHelpers.ToString</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 ToString(value FHIR.status): value.value</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=\"FHIRHelpers.ToString\" type=\"checkbox\"/>\r\n <label for=\"FHIRHelpers.ToString\" class=\"list-header\"><strong>FHIRHelpers.ToString</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 ToString(value FHIR.ExtensionContextType): value.value</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=\"FHIRHelpers.ToString\" type=\"checkbox\"/>\r\n <label for=\"FHIRHelpers.ToString\" class=\"list-header\"><strong>FHIRHelpers.ToString</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 ToString(value FHIR.AssertionResponseTypes): value.value</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=\"FHIRHelpers.ToString\" type=\"checkbox\"/>\r\n <label for=\"FHIRHelpers.ToString\" class=\"list-header\"><strong>FHIRHelpers.ToString</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 ToString(value FHIR.RequestIntent): value.value</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=\"FHIRHelpers.ToString\" type=\"checkbox\"/>\r\n <label for=\"FHIRHelpers.ToString\" class=\"list-header\"><strong>FHIRHelpers.ToString</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 ToString(value FHIR.string): value.value</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=\"FHIRHelpers.ToString\" type=\"checkbox\"/>\r\n <label for=\"FHIRHelpers.ToString\" class=\"list-header\"><strong>FHIRHelpers.ToString</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 ToString(value FHIR.ActionRequiredBehavior): value.value</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=\"FHIRHelpers.ToString\" type=\"checkbox\"/>\r\n <label for=\"FHIRHelpers.ToString\" class=\"list-header\"><strong>FHIRHelpers.ToString</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 ToString(value FHIR.GraphCompartmentUse): value.value</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=\"FHIRHelpers.ToString\" type=\"checkbox\"/>\r\n <label for=\"FHIRHelpers.ToString\" class=\"list-header\"><strong>FHIRHelpers.ToString</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 ToString(value FHIR.orientationType): value.value</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=\"FHIRHelpers.ToString\" type=\"checkbox\"/>\r\n <label for=\"FHIRHelpers.ToString\" class=\"list-header\"><strong>FHIRHelpers.ToString</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 ToString(value FHIR.AccountStatus): value.value</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=\"FHIRHelpers.ToString\" type=\"checkbox\"/>\r\n <label for=\"FHIRHelpers.ToString\" class=\"list-header\"><strong>FHIRHelpers.ToString</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 ToString(value FHIR.IdentifierUse): value.value</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=\"FHIRHelpers.ToString\" type=\"checkbox\"/>\r\n <label for=\"FHIRHelpers.ToString\" class=\"list-header\"><strong>FHIRHelpers.ToString</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 ToString(value FHIR.StructureMapTargetListMode): value.value</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=\"FHIRHelpers.ToString\" type=\"checkbox\"/>\r\n <label for=\"FHIRHelpers.ToString\" class=\"list-header\"><strong>FHIRHelpers.ToString</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 ToString(value FHIR.ExposureState): value.value</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=\"FHIRHelpers.ToString\" type=\"checkbox\"/>\r\n <label for=\"FHIRHelpers.ToString\" class=\"list-header\"><strong>FHIRHelpers.ToString</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 ToString(value FHIR.TestReportParticipantType): value.value</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=\"FHIRHelpers.ToString\" type=\"checkbox\"/>\r\n <label for=\"FHIRHelpers.ToString\" class=\"list-header\"><strong>FHIRHelpers.ToString</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 ToString(value FHIR.BindingStrength): value.value</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=\"FHIRHelpers.ToString\" type=\"checkbox\"/>\r\n <label for=\"FHIRHelpers.ToString\" class=\"list-header\"><strong>FHIRHelpers.ToString</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 ToString(value FHIR.RequestPriority): value.value</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=\"FHIRHelpers.ToString\" type=\"checkbox\"/>\r\n <label for=\"FHIRHelpers.ToString\" class=\"list-header\"><strong>FHIRHelpers.ToString</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 ToString(value FHIR.ParticipantRequired): value.value</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=\"FHIRHelpers.ToString\" type=\"checkbox\"/>\r\n <label for=\"FHIRHelpers.ToString\" class=\"list-header\"><strong>FHIRHelpers.ToString</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 ToString(value FHIR.XPathUsageType): value.value</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=\"FHIRHelpers.ToString\" type=\"checkbox\"/>\r\n <label for=\"FHIRHelpers.ToString\" class=\"list-header\"><strong>FHIRHelpers.ToString</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 ToString(value FHIR.id): value.value</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=\"FHIRHelpers.ToString\" type=\"checkbox\"/>\r\n <label for=\"FHIRHelpers.ToString\" class=\"list-header\"><strong>FHIRHelpers.ToString</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 ToString(value FHIR.FilterOperator): value.value</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=\"FHIRHelpers.ToString\" type=\"checkbox\"/>\r\n <label for=\"FHIRHelpers.ToString\" class=\"list-header\"><strong>FHIRHelpers.ToString</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 ToString(value FHIR.NamingSystemType): value.value</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=\"FHIRHelpers.ToString\" type=\"checkbox\"/>\r\n <label for=\"FHIRHelpers.ToString\" class=\"list-header\"><strong>FHIRHelpers.ToString</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 ToString(value FHIR.ContractResourceStatusCodes): value.value</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=\"FHIRHelpers.ToString\" type=\"checkbox\"/>\r\n <label for=\"FHIRHelpers.ToString\" class=\"list-header\"><strong>FHIRHelpers.ToString</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 ToString(value FHIR.ResearchSubjectStatus): value.value</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=\"FHIRHelpers.ToString\" type=\"checkbox\"/>\r\n <label for=\"FHIRHelpers.ToString\" class=\"list-header\"><strong>FHIRHelpers.ToString</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 ToString(value FHIR.StructureMapTransform): value.value</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=\"FHIRHelpers.ToString\" type=\"checkbox\"/>\r\n <label for=\"FHIRHelpers.ToString\" class=\"list-header\"><strong>FHIRHelpers.ToString</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 ToString(value FHIR.ResponseType): value.value</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=\"FHIRHelpers.ToString\" type=\"checkbox\"/>\r\n <label for=\"FHIRHelpers.ToString\" class=\"list-header\"><strong>FHIRHelpers.ToString</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 ToString(value FHIR.AggregationMode): value.value</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=\"FHIRHelpers.ToString\" type=\"checkbox\"/>\r\n <label for=\"FHIRHelpers.ToString\" class=\"list-header\"><strong>FHIRHelpers.ToString</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 ToString(value FHIR.sequenceType): value.value</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=\"FHIRHelpers.ToString\" type=\"checkbox\"/>\r\n <label for=\"FHIRHelpers.ToString\" class=\"list-header\"><strong>FHIRHelpers.ToString</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 ToString(value FHIR.SystemRestfulInteraction): value.value</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=\"FHIRHelpers.ToString\" type=\"checkbox\"/>\r\n <label for=\"FHIRHelpers.ToString\" class=\"list-header\"><strong>FHIRHelpers.ToString</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 ToString(value FHIR.AdverseEventActuality): value.value</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=\"FHIRHelpers.ToString\" type=\"checkbox\"/>\r\n <label for=\"FHIRHelpers.ToString\" class=\"list-header\"><strong>FHIRHelpers.ToString</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 ToString(value FHIR.SubscriptionChannelType): value.value</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=\"FHIRHelpers.ToString\" type=\"checkbox\"/>\r\n <label for=\"FHIRHelpers.ToString\" class=\"list-header\"><strong>FHIRHelpers.ToString</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 ToString(value FHIR.AssertionDirectionType): value.value</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=\"FHIRHelpers.ToString\" type=\"checkbox\"/>\r\n <label for=\"FHIRHelpers.ToString\" class=\"list-header\"><strong>FHIRHelpers.ToString</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 ToString(value FHIR.CarePlanIntent): value.value</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=\"FHIRHelpers.ToString\" type=\"checkbox\"/>\r\n <label for=\"FHIRHelpers.ToString\" class=\"list-header\"><strong>FHIRHelpers.ToString</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 ToString(value FHIR.AllergyIntoleranceCriticality): value.value</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=\"FHIRHelpers.ToString\" type=\"checkbox\"/>\r\n <label for=\"FHIRHelpers.ToString\" class=\"list-header\"><strong>FHIRHelpers.ToString</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 ToString(value FHIR.PropertyRepresentation): value.value</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=\"FHIRHelpers.ToString\" type=\"checkbox\"/>\r\n <label for=\"FHIRHelpers.ToString\" class=\"list-header\"><strong>FHIRHelpers.ToString</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 ToString(value FHIR.TriggerType): value.value</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=\"FHIRHelpers.ToString\" type=\"checkbox\"/>\r\n <label for=\"FHIRHelpers.ToString\" class=\"list-header\"><strong>FHIRHelpers.ToString</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 ToString(value FHIR.CompositionStatus): value.value</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=\"FHIRHelpers.ToString\" type=\"checkbox\"/>\r\n <label for=\"FHIRHelpers.ToString\" class=\"list-header\"><strong>FHIRHelpers.ToString</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 ToString(value FHIR.AppointmentStatus): value.value</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=\"FHIRHelpers.ToString\" type=\"checkbox\"/>\r\n <label for=\"FHIRHelpers.ToString\" class=\"list-header\"><strong>FHIRHelpers.ToString</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 ToString(value FHIR.MessageSignificanceCategory): value.value</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=\"FHIRHelpers.ToString\" type=\"checkbox\"/>\r\n <label for=\"FHIRHelpers.ToString\" class=\"list-header\"><strong>FHIRHelpers.ToString</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 ToString(value FHIR.ListMode): value.value</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=\"FHIRHelpers.ToString\" type=\"checkbox\"/>\r\n <label for=\"FHIRHelpers.ToString\" class=\"list-header\"><strong>FHIRHelpers.ToString</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 ToString(value FHIR.ResearchElementType): value.value</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=\"FHIRHelpers.ToString\" type=\"checkbox\"/>\r\n <label for=\"FHIRHelpers.ToString\" class=\"list-header\"><strong>FHIRHelpers.ToString</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 ToString(value FHIR.ObservationStatus): value.value</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=\"FHIRHelpers.ToString\" type=\"checkbox\"/>\r\n <label for=\"FHIRHelpers.ToString\" class=\"list-header\"><strong>FHIRHelpers.ToString</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 ToString(value FHIR.ResourceType): value.value</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=\"FHIRHelpers.ToString\" type=\"checkbox\"/>\r\n <label for=\"FHIRHelpers.ToString\" class=\"list-header\"><strong>FHIRHelpers.ToString</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 ToString(value FHIR.StructureMapGroupTypeMode): value.value</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=\"FHIRHelpers.ToString\" type=\"checkbox\"/>\r\n <label for=\"FHIRHelpers.ToString\" class=\"list-header\"><strong>FHIRHelpers.ToString</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 ToString(value FHIR.SupplyRequestStatus): value.value</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=\"FHIRHelpers.ToString\" type=\"checkbox\"/>\r\n <label for=\"FHIRHelpers.ToString\" class=\"list-header\"><strong>FHIRHelpers.ToString</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 ToString(value FHIR.EncounterLocationStatus): value.value</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=\"FHIRHelpers.ToString\" type=\"checkbox\"/>\r\n <label for=\"FHIRHelpers.ToString\" class=\"list-header\"><strong>FHIRHelpers.ToString</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 ToString(value FHIR.ConditionalDeleteStatus): value.value</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=\"FHIRHelpers.ToString\" type=\"checkbox\"/>\r\n <label for=\"FHIRHelpers.ToString\" class=\"list-header\"><strong>FHIRHelpers.ToString</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 ToString(value FHIR.url): value.value</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=\"FHIRHelpers.ToString\" type=\"checkbox\"/>\r\n <label for=\"FHIRHelpers.ToString\" class=\"list-header\"><strong>FHIRHelpers.ToString</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 ToString(value FHIR.uri): value.value</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=\"FHIRHelpers.ToString\" type=\"checkbox\"/>\r\n <label for=\"FHIRHelpers.ToString\" class=\"list-header\"><strong>FHIRHelpers.ToString</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 ToString(value FHIR.Use): value.value</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=\"FHIRHelpers.ToString\" type=\"checkbox\"/>\r\n <label for=\"FHIRHelpers.ToString\" class=\"list-header\"><strong>FHIRHelpers.ToString</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 ToString(value FHIR.MedicationRequestStatus): value.value</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=\"FHIRHelpers.ToString\" type=\"checkbox\"/>\r\n <label for=\"FHIRHelpers.ToString\" class=\"list-header\"><strong>FHIRHelpers.ToString</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 ToString(value FHIR.IdentityAssuranceLevel): value.value</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=\"FHIRHelpers.ToString\" type=\"checkbox\"/>\r\n <label for=\"FHIRHelpers.ToString\" class=\"list-header\"><strong>FHIRHelpers.ToString</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 ToString(value FHIR.DeviceMetricColor): value.value</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=\"FHIRHelpers.ToString\" type=\"checkbox\"/>\r\n <label for=\"FHIRHelpers.ToString\" class=\"list-header\"><strong>FHIRHelpers.ToString</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 ToString(value FHIR.ConditionalReadStatus): value.value</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=\"FHIRHelpers.ToString\" type=\"checkbox\"/>\r\n <label for=\"FHIRHelpers.ToString\" class=\"list-header\"><strong>FHIRHelpers.ToString</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 ToString(value FHIR.AllergyIntoleranceSeverity): value.value</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=\"FHIRHelpers.ToString\" type=\"checkbox\"/>\r\n <label for=\"FHIRHelpers.ToString\" class=\"list-header\"><strong>FHIRHelpers.ToString</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 ToString(value FHIR.FinancialResourceStatusCodes): value.value</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=\"FHIRHelpers.ToString\" type=\"checkbox\"/>\r\n <label for=\"FHIRHelpers.ToString\" class=\"list-header\"><strong>FHIRHelpers.ToString</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 ToString(value FHIR.OperationKind): value.value</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=\"FHIRHelpers.ToString\" type=\"checkbox\"/>\r\n <label for=\"FHIRHelpers.ToString\" class=\"list-header\"><strong>FHIRHelpers.ToString</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 ToString(value FHIR.SubscriptionStatus): value.value</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=\"FHIRHelpers.ToString\" type=\"checkbox\"/>\r\n <label for=\"FHIRHelpers.ToString\" class=\"list-header\"><strong>FHIRHelpers.ToString</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 ToString(value FHIR.GoalLifecycleStatus): value.value</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=\"FHIRHelpers.ToString\" type=\"checkbox\"/>\r\n <label for=\"FHIRHelpers.ToString\" class=\"list-header\"><strong>FHIRHelpers.ToString</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 ToString(value FHIR.ObservationDataType): value.value</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=\"FHIRHelpers.ToString\" type=\"checkbox\"/>\r\n <label for=\"FHIRHelpers.ToString\" class=\"list-header\"><strong>FHIRHelpers.ToString</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 ToString(value FHIR.DocumentReferenceStatus): value.value</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=\"FHIRHelpers.ToString\" type=\"checkbox\"/>\r\n <label for=\"FHIRHelpers.ToString\" class=\"list-header\"><strong>FHIRHelpers.ToString</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 ToString(value FHIR.repositoryType): value.value</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=\"FHIRHelpers.ToString\" type=\"checkbox\"/>\r\n <label for=\"FHIRHelpers.ToString\" class=\"list-header\"><strong>FHIRHelpers.ToString</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 ToString(value FHIR.LocationStatus): value.value</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=\"FHIRHelpers.ToString\" type=\"checkbox\"/>\r\n <label for=\"FHIRHelpers.ToString\" class=\"list-header\"><strong>FHIRHelpers.ToString</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 ToString(value FHIR.NoteType): value.value</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=\"FHIRHelpers.ToString\" type=\"checkbox\"/>\r\n <label for=\"FHIRHelpers.ToString\" class=\"list-header\"><strong>FHIRHelpers.ToString</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 ToString(value FHIR.TestReportStatus): value.value</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=\"FHIRHelpers.ToString\" type=\"checkbox\"/>\r\n <label for=\"FHIRHelpers.ToString\" class=\"list-header\"><strong>FHIRHelpers.ToString</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 ToString(value FHIR.CodeSystemContentMode): value.value</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=\"FHIRHelpers.ToString\" type=\"checkbox\"/>\r\n <label for=\"FHIRHelpers.ToString\" class=\"list-header\"><strong>FHIRHelpers.ToString</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 ToString(value FHIR.FHIRDeviceStatus): value.value</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=\"FHIRHelpers.ToString\" type=\"checkbox\"/>\r\n <label for=\"FHIRHelpers.ToString\" class=\"list-header\"><strong>FHIRHelpers.ToString</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 ToString(value FHIR.ContactPointSystem): value.value</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=\"FHIRHelpers.ToString\" type=\"checkbox\"/>\r\n <label for=\"FHIRHelpers.ToString\" class=\"list-header\"><strong>FHIRHelpers.ToString</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 ToString(value FHIR.SlotStatus): value.value</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=\"FHIRHelpers.ToString\" type=\"checkbox\"/>\r\n <label for=\"FHIRHelpers.ToString\" class=\"list-header\"><strong>FHIRHelpers.ToString</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 ToString(value FHIR.PropertyType): value.value</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=\"FHIRHelpers.ToString\" type=\"checkbox\"/>\r\n <label for=\"FHIRHelpers.ToString\" class=\"list-header\"><strong>FHIRHelpers.ToString</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 ToString(value FHIR.TypeDerivationRule): value.value</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=\"FHIRHelpers.ToString\" type=\"checkbox\"/>\r\n <label for=\"FHIRHelpers.ToString\" class=\"list-header\"><strong>FHIRHelpers.ToString</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 ToString(value FHIR.GuidanceResponseStatus): value.value</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=\"FHIRHelpers.ToString\" type=\"checkbox\"/>\r\n <label for=\"FHIRHelpers.ToString\" class=\"list-header\"><strong>FHIRHelpers.ToString</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 ToString(value FHIR.RelatedArtifactType): value.value</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=\"FHIRHelpers.ToString\" type=\"checkbox\"/>\r\n <label for=\"FHIRHelpers.ToString\" class=\"list-header\"><strong>FHIRHelpers.ToString</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 ToString(value FHIR.oid): value.value</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=\"FHIRHelpers.ToString\" type=\"checkbox\"/>\r\n <label for=\"FHIRHelpers.ToString\" class=\"list-header\"><strong>FHIRHelpers.ToString</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 ToString(value FHIR.CompartmentType): value.value</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=\"FHIRHelpers.ToString\" type=\"checkbox\"/>\r\n <label for=\"FHIRHelpers.ToString\" class=\"list-header\"><strong>FHIRHelpers.ToString</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 ToString(value FHIR.MedicationRequestIntent): value.value</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=\"FHIRHelpers.ToString\" type=\"checkbox\"/>\r\n <label for=\"FHIRHelpers.ToString\" class=\"list-header\"><strong>FHIRHelpers.ToString</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 ToString(value FHIR.InvoicePriceComponentType): value.value</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=\"FHIRHelpers.ToString\" type=\"checkbox\"/>\r\n <label for=\"FHIRHelpers.ToString\" class=\"list-header\"><strong>FHIRHelpers.ToString</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 ToString(value FHIR.DeviceMetricCalibrationState): value.value</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=\"FHIRHelpers.ToString\" type=\"checkbox\"/>\r\n <label for=\"FHIRHelpers.ToString\" class=\"list-header\"><strong>FHIRHelpers.ToString</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 ToString(value FHIR.GroupType): value.value</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=\"FHIRHelpers.ToString\" type=\"checkbox\"/>\r\n <label for=\"FHIRHelpers.ToString\" class=\"list-header\"><strong>FHIRHelpers.ToString</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 ToString(value FHIR.EnableWhenBehavior): value.value</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=\"FHIRHelpers.ToString\" type=\"checkbox\"/>\r\n <label for=\"FHIRHelpers.ToString\" class=\"list-header\"><strong>FHIRHelpers.ToString</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 ToString(value FHIR.TaskIntent): value.value</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=\"FHIRHelpers.ToString\" type=\"checkbox\"/>\r\n <label for=\"FHIRHelpers.ToString\" class=\"list-header\"><strong>FHIRHelpers.ToString</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 ToString(value FHIR.ImmunizationEvaluationStatusCodes): value.value</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=\"FHIRHelpers.ToString\" type=\"checkbox\"/>\r\n <label for=\"FHIRHelpers.ToString\" class=\"list-header\"><strong>FHIRHelpers.ToString</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 ToString(value FHIR.ExampleScenarioActorType): value.value</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=\"FHIRHelpers.ToString\" type=\"checkbox\"/>\r\n <label for=\"FHIRHelpers.ToString\" class=\"list-header\"><strong>FHIRHelpers.ToString</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 ToString(value FHIR.ProvenanceEntityRole): value.value</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=\"FHIRHelpers.ToString\" type=\"checkbox\"/>\r\n <label for=\"FHIRHelpers.ToString\" class=\"list-header\"><strong>FHIRHelpers.ToString</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 ToString(value FHIR.SpecimenStatus): value.value</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=\"FHIRHelpers.ToString\" type=\"checkbox\"/>\r\n <label for=\"FHIRHelpers.ToString\" class=\"list-header\"><strong>FHIRHelpers.ToString</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 ToString(value FHIR.RestfulCapabilityMode): value.value</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=\"FHIRHelpers.ToString\" type=\"checkbox\"/>\r\n <label for=\"FHIRHelpers.ToString\" class=\"list-header\"><strong>FHIRHelpers.ToString</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 ToString(value FHIR.DetectedIssueSeverity): value.value</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=\"FHIRHelpers.ToString\" type=\"checkbox\"/>\r\n <label for=\"FHIRHelpers.ToString\" class=\"list-header\"><strong>FHIRHelpers.ToString</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 ToString(value FHIR.VisionEyes): value.value</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=\"FHIRHelpers.ToString\" type=\"checkbox\"/>\r\n <label for=\"FHIRHelpers.ToString\" class=\"list-header\"><strong>FHIRHelpers.ToString</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 ToString(value FHIR.ConsentDataMeaning): value.value</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=\"FHIRHelpers.ToString\" type=\"checkbox\"/>\r\n <label for=\"FHIRHelpers.ToString\" class=\"list-header\"><strong>FHIRHelpers.ToString</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 ToString(value FHIR.messageheaderResponseRequest): value.value</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=\"FHIRHelpers.ToString\" type=\"checkbox\"/>\r\n <label for=\"FHIRHelpers.ToString\" class=\"list-header\"><strong>FHIRHelpers.ToString</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 ToString(value FHIR.GuidePageGeneration): value.value</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=\"FHIRHelpers.ToString\" type=\"checkbox\"/>\r\n <label for=\"FHIRHelpers.ToString\" class=\"list-header\"><strong>FHIRHelpers.ToString</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 ToString(value FHIR.DocumentRelationshipType): value.value</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=\"FHIRHelpers.ToString\" type=\"checkbox\"/>\r\n <label for=\"FHIRHelpers.ToString\" class=\"list-header\"><strong>FHIRHelpers.ToString</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 ToString(value FHIR.VariableType): value.value</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=\"FHIRHelpers.ToString\" type=\"checkbox\"/>\r\n <label for=\"FHIRHelpers.ToString\" class=\"list-header\"><strong>FHIRHelpers.ToString</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 ToString(value FHIR.TestReportResult): value.value</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=\"FHIRHelpers.ToString\" type=\"checkbox\"/>\r\n <label for=\"FHIRHelpers.ToString\" class=\"list-header\"><strong>FHIRHelpers.ToString</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 ToString(value FHIR.ConceptMapGroupUnmappedMode): value.value</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=\"FHIRHelpers.ToString\" type=\"checkbox\"/>\r\n <label for=\"FHIRHelpers.ToString\" class=\"list-header\"><strong>FHIRHelpers.ToString</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 ToString(value FHIR.ClinicalImpressionStatus): value.value</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=\"FHIRHelpers.ToString\" type=\"checkbox\"/>\r\n <label for=\"FHIRHelpers.ToString\" class=\"list-header\"><strong>FHIRHelpers.ToString</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 ToString(value FHIR.EligibilityResponsePurpose): value.value</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=\"FHIRHelpers.ToString\" type=\"checkbox\"/>\r\n <label for=\"FHIRHelpers.ToString\" class=\"list-header\"><strong>FHIRHelpers.ToString</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 ToString(value FHIR.NarrativeStatus): value.value</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=\"FHIRHelpers.ToString\" type=\"checkbox\"/>\r\n <label for=\"FHIRHelpers.ToString\" class=\"list-header\"><strong>FHIRHelpers.ToString</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 ToString(value FHIR.ImagingStudyStatus): value.value</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=\"FHIRHelpers.ToString\" type=\"checkbox\"/>\r\n <label for=\"FHIRHelpers.ToString\" class=\"list-header\"><strong>FHIRHelpers.ToString</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 ToString(value FHIR.EndpointStatus): value.value</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=\"FHIRHelpers.ToString\" type=\"checkbox\"/>\r\n <label for=\"FHIRHelpers.ToString\" class=\"list-header\"><strong>FHIRHelpers.ToString</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 ToString(value FHIR.BiologicallyDerivedProductCategory): value.value</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=\"FHIRHelpers.ToString\" type=\"checkbox\"/>\r\n <label for=\"FHIRHelpers.ToString\" class=\"list-header\"><strong>FHIRHelpers.ToString</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 ToString(value FHIR.ResourceVersionPolicy): value.value</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=\"FHIRHelpers.ToString\" type=\"checkbox\"/>\r\n <label for=\"FHIRHelpers.ToString\" class=\"list-header\"><strong>FHIRHelpers.ToString</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 ToString(value FHIR.ActionCardinalityBehavior): value.value</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=\"FHIRHelpers.ToString\" type=\"checkbox\"/>\r\n <label for=\"FHIRHelpers.ToString\" class=\"list-header\"><strong>FHIRHelpers.ToString</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 ToString(value FHIR.GroupMeasure): value.value</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=\"FHIRHelpers.ToString\" type=\"checkbox\"/>\r\n <label for=\"FHIRHelpers.ToString\" class=\"list-header\"><strong>FHIRHelpers.ToString</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 ToString(value FHIR.NamingSystemIdentifierType): value.value</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=\"FHIRHelpers.ToString\" type=\"checkbox\"/>\r\n <label for=\"FHIRHelpers.ToString\" class=\"list-header\"><strong>FHIRHelpers.ToString</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 ToString(value FHIR.ImmunizationStatusCodes): value.value</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=\"FHIRHelpers.ToString\" type=\"checkbox\"/>\r\n <label for=\"FHIRHelpers.ToString\" class=\"list-header\"><strong>FHIRHelpers.ToString</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 ToString(value FHIR.MedicationStatusCodes): value.value</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=\"FHIRHelpers.ToString\" type=\"checkbox\"/>\r\n <label for=\"FHIRHelpers.ToString\" class=\"list-header\"><strong>FHIRHelpers.ToString</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 ToString(value FHIR.DiscriminatorType): value.value</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=\"FHIRHelpers.ToString\" type=\"checkbox\"/>\r\n <label for=\"FHIRHelpers.ToString\" class=\"list-header\"><strong>FHIRHelpers.ToString</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 ToString(value FHIR.StructureMapInputMode): value.value</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=\"FHIRHelpers.ToString\" type=\"checkbox\"/>\r\n <label for=\"FHIRHelpers.ToString\" class=\"list-header\"><strong>FHIRHelpers.ToString</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 ToString(value FHIR.LinkageType): value.value</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=\"FHIRHelpers.ToString\" type=\"checkbox\"/>\r\n <label for=\"FHIRHelpers.ToString\" class=\"list-header\"><strong>FHIRHelpers.ToString</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 ToString(value FHIR.ReferenceHandlingPolicy): value.value</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=\"FHIRHelpers.ToString\" type=\"checkbox\"/>\r\n <label for=\"FHIRHelpers.ToString\" class=\"list-header\"><strong>FHIRHelpers.ToString</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 ToString(value FHIR.ResearchStudyStatus): value.value</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=\"FHIRHelpers.ToString\" type=\"checkbox\"/>\r\n <label for=\"FHIRHelpers.ToString\" class=\"list-header\"><strong>FHIRHelpers.ToString</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 ToString(value FHIR.AuditEventOutcome): value.value</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=\"FHIRHelpers.ToString\" type=\"checkbox\"/>\r\n <label for=\"FHIRHelpers.ToString\" class=\"list-header\"><strong>FHIRHelpers.ToString</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 ToString(value FHIR.SpecimenContainedPreference): value.value</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=\"FHIRHelpers.ToString\" type=\"checkbox\"/>\r\n <label for=\"FHIRHelpers.ToString\" class=\"list-header\"><strong>FHIRHelpers.ToString</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 ToString(value FHIR.ActionRelationshipType): value.value</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=\"FHIRHelpers.ToString\" type=\"checkbox\"/>\r\n <label for=\"FHIRHelpers.ToString\" class=\"list-header\"><strong>FHIRHelpers.ToString</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 ToString(value FHIR.ConstraintSeverity): value.value</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=\"FHIRHelpers.ToString\" type=\"checkbox\"/>\r\n <label for=\"FHIRHelpers.ToString\" class=\"list-header\"><strong>FHIRHelpers.ToString</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 ToString(value FHIR.EventCapabilityMode): value.value</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=\"FHIRHelpers.ToString\" type=\"checkbox\"/>\r\n <label for=\"FHIRHelpers.ToString\" class=\"list-header\"><strong>FHIRHelpers.ToString</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 ToString(value FHIR.CodeSearchSupport): value.value</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=\"FHIRHelpers.ToString\" type=\"checkbox\"/>\r\n <label for=\"FHIRHelpers.ToString\" class=\"list-header\"><strong>FHIRHelpers.ToString</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 ToString(value FHIR.ObservationRangeCategory): value.value</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=\"FHIRHelpers.ToString\" type=\"checkbox\"/>\r\n <label for=\"FHIRHelpers.ToString\" class=\"list-header\"><strong>FHIRHelpers.ToString</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 ToString(value FHIR.UDIEntryType): value.value</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=\"FHIRHelpers.ToString\" type=\"checkbox\"/>\r\n <label for=\"FHIRHelpers.ToString\" class=\"list-header\"><strong>FHIRHelpers.ToString</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 ToString(value FHIR.DeviceMetricCategory): value.value</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=\"FHIRHelpers.ToString\" type=\"checkbox\"/>\r\n <label for=\"FHIRHelpers.ToString\" class=\"list-header\"><strong>FHIRHelpers.ToString</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 ToString(value FHIR.TestReportActionResult): value.value</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=\"FHIRHelpers.ToString\" type=\"checkbox\"/>\r\n <label for=\"FHIRHelpers.ToString\" class=\"list-header\"><strong>FHIRHelpers.ToString</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 ToString(value FHIR.CapabilityStatementKind): value.value</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=\"FHIRHelpers.ToString\" type=\"checkbox\"/>\r\n <label for=\"FHIRHelpers.ToString\" class=\"list-header\"><strong>FHIRHelpers.ToString</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 ToString(value FHIR.EventTiming): value.value</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=\"FHIRHelpers.ToString\" type=\"checkbox\"/>\r\n <label for=\"FHIRHelpers.ToString\" class=\"list-header\"><strong>FHIRHelpers.ToString</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 ToString(value FHIR.SearchParamType): value.value</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=\"FHIRHelpers.ToString\" type=\"checkbox\"/>\r\n <label for=\"FHIRHelpers.ToString\" class=\"list-header\"><strong>FHIRHelpers.ToString</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 ToString(value FHIR.ActionGroupingBehavior): value.value</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=\"FHIRHelpers.ToString\" type=\"checkbox\"/>\r\n <label for=\"FHIRHelpers.ToString\" class=\"list-header\"><strong>FHIRHelpers.ToString</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 ToString(value FHIR.StructureMapModelMode): value.value</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=\"FHIRHelpers.ToString\" type=\"checkbox\"/>\r\n <label for=\"FHIRHelpers.ToString\" class=\"list-header\"><strong>FHIRHelpers.ToString</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 ToString(value FHIR.TaskStatus): value.value</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=\"FHIRHelpers.ToString\" type=\"checkbox\"/>\r\n <label for=\"FHIRHelpers.ToString\" class=\"list-header\"><strong>FHIRHelpers.ToString</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 ToString(value FHIR.BiologicallyDerivedProductStorageScale): value.value</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=\"FHIRHelpers.ToString\" type=\"checkbox\"/>\r\n <label for=\"FHIRHelpers.ToString\" class=\"list-header\"><strong>FHIRHelpers.ToString</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 ToString(value FHIR.GraphCompartmentRule): value.value</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=\"FHIRHelpers.ToString\" type=\"checkbox\"/>\r\n <label for=\"FHIRHelpers.ToString\" class=\"list-header\"><strong>FHIRHelpers.ToString</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 ToString(value FHIR.SlicingRules): value.value</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=\"FHIRHelpers.ToString\" type=\"checkbox\"/>\r\n <label for=\"FHIRHelpers.ToString\" class=\"list-header\"><strong>FHIRHelpers.ToString</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 ToString(value FHIR.ExplanationOfBenefitStatus): value.value</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=\"FHIRHelpers.ToString\" type=\"checkbox\"/>\r\n <label for=\"FHIRHelpers.ToString\" class=\"list-header\"><strong>FHIRHelpers.ToString</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 ToString(value FHIR.GuideParameterCode): value.value</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=\"FHIRHelpers.ToString\" type=\"checkbox\"/>\r\n <label for=\"FHIRHelpers.ToString\" class=\"list-header\"><strong>FHIRHelpers.ToString</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 ToString(value FHIR.CatalogEntryRelationType): value.value</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=\"FHIRHelpers.ToString\" type=\"checkbox\"/>\r\n <label for=\"FHIRHelpers.ToString\" class=\"list-header\"><strong>FHIRHelpers.ToString</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 ToString(value FHIR.LinkType): value.value</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=\"FHIRHelpers.ToString\" type=\"checkbox\"/>\r\n <label for=\"FHIRHelpers.ToString\" class=\"list-header\"><strong>FHIRHelpers.ToString</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 ToString(value FHIR.ConceptMapEquivalence): value.value</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=\"FHIRHelpers.ToString\" type=\"checkbox\"/>\r\n <label for=\"FHIRHelpers.ToString\" class=\"list-header\"><strong>FHIRHelpers.ToString</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 ToString(value FHIR.AuditEventAction): value.value</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=\"FHIRHelpers.ToString\" type=\"checkbox\"/>\r\n <label for=\"FHIRHelpers.ToString\" class=\"list-header\"><strong>FHIRHelpers.ToString</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 ToString(value FHIR.SearchModifierCode): value.value</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=\"FHIRHelpers.ToString\" type=\"checkbox\"/>\r\n <label for=\"FHIRHelpers.ToString\" class=\"list-header\"><strong>FHIRHelpers.ToString</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 ToString(value FHIR.EventStatus): value.value</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=\"FHIRHelpers.ToString\" type=\"checkbox\"/>\r\n <label for=\"FHIRHelpers.ToString\" class=\"list-header\"><strong>FHIRHelpers.ToString</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 ToString(value FHIR.OperationParameterUse): value.value</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=\"FHIRHelpers.ToString\" type=\"checkbox\"/>\r\n <label for=\"FHIRHelpers.ToString\" class=\"list-header\"><strong>FHIRHelpers.ToString</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 ToString(value FHIR.ConsentProvisionType): value.value</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=\"FHIRHelpers.ToString\" type=\"checkbox\"/>\r\n <label for=\"FHIRHelpers.ToString\" class=\"list-header\"><strong>FHIRHelpers.ToString</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 ToString(value FHIR.ActionConditionKind): value.value</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=\"FHIRHelpers.ToString\" type=\"checkbox\"/>\r\n <label for=\"FHIRHelpers.ToString\" class=\"list-header\"><strong>FHIRHelpers.ToString</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 ToString(value FHIR.qualityType): value.value</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=\"FHIRHelpers.ToString\" type=\"checkbox\"/>\r\n <label for=\"FHIRHelpers.ToString\" class=\"list-header\"><strong>FHIRHelpers.ToString</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 ToString(value FHIR.AdministrativeGender): value.value</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=\"FHIRHelpers.ToString\" type=\"checkbox\"/>\r\n <label for=\"FHIRHelpers.ToString\" class=\"list-header\"><strong>FHIRHelpers.ToString</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 ToString(value FHIR.QuestionnaireItemType): value.value</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=\"FHIRHelpers.ToString\" type=\"checkbox\"/>\r\n <label for=\"FHIRHelpers.ToString\" class=\"list-header\"><strong>FHIRHelpers.ToString</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 ToString(value FHIR.DeviceMetricCalibrationType): value.value</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=\"FHIRHelpers.ToString\" type=\"checkbox\"/>\r\n <label for=\"FHIRHelpers.ToString\" class=\"list-header\"><strong>FHIRHelpers.ToString</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 ToString(value FHIR.EvidenceVariableType): value.value</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=\"FHIRHelpers.ToString\" type=\"checkbox\"/>\r\n <label for=\"FHIRHelpers.ToString\" class=\"list-header\"><strong>FHIRHelpers.ToString</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 ToString(value FHIR.code): value.value</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=\"FHIRHelpers.ToString\" type=\"checkbox\"/>\r\n <label for=\"FHIRHelpers.ToString\" class=\"list-header\"><strong>FHIRHelpers.ToString</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 ToString(value FHIR.ActionSelectionBehavior): value.value</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=\"FHIRHelpers.ToString\" type=\"checkbox\"/>\r\n <label for=\"FHIRHelpers.ToString\" class=\"list-header\"><strong>FHIRHelpers.ToString</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 ToString(value FHIR.SupplyDeliveryStatus): value.value</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=\"FHIRHelpers.ToString\" type=\"checkbox\"/>\r\n <label for=\"FHIRHelpers.ToString\" class=\"list-header\"><strong>FHIRHelpers.ToString</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 ToString(value FHIR.DiagnosticReportStatus): value.value</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=\"FHIRHelpers.ToString\" type=\"checkbox\"/>\r\n <label for=\"FHIRHelpers.ToString\" class=\"list-header\"><strong>FHIRHelpers.ToString</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 ToString(value FHIR.FlagStatus): value.value</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=\"FHIRHelpers.ToString\" type=\"checkbox\"/>\r\n <label for=\"FHIRHelpers.ToString\" class=\"list-header\"><strong>FHIRHelpers.ToString</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 ToString(value FHIR.SPDXLicense): value.value</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=\"FHIRHelpers.ToString\" type=\"checkbox\"/>\r\n <label for=\"FHIRHelpers.ToString\" class=\"list-header\"><strong>FHIRHelpers.ToString</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 ToString(value FHIR.ListStatus): value.value</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=\"FHIRHelpers.ToString\" type=\"checkbox\"/>\r\n <label for=\"FHIRHelpers.ToString\" class=\"list-header\"><strong>FHIRHelpers.ToString</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 ToString(value FHIR.base64Binary): value.value</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=\"FHIRHelpers.ToString\" type=\"checkbox\"/>\r\n <label for=\"FHIRHelpers.ToString\" class=\"list-header\"><strong>FHIRHelpers.ToString</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 ToString(value FHIR.DeviceUseStatementStatus): value.value</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=\"FHIRHelpers.ToString\" type=\"checkbox\"/>\r\n <label for=\"FHIRHelpers.ToString\" class=\"list-header\"><strong>FHIRHelpers.ToString</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 ToString(value FHIR.AuditEventAgentNetworkType): value.value</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=\"FHIRHelpers.ToString\" type=\"checkbox\"/>\r\n <label for=\"FHIRHelpers.ToString\" class=\"list-header\"><strong>FHIRHelpers.ToString</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 ToString(value FHIR.ExpressionLanguage): value.value</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=\"FHIRHelpers.ToString\" type=\"checkbox\"/>\r\n <label for=\"FHIRHelpers.ToString\" class=\"list-header\"><strong>FHIRHelpers.ToString</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 ToString(value FHIR.AddressUse): value.value</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=\"FHIRHelpers.ToString\" type=\"checkbox\"/>\r\n <label for=\"FHIRHelpers.ToString\" class=\"list-header\"><strong>FHIRHelpers.ToString</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 ToString(value FHIR.ContactPointUse): value.value</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=\"FHIRHelpers.ToString\" type=\"checkbox\"/>\r\n <label for=\"FHIRHelpers.ToString\" class=\"list-header\"><strong>FHIRHelpers.ToString</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 ToString(value FHIR.DeviceMetricOperationalStatus): value.value</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=\"FHIRHelpers.ToString\" type=\"checkbox\"/>\r\n <label for=\"FHIRHelpers.ToString\" class=\"list-header\"><strong>FHIRHelpers.ToString</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 ToString(value FHIR.ContributorType): value.value</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=\"FHIRHelpers.ToString\" type=\"checkbox\"/>\r\n <label for=\"FHIRHelpers.ToString\" class=\"list-header\"><strong>FHIRHelpers.ToString</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 ToString(value FHIR.ReferenceVersionRules): value.value</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=\"FHIRHelpers.ToString\" type=\"checkbox\"/>\r\n <label for=\"FHIRHelpers.ToString\" class=\"list-header\"><strong>FHIRHelpers.ToString</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 ToString(value FHIR.MeasureReportStatus): value.value</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=\"FHIRHelpers.ToString\" type=\"checkbox\"/>\r\n <label for=\"FHIRHelpers.ToString\" class=\"list-header\"><strong>FHIRHelpers.ToString</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 ToString(value FHIR.SearchEntryMode): value.value</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=\"FHIRHelpers.ToString\" type=\"checkbox\"/>\r\n <label for=\"FHIRHelpers.ToString\" class=\"list-header\"><strong>FHIRHelpers.ToString</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 ToString(value FHIR.NameUse): value.value</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=\"FHIRHelpers.ToString\" type=\"checkbox\"/>\r\n <label for=\"FHIRHelpers.ToString\" class=\"list-header\"><strong>FHIRHelpers.ToString</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 ToString(value FHIR.LocationMode): value.value</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=\"FHIRHelpers.ToString\" type=\"checkbox\"/>\r\n <label for=\"FHIRHelpers.ToString\" class=\"list-header\"><strong>FHIRHelpers.ToString</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 ToString(value FHIR.FHIRSubstanceStatus): value.value</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=\"FHIRHelpers.ToString\" type=\"checkbox\"/>\r\n <label for=\"FHIRHelpers.ToString\" class=\"list-header\"><strong>FHIRHelpers.ToString</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 ToString(value FHIR.QuestionnaireItemOperator): value.value</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=\"FHIRHelpers.ToString\" type=\"checkbox\"/>\r\n <label for=\"FHIRHelpers.ToString\" class=\"list-header\"><strong>FHIRHelpers.ToString</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 ToString(value FHIR.HTTPVerb): value.value</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=\"FHIRHelpers.ToString\" type=\"checkbox\"/>\r\n <label for=\"FHIRHelpers.ToString\" class=\"list-header\"><strong>FHIRHelpers.ToString</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 ToString(value FHIR.EpisodeOfCareStatus): value.value</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=\"FHIRHelpers.ToString\" type=\"checkbox\"/>\r\n <label for=\"FHIRHelpers.ToString\" class=\"list-header\"><strong>FHIRHelpers.ToString</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 ToString(value FHIR.RemittanceOutcome): value.value</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=\"FHIRHelpers.ToString\" type=\"checkbox\"/>\r\n <label for=\"FHIRHelpers.ToString\" class=\"list-header\"><strong>FHIRHelpers.ToString</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 ToString(value FHIR.markdown): value.value</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=\"FHIRHelpers.ToString\" type=\"checkbox\"/>\r\n <label for=\"FHIRHelpers.ToString\" class=\"list-header\"><strong>FHIRHelpers.ToString</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 ToString(value FHIR.EligibilityRequestPurpose): value.value</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=\"FHIRHelpers.ToString\" type=\"checkbox\"/>\r\n <label for=\"FHIRHelpers.ToString\" class=\"list-header\"><strong>FHIRHelpers.ToString</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 ToString(value FHIR.QuantityComparator): value.value</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=\"FHIRHelpers.ToString\" type=\"checkbox\"/>\r\n <label for=\"FHIRHelpers.ToString\" class=\"list-header\"><strong>FHIRHelpers.ToString</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 ToString(value FHIR.MeasureReportType): value.value</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=\"FHIRHelpers.ToString\" type=\"checkbox\"/>\r\n <label for=\"FHIRHelpers.ToString\" class=\"list-header\"><strong>FHIRHelpers.ToString</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 ToString(value FHIR.ActionPrecheckBehavior): value.value</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=\"FHIRHelpers.ToString\" type=\"checkbox\"/>\r\n <label for=\"FHIRHelpers.ToString\" class=\"list-header\"><strong>FHIRHelpers.ToString</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 ToString(value FHIR.SampledDataDataType): value.value</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=\"FHIRHelpers.ToString\" type=\"checkbox\"/>\r\n <label for=\"FHIRHelpers.ToString\" class=\"list-header\"><strong>FHIRHelpers.ToString</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 ToString(value FHIR.CompositionAttestationMode): value.value</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=\"FHIRHelpers.ToString\" type=\"checkbox\"/>\r\n <label for=\"FHIRHelpers.ToString\" class=\"list-header\"><strong>FHIRHelpers.ToString</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 ToString(value FHIR.TypeRestfulInteraction): value.value</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=\"FHIRHelpers.ToString\" type=\"checkbox\"/>\r\n <label for=\"FHIRHelpers.ToString\" class=\"list-header\"><strong>FHIRHelpers.ToString</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 ToString(value FHIR.CodeSystemHierarchyMeaning): value.value</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=\"FHIRHelpers.ToString\" type=\"checkbox\"/>\r\n <label for=\"FHIRHelpers.ToString\" class=\"list-header\"><strong>FHIRHelpers.ToString</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 ToString(value FHIR.vConfidentialityClassification): value.value</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=\"FHIRHelpers.ToString\" type=\"checkbox\"/>\r\n <label for=\"FHIRHelpers.ToString\" class=\"list-header\"><strong>FHIRHelpers.ToString</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 ToString(value FHIR.ContractResourcePublicationStatusCodes): value.value</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=\"FHIRHelpers.ToString\" type=\"checkbox\"/>\r\n <label for=\"FHIRHelpers.ToString\" class=\"list-header\"><strong>FHIRHelpers.ToString</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 ToString(value FHIR.VisionBase): value.value</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=\"FHIRHelpers.ToString\" type=\"checkbox\"/>\r\n <label for=\"FHIRHelpers.ToString\" class=\"list-header\"><strong>FHIRHelpers.ToString</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 ToString(value FHIR.BundleType): value.value</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=\"FHIRHelpers.ToTime\" type=\"checkbox\"/>\r\n <label for=\"FHIRHelpers.ToTime\" class=\"list-header\"><strong>FHIRHelpers.ToTime</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 ToTime(value FHIR.time): value.value</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=\"Global.CalendarAgeInDays(BirthDateTime DateTime)\" type=\"checkbox\"/>\r\n <label for=\"Global.CalendarAgeInDays(BirthDateTime DateTime)\" class=\"list-header\"><strong>Global.CalendarAgeInDays(BirthDateTime DateTime)</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\">\tCalendarAgeInDaysAt(BirthDateTime, Today())</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=\"Global.CalendarAgeInDaysAt(BirthDateTime DateTime, AsOf DateTime)\" type=\"checkbox\"/>\r\n <label for=\"Global.CalendarAgeInDaysAt(BirthDateTime DateTime, AsOf DateTime)\" class=\"list-header\"><strong>Global.CalendarAgeInDaysAt(BirthDateTime DateTime, AsOf DateTime)</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\">\tdays between ToDate(BirthDateTime)and ToDate(AsOf)</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=\"Global.CalendarAgeInMonths(BirthDateTime DateTime)\" type=\"checkbox\"/>\r\n <label for=\"Global.CalendarAgeInMonths(BirthDateTime DateTime)\" class=\"list-header\"><strong>Global.CalendarAgeInMonths(BirthDateTime DateTime)</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\">\tCalendarAgeInMonthsAt(BirthDateTime, Today())</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=\"Global.CalendarAgeInMonthsAt(BirthDateTime DateTime, AsOf DateTime)\" type=\"checkbox\"/>\r\n <label for=\"Global.CalendarAgeInMonthsAt(BirthDateTime DateTime, AsOf DateTime)\" class=\"list-header\"><strong>Global.CalendarAgeInMonthsAt(BirthDateTime DateTime, AsOf DateTime)</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\">\tmonths between ToDate(BirthDateTime)and ToDate(AsOf)</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=\"Global.CalendarAgeInYears(BirthDateTime DateTime)\" type=\"checkbox\"/>\r\n <label for=\"Global.CalendarAgeInYears(BirthDateTime DateTime)\" class=\"list-header\"><strong>Global.CalendarAgeInYears(BirthDateTime DateTime)</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\">\tCalendarAgeInYearsAt(BirthDateTime, Today())</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=\"Global.CalendarAgeInYearsAt(BirthDateTime DateTime, AsOf DateTime)\" type=\"checkbox\"/>\r\n <label for=\"Global.CalendarAgeInYearsAt(BirthDateTime DateTime, AsOf DateTime)\" class=\"list-header\"><strong>Global.CalendarAgeInYearsAt(BirthDateTime DateTime, AsOf DateTime)</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\">\tyears between ToDate(BirthDateTime)and ToDate(AsOf)</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=\"Global.ED Visit(TheEncounter FHIR.Encounter)\" type=\"checkbox\"/>\r\n <label for=\"Global.ED Visit(TheEncounter FHIR.Encounter)\" class=\"list-header\"><strong>Global.ED Visit(TheEncounter FHIR.Encounter)</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\"> singleton from (\r\n [Encounter: "Emergency Department Visit"] EDVisit\r\n where EDVisit.status = 'finished'\r\n and EDVisit.period ends 1 hour or less on or before start of FHIRHelpers.ToInterval(TheEncounter.period)\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=\"Global.EncounterDiagnosis(Encounter Encounter)\" type=\"checkbox\"/>\r\n <label for=\"Global.EncounterDiagnosis(Encounter Encounter)\" class=\"list-header\"><strong>Global.EncounterDiagnosis(Encounter Encounter)</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.diagnosis D\r\n return singleton from ([Condition] C where C.id = "GetId"(D.condition.reference))</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=\"Global.GetBaseExtension(domainResource DomainResource, url String)\" type=\"checkbox\"/>\r\n <label for=\"Global.GetBaseExtension(domainResource DomainResource, url String)\" class=\"list-header\"><strong>Global.GetBaseExtension(domainResource DomainResource, url String)</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\"> singleton from "GetBaseExtensions"(domainResource, url)</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=\"Global.GetBaseExtensions(domainResource DomainResource, url String)\" type=\"checkbox\"/>\r\n <label for=\"Global.GetBaseExtensions(domainResource DomainResource, url String)\" class=\"list-header\"><strong>Global.GetBaseExtensions(domainResource DomainResource, url String)</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\"> domainResource.extension E\r\n\t where E.url = ('http://hl7.org/fhir/StructureDefinition/' + url)\r\n\t\treturn E</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=\"Global.GetExtension(domainResource DomainResource, url String)\" type=\"checkbox\"/>\r\n <label for=\"Global.GetExtension(domainResource DomainResource, url String)\" class=\"list-header\"><strong>Global.GetExtension(domainResource DomainResource, url String)</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\"> singleton from "GetExtensions"(domainResource, url)</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=\"Global.GetExtension(element Element, url String)\" type=\"checkbox\"/>\r\n <label for=\"Global.GetExtension(element Element, url String)\" class=\"list-header\"><strong>Global.GetExtension(element Element, url String)</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\"> singleton from "GetExtensions"(element, url)</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=\"Global.GetExtensions(domainResource DomainResource, url String)\" type=\"checkbox\"/>\r\n <label for=\"Global.GetExtensions(domainResource DomainResource, url String)\" class=\"list-header\"><strong>Global.GetExtensions(domainResource DomainResource, url String)</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\"> domainResource.extension E\r\n\t where E.url = ('http://hl7.org/fhir/us/qicore/StructureDefinition/' + url)\r\n\t\treturn E</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=\"Global.GetExtensions(element Element, url String)\" type=\"checkbox\"/>\r\n <label for=\"Global.GetExtensions(element Element, url String)\" class=\"list-header\"><strong>Global.GetExtensions(element Element, url String)</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\"> element.extension E\r\n\t where E.url = (url)\r\n\t\treturn E</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=\"Global.GetId(uri String)\" type=\"checkbox\"/>\r\n <label for=\"Global.GetId(uri String)\" class=\"list-header\"><strong>Global.GetId(uri String)</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\">\tLast(Split(uri, '/'))</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=\"Global.GetLocation\" type=\"checkbox\"/>\r\n <label for=\"Global.GetLocation\" class=\"list-header\"><strong>Global.GetLocation</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 GetLocation(reference Reference):\r\n singleton from (\r\n [Location] L where L.id = GetId(reference.reference)\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=\"Global.GetMedicationCode(request MedicationRequest)\" type=\"checkbox\"/>\r\n <label for=\"Global.GetMedicationCode(request MedicationRequest)\" class=\"list-header\"><strong>Global.GetMedicationCode(request MedicationRequest)</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\"> if request.medication is CodeableConcept then\r\n\t request.medication as CodeableConcept\r\n\telse\r\n\t (singleton from ([Medication] M where M.id = GetId((request.medication as Reference).reference))).code</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=\"Global.GetProvenance(resource Resource)\" type=\"checkbox\"/>\r\n <label for=\"Global.GetProvenance(resource Resource)\" class=\"list-header\"><strong>Global.GetProvenance(resource Resource)</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\"> singleton from ([Provenance: target in resource.id])</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=\"Global.Hospital Admission Time(TheEncounter FHIR.Encounter)\" type=\"checkbox\"/>\r\n <label for=\"Global.Hospital Admission Time(TheEncounter FHIR.Encounter)\" class=\"list-header\"><strong>Global.Hospital Admission Time(TheEncounter FHIR.Encounter)</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\">\tstart of "Hospitalization"(TheEncounter)</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=\"Global.Hospital Arrival Time(TheEncounter FHIR.Encounter)\" type=\"checkbox\"/>\r\n <label for=\"Global.Hospital Arrival Time(TheEncounter FHIR.Encounter)\" class=\"list-header\"><strong>Global.Hospital Arrival Time(TheEncounter FHIR.Encounter)</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\">\tstart of FHIRHelpers.ToInterval(First(\r\n\t ( "Hospitalization Locations"(TheEncounter) ) HospitalLocation\r\n\t\t\tsort by start of FHIRHelpers.ToInterval(period)\r\n\t).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=\"Global.Hospital Discharge Time(TheEncounter FHIR.Encounter)\" type=\"checkbox\"/>\r\n <label for=\"Global.Hospital Discharge Time(TheEncounter FHIR.Encounter)\" class=\"list-header\"><strong>Global.Hospital Discharge Time(TheEncounter FHIR.Encounter)</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\">\tend of FHIRHelpers.ToInterval(TheEncounter.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=\"Global.Hospitalization Length of Stay(TheEncounter FHIR.Encounter)\" type=\"checkbox\"/>\r\n <label for=\"Global.Hospitalization Length of Stay(TheEncounter FHIR.Encounter)\" class=\"list-header\"><strong>Global.Hospitalization Length of Stay(TheEncounter FHIR.Encounter)</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\">\tLengthInDays("Hospitalization"(TheEncounter))</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=\"Global.Hospitalization Locations(TheEncounter FHIR.Encounter)\" type=\"checkbox\"/>\r\n <label for=\"Global.Hospitalization Locations(TheEncounter FHIR.Encounter)\" class=\"list-header\"><strong>Global.Hospitalization Locations(TheEncounter FHIR.Encounter)</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( "ED Visit"(TheEncounter) ) EDEncounter\r\n return\r\n if EDEncounter is null then TheEncounter.location\r\n else flatten { EDEncounter.location, TheEncounter.location }</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=\"Global.Hospitalization(TheEncounter FHIR.Encounter)\" type=\"checkbox\"/>\r\n <label for=\"Global.Hospitalization(TheEncounter FHIR.Encounter)\" class=\"list-header\"><strong>Global.Hospitalization(TheEncounter FHIR.Encounter)</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( "ED Visit"(TheEncounter) ) X\r\n return\r\n if X is null then TheEncounter.period\r\n else Interval[start of FHIRHelpers.ToInterval(X.period), end of FHIRHelpers.ToInterval(TheEncounter.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=\"Global.HospitalizationWithObservation(TheEncounter FHIR.Encounter)\" type=\"checkbox\"/>\r\n <label for=\"Global.HospitalizationWithObservation(TheEncounter FHIR.Encounter)\" class=\"list-header\"><strong>Global.HospitalizationWithObservation(TheEncounter FHIR.Encounter)</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\">\tTheEncounter Visit\r\n\t\tlet ObsVisit: Last([Encounter: "Observation Services"] LastObs\r\n\t\t\t\twhere LastObs.period ends 1 hour or less on or before start of Visit.period\r\n\t\t\t\tsort by end of period\r\n\t\t\t),\r\n\t\t\tVisitStart: Coalesce(start of ObsVisit.period, start of Visit.period),\r\n\t\t\tEDVisit: Last([Encounter: "Emergency Department Visit"] LastED\r\n\t\t\t\twhere LastED.period ends 1 hour or less on or before VisitStart\r\n\t\t\t\tsort by end of period\r\n\t\t\t)\r\n\t\treturn Interval[Coalesce(start of EDVisit.period, VisitStart), end of Visit.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=\"Global.HospitalizationWithObservationLengthofStay(Encounter FHIR.Encounter)\" type=\"checkbox\"/>\r\n <label for=\"Global.HospitalizationWithObservationLengthofStay(Encounter FHIR.Encounter)\" class=\"list-header\"><strong>Global.HospitalizationWithObservationLengthofStay(Encounter FHIR.Encounter)</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"LengthInDays"("HospitalizationWithObservation"(Encounter))</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=\"Global.LengthInDays(Value Interval<DateTime>)\" type=\"checkbox\"/>\r\n <label for=\"Global.LengthInDays(Value Interval<DateTime>)\" class=\"list-header\"><strong>Global.LengthInDays(Value Interval<DateTime>)</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\">\tdifference in days between start of Value and end of Value</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=\"Global.Normalize Abatement(condition Condition)\" type=\"checkbox\"/>\r\n <label for=\"Global.Normalize Abatement(condition Condition)\" class=\"list-header\"><strong>Global.Normalize Abatement(condition Condition)</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\">\tif condition.abatement is FHIR.dateTime then\r\n\t Interval[FHIRHelpers.ToDateTime(condition.abatement as FHIR.dateTime), FHIRHelpers.ToDateTime(condition.abatement as FHIR.dateTime)]\r\n\telse if condition.abatement is FHIR.Period then\r\n\t FHIRHelpers.ToInterval(condition.abatement as FHIR.Period)\r\n\telse if condition.abatement is FHIR.string then\r\n Message(null as Interval<DateTime>, true, '1', 'Error', 'Cannot compute an interval from a String value')\r\n\telse if condition.abatement is FHIR.Age then\r\n\t\tInterval[FHIRHelpers.ToDate(Patient.birthDate) + FHIRHelpers.ToQuantity(condition.abatement as FHIR.Age),\r\n\t\t\tFHIRHelpers.ToDate(Patient.birthDate) + FHIRHelpers.ToQuantity(condition.abatement as FHIR.Age) + 1 year)\r\n\telse if condition.abatement is FHIR.Range then\r\n\t Interval[FHIRHelpers.ToDate(Patient.birthDate) + FHIRHelpers.ToQuantity((condition.abatement as FHIR.Range).low),\r\n\t\t FHIRHelpers.ToDate(Patient.birthDate) + FHIRHelpers.ToQuantity((condition.abatement as FHIR.Range).high) + 1 year)\r\n\telse if condition.abatement is FHIR.boolean then\r\n\t Interval[end of "Normalize Onset"(condition.onset), condition.recordedDate)\r\n\telse null</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=\"Global.Normalize Interval(choice Choice<FHIR.dateTime, FHIR.Period, FHIR.Timing, FHIR.instant, FHIR.string, FHIR.Age, FHIR.Range>)\" type=\"checkbox\"/>\r\n <label for=\"Global.Normalize Interval(choice Choice<FHIR.dateTime, FHIR.Period, FHIR.Timing, FHIR.instant, FHIR.string, FHIR.Age, FHIR.Range>)\" class=\"list-header\"><strong>Global.Normalize Interval(choice Choice<FHIR.dateTime, FHIR.Period, FHIR.Timing, FHIR.instant, FHIR.string, FHIR.Age, FHIR.Range>)</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\"> case\r\n\t when choice is FHIR.dateTime then\r\n \tInterval[FHIRHelpers.ToDateTime(choice as FHIR.dateTime), FHIRHelpers.ToDateTime(choice as FHIR.dateTime)]\r\n\t\twhen choice is FHIR.Period then\r\n \t\tFHIRHelpers.ToInterval(choice as FHIR.Period)\r\n\t\twhen choice is FHIR.instant then\r\n\t\t\tInterval[FHIRHelpers.ToDateTime(choice as FHIR.instant), FHIRHelpers.ToDateTime(choice as FHIR.instant)]\r\n\t\twhen choice is FHIR.Age then\r\n\t\t Interval[FHIRHelpers.ToDate(Patient.birthDate) + FHIRHelpers.ToQuantity(choice as FHIR.Age),\r\n\t\t\t FHIRHelpers.ToDate(Patient.birthDate) + FHIRHelpers.ToQuantity(choice as FHIR.Age) + 1 year)\r\n\t\twhen choice is FHIR.Range then\r\n\t\t Interval[FHIRHelpers.ToDate(Patient.birthDate) + FHIRHelpers.ToQuantity((choice as FHIR.Range).low),\r\n\t\t\t FHIRHelpers.ToDate(Patient.birthDate) + FHIRHelpers.ToQuantity((choice as FHIR.Range).high) + 1 year)\r\n\t\twhen choice is FHIR.Timing then\r\n\t\t Message(null as Interval<DateTime>, true, '1', 'Error', 'Cannot compute a single interval from a Timing type')\r\n when choice is FHIR.string then\r\n Message(null as Interval<DateTime>, true, '1', 'Error', 'Cannot compute an interval from a String value')\r\n\t\telse\r\n\t\t\tnull as Interval<DateTime>\r\n\tend</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=\"Global.Normalize Onset(onset Choice<FHIR.dateTime, FHIR.Age, FHIR.Period, FHIR.Range, FHIR.string>)\" type=\"checkbox\"/>\r\n <label for=\"Global.Normalize Onset(onset Choice<FHIR.dateTime, FHIR.Age, FHIR.Period, FHIR.Range, FHIR.string>)\" class=\"list-header\"><strong>Global.Normalize Onset(onset Choice<FHIR.dateTime, FHIR.Age, FHIR.Period, FHIR.Range, FHIR.string>)</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\"> if onset is FHIR.dateTime then\r\n\t Interval[FHIRHelpers.ToDateTime(onset as FHIR.dateTime), FHIRHelpers.ToDateTime(onset as FHIR.dateTime)]\r\n\telse if onset is FHIR.Period then\r\n\t FHIRHelpers.ToInterval(onset as FHIR.Period)\r\n\telse if onset is FHIR.string then\r\n Message(null as Interval<DateTime>, true, '1', 'Error', 'Cannot compute an interval from a String value')\r\n\telse if onset is FHIR.Age then\r\n\t Interval[FHIRHelpers.ToDate(Patient.birthDate) + FHIRHelpers.ToQuantity(onset as FHIR.Age),\r\n\t\t FHIRHelpers.ToDate(Patient.birthDate) + FHIRHelpers.ToQuantity(onset as FHIR.Age) + 1 year)\r\n\telse if onset is FHIR.Range then\r\n\t Interval[FHIRHelpers.ToDate(Patient.birthDate) + FHIRHelpers.ToQuantity((onset as FHIR.Range).low),\r\n\t\t FHIRHelpers.ToDate(Patient.birthDate) + FHIRHelpers.ToQuantity((onset as FHIR.Range).high) + 1 year)\r\n\telse null</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=\"Global.Prevalence Period(condition Condition)\" type=\"checkbox\"/>\r\n <label for=\"Global.Prevalence Period(condition Condition)\" class=\"list-header\"><strong>Global.Prevalence Period(condition Condition)</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\"> Interval[start of "Normalize Onset"(condition.onset), end of "Normalize Abatement"(condition))</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=\"Global.PrincipalDiagnosis(Encounter Encounter)\" type=\"checkbox\"/>\r\n <label for=\"Global.PrincipalDiagnosis(Encounter Encounter)\" class=\"list-header\"><strong>Global.PrincipalDiagnosis(Encounter Encounter)</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(singleton from (Encounter.diagnosis D where FHIRHelpers.ToInteger(D.rank) = 1)) PD\r\n\t\treturn singleton from ([Condition] C where C.id = "GetId"(PD.condition.reference))</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=\"Global.ToDate(Value DateTime)\" type=\"checkbox\"/>\r\n <label for=\"Global.ToDate(Value DateTime)\" class=\"list-header\"><strong>Global.ToDate(Value DateTime)</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\">\tDateTime(year from Value, month from Value, day from Value, 0, 0, 0, 0, timezone from Value)</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=\"TJC.CalendarDayOfOrDayAfter(StartValue DateTime )\" type=\"checkbox\"/>\r\n <label for=\"TJC.CalendarDayOfOrDayAfter(StartValue DateTime )\" class=\"list-header\"><strong>TJC.CalendarDayOfOrDayAfter(StartValue DateTime )</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\">\tInterval(Global."ToDate"(StartValue), Global."ToDate"(StartValue + 2 days))</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 "AllergyIntoleranceClinicalStatusCodes" : 'http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical'</li>\r\n <li style=\"width:80%\">codesystem "AllergyIntoleranceVerificationStatusCodes" : 'http://terminology.hl7.org/CodeSystem/allergyintolerance-verification'</li>\r\n <li style=\"width:80%\">codesystem "ConditionClinicalStatusCodes" : 'http://terminology.hl7.org/CodeSystem/condition-clinical'</li>\r\n <li style=\"width:80%\">codesystem "ConditionVerificationStatusCodes" : 'http://terminology.hl7.org/CodeSystem/condition-verification'</li>\r\n <li style=\"width:80%\">codesystem "Diagnosis Role" : 'http://terminology.hl7.org/CodeSystem/diagnosis-role'</li>\r\n <li style=\"width:80%\">codesystem "LOINC" : 'http://loinc.org'</li>\r\n <li style=\"width:80%\">codesystem "MedicationRequestCategory" : 'http://terminology.hl7.org/CodeSystem/medicationrequest-category'</li>\r\n <li style=\"width:80%\">codesystem "RequestIntent" : 'http://terminology.hl7.org/CodeSystem/request-intent'</li>\r\n <li style=\"width:80%\">codesystem "RoleCode" : 'http://hl7.org/fhir/v3/RoleCode'</li>\r\n <li style=\"width:80%\">codesystem "SNOMEDCT" : 'http://snomed.info/sct/731000124108'</li>\r\n <li style=\"width:80%\">code "active" : 'active' from "ConditionClinicalStatusCodes"</li>\r\n <li style=\"width:80%\">code "allergy-active" : 'active' from "AllergyIntoleranceClinicalStatusCodes"</li>\r\n <li style=\"width:80%\">code "allergy-confirmed" : 'confirmed' from "AllergyIntoleranceVerificationStatusCodes"</li>\r\n <li style=\"width:80%\">code "allergy-inactive" : 'inactive' from "AllergyIntoleranceClinicalStatusCodes"</li>\r\n <li style=\"width:80%\">code "allergy-refuted" : 'refuted' from "AllergyIntoleranceVerificationStatusCodes"</li>\r\n <li style=\"width:80%\">code "allergy-resolved" : 'resolved' from "AllergyIntoleranceClinicalStatusCodes"</li>\r\n <li style=\"width:80%\">code "allergy-unconfirmed" : 'unconfirmed' from "AllergyIntoleranceVerificationStatusCodes"</li>\r\n <li style=\"width:80%\">code "Billing" : 'billing' from "Diagnosis Role" display 'Billing'</li>\r\n <li style=\"width:80%\">code "Birth date" : '21112-8' from "LOINC" display 'Birth date'</li>\r\n <li style=\"width:80%\">code "Birthdate" : '21112-8' from "LOINC" display 'Birth date'</li>\r\n <li style=\"width:80%\">code "Community" : 'community' from "MedicationRequestCategory" display 'Community'</li>\r\n <li style=\"width:80%\">code "confirmed" : 'confirmed' from "ConditionVerificationStatusCodes"</li>\r\n <li style=\"width:80%\">code "Dead" : '419099009' from "SNOMEDCT" display 'Dead'</li>\r\n <li style=\"width:80%\">code "differential" : 'differential' from "ConditionVerificationStatusCodes"</li>\r\n <li style=\"width:80%\">code "Discharge" : 'discharge' from "MedicationRequestCategory" display 'Discharge'</li>\r\n <li style=\"width:80%\">code "entered-in-error" : 'entered-in-error' from "ConditionVerificationStatusCodes"</li>\r\n <li style=\"width:80%\">code "ER" : 'ER' from "RoleCode" display 'Emergency room'</li>\r\n <li style=\"width:80%\">code "ICU" : 'ICU' from "RoleCode" display 'Intensive care unit'</li>\r\n <li style=\"width:80%\">code "inactive" : 'inactive' from "ConditionClinicalStatusCodes"</li>\r\n <li style=\"width:80%\">code "Order" : 'order' from "RequestIntent" display 'Order'</li>\r\n <li style=\"width:80%\">code "provisional" : 'provisional' from "ConditionVerificationStatusCodes"</li>\r\n <li style=\"width:80%\">code "recurrence" : 'recurrence' from "ConditionClinicalStatusCodes"</li>\r\n <li style=\"width:80%\">code "refuted" : 'refuted' from "ConditionVerificationStatusCodes"</li>\r\n <li style=\"width:80%\">code "relapse" : 'relapse' from "ConditionClinicalStatusCodes"</li>\r\n <li style=\"width:80%\">code "remission" : 'remission' from "ConditionClinicalStatusCodes"</li>\r\n <li style=\"width:80%\">code "resolved" : 'resolved' from "ConditionClinicalStatusCodes"</li>\r\n <li style=\"width:80%\">code "unconfirmed" : 'unconfirmed' from "ConditionVerificationStatusCodes"</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 "Discharge To Acute Care Facility" : 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.87'</li>\r\n <li style=\"width:80%\">valueset "Discharged to Health Care Facility for Hospice Care" : 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.207'</li>\r\n <li style=\"width:80%\">valueset "Discharged to Home for Hospice Care" : 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.209'</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 "Encounter Inpatient" : 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.666.5.307'</li>\r\n <li style=\"width:80%\">valueset "Ethnicity" : 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.837'</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 "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 "LDL-c" : 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.215'</li>\r\n <li style=\"width:80%\">valueset "Left Against Medical Advice" : 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.308'</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 "Non-Elective Inpatient Encounter" : 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.424'</li>\r\n <li style=\"width:80%\">valueset "Observation Services" : 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1111.143'</li>\r\n <li style=\"width:80%\">valueset "ONC Administrative Sex" : 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1'</li>\r\n <li style=\"width:80%\">valueset "Patient Expired" : 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.309'</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 "Payer" : 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3591'</li>\r\n <li style=\"width:80%\">valueset "Race" : 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.836'</li>\r\n <li style=\"width:80%\">valueset "Statin Allergen" : 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.423'</li>\r\n <li style=\"width:80%\">valueset "Statin Grouper" : 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1110.19'</li>\r\n <li style=\"width:80%\">valueset "Ticagrelor Therapy" : 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1110.39'</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%\">"AllergyIntolerance: Statin Allergen" using "Statin Allergen (http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.423)</li>\r\n <li style=\"width:80%\">"Coverage: Payer" using "Payer (http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3591)</li>\r\n <li style=\"width:80%\">"Encounter: Emergency Department Visit" using "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%\">"Encounter: Encounter Inpatient" using "Encounter Inpatient (http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.666.5.307)</li>\r\n <li style=\"width:80%\">"Encounter: Non-Elective Inpatient Encounter" using "Non-Elective Inpatient Encounter (http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.424)</li>\r\n <li style=\"width:80%\">"Encounter: Observation Services" using "Observation Services (http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1111.143)</li>\r\n <li style=\"width:80%\">"MedicationRequest: Statin Grouper" using "Statin Grouper (http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1110.19)</li>\r\n <li style=\"width:80%\">"Observation: LDL-c" using "LDL-c (http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.215)</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%\">"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 </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%\"/>\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 SupplementalDataElements_FHIR4 version '1.0.0'\n\nusing FHIR version '4.0.0'\n\ninclude FHIRHelpers version '4.0.0' called FHIRHelpers\n\nvalueset "ONC Administrative Sex": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1'\nvalueset "Race": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.836'\nvalueset "Ethnicity": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.837'\nvalueset "Payer": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3591'\n\ncontext Patient\n\ndefine "SDE Ethnicity":\n (flatten (\n Patient.extension Extension\n where Extension.url = 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity'\n return Extension.extension\n )) E\n where E.url = 'ombCategory'\n or E.url = 'detailed'\n return E.value as Coding\n \ndefine "SDE Payer":\n [Coverage: type in "Payer"] Payer\n return {\n code: Payer.type,\n period: Payer.period\n }\n \ndefine "SDE Race":\n (flatten (\n Patient.extension Extension\n where Extension.url = 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-race'\n return Extension.extension\n )) E\n where E.url = 'ombCategory'\n or E.url = 'detailed'\n return E.value as Coding\n\ndefine "SDE Sex":\n case \n when Patient.gender = 'male' then Code { code: 'M', system: 'http://hl7.org/fhir/v3/AdministrativeGender', display: 'Male' }\n when Patient.gender = 'female' then Code { code: 'F', system: 'http://hl7.org/fhir/v3/AdministrativeGender', display: 'Female' }\n else null\n end\n\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 SupplementalDataElements_FHIR4 version '1.0.0'\n\nusing FHIR version '4.0.0'\n\ninclude FHIRHelpers version '4.0.0' called FHIRHelpers\n\nvalueset "ONC Administrative Sex": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1'\nvalueset "Race": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.836'\nvalueset "Ethnicity": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.837'\nvalueset "Payer": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3591'\n\ncontext Patient\n\ndefine "SDE Ethnicity":\n (flatten (\n Patient.extension Extension\n where Extension.url = 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity'\n return Extension.extension\n )) E\n where E.url = 'ombCategory'\n or E.url = 'detailed'\n return E.value as Coding\n \ndefine "SDE Payer":\n [Coverage: type in "Payer"] Payer\n return {\n code: Payer.type,\n period: Payer.period\n }\n \ndefine "SDE Race":\n (flatten (\n Patient.extension Extension\n where Extension.url = 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-race'\n return Extension.extension\n )) E\n where E.url = 'ombCategory'\n or E.url = 'detailed'\n return E.value as Coding\n\ndefine "SDE Sex":\n case \n when Patient.gender = 'male' then Code { code: 'M', system: 'http://hl7.org/fhir/v3/AdministrativeGender', display: 'Male' }\n when Patient.gender = 'female' then Code { code: 'F', system: 'http://hl7.org/fhir/v3/AdministrativeGender', display: 'Female' }\n else null\n end\n\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 EXM105_FHIR4 version '8.1.000'\n\n/*\nBased on CMS105v8 - Discharged on Statin Medication\nAuthor: TJC\n*/\n\nusing FHIR version '4.0.0'\n\ninclude FHIRHelpers version '4.0.0'\ninclude MATGlobalCommonFunctions_FHIR4 version '4.0.000' called Global\ninclude SupplementalDataElements_FHIR4 version '1.0.0' called SDE\ninclude TJCOverall_FHIR4 version '4.0.000' called TJC\n\ncodesystem "LOINC": 'http://loinc.org'\ncodesystem "SNOMEDCT": 'http://snomed.info/sct/731000124108'\ncodesystem "Diagnosis Role": 'http://terminology.hl7.org/CodeSystem/diagnosis-role'\ncodesystem "RequestIntent": 'http://terminology.hl7.org/CodeSystem/request-intent'\n\nvalueset "Comfort Measures": 'http://cts.nlm.nih.gov/fhir/ValueSet/1.3.6.1.4.1.33895.1.3.0.45'\nvalueset "Discharged to Health Care Facility for Hospice Care": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.207'\nvalueset "Discharge To Acute Care Facility": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.87'\nvalueset "Discharged to Home for Hospice Care": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.209'\nvalueset "Emergency Department Visit": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.292'\nvalueset "Ethnicity": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.837'\nvalueset "Ischemic Stroke": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.247'\nvalueset "Hemorrhagic Stroke": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.212'\nvalueset "LDL-c": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.215'\nvalueset "Left Against Medical Advice": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.308'\nvalueset "Medical Reason": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.473'\nvalueset "Non-Elective Inpatient Encounter": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.424'\nvalueset "Observation Services": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1111.143'\nvalueset "ONC Administrative Sex": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1'\nvalueset "Patient Expired": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.309'\nvalueset "Patient Refusal": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.93'\nvalueset "Payer": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3591'\nvalueset "Race": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.836'\nvalueset "Statin Allergen": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.423'\nvalueset "Statin Grouper": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1110.19'\n\ncode "Birthdate": '21112-8' from "LOINC" display 'Birth date'\ncode "Dead": '419099009' from "SNOMEDCT" display 'Dead'\ncode "Billing": 'billing' from "Diagnosis Role" display 'Billing'\ncode "Order": 'order' from "RequestIntent" display 'Order'\n\nparameter "Measurement Period" Interval<DateTime>\n default Interval[@2019-01-01T00:00:00.0, @2020-01-01T00:00:00.0)\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\tTJC."Encounter with Principal Diagnosis and Age"\n\ndefine "Denominator":\n\tTJC."Ischemic Stroke Encounter"\n\ndefine "Denominator Exclusion":\n\tTJC."Ischemic Stroke Encounters with Discharge Disposition"\n\t\tunion TJC."Comfort Measures during Hospitalization"\n\ndefine "Numerator":\n\tTJC."Ischemic Stroke Encounter" IschemicStrokeEncounter\n\t\twith "Statin at Discharge" DischargeStatin\n\t\t\tsuch that DischargeStatin.authoredOn during day of Global."Normalize Interval"(IschemicStrokeEncounter.period)\n\n// NOTE: Added check for Statin.status in { 'active', 'completed' }\n// Discussion about whether to check for both active and completed, versus just specifying active\n// Also discussion about whether to use "Community" or "Discharge"\n// Suggest using both since there is potential overlap and even some instances that would have both codes\n// Will keep both and followup with Pharmacy to verify the approach\n// NOTE: Changed intent to only "order", since we're specifically looking for authorized prescriptions\ndefine "Statin at Discharge":\n ["MedicationRequest": medication in "Statin Grouper"] Statin\n where exists (Statin.category C where FHIRHelpers.ToConcept(C) in { Global."Community", Global."Discharge" })\n and Statin.status in { 'active', 'completed' }\n and Statin.intent = 'order'\n\ndefine "Denominator Exception":\n\t(\n TJC."Ischemic Stroke Encounter" IschemicStrokeEncounter\n \twith "Statin Not Given at Discharge" NoDischargeStatin\n \t\tsuch that NoDischargeStatin.authoredOn during day of IschemicStrokeEncounter.period\n\t) union\n\t (\n TJC."Ischemic Stroke Encounter" IschemicStrokeEncounter\n\t\t with "Statin Allergy" StatinAllergy\n\t\t\t such that Global."Normalize Onset"(StatinAllergy.onset) starts on or before end of IschemicStrokeEncounter.period\n ) union\n "Encounter with Max LDL less than 70 mg per dL"\n\n// NOTE: Added status check and category check, consider define Statin Medication Request for reuse\ndefine "Statin Not Given at Discharge":\n ["MedicationRequest": medication in "Statin Grouper"] NoStatin\n where NoStatin.doNotPerform is true\n and (\n NoStatin.reasonCode in "Medical Reason"\n or NoStatin.reasonCode in "Patient Refusal"\n )\n and exists (NoStatin.category C where FHIRHelpers.ToConcept(C) in { Global."Community", Global."Discharge" })\n and NoStatin.status = 'completed'\n and NoStatin.intent = 'order'\n\n// NOTE: Added clinicalStatus and verificationStatus check\ndefine "Statin Allergy":\n\t["AllergyIntolerance": "Statin Allergen"] StatinAllergy\n where (StatinAllergy.clinicalStatus is null or FHIRHelpers.ToConcept(StatinAllergy.clinicalStatus) ~ Global."allergy-active")\n and FHIRHelpers.ToConcept(StatinAllergy.verificationStatus) in { Global."allergy-unconfirmed", Global."allergy-confirmed" }\n\n// NOTE: Added check for status in final or amended\ndefine "Encounter with Max LDL less than 70 mg per dL":\n\tTJC."Ischemic Stroke Encounter" IschemicStrokeEncounter\n\t\twhere Max(\n ["Observation": "LDL-c"] Ldl\n\t\t\t\t where Ldl.status in { 'final', 'amended' }\n and Ldl.issued during Interval[IschemicStrokeEncounter.period.start - 30 days, IschemicStrokeEncounter.period.end]\n\t\t\t\treturn Ldl.value as Quantity\n\t\t) < 70 'mg/dL'\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 EXM105_FHIR4 version '8.1.000'\n\n/*\nBased on CMS105v8 - Discharged on Statin Medication\nAuthor: TJC\n*/\n\nusing FHIR version '4.0.0'\n\ninclude FHIRHelpers version '4.0.0'\ninclude MATGlobalCommonFunctions_FHIR4 version '4.0.000' called Global\ninclude SupplementalDataElements_FHIR4 version '1.0.0' called SDE\ninclude TJCOverall_FHIR4 version '4.0.000' called TJC\n\ncodesystem "LOINC": 'http://loinc.org'\ncodesystem "SNOMEDCT": 'http://snomed.info/sct/731000124108'\ncodesystem "Diagnosis Role": 'http://terminology.hl7.org/CodeSystem/diagnosis-role'\ncodesystem "RequestIntent": 'http://terminology.hl7.org/CodeSystem/request-intent'\n\nvalueset "Comfort Measures": 'http://cts.nlm.nih.gov/fhir/ValueSet/1.3.6.1.4.1.33895.1.3.0.45'\nvalueset "Discharged to Health Care Facility for Hospice Care": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.207'\nvalueset "Discharge To Acute Care Facility": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.87'\nvalueset "Discharged to Home for Hospice Care": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.209'\nvalueset "Emergency Department Visit": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.292'\nvalueset "Ethnicity": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.837'\nvalueset "Ischemic Stroke": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.247'\nvalueset "Hemorrhagic Stroke": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.212'\nvalueset "LDL-c": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.215'\nvalueset "Left Against Medical Advice": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.308'\nvalueset "Medical Reason": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.473'\nvalueset "Non-Elective Inpatient Encounter": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.424'\nvalueset "Observation Services": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1111.143'\nvalueset "ONC Administrative Sex": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1'\nvalueset "Patient Expired": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.309'\nvalueset "Patient Refusal": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.93'\nvalueset "Payer": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3591'\nvalueset "Race": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.836'\nvalueset "Statin Allergen": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.423'\nvalueset "Statin Grouper": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1110.19'\n\ncode "Birthdate": '21112-8' from "LOINC" display 'Birth date'\ncode "Dead": '419099009' from "SNOMEDCT" display 'Dead'\ncode "Billing": 'billing' from "Diagnosis Role" display 'Billing'\ncode "Order": 'order' from "RequestIntent" display 'Order'\n\nparameter "Measurement Period" Interval<DateTime>\n default Interval[@2019-01-01T00:00:00.0, @2020-01-01T00:00:00.0)\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\tTJC."Encounter with Principal Diagnosis and Age"\n\ndefine "Denominator":\n\tTJC."Ischemic Stroke Encounter"\n\ndefine "Denominator Exclusion":\n\tTJC."Ischemic Stroke Encounters with Discharge Disposition"\n\t\tunion TJC."Comfort Measures during Hospitalization"\n\ndefine "Numerator":\n\tTJC."Ischemic Stroke Encounter" IschemicStrokeEncounter\n\t\twith "Statin at Discharge" DischargeStatin\n\t\t\tsuch that DischargeStatin.authoredOn during day of Global."Normalize Interval"(IschemicStrokeEncounter.period)\n\n// NOTE: Added check for Statin.status in { 'active', 'completed' }\n// Discussion about whether to check for both active and completed, versus just specifying active\n// Also discussion about whether to use "Community" or "Discharge"\n// Suggest using both since there is potential overlap and even some instances that would have both codes\n// Will keep both and followup with Pharmacy to verify the approach\n// NOTE: Changed intent to only "order", since we're specifically looking for authorized prescriptions\ndefine "Statin at Discharge":\n ["MedicationRequest": medication in "Statin Grouper"] Statin\n where exists (Statin.category C where FHIRHelpers.ToConcept(C) in { Global."Community", Global."Discharge" })\n and Statin.status in { 'active', 'completed' }\n and Statin.intent = 'order'\n\ndefine "Denominator Exception":\n\t(\n TJC."Ischemic Stroke Encounter" IschemicStrokeEncounter\n \twith "Statin Not Given at Discharge" NoDischargeStatin\n \t\tsuch that NoDischargeStatin.authoredOn during day of IschemicStrokeEncounter.period\n\t) union\n\t (\n TJC."Ischemic Stroke Encounter" IschemicStrokeEncounter\n\t\t with "Statin Allergy" StatinAllergy\n\t\t\t such that Global."Normalize Onset"(StatinAllergy.onset) starts on or before end of IschemicStrokeEncounter.period\n ) union\n "Encounter with Max LDL less than 70 mg per dL"\n\n// NOTE: Added status check and category check, consider define Statin Medication Request for reuse\ndefine "Statin Not Given at Discharge":\n ["MedicationRequest": medication in "Statin Grouper"] NoStatin\n where NoStatin.doNotPerform is true\n and (\n NoStatin.reasonCode in "Medical Reason"\n or NoStatin.reasonCode in "Patient Refusal"\n )\n and exists (NoStatin.category C where FHIRHelpers.ToConcept(C) in { Global."Community", Global."Discharge" })\n and NoStatin.status = 'completed'\n and NoStatin.intent = 'order'\n\n// NOTE: Added clinicalStatus and verificationStatus check\ndefine "Statin Allergy":\n\t["AllergyIntolerance": "Statin Allergen"] StatinAllergy\n where (StatinAllergy.clinicalStatus is null or FHIRHelpers.ToConcept(StatinAllergy.clinicalStatus) ~ Global."allergy-active")\n and FHIRHelpers.ToConcept(StatinAllergy.verificationStatus) in { Global."allergy-unconfirmed", Global."allergy-confirmed" }\n\n// NOTE: Added check for status in final or amended\ndefine "Encounter with Max LDL less than 70 mg per dL":\n\tTJC."Ischemic Stroke Encounter" IschemicStrokeEncounter\n\t\twhere Max(\n ["Observation": "LDL-c"] Ldl\n\t\t\t\t where Ldl.status in { 'final', 'amended' }\n and Ldl.issued during Interval[IschemicStrokeEncounter.period.start - 30 days, IschemicStrokeEncounter.period.end]\n\t\t\t\treturn Ldl.value as Quantity\n\t\t) < 70 'mg/dL'\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 TJCOverall_FHIR4 version '4.0.000'\n\nusing FHIR version '4.0.0'\n// NOTE: BTR 2019-07-30: Updated version dependencies\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\n\ncodesystem "SNOMEDCT": 'http://snomed.info/sct/731000124108'\ncodesystem "LOINC": 'http://loinc.org'\n\nvalueset "Comfort Measures": 'http://cts.nlm.nih.gov/fhir/ValueSet/1.3.6.1.4.1.33895.1.3.0.45'\nvalueset "Discharge To Acute Care Facility": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.87'\nvalueset "Discharged to Health Care Facility for Hospice Care": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.207'\nvalueset "Discharged to Home for Hospice Care": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.209'\nvalueset "Emergency Department Visit": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.292'\nvalueset "Encounter Inpatient": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.666.5.307'\nvalueset "Hemorrhagic Stroke": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.212'\nvalueset "Ischemic Stroke": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.247'\nvalueset "Left Against Medical Advice": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.308'\nvalueset "Non-Elective Inpatient Encounter": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.424'\nvalueset "Patient Expired": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.309'\nvalueset "Ticagrelor Therapy": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1110.39'\nvalueset "Observation Services": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1111.143'\n\ncode "Birth date": '21112-8' from "LOINC" display 'Birth date'\n\nparameter "Measurement Period" Interval<DateTime>\n default Interval[@2019-01-01T00:00:00.0, @2020-01-01T00:00:00.0)\n\ncontext Patient\n\n//Changed "ProcedureRequest" to "ServiceRequest"\ndefine "Intervention Comfort Measures":\n\t(["ServiceRequest": "Comfort Measures"] P\n\t\twhere P.intent = 'order')\n\t\tunion\n\t\t(["Procedure": "Comfort Measures"] InterventionPerformed\n\t\twhere InterventionPerformed.status = 'completed')\n\ndefine "All Stroke Encounter":\n\t"Non Elective Inpatient Encounter" NonElectiveEncounter\n where Global.PrincipalDiagnosis(NonElectiveEncounter).code in "Hemorrhagic Stroke"\n or Global.PrincipalDiagnosis(NonElectiveEncounter).code in "Ischemic Stroke"\n\ndefine "Ischemic Stroke Encounter":\n\t"Encounter with Principal Diagnosis and Age" EncounterWithAge\n\t\twhere Global.PrincipalDiagnosis(EncounterWithAge).code in "Ischemic Stroke"\n\ndefine "Non Elective Inpatient Encounter":\n\t["Encounter": "Non-Elective Inpatient Encounter"] NonElectiveEncounter\n\t\twhere Global."LengthInDays"(NonElectiveEncounter.period) <= 120\n\t\t\tand NonElectiveEncounter.period ends during "Measurement Period"\n\ndefine "Ischemic Stroke Encounters with Discharge Disposition":\n\t"Ischemic Stroke Encounter" IschemicStrokeEncounter\n\t\twhere IschemicStrokeEncounter.hospitalization.dischargeDisposition in "Discharge To Acute Care Facility"\n\t\t\tor IschemicStrokeEncounter.hospitalization.dischargeDisposition in "Left Against Medical Advice"\n\t\t\tor IschemicStrokeEncounter.hospitalization.dischargeDisposition in "Patient Expired"\n\t\t\tor IschemicStrokeEncounter.hospitalization.dischargeDisposition in "Discharged to Home for Hospice Care"\n\t\t\tor IschemicStrokeEncounter.hospitalization.dischargeDisposition in "Discharged to Health Care Facility for Hospice Care"\n\ndefine "Comfort Measures during Hospitalization":\n\t"Ischemic Stroke Encounter" IschemicStrokeEncounter\n \twith "Intervention Comfort Measures" ComfortMeasure\n \tsuch that FHIRHelpers.ToDateTime(Coalesce(ComfortMeasure.performed as dateTime,ComfortMeasure.authoredOn)) during Global."HospitalizationWithObservation"(IschemicStrokeEncounter)\n\ndefine "Encounter with Principal Diagnosis and Age":\n\t"All Stroke Encounter" AllStrokeEncounter\n\t\twith ["Patient"] BirthDate\n\t\t\tsuch that Global."CalendarAgeInYearsAt"(FHIRHelpers.ToDate(BirthDate.birthDate), start of FHIRHelpers.ToInterval(AllStrokeEncounter.period)) >= 18\n\ndefine function "CalendarDayOfOrDayAfter"(StartValue DateTime ):\n\tInterval(Global."ToDate"(StartValue), Global."ToDate"(StartValue + 2 days))\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 TJCOverall_FHIR4 version '4.0.000'\n\nusing FHIR version '4.0.0'\n// NOTE: BTR 2019-07-30: Updated version dependencies\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\n\ncodesystem "SNOMEDCT": 'http://snomed.info/sct/731000124108'\ncodesystem "LOINC": 'http://loinc.org'\n\nvalueset "Comfort Measures": 'http://cts.nlm.nih.gov/fhir/ValueSet/1.3.6.1.4.1.33895.1.3.0.45'\nvalueset "Discharge To Acute Care Facility": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.87'\nvalueset "Discharged to Health Care Facility for Hospice Care": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.207'\nvalueset "Discharged to Home for Hospice Care": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.209'\nvalueset "Emergency Department Visit": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.292'\nvalueset "Encounter Inpatient": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.666.5.307'\nvalueset "Hemorrhagic Stroke": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.212'\nvalueset "Ischemic Stroke": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.247'\nvalueset "Left Against Medical Advice": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.308'\nvalueset "Non-Elective Inpatient Encounter": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.424'\nvalueset "Patient Expired": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.309'\nvalueset "Ticagrelor Therapy": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1110.39'\nvalueset "Observation Services": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1111.143'\n\ncode "Birth date": '21112-8' from "LOINC" display 'Birth date'\n\nparameter "Measurement Period" Interval<DateTime>\n default Interval[@2019-01-01T00:00:00.0, @2020-01-01T00:00:00.0)\n\ncontext Patient\n\n//Changed "ProcedureRequest" to "ServiceRequest"\ndefine "Intervention Comfort Measures":\n\t(["ServiceRequest": "Comfort Measures"] P\n\t\twhere P.intent = 'order')\n\t\tunion\n\t\t(["Procedure": "Comfort Measures"] InterventionPerformed\n\t\twhere InterventionPerformed.status = 'completed')\n\ndefine "All Stroke Encounter":\n\t"Non Elective Inpatient Encounter" NonElectiveEncounter\n where Global.PrincipalDiagnosis(NonElectiveEncounter).code in "Hemorrhagic Stroke"\n or Global.PrincipalDiagnosis(NonElectiveEncounter).code in "Ischemic Stroke"\n\ndefine "Ischemic Stroke Encounter":\n\t"Encounter with Principal Diagnosis and Age" EncounterWithAge\n\t\twhere Global.PrincipalDiagnosis(EncounterWithAge).code in "Ischemic Stroke"\n\ndefine "Non Elective Inpatient Encounter":\n\t["Encounter": "Non-Elective Inpatient Encounter"] NonElectiveEncounter\n\t\twhere Global."LengthInDays"(NonElectiveEncounter.period) <= 120\n\t\t\tand NonElectiveEncounter.period ends during "Measurement Period"\n\ndefine "Ischemic Stroke Encounters with Discharge Disposition":\n\t"Ischemic Stroke Encounter" IschemicStrokeEncounter\n\t\twhere IschemicStrokeEncounter.hospitalization.dischargeDisposition in "Discharge To Acute Care Facility"\n\t\t\tor IschemicStrokeEncounter.hospitalization.dischargeDisposition in "Left Against Medical Advice"\n\t\t\tor IschemicStrokeEncounter.hospitalization.dischargeDisposition in "Patient Expired"\n\t\t\tor IschemicStrokeEncounter.hospitalization.dischargeDisposition in "Discharged to Home for Hospice Care"\n\t\t\tor IschemicStrokeEncounter.hospitalization.dischargeDisposition in "Discharged to Health Care Facility for Hospice Care"\n\ndefine "Comfort Measures during Hospitalization":\n\t"Ischemic Stroke Encounter" IschemicStrokeEncounter\n \twith "Intervention Comfort Measures" ComfortMeasure\n \tsuch that FHIRHelpers.ToDateTime(Coalesce(ComfortMeasure.performed as dateTime,ComfortMeasure.authoredOn)) during Global."HospitalizationWithObservation"(IschemicStrokeEncounter)\n\ndefine "Encounter with Principal Diagnosis and Age":\n\t"All Stroke Encounter" AllStrokeEncounter\n\t\twith ["Patient"] BirthDate\n\t\t\tsuch that Global."CalendarAgeInYearsAt"(FHIRHelpers.ToDate(BirthDate.birthDate), start of FHIRHelpers.ToInterval(AllStrokeEncounter.period)) >= 18\n\ndefine function "CalendarDayOfOrDayAfter"(StartValue DateTime ):\n\tInterval(Global."ToDate"(StartValue), Global."ToDate"(StartValue + 2 days))\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 FHIRHelpers version '4.0.0'\n\nusing FHIR version '4.0.0'\n\ndefine function ToInterval(period FHIR.Period):\n if period is null then\n null\n else\n Interval[period."start".value, period."end".value]\n\ndefine function ToQuantity(quantity FHIR.Quantity):\n if quantity is null then\n null\n else\n System.Quantity { value: quantity.value.value, unit: quantity.unit.value }\n\ndefine function ToInterval(range FHIR.Range):\n if range is null then\n null\n else\n Interval[ToQuantity(range.low), ToQuantity(range.high)]\n\ndefine function ToCode(coding FHIR.Coding):\n if coding is null then\n null\n else\n System.Code {\n code: coding.code.value,\n system: coding.system.value,\n version: coding.version.value,\n display: coding.display.value\n }\n\ndefine function ToConcept(concept FHIR.CodeableConcept):\n if concept is null then\n null\n else\n System.Concept {\n codes: concept.coding C return ToCode(C),\n display: concept.text.value\n }\n\ndefine function ToString(value FHIR.uuid): value.value\ndefine function ToString(value FHIR.TestScriptRequestMethodCode): value.value\ndefine function ToString(value FHIR.SortDirection): value.value\ndefine function ToString(value FHIR.BiologicallyDerivedProductStatus): value.value\ndefine function ToString(value FHIR.UnitsOfTime): value.value\ndefine function ToString(value FHIR.AddressType): value.value\ndefine function ToString(value FHIR.AllergyIntoleranceCategory): value.value\ndefine function ToString(value FHIR.IssueSeverity): value.value\ndefine function ToString(value FHIR.CareTeamStatus): value.value\ndefine function ToString(value FHIR.EncounterStatus): value.value\ndefine function ToString(value FHIR.StructureDefinitionKind): value.value\ndefine function ToString(value FHIR.PublicationStatus): value.value\ndefine function ToString(value FHIR.FHIRVersion): value.value\ndefine function ToString(value FHIR.CarePlanActivityKind): value.value\ndefine function ToString(value FHIR.StructureMapSourceListMode): value.value\ndefine function ToString(value FHIR.RequestStatus): value.value\ndefine function ToString(value FHIR.strandType): value.value\ndefine function ToString(value FHIR.QuestionnaireResponseStatus): value.value\ndefine function ToString(value FHIR.SearchComparator): value.value\ndefine function ToString(value FHIR.ChargeItemStatus): value.value\ndefine function ToString(value FHIR.ActionParticipantType): value.value\ndefine function ToString(value FHIR.AllergyIntoleranceType): value.value\ndefine function ToString(value FHIR.CarePlanActivityStatus): value.value\ndefine function ToString(value FHIR.InvoiceStatus): value.value\ndefine function ToString(value FHIR.ClaimProcessingCodes): value.value\ndefine function ToString(value FHIR.RequestResourceType): value.value\ndefine function ToString(value FHIR.ParticipationStatus): value.value\ndefine function ToString(value FHIR.DeviceNameType): value.value\ndefine function ToString(value FHIR.DocumentMode): value.value\ndefine function ToString(value FHIR.AssertionOperatorType): value.value\ndefine function ToString(value FHIR.DaysOfWeek): value.value\ndefine function ToString(value FHIR.IssueType): value.value\ndefine function ToString(value FHIR.canonical): value.value\ndefine function ToString(value FHIR.StructureMapContextType): value.value\ndefine function ToString(value FHIR.FamilyHistoryStatus): value.value\ndefine function ToString(value FHIR.status): value.value\ndefine function ToString(value FHIR.ExtensionContextType): value.value\ndefine function ToString(value FHIR.AssertionResponseTypes): value.value\ndefine function ToString(value FHIR.RequestIntent): value.value\ndefine function ToString(value FHIR.string): value.value\ndefine function ToString(value FHIR.ActionRequiredBehavior): value.value\ndefine function ToString(value FHIR.GraphCompartmentUse): value.value\ndefine function ToString(value FHIR.orientationType): value.value\ndefine function ToString(value FHIR.AccountStatus): value.value\ndefine function ToString(value FHIR.IdentifierUse): value.value\ndefine function ToString(value FHIR.StructureMapTargetListMode): value.value\ndefine function ToString(value FHIR.ExposureState): value.value\ndefine function ToString(value FHIR.TestReportParticipantType): value.value\ndefine function ToString(value FHIR.BindingStrength): value.value\ndefine function ToString(value FHIR.RequestPriority): value.value\ndefine function ToString(value FHIR.ParticipantRequired): value.value\ndefine function ToString(value FHIR.XPathUsageType): value.value\ndefine function ToString(value FHIR.id): value.value\ndefine function ToString(value FHIR.FilterOperator): value.value\ndefine function ToString(value FHIR.NamingSystemType): value.value\ndefine function ToString(value FHIR.ContractResourceStatusCodes): value.value\ndefine function ToString(value FHIR.ResearchSubjectStatus): value.value\ndefine function ToString(value FHIR.StructureMapTransform): value.value\ndefine function ToString(value FHIR.ResponseType): value.value\ndefine function ToDecimal(value FHIR.decimal): value.value\ndefine function ToString(value FHIR.AggregationMode): value.value\ndefine function ToString(value FHIR.sequenceType): value.value\ndefine function ToString(value FHIR.SystemRestfulInteraction): value.value\ndefine function ToString(value FHIR.AdverseEventActuality): value.value\ndefine function ToString(value FHIR.SubscriptionChannelType): value.value\ndefine function ToString(value FHIR.AssertionDirectionType): value.value\ndefine function ToString(value FHIR.CarePlanIntent): value.value\ndefine function ToString(value FHIR.AllergyIntoleranceCriticality): value.value\ndefine function ToString(value FHIR.PropertyRepresentation): value.value\ndefine function ToString(value FHIR.TriggerType): value.value\ndefine function ToString(value FHIR.CompositionStatus): value.value\ndefine function ToString(value FHIR.AppointmentStatus): value.value\ndefine function ToString(value FHIR.MessageSignificanceCategory): value.value\ndefine function ToString(value FHIR.ListMode): value.value\ndefine function ToString(value FHIR.ResearchElementType): value.value\ndefine function ToString(value FHIR.ObservationStatus): value.value\ndefine function ToString(value FHIR.ResourceType): value.value\ndefine function ToBoolean(value FHIR.boolean): value.value\ndefine function ToString(value FHIR.StructureMapGroupTypeMode): value.value\ndefine function ToString(value FHIR.SupplyRequestStatus): value.value\ndefine function ToString(value FHIR.EncounterLocationStatus): value.value\ndefine function ToString(value FHIR.ConditionalDeleteStatus): value.value\ndefine function ToString(value FHIR.url): value.value\ndefine function ToString(value FHIR.uri): value.value\ndefine function ToString(value FHIR.Use): value.value\ndefine function ToString(value FHIR.MedicationRequestStatus): value.value\ndefine function ToString(value FHIR.IdentityAssuranceLevel): value.value\ndefine function ToString(value FHIR.DeviceMetricColor): value.value\ndefine function ToTime(value FHIR.time): value.value\ndefine function ToString(value FHIR.ConditionalReadStatus): value.value\ndefine function ToString(value FHIR.AllergyIntoleranceSeverity): value.value\ndefine function ToString(value FHIR.FinancialResourceStatusCodes): value.value\ndefine function ToString(value FHIR.OperationKind): value.value\ndefine function ToString(value FHIR.SubscriptionStatus): value.value\ndefine function ToString(value FHIR.GoalLifecycleStatus): value.value\ndefine function ToString(value FHIR.ObservationDataType): value.value\ndefine function ToString(value FHIR.DocumentReferenceStatus): value.value\ndefine function ToString(value FHIR.repositoryType): value.value\ndefine function ToString(value FHIR.LocationStatus): value.value\ndefine function ToString(value FHIR.NoteType): value.value\ndefine function ToString(value FHIR.TestReportStatus): value.value\ndefine function ToString(value FHIR.CodeSystemContentMode): value.value\ndefine function ToString(value FHIR.FHIRDeviceStatus): value.value\ndefine function ToString(value FHIR.ContactPointSystem): value.value\ndefine function ToString(value FHIR.SlotStatus): value.value\ndefine function ToString(value FHIR.PropertyType): value.value\ndefine function ToString(value FHIR.TypeDerivationRule): value.value\ndefine function ToString(value FHIR.GuidanceResponseStatus): value.value\ndefine function ToString(value FHIR.RelatedArtifactType): value.value\ndefine function ToString(value FHIR.oid): value.value\ndefine function ToString(value FHIR.CompartmentType): value.value\ndefine function ToString(value FHIR.MedicationRequestIntent): value.value\ndefine function ToString(value FHIR.InvoicePriceComponentType): value.value\ndefine function ToString(value FHIR.DeviceMetricCalibrationState): value.value\ndefine function ToString(value FHIR.GroupType): value.value\ndefine function ToString(value FHIR.EnableWhenBehavior): value.value\ndefine function ToString(value FHIR.TaskIntent): value.value\ndefine function ToString(value FHIR.ImmunizationEvaluationStatusCodes): value.value\ndefine function ToString(value FHIR.ExampleScenarioActorType): value.value\ndefine function ToString(value FHIR.ProvenanceEntityRole): value.value\ndefine function ToString(value FHIR.SpecimenStatus): value.value\ndefine function ToString(value FHIR.RestfulCapabilityMode): value.value\ndefine function ToString(value FHIR.DetectedIssueSeverity): value.value\ndefine function ToString(value FHIR.VisionEyes): value.value\ndefine function ToString(value FHIR.ConsentDataMeaning): value.value\ndefine function ToString(value FHIR.messageheaderResponseRequest): value.value\ndefine function ToString(value FHIR.GuidePageGeneration): value.value\ndefine function ToString(value FHIR.DocumentRelationshipType): value.value\ndefine function ToString(value FHIR.VariableType): value.value\ndefine function ToString(value FHIR.TestReportResult): value.value\ndefine function ToString(value FHIR.ConceptMapGroupUnmappedMode): value.value\ndefine function ToDateTime(value FHIR.instant): value.value\ndefine function ToDateTime(value FHIR.dateTime): value.value\ndefine function ToDate(value FHIR.date): value.value\ndefine function ToInteger(value FHIR.positiveInt): value.value\ndefine function ToString(value FHIR.ClinicalImpressionStatus): value.value\ndefine function ToString(value FHIR.EligibilityResponsePurpose): value.value\ndefine function ToString(value FHIR.NarrativeStatus): value.value\ndefine function ToString(value FHIR.ImagingStudyStatus): value.value\ndefine function ToString(value FHIR.EndpointStatus): value.value\ndefine function ToString(value FHIR.BiologicallyDerivedProductCategory): value.value\ndefine function ToString(value FHIR.ResourceVersionPolicy): value.value\ndefine function ToString(value FHIR.ActionCardinalityBehavior): value.value\ndefine function ToString(value FHIR.GroupMeasure): value.value\ndefine function ToString(value FHIR.NamingSystemIdentifierType): value.value\ndefine function ToString(value FHIR.ImmunizationStatusCodes): value.value\ndefine function ToString(value FHIR.MedicationStatusCodes): value.value\ndefine function ToString(value FHIR.DiscriminatorType): value.value\ndefine function ToString(value FHIR.StructureMapInputMode): value.value\ndefine function ToString(value FHIR.LinkageType): value.value\ndefine function ToString(value FHIR.ReferenceHandlingPolicy): value.value\ndefine function ToString(value FHIR.ResearchStudyStatus): value.value\ndefine function ToString(value FHIR.AuditEventOutcome): value.value\ndefine function ToString(value FHIR.SpecimenContainedPreference): value.value\ndefine function ToString(value FHIR.ActionRelationshipType): value.value\ndefine function ToString(value FHIR.ConstraintSeverity): value.value\ndefine function ToString(value FHIR.EventCapabilityMode): value.value\ndefine function ToString(value FHIR.CodeSearchSupport): value.value\ndefine function ToString(value FHIR.ObservationRangeCategory): value.value\ndefine function ToString(value FHIR.UDIEntryType): value.value\ndefine function ToString(value FHIR.DeviceMetricCategory): value.value\ndefine function ToString(value FHIR.TestReportActionResult): value.value\ndefine function ToString(value FHIR.CapabilityStatementKind): value.value\ndefine function ToString(value FHIR.EventTiming): value.value\ndefine function ToString(value FHIR.SearchParamType): value.value\ndefine function ToString(value FHIR.ActionGroupingBehavior): value.value\ndefine function ToString(value FHIR.StructureMapModelMode): value.value\ndefine function ToString(value FHIR.TaskStatus): value.value\ndefine function ToString(value FHIR.BiologicallyDerivedProductStorageScale): value.value\ndefine function ToString(value FHIR.GraphCompartmentRule): value.value\ndefine function ToString(value FHIR.SlicingRules): value.value\ndefine function ToString(value FHIR.ExplanationOfBenefitStatus): value.value\ndefine function ToString(value FHIR.GuideParameterCode): value.value\ndefine function ToString(value FHIR.CatalogEntryRelationType): value.value\ndefine function ToString(value FHIR.LinkType): value.value\ndefine function ToString(value FHIR.ConceptMapEquivalence): value.value\ndefine function ToString(value FHIR.AuditEventAction): value.value\ndefine function ToString(value FHIR.SearchModifierCode): value.value\ndefine function ToString(value FHIR.EventStatus): value.value\ndefine function ToString(value FHIR.OperationParameterUse): value.value\ndefine function ToString(value FHIR.ConsentProvisionType): value.value\ndefine function ToString(value FHIR.ActionConditionKind): value.value\ndefine function ToString(value FHIR.qualityType): value.value\ndefine function ToString(value FHIR.AdministrativeGender): value.value\ndefine function ToString(value FHIR.QuestionnaireItemType): value.value\ndefine function ToString(value FHIR.DeviceMetricCalibrationType): value.value\ndefine function ToString(value FHIR.EvidenceVariableType): value.value\ndefine function ToString(value FHIR.code): value.value\ndefine function ToString(value FHIR.ActionSelectionBehavior): value.value\ndefine function ToString(value FHIR.SupplyDeliveryStatus): value.value\ndefine function ToString(value FHIR.DiagnosticReportStatus): value.value\ndefine function ToString(value FHIR.FlagStatus): value.value\ndefine function ToString(value FHIR.SPDXLicense): value.value\ndefine function ToString(value FHIR.ListStatus): value.value\ndefine function ToString(value FHIR.base64Binary): value.value\ndefine function ToString(value FHIR.DeviceUseStatementStatus): value.value\ndefine function ToString(value FHIR.AuditEventAgentNetworkType): value.value\ndefine function ToString(value FHIR.ExpressionLanguage): value.value\ndefine function ToString(value FHIR.AddressUse): value.value\ndefine function ToString(value FHIR.ContactPointUse): value.value\ndefine function ToString(value FHIR.DeviceMetricOperationalStatus): value.value\ndefine function ToString(value FHIR.ContributorType): value.value\ndefine function ToString(value FHIR.ReferenceVersionRules): value.value\ndefine function ToString(value FHIR.MeasureReportStatus): value.value\ndefine function ToString(value FHIR.SearchEntryMode): value.value\ndefine function ToInteger(value FHIR.unsignedInt): value.value\ndefine function ToString(value FHIR.NameUse): value.value\ndefine function ToString(value FHIR.LocationMode): value.value\ndefine function ToInteger(value FHIR.integer): value.value\ndefine function ToString(value FHIR.FHIRSubstanceStatus): value.value\ndefine function ToString(value FHIR.QuestionnaireItemOperator): value.value\ndefine function ToString(value FHIR.HTTPVerb): value.value\ndefine function ToString(value FHIR.EpisodeOfCareStatus): value.value\ndefine function ToString(value FHIR.RemittanceOutcome): value.value\ndefine function ToString(value FHIR.markdown): value.value\ndefine function ToString(value FHIR.EligibilityRequestPurpose): value.value\ndefine function ToString(value FHIR.QuantityComparator): value.value\ndefine function ToString(value FHIR.MeasureReportType): value.value\ndefine function ToString(value FHIR.ActionPrecheckBehavior): value.value\ndefine function ToString(value FHIR.SampledDataDataType): value.value\ndefine function ToString(value FHIR.CompositionAttestationMode): value.value\ndefine function ToString(value FHIR.TypeRestfulInteraction): value.value\ndefine function ToString(value FHIR.CodeSystemHierarchyMeaning): value.value\ndefine function ToString(value FHIR.vConfidentialityClassification): value.value\ndefine function ToString(value FHIR.ContractResourcePublicationStatusCodes): value.value\ndefine function ToString(value FHIR.VisionBase): value.value\ndefine function ToString(value FHIR.BundleType): value.value\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 FHIRHelpers version '4.0.0'\n\nusing FHIR version '4.0.0'\n\ndefine function ToInterval(period FHIR.Period):\n if period is null then\n null\n else\n Interval[period."start".value, period."end".value]\n\ndefine function ToQuantity(quantity FHIR.Quantity):\n if quantity is null then\n null\n else\n System.Quantity { value: quantity.value.value, unit: quantity.unit.value }\n\ndefine function ToInterval(range FHIR.Range):\n if range is null then\n null\n else\n Interval[ToQuantity(range.low), ToQuantity(range.high)]\n\ndefine function ToCode(coding FHIR.Coding):\n if coding is null then\n null\n else\n System.Code {\n code: coding.code.value,\n system: coding.system.value,\n version: coding.version.value,\n display: coding.display.value\n }\n\ndefine function ToConcept(concept FHIR.CodeableConcept):\n if concept is null then\n null\n else\n System.Concept {\n codes: concept.coding C return ToCode(C),\n display: concept.text.value\n }\n\ndefine function ToString(value FHIR.uuid): value.value\ndefine function ToString(value FHIR.TestScriptRequestMethodCode): value.value\ndefine function ToString(value FHIR.SortDirection): value.value\ndefine function ToString(value FHIR.BiologicallyDerivedProductStatus): value.value\ndefine function ToString(value FHIR.UnitsOfTime): value.value\ndefine function ToString(value FHIR.AddressType): value.value\ndefine function ToString(value FHIR.AllergyIntoleranceCategory): value.value\ndefine function ToString(value FHIR.IssueSeverity): value.value\ndefine function ToString(value FHIR.CareTeamStatus): value.value\ndefine function ToString(value FHIR.EncounterStatus): value.value\ndefine function ToString(value FHIR.StructureDefinitionKind): value.value\ndefine function ToString(value FHIR.PublicationStatus): value.value\ndefine function ToString(value FHIR.FHIRVersion): value.value\ndefine function ToString(value FHIR.CarePlanActivityKind): value.value\ndefine function ToString(value FHIR.StructureMapSourceListMode): value.value\ndefine function ToString(value FHIR.RequestStatus): value.value\ndefine function ToString(value FHIR.strandType): value.value\ndefine function ToString(value FHIR.QuestionnaireResponseStatus): value.value\ndefine function ToString(value FHIR.SearchComparator): value.value\ndefine function ToString(value FHIR.ChargeItemStatus): value.value\ndefine function ToString(value FHIR.ActionParticipantType): value.value\ndefine function ToString(value FHIR.AllergyIntoleranceType): value.value\ndefine function ToString(value FHIR.CarePlanActivityStatus): value.value\ndefine function ToString(value FHIR.InvoiceStatus): value.value\ndefine function ToString(value FHIR.ClaimProcessingCodes): value.value\ndefine function ToString(value FHIR.RequestResourceType): value.value\ndefine function ToString(value FHIR.ParticipationStatus): value.value\ndefine function ToString(value FHIR.DeviceNameType): value.value\ndefine function ToString(value FHIR.DocumentMode): value.value\ndefine function ToString(value FHIR.AssertionOperatorType): value.value\ndefine function ToString(value FHIR.DaysOfWeek): value.value\ndefine function ToString(value FHIR.IssueType): value.value\ndefine function ToString(value FHIR.canonical): value.value\ndefine function ToString(value FHIR.StructureMapContextType): value.value\ndefine function ToString(value FHIR.FamilyHistoryStatus): value.value\ndefine function ToString(value FHIR.status): value.value\ndefine function ToString(value FHIR.ExtensionContextType): value.value\ndefine function ToString(value FHIR.AssertionResponseTypes): value.value\ndefine function ToString(value FHIR.RequestIntent): value.value\ndefine function ToString(value FHIR.string): value.value\ndefine function ToString(value FHIR.ActionRequiredBehavior): value.value\ndefine function ToString(value FHIR.GraphCompartmentUse): value.value\ndefine function ToString(value FHIR.orientationType): value.value\ndefine function ToString(value FHIR.AccountStatus): value.value\ndefine function ToString(value FHIR.IdentifierUse): value.value\ndefine function ToString(value FHIR.StructureMapTargetListMode): value.value\ndefine function ToString(value FHIR.ExposureState): value.value\ndefine function ToString(value FHIR.TestReportParticipantType): value.value\ndefine function ToString(value FHIR.BindingStrength): value.value\ndefine function ToString(value FHIR.RequestPriority): value.value\ndefine function ToString(value FHIR.ParticipantRequired): value.value\ndefine function ToString(value FHIR.XPathUsageType): value.value\ndefine function ToString(value FHIR.id): value.value\ndefine function ToString(value FHIR.FilterOperator): value.value\ndefine function ToString(value FHIR.NamingSystemType): value.value\ndefine function ToString(value FHIR.ContractResourceStatusCodes): value.value\ndefine function ToString(value FHIR.ResearchSubjectStatus): value.value\ndefine function ToString(value FHIR.StructureMapTransform): value.value\ndefine function ToString(value FHIR.ResponseType): value.value\ndefine function ToDecimal(value FHIR.decimal): value.value\ndefine function ToString(value FHIR.AggregationMode): value.value\ndefine function ToString(value FHIR.sequenceType): value.value\ndefine function ToString(value FHIR.SystemRestfulInteraction): value.value\ndefine function ToString(value FHIR.AdverseEventActuality): value.value\ndefine function ToString(value FHIR.SubscriptionChannelType): value.value\ndefine function ToString(value FHIR.AssertionDirectionType): value.value\ndefine function ToString(value FHIR.CarePlanIntent): value.value\ndefine function ToString(value FHIR.AllergyIntoleranceCriticality): value.value\ndefine function ToString(value FHIR.PropertyRepresentation): value.value\ndefine function ToString(value FHIR.TriggerType): value.value\ndefine function ToString(value FHIR.CompositionStatus): value.value\ndefine function ToString(value FHIR.AppointmentStatus): value.value\ndefine function ToString(value FHIR.MessageSignificanceCategory): value.value\ndefine function ToString(value FHIR.ListMode): value.value\ndefine function ToString(value FHIR.ResearchElementType): value.value\ndefine function ToString(value FHIR.ObservationStatus): value.value\ndefine function ToString(value FHIR.ResourceType): value.value\ndefine function ToBoolean(value FHIR.boolean): value.value\ndefine function ToString(value FHIR.StructureMapGroupTypeMode): value.value\ndefine function ToString(value FHIR.SupplyRequestStatus): value.value\ndefine function ToString(value FHIR.EncounterLocationStatus): value.value\ndefine function ToString(value FHIR.ConditionalDeleteStatus): value.value\ndefine function ToString(value FHIR.url): value.value\ndefine function ToString(value FHIR.uri): value.value\ndefine function ToString(value FHIR.Use): value.value\ndefine function ToString(value FHIR.MedicationRequestStatus): value.value\ndefine function ToString(value FHIR.IdentityAssuranceLevel): value.value\ndefine function ToString(value FHIR.DeviceMetricColor): value.value\ndefine function ToTime(value FHIR.time): value.value\ndefine function ToString(value FHIR.ConditionalReadStatus): value.value\ndefine function ToString(value FHIR.AllergyIntoleranceSeverity): value.value\ndefine function ToString(value FHIR.FinancialResourceStatusCodes): value.value\ndefine function ToString(value FHIR.OperationKind): value.value\ndefine function ToString(value FHIR.SubscriptionStatus): value.value\ndefine function ToString(value FHIR.GoalLifecycleStatus): value.value\ndefine function ToString(value FHIR.ObservationDataType): value.value\ndefine function ToString(value FHIR.DocumentReferenceStatus): value.value\ndefine function ToString(value FHIR.repositoryType): value.value\ndefine function ToString(value FHIR.LocationStatus): value.value\ndefine function ToString(value FHIR.NoteType): value.value\ndefine function ToString(value FHIR.TestReportStatus): value.value\ndefine function ToString(value FHIR.CodeSystemContentMode): value.value\ndefine function ToString(value FHIR.FHIRDeviceStatus): value.value\ndefine function ToString(value FHIR.ContactPointSystem): value.value\ndefine function ToString(value FHIR.SlotStatus): value.value\ndefine function ToString(value FHIR.PropertyType): value.value\ndefine function ToString(value FHIR.TypeDerivationRule): value.value\ndefine function ToString(value FHIR.GuidanceResponseStatus): value.value\ndefine function ToString(value FHIR.RelatedArtifactType): value.value\ndefine function ToString(value FHIR.oid): value.value\ndefine function ToString(value FHIR.CompartmentType): value.value\ndefine function ToString(value FHIR.MedicationRequestIntent): value.value\ndefine function ToString(value FHIR.InvoicePriceComponentType): value.value\ndefine function ToString(value FHIR.DeviceMetricCalibrationState): value.value\ndefine function ToString(value FHIR.GroupType): value.value\ndefine function ToString(value FHIR.EnableWhenBehavior): value.value\ndefine function ToString(value FHIR.TaskIntent): value.value\ndefine function ToString(value FHIR.ImmunizationEvaluationStatusCodes): value.value\ndefine function ToString(value FHIR.ExampleScenarioActorType): value.value\ndefine function ToString(value FHIR.ProvenanceEntityRole): value.value\ndefine function ToString(value FHIR.SpecimenStatus): value.value\ndefine function ToString(value FHIR.RestfulCapabilityMode): value.value\ndefine function ToString(value FHIR.DetectedIssueSeverity): value.value\ndefine function ToString(value FHIR.VisionEyes): value.value\ndefine function ToString(value FHIR.ConsentDataMeaning): value.value\ndefine function ToString(value FHIR.messageheaderResponseRequest): value.value\ndefine function ToString(value FHIR.GuidePageGeneration): value.value\ndefine function ToString(value FHIR.DocumentRelationshipType): value.value\ndefine function ToString(value FHIR.VariableType): value.value\ndefine function ToString(value FHIR.TestReportResult): value.value\ndefine function ToString(value FHIR.ConceptMapGroupUnmappedMode): value.value\ndefine function ToDateTime(value FHIR.instant): value.value\ndefine function ToDateTime(value FHIR.dateTime): value.value\ndefine function ToDate(value FHIR.date): value.value\ndefine function ToInteger(value FHIR.positiveInt): value.value\ndefine function ToString(value FHIR.ClinicalImpressionStatus): value.value\ndefine function ToString(value FHIR.EligibilityResponsePurpose): value.value\ndefine function ToString(value FHIR.NarrativeStatus): value.value\ndefine function ToString(value FHIR.ImagingStudyStatus): value.value\ndefine function ToString(value FHIR.EndpointStatus): value.value\ndefine function ToString(value FHIR.BiologicallyDerivedProductCategory): value.value\ndefine function ToString(value FHIR.ResourceVersionPolicy): value.value\ndefine function ToString(value FHIR.ActionCardinalityBehavior): value.value\ndefine function ToString(value FHIR.GroupMeasure): value.value\ndefine function ToString(value FHIR.NamingSystemIdentifierType): value.value\ndefine function ToString(value FHIR.ImmunizationStatusCodes): value.value\ndefine function ToString(value FHIR.MedicationStatusCodes): value.value\ndefine function ToString(value FHIR.DiscriminatorType): value.value\ndefine function ToString(value FHIR.StructureMapInputMode): value.value\ndefine function ToString(value FHIR.LinkageType): value.value\ndefine function ToString(value FHIR.ReferenceHandlingPolicy): value.value\ndefine function ToString(value FHIR.ResearchStudyStatus): value.value\ndefine function ToString(value FHIR.AuditEventOutcome): value.value\ndefine function ToString(value FHIR.SpecimenContainedPreference): value.value\ndefine function ToString(value FHIR.ActionRelationshipType): value.value\ndefine function ToString(value FHIR.ConstraintSeverity): value.value\ndefine function ToString(value FHIR.EventCapabilityMode): value.value\ndefine function ToString(value FHIR.CodeSearchSupport): value.value\ndefine function ToString(value FHIR.ObservationRangeCategory): value.value\ndefine function ToString(value FHIR.UDIEntryType): value.value\ndefine function ToString(value FHIR.DeviceMetricCategory): value.value\ndefine function ToString(value FHIR.TestReportActionResult): value.value\ndefine function ToString(value FHIR.CapabilityStatementKind): value.value\ndefine function ToString(value FHIR.EventTiming): value.value\ndefine function ToString(value FHIR.SearchParamType): value.value\ndefine function ToString(value FHIR.ActionGroupingBehavior): value.value\ndefine function ToString(value FHIR.StructureMapModelMode): value.value\ndefine function ToString(value FHIR.TaskStatus): value.value\ndefine function ToString(value FHIR.BiologicallyDerivedProductStorageScale): value.value\ndefine function ToString(value FHIR.GraphCompartmentRule): value.value\ndefine function ToString(value FHIR.SlicingRules): value.value\ndefine function ToString(value FHIR.ExplanationOfBenefitStatus): value.value\ndefine function ToString(value FHIR.GuideParameterCode): value.value\ndefine function ToString(value FHIR.CatalogEntryRelationType): value.value\ndefine function ToString(value FHIR.LinkType): value.value\ndefine function ToString(value FHIR.ConceptMapEquivalence): value.value\ndefine function ToString(value FHIR.AuditEventAction): value.value\ndefine function ToString(value FHIR.SearchModifierCode): value.value\ndefine function ToString(value FHIR.EventStatus): value.value\ndefine function ToString(value FHIR.OperationParameterUse): value.value\ndefine function ToString(value FHIR.ConsentProvisionType): value.value\ndefine function ToString(value FHIR.ActionConditionKind): value.value\ndefine function ToString(value FHIR.qualityType): value.value\ndefine function ToString(value FHIR.AdministrativeGender): value.value\ndefine function ToString(value FHIR.QuestionnaireItemType): value.value\ndefine function ToString(value FHIR.DeviceMetricCalibrationType): value.value\ndefine function ToString(value FHIR.EvidenceVariableType): value.value\ndefine function ToString(value FHIR.code): value.value\ndefine function ToString(value FHIR.ActionSelectionBehavior): value.value\ndefine function ToString(value FHIR.SupplyDeliveryStatus): value.value\ndefine function ToString(value FHIR.DiagnosticReportStatus): value.value\ndefine function ToString(value FHIR.FlagStatus): value.value\ndefine function ToString(value FHIR.SPDXLicense): value.value\ndefine function ToString(value FHIR.ListStatus): value.value\ndefine function ToString(value FHIR.base64Binary): value.value\ndefine function ToString(value FHIR.DeviceUseStatementStatus): value.value\ndefine function ToString(value FHIR.AuditEventAgentNetworkType): value.value\ndefine function ToString(value FHIR.ExpressionLanguage): value.value\ndefine function ToString(value FHIR.AddressUse): value.value\ndefine function ToString(value FHIR.ContactPointUse): value.value\ndefine function ToString(value FHIR.DeviceMetricOperationalStatus): value.value\ndefine function ToString(value FHIR.ContributorType): value.value\ndefine function ToString(value FHIR.ReferenceVersionRules): value.value\ndefine function ToString(value FHIR.MeasureReportStatus): value.value\ndefine function ToString(value FHIR.SearchEntryMode): value.value\ndefine function ToInteger(value FHIR.unsignedInt): value.value\ndefine function ToString(value FHIR.NameUse): value.value\ndefine function ToString(value FHIR.LocationMode): value.value\ndefine function ToInteger(value FHIR.integer): value.value\ndefine function ToString(value FHIR.FHIRSubstanceStatus): value.value\ndefine function ToString(value FHIR.QuestionnaireItemOperator): value.value\ndefine function ToString(value FHIR.HTTPVerb): value.value\ndefine function ToString(value FHIR.EpisodeOfCareStatus): value.value\ndefine function ToString(value FHIR.RemittanceOutcome): value.value\ndefine function ToString(value FHIR.markdown): value.value\ndefine function ToString(value FHIR.EligibilityRequestPurpose): value.value\ndefine function ToString(value FHIR.QuantityComparator): value.value\ndefine function ToString(value FHIR.MeasureReportType): value.value\ndefine function ToString(value FHIR.ActionPrecheckBehavior): value.value\ndefine function ToString(value FHIR.SampledDataDataType): value.value\ndefine function ToString(value FHIR.CompositionAttestationMode): value.value\ndefine function ToString(value FHIR.TypeRestfulInteraction): value.value\ndefine function ToString(value FHIR.CodeSystemHierarchyMeaning): value.value\ndefine function ToString(value FHIR.vConfidentialityClassification): value.value\ndefine function ToString(value FHIR.ContractResourcePublicationStatusCodes): value.value\ndefine function ToString(value FHIR.VisionBase): value.value\ndefine function ToString(value FHIR.BundleType): value.value\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 MATGlobalCommonFunctions_FHIR4 version '4.0.000'\n\nusing FHIR version '4.0.0'\n\ninclude FHIRHelpers version '4.0.0' called FHIRHelpers\n\ncodesystem "LOINC": 'http://loinc.org'\ncodesystem "SNOMEDCT": 'http://snomed.info/sct/731000124108'\ncodesystem "RoleCode": 'http://hl7.org/fhir/v3/RoleCode'\ncodesystem "Diagnosis Role": 'http://terminology.hl7.org/CodeSystem/diagnosis-role'\ncodesystem "RequestIntent": 'http://terminology.hl7.org/CodeSystem/request-intent'\ncodesystem "MedicationRequestCategory": 'http://terminology.hl7.org/CodeSystem/medicationrequest-category'\ncodesystem "ConditionClinicalStatusCodes": 'http://terminology.hl7.org/CodeSystem/condition-clinical'\ncodesystem "ConditionVerificationStatusCodes": 'http://terminology.hl7.org/CodeSystem/condition-verification'\ncodesystem "AllergyIntoleranceClinicalStatusCodes": 'http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical'\ncodesystem "AllergyIntoleranceVerificationStatusCodes": 'http://terminology.hl7.org/CodeSystem/allergyintolerance-verification'\n\nvalueset "Encounter Inpatient": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.666.5.307'\nvalueset "Emergency Department Visit": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.292'\nvalueset "Observation Services": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1111.143'\n\ncode "Birthdate": '21112-8' from "LOINC" display 'Birth date'\ncode "Dead": '419099009' from "SNOMEDCT" display 'Dead'\ncode "ER": 'ER' from "RoleCode" display 'Emergency room'\ncode "ICU": 'ICU' from "RoleCode" display 'Intensive care unit'\ncode "Billing": 'billing' from "Diagnosis Role" display 'Billing'\n\n// Condition Clinical Status Codes - Consider value sets for these\ncode "active": 'active' from "ConditionClinicalStatusCodes"\ncode "recurrence": 'recurrence' from "ConditionClinicalStatusCodes"\ncode "relapse": 'relapse' from "ConditionClinicalStatusCodes"\ncode "inactive": 'inactive' from "ConditionClinicalStatusCodes"\ncode "remission": 'remission' from "ConditionClinicalStatusCodes"\ncode "resolved": 'resolved' from "ConditionClinicalStatusCodes"\n\n// Condition Verification Status Codes - Consider value sets for these\ncode "unconfirmed": 'unconfirmed' from ConditionVerificationStatusCodes\ncode "provisional": 'provisional' from ConditionVerificationStatusCodes\ncode "differential": 'differential' from ConditionVerificationStatusCodes\ncode "confirmed": 'confirmed' from ConditionVerificationStatusCodes\ncode "refuted": 'refuted' from ConditionVerificationStatusCodes\ncode "entered-in-error": 'entered-in-error' from ConditionVerificationStatusCodes\n\ncode "allergy-active": 'active' from "AllergyIntoleranceClinicalStatusCodes"\ncode "allergy-inactive": 'inactive' from "AllergyIntoleranceClinicalStatusCodes"\ncode "allergy-resolved": 'resolved' from "AllergyIntoleranceClinicalStatusCodes"\n\n// Allergy/Intolerance Verification Status Codes - Consider value sets for these\ncode "allergy-unconfirmed": 'unconfirmed' from AllergyIntoleranceVerificationStatusCodes\ncode "allergy-confirmed": 'confirmed' from AllergyIntoleranceVerificationStatusCodes\ncode "allergy-refuted": 'refuted' from AllergyIntoleranceVerificationStatusCodes\n\n// MedicationRequest Category Codes\ncode "Community": 'community' from "MedicationRequestCategory" display 'Community'\ncode "Discharge": 'discharge' from "MedicationRequestCategory" display 'Discharge'\n\nparameter "Measurement Period" Interval<DateTime>\n default Interval[@2019-01-01T00:00:00.0, @2020-01-01T00:00:00.0)\n\ncontext Patient\n\ndefine "Inpatient Encounter":\n\t[Encounter: "Encounter Inpatient"] EncounterInpatient\n\t\twhere EncounterInpatient.status = 'finished'\n\t\t and "LengthInDays"(EncounterInpatient.period) <= 120\n\t\t\tand EncounterInpatient.period ends during "Measurement Period"\n\ndefine function "ToDate"(Value DateTime):\n\tDateTime(year from Value, month from Value, day from Value, 0, 0, 0, 0, timezone from Value)\n\ndefine function "CalendarAgeInDaysAt"(BirthDateTime DateTime, AsOf DateTime):\n\tdays between ToDate(BirthDateTime)and ToDate(AsOf)\n\ndefine function "CalendarAgeInDays"(BirthDateTime DateTime):\n\tCalendarAgeInDaysAt(BirthDateTime, Today())\n\ndefine function "CalendarAgeInMonthsAt"(BirthDateTime DateTime, AsOf DateTime):\n\tmonths between ToDate(BirthDateTime)and ToDate(AsOf)\n\ndefine function "CalendarAgeInMonths"(BirthDateTime DateTime):\n\tCalendarAgeInMonthsAt(BirthDateTime, Today())\n\ndefine function "CalendarAgeInYearsAt"(BirthDateTime DateTime, AsOf DateTime):\n\tyears between ToDate(BirthDateTime)and ToDate(AsOf)\n\ndefine function "CalendarAgeInYears"(BirthDateTime DateTime):\n\tCalendarAgeInYearsAt(BirthDateTime, Today())\n\ndefine function "LengthInDays"(Value Interval<DateTime>):\n\tdifference in days between start of Value and end of Value\n\ndefine function "ED Visit"(TheEncounter FHIR.Encounter):\n singleton from (\n [Encounter: "Emergency Department Visit"] EDVisit\n where EDVisit.status = 'finished'\n and EDVisit.period ends 1 hour or less on or before start of FHIRHelpers.ToInterval(TheEncounter.period)\n )\n\ndefine function "Hospitalization"(TheEncounter FHIR.Encounter):\n\t( "ED Visit"(TheEncounter) ) X\n return\n if X is null then TheEncounter.period\n else Interval[start of FHIRHelpers.ToInterval(X.period), end of FHIRHelpers.ToInterval(TheEncounter.period)]\n\ndefine function "Hospitalization Locations"(TheEncounter FHIR.Encounter):\n\t( "ED Visit"(TheEncounter) ) EDEncounter\n return\n if EDEncounter is null then TheEncounter.location\n else flatten { EDEncounter.location, TheEncounter.location }\n\ndefine function "Hospitalization Length of Stay"(TheEncounter FHIR.Encounter):\n\tLengthInDays("Hospitalization"(TheEncounter))\n\ndefine function "Hospital Admission Time"(TheEncounter FHIR.Encounter):\n\tstart of "Hospitalization"(TheEncounter)\n\ndefine function "Hospital Discharge Time"(TheEncounter FHIR.Encounter):\n\tend of FHIRHelpers.ToInterval(TheEncounter.period)\n\ndefine function "Hospital Arrival Time"(TheEncounter FHIR.Encounter):\n\tstart of FHIRHelpers.ToInterval(First(\n\t ( "Hospitalization Locations"(TheEncounter) ) HospitalLocation\n\t\t\tsort by start of FHIRHelpers.ToInterval(period)\n\t).period)\n\ndefine function "HospitalizationWithObservation"(TheEncounter FHIR.Encounter):\n\tTheEncounter Visit\n\t\tlet ObsVisit: Last([Encounter: "Observation Services"] LastObs\n\t\t\t\twhere LastObs.period ends 1 hour or less on or before start of Visit.period\n\t\t\t\tsort by end of period\n\t\t\t),\n\t\t\tVisitStart: Coalesce(start of ObsVisit.period, start of Visit.period),\n\t\t\tEDVisit: Last([Encounter: "Emergency Department Visit"] LastED\n\t\t\t\twhere LastED.period ends 1 hour or less on or before VisitStart\n\t\t\t\tsort by end of period\n\t\t\t)\n\t\treturn Interval[Coalesce(start of EDVisit.period, VisitStart), end of Visit.period]\n\ndefine function "HospitalizationWithObservationLengthofStay"(Encounter FHIR.Encounter):\n\t"LengthInDays"("HospitalizationWithObservation"(Encounter))\n\n// TODO - fix these (must fetch Location resources and compare id to reference)\n/*define function "Hospital Departure Time"(TheEncounter FHIR.Encounter):\n\tend of FHIRHelpers.ToInterval(Last(\n\t ( "Hospitalization Locations"(TheEncounter) ) HospitalLocation\n\t\t\tsort by start of FHIRHelpers.ToInterval(period)\n\t).period)\n\ndefine function "Emergency Department Arrival Time"(TheEncounter FHIR.Encounter):\n\tstart of FHIRHelpers.ToInterval((\n\t singleton from (\n\t ( "Hospitalization Locations"(TheEncounter) ) HospitalLocation\n\t\t\t\twhere HospitalLocation.type ~ "ER"\n\t\t)\n\t).period)\n\ndefine function "First Inpatient Intensive Care Unit"(TheEncounter FHIR.Encounter):\n\tFirst(\n\t ( TheEncounter.location ) HospitalLocation\n\t\t\twhere HospitalLocation.type ~ "ICU"\n\t\t\t\tand HospitalLocation.period during TheEncounter.period\n\t\t\tsort by start of FHIRHelpers.ToInterval(period)\n\t)*/\n\n/*\n*\n* CQFMeasures Common Logic\n*\n*/\n\ndefine function "Normalize Onset"(onset Choice<FHIR.dateTime, FHIR.Age, FHIR.Period, FHIR.Range, FHIR.string>):\n if onset is FHIR.dateTime then\n\t Interval[FHIRHelpers.ToDateTime(onset as FHIR.dateTime), FHIRHelpers.ToDateTime(onset as FHIR.dateTime)]\n\telse if onset is FHIR.Period then\n\t FHIRHelpers.ToInterval(onset as FHIR.Period)\n\telse if onset is FHIR.string then\n Message(null as Interval<DateTime>, true, '1', 'Error', 'Cannot compute an interval from a String value')\n\telse if onset is FHIR.Age then\n\t Interval[FHIRHelpers.ToDate(Patient.birthDate) + FHIRHelpers.ToQuantity(onset as FHIR.Age),\n\t\t FHIRHelpers.ToDate(Patient.birthDate) + FHIRHelpers.ToQuantity(onset as FHIR.Age) + 1 year)\n\telse if onset is FHIR.Range then\n\t Interval[FHIRHelpers.ToDate(Patient.birthDate) + FHIRHelpers.ToQuantity((onset as FHIR.Range).low),\n\t\t FHIRHelpers.ToDate(Patient.birthDate) + FHIRHelpers.ToQuantity((onset as FHIR.Range).high) + 1 year)\n\telse null\n\ndefine function "Normalize Abatement"(condition Condition):\n\tif condition.abatement is FHIR.dateTime then\n\t Interval[FHIRHelpers.ToDateTime(condition.abatement as FHIR.dateTime), FHIRHelpers.ToDateTime(condition.abatement as FHIR.dateTime)]\n\telse if condition.abatement is FHIR.Period then\n\t FHIRHelpers.ToInterval(condition.abatement as FHIR.Period)\n\telse if condition.abatement is FHIR.string then\n Message(null as Interval<DateTime>, true, '1', 'Error', 'Cannot compute an interval from a String value')\n\telse if condition.abatement is FHIR.Age then\n\t\tInterval[FHIRHelpers.ToDate(Patient.birthDate) + FHIRHelpers.ToQuantity(condition.abatement as FHIR.Age),\n\t\t\tFHIRHelpers.ToDate(Patient.birthDate) + FHIRHelpers.ToQuantity(condition.abatement as FHIR.Age) + 1 year)\n\telse if condition.abatement is FHIR.Range then\n\t Interval[FHIRHelpers.ToDate(Patient.birthDate) + FHIRHelpers.ToQuantity((condition.abatement as FHIR.Range).low),\n\t\t FHIRHelpers.ToDate(Patient.birthDate) + FHIRHelpers.ToQuantity((condition.abatement as FHIR.Range).high) + 1 year)\n\telse if condition.abatement is FHIR.boolean then\n\t Interval[end of "Normalize Onset"(condition.onset), condition.recordedDate)\n\telse null\n\ndefine function "Prevalence Period"(condition Condition):\n Interval[start of "Normalize Onset"(condition.onset), end of "Normalize Abatement"(condition))\n\ndefine function "Normalize Interval"(choice Choice<FHIR.dateTime, FHIR.Period, FHIR.Timing, FHIR.instant, FHIR.string, FHIR.Age, FHIR.Range>):\n case\n\t when choice is FHIR.dateTime then\n \tInterval[FHIRHelpers.ToDateTime(choice as FHIR.dateTime), FHIRHelpers.ToDateTime(choice as FHIR.dateTime)]\n\t\twhen choice is FHIR.Period then\n \t\tFHIRHelpers.ToInterval(choice as FHIR.Period)\n\t\twhen choice is FHIR.instant then\n\t\t\tInterval[FHIRHelpers.ToDateTime(choice as FHIR.instant), FHIRHelpers.ToDateTime(choice as FHIR.instant)]\n\t\twhen choice is FHIR.Age then\n\t\t Interval[FHIRHelpers.ToDate(Patient.birthDate) + FHIRHelpers.ToQuantity(choice as FHIR.Age),\n\t\t\t FHIRHelpers.ToDate(Patient.birthDate) + FHIRHelpers.ToQuantity(choice as FHIR.Age) + 1 year)\n\t\twhen choice is FHIR.Range then\n\t\t Interval[FHIRHelpers.ToDate(Patient.birthDate) + FHIRHelpers.ToQuantity((choice as FHIR.Range).low),\n\t\t\t FHIRHelpers.ToDate(Patient.birthDate) + FHIRHelpers.ToQuantity((choice as FHIR.Range).high) + 1 year)\n\t\twhen choice is FHIR.Timing then\n\t\t Message(null as Interval<DateTime>, true, '1', 'Error', 'Cannot compute a single interval from a Timing type')\n when choice is FHIR.string then\n Message(null as Interval<DateTime>, true, '1', 'Error', 'Cannot compute an interval from a String value')\n\t\telse\n\t\t\tnull as Interval<DateTime>\n\tend\n\ndefine function "GetId"(uri String):\n\tLast(Split(uri, '/'))\n\n\ndefine function "EncounterDiagnosis"(Encounter Encounter):\n Encounter.diagnosis D\n return singleton from ([Condition] C where C.id = "GetId"(D.condition.reference))\n\n// Returns the condition that is specified as the principal diagnosis for the encounter\n// TODO: BTR 2019-07-30: Shouldn't need the FHIRHelpers reference here, investigate\ndefine function "PrincipalDiagnosis"(Encounter Encounter):\n\t(singleton from (Encounter.diagnosis D where FHIRHelpers.ToInteger(D.rank) = 1)) PD\n\t\treturn singleton from ([Condition] C where C.id = "GetId"(PD.condition.reference))\n\n// Returns the location for the given location reference\ndefine function GetLocation(reference Reference):\n singleton from (\n [Location] L where L.id = GetId(reference.reference)\n )\n\n/*\nNOTE: Extensions are not the preferred approach, but are used as a way to access\ncontent that is defined by extensions but not yet surfaced in the\nCQL model info.\n*/\ndefine function "GetExtensions"(domainResource DomainResource, url String):\n domainResource.extension E\n\t where E.url = ('http://hl7.org/fhir/us/qicore/StructureDefinition/' + url)\n\t\treturn E\n\ndefine function "GetExtension"(domainResource DomainResource, url String):\n singleton from "GetExtensions"(domainResource, url)\n\n/*\nNOTE: Extensions are not the preferred approach, but are used as a way to access\ncontent that is defined by extensions but not yet surfaced in the\nCQL model info.\n*/\ndefine function "GetExtensions"(element Element, url String):\n element.extension E\n\t where E.url = (url)\n\t\treturn E\n\ndefine function "GetExtension"(element Element, url String):\n singleton from "GetExtensions"(element, url)\n\n/*\nNOTE: Extensions are not the preferred approach, but are used as a way to access\ncontent that is defined by extensions but not yet surfaced in the\nCQL model info.\n*/\ndefine function "GetBaseExtensions"(domainResource DomainResource, url String):\n domainResource.extension E\n\t where E.url = ('http://hl7.org/fhir/StructureDefinition/' + url)\n\t\treturn E\n\ndefine function "GetBaseExtension"(domainResource DomainResource, url String):\n singleton from "GetBaseExtensions"(domainResource, url)\n\n/*\nNOTE: Provenance is not the preferred approach, this is provided only as an illustration\nfor what using Provenance could look like, and is not a tested pattern\n*/\ndefine function "GetProvenance"(resource Resource):\n singleton from ([Provenance: target in resource.id])\n\ndefine function "GetMedicationCode"(request MedicationRequest):\n if request.medication is CodeableConcept then\n\t request.medication as CodeableConcept\n\telse\n\t (singleton from ([Medication] M where M.id = GetId((request.medication as Reference).reference))).code\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 MATGlobalCommonFunctions_FHIR4 version '4.0.000'\n\nusing FHIR version '4.0.0'\n\ninclude FHIRHelpers version '4.0.0' called FHIRHelpers\n\ncodesystem "LOINC": 'http://loinc.org'\ncodesystem "SNOMEDCT": 'http://snomed.info/sct/731000124108'\ncodesystem "RoleCode": 'http://hl7.org/fhir/v3/RoleCode'\ncodesystem "Diagnosis Role": 'http://terminology.hl7.org/CodeSystem/diagnosis-role'\ncodesystem "RequestIntent": 'http://terminology.hl7.org/CodeSystem/request-intent'\ncodesystem "MedicationRequestCategory": 'http://terminology.hl7.org/CodeSystem/medicationrequest-category'\ncodesystem "ConditionClinicalStatusCodes": 'http://terminology.hl7.org/CodeSystem/condition-clinical'\ncodesystem "ConditionVerificationStatusCodes": 'http://terminology.hl7.org/CodeSystem/condition-verification'\ncodesystem "AllergyIntoleranceClinicalStatusCodes": 'http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical'\ncodesystem "AllergyIntoleranceVerificationStatusCodes": 'http://terminology.hl7.org/CodeSystem/allergyintolerance-verification'\n\nvalueset "Encounter Inpatient": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.666.5.307'\nvalueset "Emergency Department Visit": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.292'\nvalueset "Observation Services": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1111.143'\n\ncode "Birthdate": '21112-8' from "LOINC" display 'Birth date'\ncode "Dead": '419099009' from "SNOMEDCT" display 'Dead'\ncode "ER": 'ER' from "RoleCode" display 'Emergency room'\ncode "ICU": 'ICU' from "RoleCode" display 'Intensive care unit'\ncode "Billing": 'billing' from "Diagnosis Role" display 'Billing'\n\n// Condition Clinical Status Codes - Consider value sets for these\ncode "active": 'active' from "ConditionClinicalStatusCodes"\ncode "recurrence": 'recurrence' from "ConditionClinicalStatusCodes"\ncode "relapse": 'relapse' from "ConditionClinicalStatusCodes"\ncode "inactive": 'inactive' from "ConditionClinicalStatusCodes"\ncode "remission": 'remission' from "ConditionClinicalStatusCodes"\ncode "resolved": 'resolved' from "ConditionClinicalStatusCodes"\n\n// Condition Verification Status Codes - Consider value sets for these\ncode "unconfirmed": 'unconfirmed' from ConditionVerificationStatusCodes\ncode "provisional": 'provisional' from ConditionVerificationStatusCodes\ncode "differential": 'differential' from ConditionVerificationStatusCodes\ncode "confirmed": 'confirmed' from ConditionVerificationStatusCodes\ncode "refuted": 'refuted' from ConditionVerificationStatusCodes\ncode "entered-in-error": 'entered-in-error' from ConditionVerificationStatusCodes\n\ncode "allergy-active": 'active' from "AllergyIntoleranceClinicalStatusCodes"\ncode "allergy-inactive": 'inactive' from "AllergyIntoleranceClinicalStatusCodes"\ncode "allergy-resolved": 'resolved' from "AllergyIntoleranceClinicalStatusCodes"\n\n// Allergy/Intolerance Verification Status Codes - Consider value sets for these\ncode "allergy-unconfirmed": 'unconfirmed' from AllergyIntoleranceVerificationStatusCodes\ncode "allergy-confirmed": 'confirmed' from AllergyIntoleranceVerificationStatusCodes\ncode "allergy-refuted": 'refuted' from AllergyIntoleranceVerificationStatusCodes\n\n// MedicationRequest Category Codes\ncode "Community": 'community' from "MedicationRequestCategory" display 'Community'\ncode "Discharge": 'discharge' from "MedicationRequestCategory" display 'Discharge'\n\nparameter "Measurement Period" Interval<DateTime>\n default Interval[@2019-01-01T00:00:00.0, @2020-01-01T00:00:00.0)\n\ncontext Patient\n\ndefine "Inpatient Encounter":\n\t[Encounter: "Encounter Inpatient"] EncounterInpatient\n\t\twhere EncounterInpatient.status = 'finished'\n\t\t and "LengthInDays"(EncounterInpatient.period) <= 120\n\t\t\tand EncounterInpatient.period ends during "Measurement Period"\n\ndefine function "ToDate"(Value DateTime):\n\tDateTime(year from Value, month from Value, day from Value, 0, 0, 0, 0, timezone from Value)\n\ndefine function "CalendarAgeInDaysAt"(BirthDateTime DateTime, AsOf DateTime):\n\tdays between ToDate(BirthDateTime)and ToDate(AsOf)\n\ndefine function "CalendarAgeInDays"(BirthDateTime DateTime):\n\tCalendarAgeInDaysAt(BirthDateTime, Today())\n\ndefine function "CalendarAgeInMonthsAt"(BirthDateTime DateTime, AsOf DateTime):\n\tmonths between ToDate(BirthDateTime)and ToDate(AsOf)\n\ndefine function "CalendarAgeInMonths"(BirthDateTime DateTime):\n\tCalendarAgeInMonthsAt(BirthDateTime, Today())\n\ndefine function "CalendarAgeInYearsAt"(BirthDateTime DateTime, AsOf DateTime):\n\tyears between ToDate(BirthDateTime)and ToDate(AsOf)\n\ndefine function "CalendarAgeInYears"(BirthDateTime DateTime):\n\tCalendarAgeInYearsAt(BirthDateTime, Today())\n\ndefine function "LengthInDays"(Value Interval<DateTime>):\n\tdifference in days between start of Value and end of Value\n\ndefine function "ED Visit"(TheEncounter FHIR.Encounter):\n singleton from (\n [Encounter: "Emergency Department Visit"] EDVisit\n where EDVisit.status = 'finished'\n and EDVisit.period ends 1 hour or less on or before start of FHIRHelpers.ToInterval(TheEncounter.period)\n )\n\ndefine function "Hospitalization"(TheEncounter FHIR.Encounter):\n\t( "ED Visit"(TheEncounter) ) X\n return\n if X is null then TheEncounter.period\n else Interval[start of FHIRHelpers.ToInterval(X.period), end of FHIRHelpers.ToInterval(TheEncounter.period)]\n\ndefine function "Hospitalization Locations"(TheEncounter FHIR.Encounter):\n\t( "ED Visit"(TheEncounter) ) EDEncounter\n return\n if EDEncounter is null then TheEncounter.location\n else flatten { EDEncounter.location, TheEncounter.location }\n\ndefine function "Hospitalization Length of Stay"(TheEncounter FHIR.Encounter):\n\tLengthInDays("Hospitalization"(TheEncounter))\n\ndefine function "Hospital Admission Time"(TheEncounter FHIR.Encounter):\n\tstart of "Hospitalization"(TheEncounter)\n\ndefine function "Hospital Discharge Time"(TheEncounter FHIR.Encounter):\n\tend of FHIRHelpers.ToInterval(TheEncounter.period)\n\ndefine function "Hospital Arrival Time"(TheEncounter FHIR.Encounter):\n\tstart of FHIRHelpers.ToInterval(First(\n\t ( "Hospitalization Locations"(TheEncounter) ) HospitalLocation\n\t\t\tsort by start of FHIRHelpers.ToInterval(period)\n\t).period)\n\ndefine function "HospitalizationWithObservation"(TheEncounter FHIR.Encounter):\n\tTheEncounter Visit\n\t\tlet ObsVisit: Last([Encounter: "Observation Services"] LastObs\n\t\t\t\twhere LastObs.period ends 1 hour or less on or before start of Visit.period\n\t\t\t\tsort by end of period\n\t\t\t),\n\t\t\tVisitStart: Coalesce(start of ObsVisit.period, start of Visit.period),\n\t\t\tEDVisit: Last([Encounter: "Emergency Department Visit"] LastED\n\t\t\t\twhere LastED.period ends 1 hour or less on or before VisitStart\n\t\t\t\tsort by end of period\n\t\t\t)\n\t\treturn Interval[Coalesce(start of EDVisit.period, VisitStart), end of Visit.period]\n\ndefine function "HospitalizationWithObservationLengthofStay"(Encounter FHIR.Encounter):\n\t"LengthInDays"("HospitalizationWithObservation"(Encounter))\n\n// TODO - fix these (must fetch Location resources and compare id to reference)\n/*define function "Hospital Departure Time"(TheEncounter FHIR.Encounter):\n\tend of FHIRHelpers.ToInterval(Last(\n\t ( "Hospitalization Locations"(TheEncounter) ) HospitalLocation\n\t\t\tsort by start of FHIRHelpers.ToInterval(period)\n\t).period)\n\ndefine function "Emergency Department Arrival Time"(TheEncounter FHIR.Encounter):\n\tstart of FHIRHelpers.ToInterval((\n\t singleton from (\n\t ( "Hospitalization Locations"(TheEncounter) ) HospitalLocation\n\t\t\t\twhere HospitalLocation.type ~ "ER"\n\t\t)\n\t).period)\n\ndefine function "First Inpatient Intensive Care Unit"(TheEncounter FHIR.Encounter):\n\tFirst(\n\t ( TheEncounter.location ) HospitalLocation\n\t\t\twhere HospitalLocation.type ~ "ICU"\n\t\t\t\tand HospitalLocation.period during TheEncounter.period\n\t\t\tsort by start of FHIRHelpers.ToInterval(period)\n\t)*/\n\n/*\n*\n* CQFMeasures Common Logic\n*\n*/\n\ndefine function "Normalize Onset"(onset Choice<FHIR.dateTime, FHIR.Age, FHIR.Period, FHIR.Range, FHIR.string>):\n if onset is FHIR.dateTime then\n\t Interval[FHIRHelpers.ToDateTime(onset as FHIR.dateTime), FHIRHelpers.ToDateTime(onset as FHIR.dateTime)]\n\telse if onset is FHIR.Period then\n\t FHIRHelpers.ToInterval(onset as FHIR.Period)\n\telse if onset is FHIR.string then\n Message(null as Interval<DateTime>, true, '1', 'Error', 'Cannot compute an interval from a String value')\n\telse if onset is FHIR.Age then\n\t Interval[FHIRHelpers.ToDate(Patient.birthDate) + FHIRHelpers.ToQuantity(onset as FHIR.Age),\n\t\t FHIRHelpers.ToDate(Patient.birthDate) + FHIRHelpers.ToQuantity(onset as FHIR.Age) + 1 year)\n\telse if onset is FHIR.Range then\n\t Interval[FHIRHelpers.ToDate(Patient.birthDate) + FHIRHelpers.ToQuantity((onset as FHIR.Range).low),\n\t\t FHIRHelpers.ToDate(Patient.birthDate) + FHIRHelpers.ToQuantity((onset as FHIR.Range).high) + 1 year)\n\telse null\n\ndefine function "Normalize Abatement"(condition Condition):\n\tif condition.abatement is FHIR.dateTime then\n\t Interval[FHIRHelpers.ToDateTime(condition.abatement as FHIR.dateTime), FHIRHelpers.ToDateTime(condition.abatement as FHIR.dateTime)]\n\telse if condition.abatement is FHIR.Period then\n\t FHIRHelpers.ToInterval(condition.abatement as FHIR.Period)\n\telse if condition.abatement is FHIR.string then\n Message(null as Interval<DateTime>, true, '1', 'Error', 'Cannot compute an interval from a String value')\n\telse if condition.abatement is FHIR.Age then\n\t\tInterval[FHIRHelpers.ToDate(Patient.birthDate) + FHIRHelpers.ToQuantity(condition.abatement as FHIR.Age),\n\t\t\tFHIRHelpers.ToDate(Patient.birthDate) + FHIRHelpers.ToQuantity(condition.abatement as FHIR.Age) + 1 year)\n\telse if condition.abatement is FHIR.Range then\n\t Interval[FHIRHelpers.ToDate(Patient.birthDate) + FHIRHelpers.ToQuantity((condition.abatement as FHIR.Range).low),\n\t\t FHIRHelpers.ToDate(Patient.birthDate) + FHIRHelpers.ToQuantity((condition.abatement as FHIR.Range).high) + 1 year)\n\telse if condition.abatement is FHIR.boolean then\n\t Interval[end of "Normalize Onset"(condition.onset), condition.recordedDate)\n\telse null\n\ndefine function "Prevalence Period"(condition Condition):\n Interval[start of "Normalize Onset"(condition.onset), end of "Normalize Abatement"(condition))\n\ndefine function "Normalize Interval"(choice Choice<FHIR.dateTime, FHIR.Period, FHIR.Timing, FHIR.instant, FHIR.string, FHIR.Age, FHIR.Range>):\n case\n\t when choice is FHIR.dateTime then\n \tInterval[FHIRHelpers.ToDateTime(choice as FHIR.dateTime), FHIRHelpers.ToDateTime(choice as FHIR.dateTime)]\n\t\twhen choice is FHIR.Period then\n \t\tFHIRHelpers.ToInterval(choice as FHIR.Period)\n\t\twhen choice is FHIR.instant then\n\t\t\tInterval[FHIRHelpers.ToDateTime(choice as FHIR.instant), FHIRHelpers.ToDateTime(choice as FHIR.instant)]\n\t\twhen choice is FHIR.Age then\n\t\t Interval[FHIRHelpers.ToDate(Patient.birthDate) + FHIRHelpers.ToQuantity(choice as FHIR.Age),\n\t\t\t FHIRHelpers.ToDate(Patient.birthDate) + FHIRHelpers.ToQuantity(choice as FHIR.Age) + 1 year)\n\t\twhen choice is FHIR.Range then\n\t\t Interval[FHIRHelpers.ToDate(Patient.birthDate) + FHIRHelpers.ToQuantity((choice as FHIR.Range).low),\n\t\t\t FHIRHelpers.ToDate(Patient.birthDate) + FHIRHelpers.ToQuantity((choice as FHIR.Range).high) + 1 year)\n\t\twhen choice is FHIR.Timing then\n\t\t Message(null as Interval<DateTime>, true, '1', 'Error', 'Cannot compute a single interval from a Timing type')\n when choice is FHIR.string then\n Message(null as Interval<DateTime>, true, '1', 'Error', 'Cannot compute an interval from a String value')\n\t\telse\n\t\t\tnull as Interval<DateTime>\n\tend\n\ndefine function "GetId"(uri String):\n\tLast(Split(uri, '/'))\n\n\ndefine function "EncounterDiagnosis"(Encounter Encounter):\n Encounter.diagnosis D\n return singleton from ([Condition] C where C.id = "GetId"(D.condition.reference))\n\n// Returns the condition that is specified as the principal diagnosis for the encounter\n// TODO: BTR 2019-07-30: Shouldn't need the FHIRHelpers reference here, investigate\ndefine function "PrincipalDiagnosis"(Encounter Encounter):\n\t(singleton from (Encounter.diagnosis D where FHIRHelpers.ToInteger(D.rank) = 1)) PD\n\t\treturn singleton from ([Condition] C where C.id = "GetId"(PD.condition.reference))\n\n// Returns the location for the given location reference\ndefine function GetLocation(reference Reference):\n singleton from (\n [Location] L where L.id = GetId(reference.reference)\n )\n\n/*\nNOTE: Extensions are not the preferred approach, but are used as a way to access\ncontent that is defined by extensions but not yet surfaced in the\nCQL model info.\n*/\ndefine function "GetExtensions"(domainResource DomainResource, url String):\n domainResource.extension E\n\t where E.url = ('http://hl7.org/fhir/us/qicore/StructureDefinition/' + url)\n\t\treturn E\n\ndefine function "GetExtension"(domainResource DomainResource, url String):\n singleton from "GetExtensions"(domainResource, url)\n\n/*\nNOTE: Extensions are not the preferred approach, but are used as a way to access\ncontent that is defined by extensions but not yet surfaced in the\nCQL model info.\n*/\ndefine function "GetExtensions"(element Element, url String):\n element.extension E\n\t where E.url = (url)\n\t\treturn E\n\ndefine function "GetExtension"(element Element, url String):\n singleton from "GetExtensions"(element, url)\n\n/*\nNOTE: Extensions are not the preferred approach, but are used as a way to access\ncontent that is defined by extensions but not yet surfaced in the\nCQL model info.\n*/\ndefine function "GetBaseExtensions"(domainResource DomainResource, url String):\n domainResource.extension E\n\t where E.url = ('http://hl7.org/fhir/StructureDefinition/' + url)\n\t\treturn E\n\ndefine function "GetBaseExtension"(domainResource DomainResource, url String):\n singleton from "GetBaseExtensions"(domainResource, url)\n\n/*\nNOTE: Provenance is not the preferred approach, this is provided only as an illustration\nfor what using Provenance could look like, and is not a tested pattern\n*/\ndefine function "GetProvenance"(resource Resource):\n singleton from ([Provenance: target in resource.id])\n\ndefine function "GetMedicationCode"(request MedicationRequest):\n if request.medication is CodeableConcept then\n\t request.medication as CodeableConcept\n\telse\n\t (singleton from ([Medication] M where M.id = GetId((request.medication as Reference).reference))).code\n</code></pre>\r\n \r\n \r\n </td>\r\n </tr>\r\n \r\n </table>\r\n</div>"
},
"contained": [
{
"resourceType": "Device",
"id": "cqf-tooling",
"meta": {
"profile": [
"http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/device-softwaresystem-cqfm"
]
},
"type": {
"coding": [
{
"system": "http://hl7.org/fhir/us/cqfmeasures/CodeSystem/software-system-type",
"code": "tooling"
}
]
}
}
],
"extension": [
{
"url": "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-populationBasis",
"valueCode": "boolean"
},
{
"url": "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-softwaresystem",
"valueReference": {
"reference": "#cqf-tooling"
}
}
],
"url": "http://hl7.org/fhir/us/cqfmeasures/Measure/measure-exm105-FHIR4",
"identifier": [
{
"use": "official",
"system": "http://hl7.org/fhir/cqi/ecqm/Measure/Identifier/cms",
"value": "105"
}
],
"version": "8.1.000",
"name": "EXM105",
"title": "Discharged on Statin Medication",
"status": "active",
"experimental": true,
"date": "2018-09-17",
"publisher": "The Joint Commission",
"contact": [
{
"telecom": [
{
"system": "url",
"value": "https://www.jointcommission.org/en/"
}
]
}
],
"description": "Ischemic stroke patients who are prescribed or continuing to take statin medication at hospital discharge",
"useContext": [
{
"code": {
"code": "program"
},
"valueCodeableConcept": {
"text": "eligible-provider"
}
}
],
"jurisdiction": [
{
"coding": [
{
"system": "urn:iso:std:iso:3166",
"code": "US"
}
]
}
],
"purpose": "Ischemic stroke patients who are prescribed or continuing to take statin medication at hospital discharge",
"copyright": "LOINC(R) copyright 2004-2018 Regenstrief Institute, Inc. \r\nThis material contains SNOMED Clinical Terms(R) (SNOMED CT[R]) copyright 2004-2018 International Health Terminology Standards Development Organisation. All Rights Reserved.\r\n\r\nMeasure specifications are in the Public Domain.",
"approvalDate": "2016-01-01",
"lastReviewDate": "2016-09-01",
"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": "Amarenco, P., Bogousslavsky, J., Callahan, A., III, et al. (2006, August 10). High-dose atorvastatin after stroke or transient ischemic attack. New England Journal of Medicine, 355(6), 549-559. "
},
{
"type": "citation",
"citation": "Biffi, A., Devan, W. J., Anderson, C. D., et al. (2011, May). Statin treatment and functional outcome after ischemic stroke: Case-control and meta-analysis. Stroke, 42(5), 1314-1319. "
},
{
"type": "citation",
"citation": "Centers for Disease Control and Prevention. (2009, May 1). Prevalence and most common causes of disability among adults United States, 2005. Morbidity and Mortality Weekly Report, 58(16), 421-426. "
},
{
"type": "citation",
"citation": "Chan, P. S., Nallamothu, B. K., Gurm, H. S., et al. (2007, May 8). Incremental benefit and cost-effectiveness of high-dose statin therapy in high-risk patients with coronary artery disease. Circulation, 115(18), 2398-2409. "
},
{
"type": "citation",
"citation": "Culver, A. L., Ockene, I. S., Balasubramanian, R., et al. (2012, January 23). Statin use and risk of diabetes mellitus in postmenopausal women in the Women's Health Initiative. Archives of Internal Medicine, 172(2), 144-152. "
},
{
"type": "citation",
"citation": "Feher, A., Pusch, G., Koltai, K., et al. (2011, April 14). Statin therapy in the primary and the secondary prevention of ischaemic cerebrovascular diseases. International Journal of Cardiology, 148(2), 131-138. "
},
{
"type": "citation",
"citation": "Grundy, S. M., Cleeman, J. I., Merz, C. N., et al. (2004, July 13). Implications of recent clinical trials for the National Cholesterol Education Program Adult Treatment Panel III Guidelines. Circulation, 110(2), 227-239."
},
{
"type": "citation",
"citation": "Kernan, W. N., Ovbiagele, B., Black, H. R., et al. (2014, May). Guidelines for the prevention of stroke in patients with stroke and transient ischemic attack: A guideline for health care professionals from the American Heart Association/American Stroke Association. Stroke, 45(7), 2160-2223. "
},
{
"type": "citation",
"citation": "Kostis, W. J., Cheng, J. Q., Dobrzynski, J. M., et al. (2012, February 7). Meta-analysis of statin effects in women versus men. Journal of the American College of Cardiology, 59(6), 572-582."
},
{
"type": "citation",
"citation": "Lazar, L. D., Pletcher, M. J., Coxson, P. G., et al. (2011, July 12). Cost-effectiveness of statin therapy for primary prevention in a low-cost statin era. Circulation, 124(2), 146-153."
},
{
"type": "citation",
"citation": "Mitka, M. (2012, March 7). Some question use of statins to reduce cardiovascular risks in healthy women. JAMA, 307(9), 893-894."
},
{
"type": "citation",
"citation": "National Cholesterol Education Program Expert Panel on Detection, Evaluation, and Adults Treatment of High Blood Cholesterol in Adults. (2002, December 17). Third report of the National Cholesterol Education Program (NCEP) Expert Panel on Detection, Evaluation, and Treatment of High Blood Cholesterol in Adults (Adult Treatment Panel III) Final report. Circulation, 106(25), 3143-3421. "
},
{
"type": "citation",
"citation": "Powers, W. J., Rabinstein, A. A., Ackerson, T., et al. (2018, January). 2018 guidelines for the early management of patients with acute ischemic stroke: A guideline for health care professionals from the American Heart Association/American Stroke Association. Stroke, 49, e44-e47. "
},
{
"type": "citation",
"citation": "Rodriguez-Yanez, M., Agulla, J., Rodriguez-Gonzalez, R., et al. (2008, June). Statins and stroke. Therapeutic Advances in Cardiovascular Disease, 2(3), 157-166."
},
{
"type": "citation",
"citation": "Roger, V. L., Go, A. S., Lloyd-Jones, D. M., et al. (2012, January 3). Heart disease and stroke statistics 2012 update: A report from the American Heart Association. Circulation, 125(1), e2-e220."
},
{
"type": "citation",
"citation": "Schellinger, P. D., Bryan, R. N., Caplan, L. R., et al. (2010, July 13). Evidence-based guideline: The role of diffusion and perfusion MRI for the diagnosis of acute ischemic stroke: Report of the Therapeutics and Technology Assessment Subcommittee of the American Academy of Neurology. Neurology, 75(2), 177-185."
},
{
"type": "citation",
"citation": "Squizzato, A., Romualdi, E., Dentali, F., et al. (2011). Statins for acute ischemic stroke. Cochrane Database of Systematic Reviews, 8, CD007551. "
},
{
"type": "citation",
"citation": "Stone, N. J., Robinson, J., Lichtenstein, A. H., et al. (2013, November). Guideline on the treatment of blood cholesterol to reduce atherosclerotic cardiovascular disease in adults: A report of the American College of Cardiology/American Heart Association Task Force on Practice Guidelines. Circulation, 11, 1-84. "
},
{
"type": "citation",
"citation": "Van Dis, F. J., Keilson, L. M., Rundell, C. A., et al. (1996, June). Direct measurement of serum low-density lipoprotein cholesterol in patients with acute myocardial infarction on admission to the emergency room. American Journal of Cardiology, 77(14), 1232-1234. "
},
{
"type": "citation",
"citation": "atients with or without type 2 diabetes mellitus receiving treatment with 3-hydroxy-3-methylglutaryl-coenzyme a reductase inhibitors. Clinical Therapeutics, 25(5), 1490-1497."
},
{
"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-TJCOverall-FHIR4-4.0.000"
}
],
"library": [
"Library/library-EXM105-FHIR4-8.1.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": "There is an extensive and consistent body of evidence supporting the use of statins for secondary prevention in patients with clinically evident atherosclerotic cardiovascular disease (ASCVD), which includes individuals with ischemic stroke due to large artery atherosclerosis, individuals with ischemic stroke due to intrinsic small vessel disease, and individuals with ischemic stroke not directly due to atherosclerosis but with clinically evident atherosclerotic disease in an uninvolved cerebral or noncerebral bed. Both women and men with clinical ASCVD are at increased risk for recurrent ASCVD and ASCVD death. High-intensity statin therapy should be initiated or continued as first-line therapy in women and men less than or equal to 75 years of age who have clinical ASCVD, unless contraindicated. In patients with clinical ASCVD and a contraindication to high-intensity statin therapy, moderate-intensity therapy should be considered as an alternative if it can be tolerated. In individuals greater than 75 years of age, the potential for ASCVD risk reduction benefits, adverse effects, drug-drug interactions, and patient preferences should be considered, and statin therapy individualized based on these considerations (Stone, 2013).",
"clinicalRecommendationStatement": "For patients with stroke of atherosclerotic origin, intensive lipid lowering therapy with statins should be initiated",
"improvementNotation": {
"coding": [
{
"system": "http://terminology.hl7.org/CodeSystem/measure-improvement-notation",
"code": "increase"
}
]
},
"guidance": "The \"Non-elective Inpatient Encounter\" value set intends to capture all non-scheduled hospitalizations. This value set is a subset of the \"Inpatient Encounter\" value set, excluding concepts that specifically refer to elective hospital admissions. Non-elective Inpatient Encounters include emergency, urgent, and unplanned admissions.\r\n\r\nThe \"Medication, Discharge\" datatype refers to the discharge medication list and is intended to express medications ordered for post-discharge use.",
"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"
}
},
{
"code": {
"coding": [
{
"system": "http://terminology.hl7.org/CodeSystem/measure-population",
"code": "denominator-exception",
"display": "Denominator Exception"
}
]
},
"criteria": {
"language": "text/cql",
"expression": "Denominator Exception"
}
}
]
}
],
"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"
}
}
]
}