PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.uv.cql@2.0.0-ballot
    http://hl7.org/fhir/uv/cql/StructureDefinition/cql-options
description: A parameters profile that defines supported CQL-to-ELM translator options used to translate CQL. Complete documentation of these options can be found in the [Usage](https://github.com/cqframework/clinical_quality_language/blob/v3.9.0/Src/java/cql-to-elm/OVERVIEW.md#usage) topic of the CQL-to-ELM translator overview.
package_name: hl7.fhir.uv.cql
derivation: constraint
name: CQLOptions
type: Parameters
elements:
  parameter:
    index: 0
    slicing:
      rules: open
      ordered: false
      discriminator:
      - {path: name, type: value}
      min: null
      slices:
        translatorVersion:
          match: {name: translatorVersion}
          schema:
            short: What version
            index: 51
            elements:
              name:
                pattern: {type: String, value: translatorVersion}
                index: 52
              value:
                choices: [valueString]
                index: 54
              valueString: {type: string, choiceOf: value, index: 55}
            required: [valueString, value]
        disableListTraversal:
          match: {name: disableListTraversal}
          schema:
            short: Disallow list traversal?
            index: 41
            elements:
              name:
                pattern: {type: String, value: disableListTraversal}
                index: 42
              value:
                choices: [valueBoolean]
                index: 44
              valueBoolean: {type: boolean, choiceOf: value, index: 45}
            required: [value, valueBoolean]
        format:
          match: {name: format}
          schema:
            short: What format (XML and/or JSON)
            constraint:
              cop-2: {human: Format parameter must be XML or JSON, severity: error, expression: value in ( 'XML' | 'JSON' )}
            array: true
            max: 2
            index: 56
            elements:
              name:
                pattern: {type: String, value: format}
                index: 57
              value:
                choices: [valueString]
                index: 59
              valueString: {type: string, choiceOf: value, index: 60}
            required: [valueString, value]
        collapseDataRequirements:
          match: {name: collapseDataRequirements}
          schema:
            short: Collapse data requirements?
            index: 91
            elements:
              name:
                pattern: {type: String, value: collapseDataRequirements}
                index: 92
              value:
                choices: [valueBoolean]
                index: 94
              valueBoolean: {type: boolean, choiceOf: value, index: 95}
            required: [value, valueBoolean]
        enableDetailedErrors:
          match: {name: enableDetailedErrors}
          schema:
            short: Include detailed errors?
            index: 36
            elements:
              name:
                pattern: {type: String, value: enableDetailedErrors}
                index: 37
              value:
                choices: [valueBoolean]
                index: 39
              valueBoolean: {type: boolean, choiceOf: value, index: 40}
            required: [value, valueBoolean]
        enableLocators:
          match: {name: enableLocators}
          schema:
            short: Include locators?
            index: 6
            elements:
              name:
                pattern: {type: String, value: enableLocators}
                index: 7
              value:
                choices: [valueBoolean]
                index: 9
              valueBoolean: {type: boolean, choiceOf: value, index: 10}
            required: [value, valueBoolean]
        disableMethodInvocation:
          match: {name: disableMethodInvocation}
          schema:
            short: Disable method-style invocation?
            index: 21
            elements:
              name:
                pattern: {type: String, value: disableMethodInvocation}
                index: 22
              value:
                choices: [valueBoolean]
                index: 24
              valueBoolean: {type: boolean, choiceOf: value, index: 25}
            required: [value, valueBoolean]
        compatibilityLevel:
          match: {name: compatibilityLevel}
          schema:
            short: What compatibility level
            index: 61
            elements:
              name:
                pattern: {type: String, value: compatibilityLevel}
                index: 62
              value:
                choices: [valueString]
                index: 64
              valueString: {type: string, choiceOf: value, index: 65}
            required: [valueString, value]
        validateUnits:
          match: {name: validateUnits}
          schema:
            short: Validate UCUM units?
            index: 76
            elements:
              name:
                pattern: {type: String, value: validateUnits}
                index: 77
              value:
                choices: [valueBoolean]
                index: 79
              valueBoolean: {type: boolean, choiceOf: value, index: 80}
            required: [value, valueBoolean]
        errorLevel:
          match: {name: errorLevel}
          schema:
            short: What error level
            constraint:
              cop-3: {human: 'ErrorLevel parameter must be Info, Warning, or Error', severity: error, expression: value in ( 'Info' | 'Warning' | 'Error' )}
            index: 71
            elements:
              name:
                pattern: {type: String, value: errorLevel}
                index: 72
              value:
                choices: [valueString]
                index: 74
              valueString: {type: string, choiceOf: value, index: 75}
            required: [valueString, value]
        signatureLevel:
          match: {name: signatureLevel}
          schema:
            constraint:
              cop-1: {human: 'SignatureLevel parameter must be None, Differing, Overloads, or All', severity: error, expression: value in ( 'None' | 'Differing' | 'Overloads' | 'All' )}
            short: Include signatures?
            index: 46
            elements:
              name:
                pattern: {type: String, value: signatureLevel}
                index: 47
              value:
                choices: [valueString]
                index: 49
              valueString: {type: string, choiceOf: value, index: 50}
            required: [valueString, value]
        enableResultTypes:
          match: {name: enableResultTypes}
          schema:
            short: Include result types?
            index: 31
            elements:
              name:
                pattern: {type: String, value: enableResultTypes}
                index: 32
              value:
                choices: [valueBoolean]
                index: 34
              valueBoolean: {type: boolean, choiceOf: value, index: 35}
            required: [value, valueBoolean]
        analyzeDataRequirements:
          match: {name: analyzeDataRequirements}
          schema:
            short: Analyze data requirements?
            index: 86
            elements:
              name:
                pattern: {type: String, value: analyzeDataRequirements}
                index: 87
              value:
                choices: [valueBoolean]
                index: 89
              valueBoolean: {type: boolean, choiceOf: value, index: 90}
            required: [value, valueBoolean]
        enableCqlOnly:
          match: {name: enableCqlOnly}
          schema:
            short: Include CQL only?
            index: 66
            elements:
              name:
                pattern: {type: String, value: enableCqlOnly}
                index: 67
              value:
                choices: [valueBoolean]
                index: 69
              valueBoolean: {type: boolean, choiceOf: value, index: 70}
            required: [value, valueBoolean]
        enableAnnotations:
          match: {name: enableAnnotations}
          schema:
            short: Include annotations?
            index: 1
            elements:
              name:
                pattern: {type: String, value: enableAnnotations}
                index: 2
              value:
                choices: [valueBoolean]
                index: 4
              valueBoolean: {type: boolean, choiceOf: value, index: 5}
            required: [value, valueBoolean]
        disableListPromotion:
          match: {name: disableListPromotion}
          schema:
            short: Implicitly convert singletons to lists when possible?
            index: 16
            elements:
              name:
                pattern: {type: String, value: disableListPromotion}
                index: 17
              value:
                choices: [valueBoolean]
                index: 19
              valueBoolean: {type: boolean, choiceOf: value, index: 20}
            required: [value, valueBoolean]
        enableDateRangeOptimization:
          match: {name: enableDateRangeOptimization}
          schema:
            short: Optimize date ranges when possible?
            index: 26
            elements:
              name:
                pattern: {type: String, value: enableDateRangeOptimization}
                index: 27
              value:
                choices: [valueBoolean]
                index: 29
              valueBoolean: {type: boolean, choiceOf: value, index: 30}
            required: [value, valueBoolean]
        verifyOnly:
          match: {name: verifyOnly}
          schema:
            short: Verify only
            index: 81
            elements:
              name:
                pattern: {type: String, value: verifyOnly}
                index: 82
              value:
                choices: [valueBoolean]
                index: 84
              valueBoolean: {type: boolean, choiceOf: value, index: 85}
            required: [value, valueBoolean]
        disableListDemotion:
          match: {name: disableListDemotion}
          schema:
            short: Implicitly convert lists to singletons when possible?
            index: 11
            elements:
              name:
                pattern: {type: String, value: disableListDemotion}
                index: 12
              value:
                choices: [valueBoolean]
                index: 14
              valueBoolean: {type: boolean, choiceOf: value, index: 15}
            required: [value, valueBoolean]
package_version: 2.0.0-ballot
class: profile
kind: resource
url: http://hl7.org/fhir/uv/cql/StructureDefinition/cql-options
base: http://hl7.org/fhir/StructureDefinition/Parameters
version: 2.0.0-ballot