The CQL configuration category includes the following configurable options:
Data Analysis
Collapse Data Analysis
Version
Default Model Info
Disable List Demotion
Disable List Promotion
Disable List Traversal
Disable Method Invocation
Annotations
Date Range Optimization
Detailed Errors
Enable Interval Demotion
Enable Interval Promotion
Locators
Results Type
Error Level
Keyword
Signature Level
Format
Validate units
Semantic Analysis
Debug Logging
Enable Expression Caching
Enable Validation
Use Embedded Libraries
|
Data Analysis |
|
|
BOOLEAN | |
Determines whether the CQL compiler should do detailed data-requirements analysis when compiling CQL. | |
|
|
false
|
|
|
|
Collapse Data Analysis |
|
|
BOOLEAN | |
Determines whether the CQL compiler should "collapse" (i.e. optimize) data-requirements when they are generated. | |
|
|
false
|
|
|
|
Version |
|
|
STRING | |
This setting controls the language-level that the CQL compiler should run in. Most DSTU3 content in the wild uses CQL version 1.3, while newer content uses CQL version 1.5. If you experience compilation errors please verify the SQL language level being used in the expressions. | |
|
|
1.5
|
|
|
|
Default Model Info |
|
|
BOOLEAN | |
Indicates to include default model information. | |
|
|
false
|
|
|
|
Disable List Demotion |
|
|
BOOLEAN | |
Disables demotion of list-valued expressions to singletons. | |
|
|
false
|
|
|
|
Disable List Promotion |
|
|
BOOLEAN | |
Disables promotion of singletons to list-valued expressions. | |
|
|
false
|
|
|
|
Disable List Traversal |
|
|
BOOLEAN | |
Disables traversal of paths on list-valued expressions. | |
|
|
false
|
|
|
|
Disable Method Invocation |
|
|
BOOLEAN | |
Disables method-style invocation support. | |
|
|
false
|
|
|
|
Annotations |
|
|
BOOLEAN | |
Indicates that the translator should produce source code annotations as part of the output. | |
|
|
false
|
|
|
|
Date Range Optimization |
|
|
BOOLEAN | |
Indicates that the translator should perform date range optimization of retrieves where possible. | |
|
|
false
|
|
|
|
Detailed Errors |
|
|
BOOLEAN | |
Indicates that the translator should produce detailed errors. | |
|
|
false
|
|
|
|
Enable Interval Demotion |
|
|
BOOLEAN | |
Enables demotion of interval-valued expressions to points. | |
|
|
false
|
|
|
|
Enable Interval Promotion |
|
|
BOOLEAN | |
Enables promotion of point-valued expressions to intervals. | |
|
|
false
|
|
|
|
Locators |
|
|
BOOLEAN | |
Indicates that the translator should include source code locators within output ELM. | |
|
|
false
|
|
|
|
Results Type |
|
|
BOOLEAN | |
Indicates that the translator should include result types in the output ELM. | |
|
|
false
|
|
|
|
Error Level |
|
|
ENUM | |
Values |
|
Determines the level of severity required for the CQL compiler to report an issue. Info enables all messages, while Error enables only Error messages | |
|
|
Info
|
|
|
|
Keyword |
|
|
BOOLEAN | |
Indicates that all queries will be required to start with a from keyword. | |
|
|
false
|
|
|
|
Signature Level |
|
|
ENUM | |
Values |
|
Determines the level of detail to output to compiled CQL for signature resolution. This should generally not be changed. | |
|
|
None
|
|
|
|
Format |
|
|
ENUM | |
Values |
|
The target format for the output | |
|
|
JSON
|
|
|
|
Validate units |
|
|
BOOLEAN | |
This flag controls whether the CQL compiler validates unit quantities for conversion | |
|
|
true
|
|
|
|
Semantic Analysis |
|
|
BOOLEAN | |
This flag controls whether the CQL compiler should emit compiled CQL or simply run semantic analysis. | |
|
|
false
|
|
|
|
Debug Logging |
|
|
BOOLEAN | |
Enabling debug logging will cause the SmileCDR server to output detailed evaluation logs for CQL. This can be useful for debug purposes. Debug logging has a significant performance impact. | |
|
|
false
|
|
|
|
Enable Expression Caching |
|
|
BOOLEAN | |
Enable expression caching allows to CQL engine to optimize expression reuse during evaluation, improving performance. | |
|
|
false
|
|
|
|
Enable Validation |
|
|
BOOLEAN | |
Enable validation checks compiled CQL prior to execution. | |
|
|
false
|
|
|
|
Use Embedded Libraries |
|
|
BOOLEAN | |
SmileCDR ships with embedded versions of some commonly used CQL libraries, specifically FHIRHelpers. This switch determines whether or not the cql engine will use those embedded libraries.In the case you want to supply your our version of FHIRHelpers, you should set this to false | |
|
|
true
|
|
|