Details
-
Change Request
-
Resolution: Persuasive
-
Medium
-
Using CQL With FHIR (FHIR)
-
1.0.0-ballot
-
Clinical Decision Support
-
CQL Library
ELM Library -
8.7.1, 8.11.1
-
-
Chris Moesel/Greg White: 18-0-0
-
Enhancement
-
Non-compatible
Description
The cqf-cqlOptions extension represents CQL translator options via a Parameters resource. This Parameters resource, however, has no constraints – so there is no formal/computable guidance regarding what parameter names to use.
Section 2.17, Translation to ELM, however, lists the common set of options: EnableAnnotations, EnableLocators, DisableListDemotion, DisableListPromotion, DisableMethodInvocation, EnableDateRangeOptimization, EnableResultTypes, EnableDetailedErrors, DisableListTraversal, SignatureLevel. The provided example lists additional options as well. Sometimes options are represented as a parameter named "option" and a "valueString" containing the option, but other times the parameter name corresponds to the option name and the value is a boolean or string.
This is sufficiently complicated such that it would be helpful to implementers if these options were formally specified via a CQLOptions profile on Parameters. The parameters array might need to be sliced since different parameters have different requirements, e.g.:
- Slice for parameter w/ name "option" would constrain value[x] to string and bind (extensible) to a value set with common option names
- Slice for parameter w/ name "format" would constrain value[x] to string and bind (required) to value set w/ XML and JSON.
- etc.
Alternately, if you simplified the approach such that every option was always reflected in the parameter name (instead of a parameter called "option"), then the profile would be much simpler (more like the ModelInfoSettings profile I proposed in FHIR-43901).
Attachments
Issue Links
- is voted on by
-
BALLOT-58377 Affirmative - Paul Denning : 2024-Jan-FHIR IG CQL E1 STU
- Balloted
-
BALLOT-60947 Affirmative - Mark Kramer : 2024-Jan-FHIR IG CQL E1 STU
- Balloted
-
BALLOT-60984 Affirmative - Yunwei Wang : 2024-Jan-FHIR IG CQL E1 STU
- Balloted
- relates to
-
FHIR-44515 specifying translator options
- Resolved - No Change