-
Notifications
You must be signed in to change notification settings - Fork 18
Expand file tree
/
Copy pathCodeSystem-cql-language-capabilities.json
More file actions
2180 lines (2176 loc) · 111 KB
/
Copy pathCodeSystem-cql-language-capabilities.json
File metadata and controls
2180 lines (2176 loc) · 111 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
{
"resourceType": "CodeSystem",
"id": "cql-language-capabilities",
"extension": [
{ "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg", "valueCode": "cds" },
{ "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status", "valueCode": "trial-use" },
{ "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm", "valueInteger": 2 }
],
"url": "http://cql.hl7.org/CodeSystem/cql-language-capabilities",
"name": "CQLLanguageCapabilityCodes",
"title": "CQL Language Capability Codes",
"status": "active",
"experimental": false,
"publisher": "Clinical Decision Support Workgroup",
"description": "Codes for CQL language capabilities.",
"caseSensitive": true,
"valueSet": "http://cql.hl7.org/ValueSet/cql-language-capability",
"hierarchyMeaning": "is-a",
"content": "complete",
"property": [
{ "code": "version", "uri": "http://cql.hl7.org/CodeSystem/cql-capability-characteristic-codes#version", "description": "The version in which the capability was introduced in the specification", "type": "string"},
{ "code": "versionTo", "uri": "http://cql.hl7.org/CodeSystem/cql-capability-characteristic-codes#versionTo", "description": "The last version in which the capability was included in the specification", "type": "string"},
{ "code": "value", "uri": "http://cql.hl7.org/CodeSystem/cql-capability-characteristic-codes#value", "description": "A qualifier value used to provide more detail about the capability", "type": "string"},
{ "code": "valueMeaning", "uri": "http://cql.hl7.org/CodeSystem/cql-capability-characteristic-codes#valueMeaning", "description": "A description of the meaning of qualifier values for the capability", "type": "string"},
{ "code": "reference", "uri": "http://cql.hl7.org/CodeSystem/cql-capability-characteristic-codes#reference", "description": "A reference to the specification documenting this capability", "type": "string"}
],
"concept": [
{
"code": "decimal-precision-and-scale",
"display": "Decimal precision and scale",
"definition": "How many total digits (precision) and how many digits to the right of the decimal point (scale) the implementation supports for Decimal values.",
"property": [
{ "code": "version", "valueString": "1.0" },
{ "code": "value", "valueString": "28,8" },
{ "code": "valueMeaning", "valueString": "The supported precision and scale of decimal values" },
{ "code": "reference", "valueString": "https://cql.hl7.org/09-b-cqlreference.html#decimal" }
]
},
{
"code": "datetime-precision-and-scale",
"display": "Datetime precision and scale",
"definition": "The finest granularity (precision) and smallest increment (scale) supported for date/time values.",
"property": [
{ "code": "version", "valueString": "1.0" },
{ "code": "reference", "valueString": "https://cql.hl7.org/09-b-cqlreference.html#datetime" }
]
},
{
"code": "ucum-unit-conversion-support",
"display": "UCUM unit conversion support",
"definition": "Whether and how the engine can automatically convert between units of measure using UCUM.",
"property": [
{ "code": "version", "valueString": "1.0" },
{ "code": "reference", "valueString": "https://cql.hl7.org/09-b-cqlreference.html#convertquantity" }
]
},
{
"code": "regex-dialect",
"display": "Regex dialect",
"definition": "Which flavor of regular expressions the implementation supports.",
"property": [
{ "code": "version", "valueString": "1.0" },
{ "code": "reference", "valueString": "https://cql.hl7.org/09-b-cqlreference.html#matches" }
]
},
{
"code": "supported-data-models",
"display": "Supported data models",
"definition": "Which external models the engine can evaluate against.",
"property": [
{ "code": "version", "valueString": "1.0" },
{ "code": "reference", "valueString": "https://cql.hl7.org/05-languagesemantics.html#data-model" }
]
},
{
"code": "expand-operator",
"display": "Expand operator",
"definition": "Expand on ValueSet/Interval.",
"property": [
{ "code": "version", "valueString": "1.3" },
{ "code": "reference", "valueString": "https://cql.hl7.org/05-languagesemantics.html#collapse-and-expand-operators" }
]
},
{
"code": "fhirpath-support",
"display": "FHIRPath Support",
"definition": "Ability to evaluate/translate FHIRPath within CQL.",
"property": [
{ "code": "version", "valueString": "1.3" },
{ "code": "reference", "valueString": "https://cql.hl7.org/16-i-fhirpathtranslation.html" }
]
},
{
"code": "precision-operators-for-decimal-and-date-time-types",
"display": "Precision operators for Decimal and Date/Time types",
"definition": "Operators that adjust/control precision.",
"property": [
{ "code": "version", "valueString": "1.4" },
{ "code": "reference", "valueString": "https://cql.hl7.org/09-b-cqlreference.html#precision" }
]
},
{
"code": "model-defined-contexts",
"display": "Model-defined contexts",
"definition": "Contexts defined by the data model.",
"property": [
{ "code": "version", "valueString": "1.4" },
{ "code": "reference", "valueString": "https://cql.hl7.org/05-languagesemantics.html#context-support" }
]
},
{
"code": "library-namespaces",
"display": "Library namespaces",
"definition": "Organize libraries into namespaces.",
"property": [
{ "code": "version", "valueString": "1.4" },
{ "code": "reference", "valueString": "https://cql.hl7.org/07-physicalrepresentation.html#media-types-and-namespaces" }
]
},
{
"code": "related-context-retrieves",
"display": "Related-context retrieves",
"definition": "Context-relative retrieve operations.",
"property": [
{ "code": "version", "valueString": "1.4" },
{ "code": "reference", "valueString": "https://cql.hl7.org/05-languagesemantics.html#retrieve-paths" }
]
},
{
"code": "unit-conversion-support",
"display": "Unit conversion support",
"definition": "Convert between compatible UCUM units.",
"property": [
{ "code": "version", "valueString": "1.4" },
{ "code": "reference", "valueString": "https://cql.hl7.org/05-languagesemantics.html#conversions" }
]
},
{
"code": "modular-arithmetic-for-quantities",
"display": "Modular arithmetic for quantities",
"definition": "Modulo/remainder with Quantity.",
"property": [
{ "code": "version", "valueString": "1.5" },
{ "code": "reference", "valueString": "https://cql.hl7.org/05-languagesemantics.html#quantity-arithmetic" }
]
},
{
"code": "expand-a-single-interval",
"display": "Expand a single interval",
"definition": "Expand applied to a single Interval.",
"property": [
{ "code": "version", "valueString": "1.5" },
{ "code": "reference", "valueString": "https://cql.hl7.org/09-b-cqlreference.html#expand" }
]
},
{
"code": "aggregate-clause",
"display": "Aggregate clause",
"definition": "Query clause for aggregation.",
"property": [
{ "code": "version", "valueString": "1.5" },
{ "code": "reference", "valueString": "https://cql.hl7.org/05-languagesemantics.html#aggregate-clause" }
]
},
{
"code": "include-retrieves",
"display": "Include retrieves",
"definition": "Retrieve that follows model references.",
"property": [
{ "code": "version", "valueString": "1.5" },
{ "code": "reference", "valueString": "https://cql.hl7.org/05-languagesemantics.html#retrieve-paths" }
]
},
{
"code": "searchpath-retrieves",
"display": "Searchpath retrieves",
"definition": "Retrieve using a search path expression.",
"property": [
{ "code": "version", "valueString": "1.5" },
{ "code": "reference", "valueString": "https://cql.hl7.org/05-languagesemantics.html#retrieve-paths" }
]
},
{
"code": "id-retrieves",
"display": "Id retrieves",
"definition": "Retrieve by unique identifier.",
"property": [
{ "code": "version", "valueString": "1.5" },
{ "code": "reference", "valueString": "https://cql.hl7.org/05-languagesemantics.html#retrieve-paths" }
]
},
{
"code": "system-data-types",
"display": "System Data Types",
"definition": "Primitive, structured, and collection types defined by the System namespace.",
"property": [
{ "code": "reference", "valueString": "https://cql.hl7.org/09-b-cqlreference.html#types" }
],
"concept": [
{
"code": "system.integer",
"display": "System.Integer",
"definition": "Whole numbers with no fractional component.",
"property": [
{ "code": "version", "valueString": "1.0" },
{ "code": "reference", "valueString": "https://cql.hl7.org/09-b-cqlreference.html#integer" }
]
},
{
"code": "system.long",
"display": "System.Long",
"definition": "64-bit signed integers.",
"property": [
{ "code": "version", "valueString": "1.5" },
{ "code": "reference", "valueString": "https://cql.hl7.org/09-b-cqlreference.html#long" }
]
},
{
"code": "system.decimal",
"display": "System.Decimal",
"definition": "Numbers with fractional precision and scale.",
"property": [
{ "code": "version", "valueString": "1.0" },
{ "code": "reference", "valueString": "https://cql.hl7.org/09-b-cqlreference.html#decimal" }
]
},
{
"code": "system.string",
"display": "System.String",
"definition": "Sequence of text characters.",
"property": [
{ "code": "version", "valueString": "1.0" },
{ "code": "reference", "valueString": "https://cql.hl7.org/09-b-cqlreference.html#string" }
]
},
{
"code": "system.boolean",
"display": "System.Boolean",
"definition": "Logical truth values.",
"property": [
{ "code": "version", "valueString": "1.0" },
{ "code": "reference", "valueString": "https://cql.hl7.org/09-b-cqlreference.html#boolean" }
]
},
{
"code": "system.date",
"display": "System.Date",
"definition": "Calendar date without time.",
"property": [
{ "code": "version", "valueString": "1.3" },
{ "code": "reference", "valueString": "https://cql.hl7.org/09-b-cqlreference.html#date" }
]
},
{
"code": "system.time",
"display": "System.Time",
"definition": "Time of day without date.",
"property": [
{ "code": "version", "valueString": "1.0" },
{ "code": "reference", "valueString": "https://cql.hl7.org/09-b-cqlreference.html#time" }
]
},
{
"code": "system.datetime",
"display": "System.DateTime",
"definition": "Date and time point (optional offset).",
"property": [
{ "code": "version", "valueString": "1.0" },
{ "code": "reference", "valueString": "https://cql.hl7.org/09-b-cqlreference.html#datetime" }
]
},
{
"code": "system.quantity",
"display": "System.Quantity",
"definition": "Numeric value with unit.",
"property": [
{ "code": "version", "valueString": "1.0" },
{ "code": "reference", "valueString": "https://cql.hl7.org/09-b-cqlreference.html#quantity" }
]
},
{
"code": "system.ratio",
"display": "System.Ratio",
"definition": "Fractional relationship between two Quantities.",
"property": [
{ "code": "version", "valueString": "1.3" },
{ "code": "reference", "valueString": "https://cql.hl7.org/09-b-cqlreference.html#ratio" }
]
},
{
"code": "system.interval",
"display": "System.Interval",
"definition": "Range over an ordered type.",
"property": [
{ "code": "version", "valueString": "1.0" },
{ "code": "reference", "valueString": "https://cql.hl7.org/09-b-cqlreference.html#interval-operators-3" }
]
},
{
"code": "system.list",
"display": "System.List",
"definition": "Ordered collection of elements of a type.",
"property": [
{ "code": "version", "valueString": "1.0" },
{ "code": "reference", "valueString": "https://cql.hl7.org/63-expressionlanguagesemantics.html#collection-types" }
]
},
{
"code": "system.tuple",
"display": "System.Tuple",
"definition": "Structured type with named elements.",
"property": [
{ "code": "version", "valueString": "1.0" },
{ "code": "reference", "valueString": "https://cql.hl7.org/63-expressionlanguagesemantics.html#structured-types" }
]
},
{
"code": "system.choice",
"display": "System.Choice",
"definition": "Value of one among several types.",
"property": [
{ "code": "version", "valueString": "1.0" },
{ "code": "reference", "valueString": "https://cql.hl7.org/63-expressionlanguagesemantics.html#choice-types" }
]
},
{
"code": "system.codesystem",
"display": "System.CodeSystem",
"definition": "Reference to an external code system.",
"property": [
{ "code": "version", "valueString": "1.5" },
{ "code": "reference", "valueString": "https://cql.hl7.org/09-b-cqlreference.html#codesystem" }
]
},
{
"code": "system.valueset",
"display": "System.ValueSet",
"definition": "Reference to a set of codes.",
"property": [
{ "code": "version", "valueString": "1.5" },
{ "code": "reference", "valueString": "https://cql.hl7.org/09-b-cqlreference.html#valueset" }
]
},
{
"code": "system.vocabulary",
"display": "System.Vocabulary",
"definition": "Base type for vocabulary-related types.",
"property": [
{ "code": "version", "valueString": "1.5" },
{ "code": "reference", "valueString": "https://cql.hl7.org/09-b-cqlreference.html#vocabulary" }
]
}
]
},
{
"code": "logical-operators",
"display": "Logical Operators",
"definition": "and, or, not, implies under 3-valued logic.",
"property": [
{ "code": "version", "valueString": "1.0" },
{ "code": "reference", "valueString": "https://cql.hl7.org/09-b-cqlreference.html#logical-operators" }
],
"concept": [
{
"code": "logical-operators.and",
"display": "Logical Operator and",
"definition": "The and operator returns true if both its arguments are true. If either argument is false, the result is false. Otherwise, the result is null.",
"property": [
{ "code": "version", "valueString": "1.0" },
{ "code": "reference", "valueString": "https://cql.hl7.org/09-b-cqlreference.html#and" }
]
},
{
"code": "logical-operators.or",
"display": "Logical Operator or",
"definition": "The or operator returns true if either of its arguments are true. If both arguments are false, the result is false. Otherwise, the result is null.",
"property": [
{ "code": "version", "valueString": "1.0" },
{ "code": "reference", "valueString": "https://cql.hl7.org/09-b-cqlreference.html#or" }
]
},
{
"code": "logical-operators.not",
"display": "Logical Operator not",
"definition": "The not operator returns true if the argument is false and false if the argument is true. Otherwise, the result is null.",
"property": [
{ "code": "version", "valueString": "1.0" },
{ "code": "reference", "valueString": "https://cql.hl7.org/09-b-cqlreference.html#not" }
]
},
{
"code": "logical-operators.xor",
"display": "Logical Operator xor",
"definition": "The xor (exclusive or) operator returns true if one argument is true and the other is false. If both arguments are true or both arguments are false, the result is false. Otherwise, the result is null.",
"property": [
{ "code": "version", "valueString": "1.0" },
{ "code": "reference", "valueString": "https://cql.hl7.org/09-b-cqlreference.html#xor" }
]
},
{
"code": "logical-operators.implies",
"display": "Logical Operator implies",
"definition": "The implies operator returns the logical implication of its arguments. This means that if the left operand evaluates to true, this operator returns the boolean evaluation of the right operand. If the left operand evaluates to false, this operator returns true. Otherwise, this operator returns true if the right operand evaluates to true, and null otherwise",
"property": [
{ "code": "version", "valueString": "1.0" },
{ "code": "reference", "valueString": "https://cql.hl7.org/09-b-cqlreference.html#implies" }
]
}
]
},
{
"code": "type-operators",
"display": "Type Operators",
"definition": "Type inspection and conversion operators.",
"property": [
{ "code": "version", "valueString": "1.0" },
{ "code": "reference", "valueString": "https://cql.hl7.org/09-b-cqlreference.html#type-operators" }
],
"concept": [
{
"code": "type-operators.as",
"display": "Type Operator as",
"definition": "The as operator allows the result of an expression to be cast as a given target type. This allows expressions to be written that are statically typed against the expected run-time type of the argument.",
"property": [
{ "code": "version", "valueString": "1.0" },
{ "code": "reference", "valueString": "https://cql.hl7.org/09-b-cqlreference.html#as" }
]
},
{
"code": "type-operators.cast-as",
"display": "Type Operator as",
"definition": "(See the as operator in addition) The cast prefix indicates that if the argument is not of the specified type at run-time then an exception is thrown.",
"property": [
{ "code": "version", "valueString": "1.0" },
{ "code": "reference", "valueString": "https://cql.hl7.org/09-b-cqlreference.html#as" }
]
},
{
"code": "type-operators.is",
"display": "Type Operator is",
"definition": "The is operator allows the type of a result to be tested. If the run-time type of the argument is the same as or derived from the type being tested, the result of the operator is true; otherwise, the result is false.",
"property": [
{ "code": "version", "valueString": "1.0" },
{ "code": "reference", "valueString": "https://cql.hl7.org/09-b-cqlreference.html#is" }
]
},
{
"code": "type-operators.children",
"display": "Type Operator children",
"definition": "For structured types, the Children operator returns a list of all the values of the elements of the type. List-valued elements are expanded and added to the result individually, rather than as a single list.",
"property": [
{ "code": "version", "valueString": "1.0" },
{ "code": "reference", "valueString": "https://cql.hl7.org/09-b-cqlreference.html#children" }
]
},
{
"code": "type-operators.descendants",
"display": "Type Operator descendants",
"definition": "or structured types, the Descendants operator returns a list of all the values of the elements of the type, recursively. List-valued elements are expanded and added to the result individually, rather than as a single list.",
"property": [
{ "code": "version", "valueString": "1.0" },
{ "code": "reference", "valueString": "https://cql.hl7.org/09-b-cqlreference.html#descendants" }
]
},
{
"code": "type-operators.convert-quantity",
"display": "Type Operator convert-quantity",
"definition": "The convert operator converts a value to a specific type. The result of the operator is the value of the argument converted to the target type, if possible. If there is no valid conversion from the actual value to the target type, the result is null.",
"property": [
{ "code": "version", "valueString": "1.0" },
{ "code": "reference", "valueString": "https://cql.hl7.org/09-b-cqlreference.html#convert" }
]
},
{
"code": "type-operators.to-boolean",
"display": "Type Operator to-boolean",
"definition": "The ToBoolean operator converts the value of its argument to a Boolean value.",
"property": [
{ "code": "version", "valueString": "1.0" },
{ "code": "reference", "valueString": "https://cql.hl7.org/09-b-cqlreference.html#toboolean" }
]
},
{
"code": "type-operators.to-integer",
"display": "Type Operator to-integer",
"definition": "The ToInteger operator converts the value of its argument to an Integer value.",
"property": [
{ "code": "version", "valueString": "1.0" },
{ "code": "reference", "valueString": "https://cql.hl7.org/09-b-cqlreference.html#tointeger" }
]
}, {
"code": "type-operators.to-long",
"display": "Type Operator to-long",
"definition": "The ToLong operator converts the value of its argument to a Long value.",
"property": [
{ "code": "version", "valueString": "1.5" },
{ "code": "reference", "valueString": "https://cql.hl7.org/09-b-cqlreference.html#tolong" }
]
},
{
"code": "type-operators.to-decimal",
"display": "Type Operator to-decimal",
"definition": "The ToDecimal operator converts the value of its argument to a Decimal value.",
"property": [
{ "code": "version", "valueString": "1.0" },
{ "code": "reference", "valueString": "https://cql.hl7.org/09-b-cqlreference.html#todecimal" }
]
},
{
"code": "type-operators.to-quantity",
"display": "Type Operator to-quantity",
"definition": "The ToQuantity operator converts the value of its argument to a Quantity value. The operation does not perform any unit conversion, that capability is supported by the ConvertQuantity operator.",
"property": [
{ "code": "version", "valueString": "1.0" },
{ "code": "reference", "valueString": "https://cql.hl7.org/09-b-cqlreference.html#toquantity" }
]
},
{
"code": "type-operators.to-ratio",
"display": "Type Operator to-ratio",
"definition": "The ToRatio operator converts the value of its argument to a Ratio value.",
"property": [
{ "code": "version", "valueString": "1.0" },
{ "code": "reference", "valueString": "https://cql.hl7.org/09-b-cqlreference.html#toratio" }
]
},
{
"code": "type-operators.to-date",
"display": "Type Operator to-date",
"definition": "The ToDate operator converts the value of its argument to a Date value.",
"property": [
{ "code": "version", "valueString": "1.0" },
{ "code": "reference", "valueString": "https://cql.hl7.org/09-b-cqlreference.html#todate" }
]
},
{
"code": "type-operators.to-datetime",
"display": "Type Operator to-datetime",
"definition": "The ToDateTime operator converts the value of its argument to a DateTime value.",
"property": [
{ "code": "version", "valueString": "1.0" },
{ "code": "reference", "valueString": "https://cql.hl7.org/09-b-cqlreference.html#todatetime" }
]
},
{
"code": "type-operators.to-time",
"display": "Type Operator to-time",
"definition": "The ToTime operator converts the value of its argument to a Time value. The operator expects the string to be formatted using ISO-8601 time representation.",
"property": [
{ "code": "version", "valueString": "1.0" },
{ "code": "reference", "valueString": "https://cql.hl7.org/09-b-cqlreference.html#totime" }
]
},
{
"code": "type-operators.to-string",
"display": "Type Operator to-string",
"definition": "The ToString operator converts the value of its argument to a String value.",
"property": [
{ "code": "version", "valueString": "1.0" },
{ "code": "reference", "valueString": "https://cql.hl7.org/09-b-cqlreference.html#tostring" }
]
},
{
"code": "type-operators.converts-to-boolean",
"display": "Type Operator converts-to-boolean",
"definition": "The ConvertsToBoolean operator returns true if its argument is or can be converted to a Boolean value.",
"property": [
{ "code": "version", "valueString": "1.0" },
{ "code": "reference", "valueString": "https://cql.hl7.org/09-b-cqlreference.html#convertstoboolean" }
]
},
{
"code": "type-operators.converts-to-integer",
"display": "Type Operator converts-to-integer",
"definition": "The ConvertsToInteger operator returns true if its argument is or can be converted to an Integer value. See the ToInteger operator for a description of the supported conversions.",
"property": [
{ "code": "version", "valueString": "1.0" },
{ "code": "reference", "valueString": "https://cql.hl7.org/09-b-cqlreference.html#convertstointeger" }
]
},
{
"code": "type-operators.converts-to-long",
"display": "Type Operator converts-to-long",
"definition": "The ConvertsToLong operator returns true if its argument is or can be converted to a Long value.",
"property": [
{ "code": "version", "valueString": "1.5" },
{ "code": "reference", "valueString": "https://cql.hl7.org/09-b-cqlreference.html#convertstolong" }
]
},
{
"code": "type-operators.converts-to-decimal",
"display": "Type Operator converts-to-decimal",
"definition": "The ToDecimal operator returns true if its argument is or can be converted to a Decimal value.",
"property": [
{ "code": "version", "valueString": "1.0" },
{ "code": "reference", "valueString": "https://cql.hl7.org/09-b-cqlreference.html#convertstodecimal" }
]
},
{
"code": "type-operators.converts-to-quantity",
"display": "Type Operator converts-to-quantity",
"definition": "The ConvertsToQuantity operator returns true if its argument is or can be converted to a Quantity value. See the ToQuantity operator for a description of the supported conversions.",
"property": [
{ "code": "version", "valueString": "1.0" },
{ "code": "reference", "valueString": "https://cql.hl7.org/09-b-cqlreference.html#convertstoquantity" }
]
},
{
"code": "type-operators.converts-to-ratio",
"display": "Type Operator converts-to-ration",
"definition": "The ConvertsToRatio operator returns true if its argument is or can be converted to a Ratio value",
"property": [
{ "code": "version", "valueString": "1.0" },
{ "code": "reference", "valueString": "https://cql.hl7.org/09-b-cqlreference.html#convertstoratio" }
]
},
{
"code": "type-operators.converts-to-date",
"display": "Type Operator converts-to-date",
"definition": "The ConvertsToDate operator returns true if its argument is or can be converted to a Date value.",
"property": [
{ "code": "version", "valueString": "1.0" },
{ "code": "reference", "valueString": "https://cql.hl7.org/09-b-cqlreference.html#convertstodate" }
]
},
{
"code": "type-operators.converts-to-datetime",
"display": "Type Operator converts-to-datetime",
"definition": "The ConvertsToDateTime operator returns true if its argument is or can be converted to a DateTime value.",
"property": [
{ "code": "version", "valueString": "1.0" },
{ "code": "reference", "valueString": "https://cql.hl7.org/09-b-cqlreference.html#convertstodatetime" }
]
},
{
"code": "type-operators.converts-to-time",
"display": "Type Operator converts-to-time",
"definition": "The ConvertsToTime operator returns true if its argument is or can be converted to a Time value.",
"property": [
{ "code": "version", "valueString": "1.0" },
{ "code": "reference", "valueString": "https://cql.hl7.org/09-b-cqlreference.html#convertstotime" }
]
},
{
"code": "type-operators.converts-to-string",
"display": "Type Operator converts-to-string",
"definition": "The ConvertsToString operator returns true if its argument is or can be converted to a String value.",
"property": [
{ "code": "version", "valueString": "1.0" },
{ "code": "reference", "valueString": "https://cql.hl7.org/09-b-cqlreference.html#convertstostring" }
]
}
]
},
{
"code": "nullological-operators",
"display": "Nullological Operators",
"definition": "Operators dealing with null/missing information.",
"property": [
{ "code": "version", "valueString": "1.0" },
{ "code": "reference", "valueString": "https://cql.hl7.org/09-b-cqlreference.html#nullological-operators" }
],
"concept": [
{
"code": "nullological-operators.coalesce",
"display": "Nullological Operators coalesce",
"definition": "The Coalesce operator returns the first non-null result in a list of arguments. If all arguments evaluate to null, the result is null.",
"property": [
{ "code": "version", "valueString": "1.0" },
{ "code": "reference", "valueString": "https://cql.hl7.org/09-b-cqlreference.html#coalesce" }
]
},
{
"code": "nullological-operators.is-null",
"display": "Nullological Operators is-null",
"definition": "The is null operator determines whether or not its argument evaluates to null. If the argument evaluates to null, the result is true; otherwise, the result is false.",
"property": [
{ "code": "version", "valueString": "1.0" },
{ "code": "reference", "valueString": "https://cql.hl7.org/09-b-cqlreference.html#isnull" }
]
},
{
"code": "nullological-operators.is-true",
"display": "Nullological Operators coalesce",
"definition": "The is true operator determines whether or not its argument evaluates to true. If the argument evaluates to true, the result is true; otherwise, the result is false.",
"property": [
{ "code": "version", "valueString": "1.0" },
{ "code": "reference", "valueString": "https://cql.hl7.org/09-b-cqlreference.html#istrue" }
]
},
{
"code": "nullological-operators.is-false",
"display": "Nullological Operators is-false",
"definition": "The is false operator determines whether or not its argument evaluates to false. If the argument evaluates to false, the result is true; otherwise, the result is false.",
"property": [
{ "code": "version", "valueString": "1.0" },
{ "code": "reference", "valueString": "https://cql.hl7.org/09-b-cqlreference.html#isfalse" }
]
}
]
},
{
"code": "comparison-operators",
"display": "Comparison Operators",
"definition": "Equal, not equal, <, <=, >, >=, in/not in, etc.",
"property": [
{ "code": "version", "valueString": "1.0" },
{ "code": "reference", "valueString": "https://cql.hl7.org/09-b-cqlreference.html#comparison-operators" }
],
"concept": [
{
"code": "comparison-operators.equal",
"display": "Comparison Operators equal",
"definition": "The equal (=) operator returns true if the arguments are equal; false if the arguments are known unequal, and null otherwise. Equality semantics are defined to be value-based.",
"property": [
{ "code": "version", "valueString": "1.0" },
{ "code": "reference", "valueString": "https://cql.hl7.org/09-b-cqlreference.html#equal" }
]
},
{
"code": "comparison-operators.equivalent",
"display": "Comparison Operators equivalent",
"definition": "The equivalent (~) operator returns true if the arguments are equivalent in value, or if they are both null; and false otherwise.",
"property": [
{ "code": "version", "valueString": "1.0" },
{ "code": "reference", "valueString": "https://cql.hl7.org/09-b-cqlreference.html#equivalent" }
]
},
{
"code": "comparison-operators.greater",
"display": "Comparison Operators greater",
"definition": "The greater (>) operator returns true if the first argument is greater than the second argument.",
"property": [
{ "code": "version", "valueString": "1.0" },
{ "code": "reference", "valueString": "https://cql.hl7.org/09-b-cqlreference.html#greater" }
]
},
{
"code": "comparison-operators.greater-or-equal",
"display": "Comparison Operators greater or equal",
"definition": "The greater or equal (>=) operator returns true if the first argument is greater than or equal to the second argument.",
"property": [
{ "code": "version", "valueString": "1.0" },
{ "code": "reference", "valueString": "https://cql.hl7.org/09-b-cqlreference.html#greater-or-equal" }
]
},
{
"code": "comparison-operators.less",
"display": "Comparison Operators less",
"definition": "The less (<) operator returns true if the first argument is less than the second argument.",
"property": [
{ "code": "version", "valueString": "1.0" },
{ "code": "reference", "valueString": "https://cql.hl7.org/09-b-cqlreference.html#less" }
]
},
{
"code": "comparison-operators.less-or-equal",
"display": "Comparison Operators less-or-equal",
"definition": "The less or equal (<=) operator returns true if the first argument is less than or equal to the second argument.",
"property": [
{ "code": "version", "valueString": "1.0" },
{ "code": "reference", "valueString": "https://cql.hl7.org/09-b-cqlreference.html#less-or-equal" }
]
},
{
"code": "comparison-operators.not-equal",
"display": "Comparison Operators not-equal",
"definition": "The not equal (!=) operator returns true if its arguments are not the same value.",
"property": [
{ "code": "version", "valueString": "1.0" },
{ "code": "reference", "valueString": "https://cql.hl7.org/09-b-cqlreference.html#not-equal" }
]
},
{
"code": "comparison-operators.not-equivalent",
"display": "Comparison Operators not-equivalent",
"definition": "The not equivalent (!~) operator returns true if its arguments are not equivalent.",
"property": [
{ "code": "version", "valueString": "1.0" },
{ "code": "reference", "valueString": "https://cql.hl7.org/09-b-cqlreference.html#not-equivalent" }
]
},
{
"code": "comparison-operators.between",
"display": "Comparison Operators between",
"definition": "The between operator determines whether the first argument is within a given range, inclusive. If the first argument is greater than or equal to the low argument, and less than or equal to the high argument, the result is true, otherwise, the result is false.",
"property": [
{ "code": "version", "valueString": "1.0" },
{ "code": "reference", "valueString": "https://cql.hl7.org/09-b-cqlreference.html#between" }
]
}
]
},
{
"code": "arithmetic-operators",
"display": "Arithmetic Operators",
"definition": "Add, subtract, multiply, divide, mod, round, etc.",
"property": [
{ "code": "version", "valueString": "1.0" },
{ "code": "reference", "valueString": "https://cql.hl7.org/09-b-cqlreference.html#arithmetic-operators" }
],
"concept": [
{
"code": "arithmetic-operators.abs",
"display": "Arithmetic Operators abs",
"definition": "The Abs operator returns the absolute value of its argument.",
"property": [
{ "code": "version", "valueString": "1.0" },
{ "code": "reference", "valueString": "https://cql.hl7.org/09-b-cqlreference.html#abs" }
]
},
{
"code": "arithmetic-operators.add",
"display": "Arithmetic Operators add",
"definition": "The add (+) operator performs numeric addition of its arguments.",
"property": [
{ "code": "version", "valueString": "1.0" },
{ "code": "reference", "valueString": "https://cql.hl7.org/09-b-cqlreference.html#add" }
]
},
{
"code": "arithmetic-operators.ceiling",
"display": "Arithmetic Operators ceiling",
"definition": "The Ceiling operator returns the first integer greater than or equal to the argument.",
"property": [
{ "code": "version", "valueString": "1.0" },
{ "code": "reference", "valueString": "https://cql.hl7.org/09-b-cqlreference.html#ceiling" }
]
},
{
"code": "arithmetic-operators.divide",
"display": "Arithmetic Operators divide",
"definition": "The divide (/) operator performs numeric division of its arguments. Note that this operator is Decimal division; for Integer division, use the truncated divide (div) operator.",
"property": [
{ "code": "version", "valueString": "1.0" },
{ "code": "reference", "valueString": "https://cql.hl7.org/09-b-cqlreference.html#string-operators" }
]
},
{
"code": "arithmetic-operators.floor",
"display": "Arithmetic Operators floor",
"definition": "The Floor operator returns the first integer less than or equal to the argument.",
"property": [
{ "code": "version", "valueString": "1.0" },
{ "code": "reference", "valueString": "https://cql.hl7.org/09-b-cqlreference.html#floor" }
]
},
{
"code": "arithmetic-operators.exp",
"display": "Arithmetic Operators exp",
"definition": "The Exp operator raises e to the power of its argument.",
"property": [
{ "code": "version", "valueString": "1.0" },
{ "code": "reference", "valueString": "https://cql.hl7.org/09-b-cqlreference.html#exp" }
]
},
{
"code": "arithmetic-operators.highboundary",
"display": "Arithmetic Operators highboundary",
"definition": "The HighBoundary function returns the greatest possible value of the input to the specified precision.",
"property": [
{ "code": "version", "valueString": "1.5" },
{ "code": "reference", "valueString": "https://cql.hl7.org/09-b-cqlreference.html#highboundary" }
]
},
{
"code": "arithmetic-operators.log",
"display": "Arithmetic Operators log",
"definition": "The Log operator computes the logarithm of its first argument, using the second argument as the base.",
"property": [
{ "code": "version", "valueString": "1.0" },
{ "code": "reference", "valueString": "https://cql.hl7.org/09-b-cqlreference.html#log" }
]
},
{
"code": "arithmetic-operators.lowboundary",
"display": "Arithmetic Operators lowboundary",
"definition": "The LowBoundary function returns the least possible value of the input to the specified precision.",
"property": [
{ "code": "version", "valueString": "1.5" },
{ "code": "reference", "valueString": "https://cql.hl7.org/09-b-cqlreference.html#lowboundary" }
]
},
{
"code": "arithmetic-operators.ln",
"display": "Arithmetic Operators ln",
"definition": "The Ln operator computes the natural logarithm of its argument.",
"property": [
{ "code": "version", "valueString": "1.0" },
{ "code": "reference", "valueString": "https://cql.hl7.org/09-b-cqlreference.html#ln" }
]
},
{
"code": "arithmetic-operators.maximum",
"display": "Arithmetic Operators maximum",
"definition": "The maximum operator returns the maximum representable value for the given type, defined for the Integer, Long, Decimal, Quantity, Date, DateTime, and Time types.",
"property": [
{ "code": "version", "valueString": "1.0" },
{ "code": "reference", "valueString": "https://cql.hl7.org/09-b-cqlreference.html#maximum" }
]
},
{
"code": "arithmetic-operators.minimum",
"display": "Arithmetic Operators minimum",
"definition": "The minimum operator returns the minimum representable value for the given type, defined for the Integer, Long, Decimal, Quantity, Date, DateTime, and Time types.",
"property": [
{ "code": "version", "valueString": "1.0" },
{ "code": "reference", "valueString": "https://cql.hl7.org/09-b-cqlreference.html#minimum" }
]
},
{
"code": "arithmetic-operators.mod",
"display": "Arithmetic Operators mod",
"definition": "The mod operator computes the remainder of the division of its arguments.",
"property": [
{ "code": "version", "valueString": "1.0" },
{ "code": "reference", "valueString": "https://cql.hl7.org/09-b-cqlreference.html#mod" }
]
},
{
"code": "arithmetic-operators.multiply",
"display": "Arithmetic Operators multiply",
"definition": "The multiply (*) operator performs numeric multiplication of its arguments.",
"property": [
{ "code": "version", "valueString": "1.0" },
{ "code": "reference", "valueString": "https://cql.hl7.org/09-b-cqlreference.html#multiply" }
]
},
{
"code": "arithmetic-operators.negate",
"display": "Arithmetic Operators negate",
"definition": "The negate (-) operator returns the negative of its argument.",
"property": [
{ "code": "version", "valueString": "1.0" },
{ "code": "reference", "valueString": "https://cql.hl7.org/09-b-cqlreference.html#negate" }
]
},
{
"code": "arithmetic-operators.precision",
"display": "Arithmetic Operators precision",
"definition": "The Precision function returns the number of digits of precision in the input value.",
"property": [
{ "code": "version", "valueString": "1.5" },
{ "code": "reference", "valueString": "https://cql.hl7.org/09-b-cqlreference.html#precision" }
]
},
{
"code": "arithmetic-operators.predecessor",
"display": "Arithmetic Operators predecessor",
"definition": "The predecessor operator returns the predecessor of the argument. For example, the predecessor of 2 is 1. If the argument is already the minimum value for the type, a null is returned.",
"property": [
{ "code": "version", "valueString": "1.0" },
{ "code": "reference", "valueString": "https://cql.hl7.org/09-b-cqlreference.html#predecessor"}
]
},
{
"code": "arithmetic-operators.power",
"display": "Arithmetic Operators power",
"definition": "The power (^) operator raises the first argument to the power given by the second argument.",
"property": [
{ "code": "version", "valueString": "1.0" },
{ "code": "reference", "valueString": "https://cql.hl7.org/09-b-cqlreference.html#power" }
]
},
{
"code": "arithmetic-operators.round",
"display": "Arithmetic Operators round",
"definition": "The Round operator returns the nearest whole number to its argument. The semantics of round are defined as a traditional round (i.e. to the nearest whole number), meaning that a decimal value greater than or equal to 0.5 and less than 1.0 will round to 1, and a decimal value less than or equal to -0.5 and greater than -1.0 will round to -1.",
"property": [
{ "code": "version", "valueString": "1.0" },
{ "code": "reference", "valueString": "https://cql.hl7.org/09-b-cqlreference.html#round" }
]
},
{
"code": "arithmetic-operators.subtract",
"display": "Arithmetic Operators subtract",
"definition": "The subtract (-) operator performs numeric subtraction of its arguments.",
"property": [
{ "code": "version", "valueString": "1.0" },
{ "code": "reference", "valueString": "https://cql.hl7.org/09-b-cqlreference.html#subtract" }
]
},
{
"code": "arithmetic-operators.successor",
"display": "Arithmetic Operators successor",
"definition": "The successor operator returns the successor of the argument. For example, the successor of 1 is 2. If the argument is already the maximum value for the type, a null is returned.",
"property": [
{ "code": "version", "valueString": "1.0" },
{ "code": "reference", "valueString": "https://cql.hl7.org/09-b-cqlreference.html#successor" }
]
},
{
"code": "arithmetic-operators.truncate",
"display": "Arithmetic Operators truncate",
"definition": "The Truncate operator returns the integer component of its argument.",
"property": [
{ "code": "version", "valueString": "1.0" },
{ "code": "reference", "valueString": "https://cql.hl7.org/09-b-cqlreference.html#truncate" }
]