Clinical Quality Language Specification
2.0.0-ballot - R2 STU 1 (Ballot)

Clinical Quality Language Specification, published by Clinical Decision Support WG. This guide is not an authorized publication; it is the continuous build for version 2.0.0-ballot built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/HL7/cql/ and changes regularly. See the Directory of published versions

ValueSet: CQL Language Capability

Official URL: http://cql.hl7.org/ValueSet/cql-language-capability Version: 2.0.0-ballot
Standards status: Trial-use Maturity Level: 2 Computable Name: CQLLanguageCapability

Codes for CQL language capabilities.

References

This value set is not used here; it may be used elsewhere (e.g. specifications and/or implementations that use this content)

Logical Definition (CLD)

 

Expansion

Expansion performed internally based on codesystem CQL Language Capability Codes v2.0.0-ballot (CodeSystem)

This value set contains 73 concepts

LevelCodeSystemDisplayDefinition
1  decimal-precision-and-scalehttp://cql.hl7.org/CodeSystem/cql-language-capabilitiesDecimal precision and scaleHow many total digits (precision) and how many digits to the right of the decimal point (scale) the implementation supports for Decimal values.
1  datetime-precision-and-scalehttp://cql.hl7.org/CodeSystem/cql-language-capabilitiesDatetime precision and scaleThe finest granularity (precision) and smallest increment (scale) supported for date/time values.
1  ucum-unit-conversion-supporthttp://cql.hl7.org/CodeSystem/cql-language-capabilitiesUCUM unit conversion supportWhether and how the engine can automatically convert between units of measure using UCUM.
1  regex-dialecthttp://cql.hl7.org/CodeSystem/cql-language-capabilitiesRegex dialectWhich flavor of regular expressions the implementation supports.
1  supported-data-modelshttp://cql.hl7.org/CodeSystem/cql-language-capabilitiesSupported data modelsWhich external models the engine can evaluate against.
1  expand-operatorhttp://cql.hl7.org/CodeSystem/cql-language-capabilitiesExpand operatorExpand on ValueSet/Interval.
1  fhirpath-supporthttp://cql.hl7.org/CodeSystem/cql-language-capabilitiesFHIRPath SupportAbility to evaluate/translate FHIRPath within CQL.
1  precision-operators-for-decimal-and-date-time-typeshttp://cql.hl7.org/CodeSystem/cql-language-capabilitiesPrecision operators for Decimal and Date/Time typesOperators that adjust/control precision.
1  model-defined-contextshttp://cql.hl7.org/CodeSystem/cql-language-capabilitiesModel-defined contextsContexts defined by the data model.
1  library-namespaceshttp://cql.hl7.org/CodeSystem/cql-language-capabilitiesLibrary namespacesOrganize libraries into namespaces.
1  related-context-retrieveshttp://cql.hl7.org/CodeSystem/cql-language-capabilitiesRelated-context retrievesContext-relative retrieve operations.
1  unit-conversion-supporthttp://cql.hl7.org/CodeSystem/cql-language-capabilitiesUnit conversion supportConvert between compatible UCUM units.
1  modular-arithmetic-for-quantitieshttp://cql.hl7.org/CodeSystem/cql-language-capabilitiesModular arithmetic for quantitiesModulo/remainder with Quantity.
1  expand-a-single-intervalhttp://cql.hl7.org/CodeSystem/cql-language-capabilitiesExpand a single intervalExpand applied to a single Interval.
1  aggregate-clausehttp://cql.hl7.org/CodeSystem/cql-language-capabilitiesAggregate clauseQuery clause for aggregation.
1  include-retrieveshttp://cql.hl7.org/CodeSystem/cql-language-capabilitiesInclude retrievesRetrieve that follows model references.
1  searchpath-retrieveshttp://cql.hl7.org/CodeSystem/cql-language-capabilitiesSearchpath retrievesRetrieve using a search path expression.
1  id-retrieveshttp://cql.hl7.org/CodeSystem/cql-language-capabilitiesId retrievesRetrieve by unique identifier.
1  system-data-typeshttp://cql.hl7.org/CodeSystem/cql-language-capabilitiesSystem Data TypesPrimitive, structured, and collection types defined by the System namespace.
2    system.integerhttp://cql.hl7.org/CodeSystem/cql-language-capabilitiesSystem.IntegerWhole numbers with no fractional component.
2    system.longhttp://cql.hl7.org/CodeSystem/cql-language-capabilitiesSystem.Long64-bit signed integers.
2    system.decimalhttp://cql.hl7.org/CodeSystem/cql-language-capabilitiesSystem.DecimalNumbers with fractional precision and scale.
2    system.stringhttp://cql.hl7.org/CodeSystem/cql-language-capabilitiesSystem.StringSequence of text characters.
2    system.booleanhttp://cql.hl7.org/CodeSystem/cql-language-capabilitiesSystem.BooleanLogical truth values.
2    system.datehttp://cql.hl7.org/CodeSystem/cql-language-capabilitiesSystem.DateCalendar date without time.
2    system.timehttp://cql.hl7.org/CodeSystem/cql-language-capabilitiesSystem.TimeTime of day without date.
2    system.datetimehttp://cql.hl7.org/CodeSystem/cql-language-capabilitiesSystem.DateTimeDate and time point (optional offset).
2    system.quantityhttp://cql.hl7.org/CodeSystem/cql-language-capabilitiesSystem.QuantityNumeric value with unit.
2    system.ratiohttp://cql.hl7.org/CodeSystem/cql-language-capabilitiesSystem.RatioFractional relationship between two Quantities.
2    system.intervalhttp://cql.hl7.org/CodeSystem/cql-language-capabilitiesSystem.IntervalRange over an ordered type.
2    system.listhttp://cql.hl7.org/CodeSystem/cql-language-capabilitiesSystem.ListOrdered collection of elements of a type.
2    system.tuplehttp://cql.hl7.org/CodeSystem/cql-language-capabilitiesSystem.TupleStructured type with named elements.
2    system.choicehttp://cql.hl7.org/CodeSystem/cql-language-capabilitiesSystem.ChoiceValue of one among several types.
2    system.codesystemhttp://cql.hl7.org/CodeSystem/cql-language-capabilitiesSystem.CodeSystemReference to an external code system.
2    system.valuesethttp://cql.hl7.org/CodeSystem/cql-language-capabilitiesSystem.ValueSetReference to a set of codes.
2    system.vocabularyhttp://cql.hl7.org/CodeSystem/cql-language-capabilitiesSystem.VocabularyBase type for vocabulary-related types.
1  logical-operatorshttp://cql.hl7.org/CodeSystem/cql-language-capabilitiesLogical Operatorsand, or, not, implies under 3-valued logic.
1  type-operatorshttp://cql.hl7.org/CodeSystem/cql-language-capabilitiesType OperatorsType inspection and conversion operators.
1  nullological-operatorshttp://cql.hl7.org/CodeSystem/cql-language-capabilitiesNullological OperatorsOperators dealing with null/missing information.
1  comparison-operatorshttp://cql.hl7.org/CodeSystem/cql-language-capabilitiesComparison OperatorsEqual, not equal, <, <=, >, >=, in/not in, etc.
1  arithmetic-operatorshttp://cql.hl7.org/CodeSystem/cql-language-capabilitiesArithmetic OperatorsAdd, subtract, multiply, divide, mod, round, etc.
1  string-operatorshttp://cql.hl7.org/CodeSystem/cql-language-capabilitiesString OperatorsLength, substring, startsWith, endsWith, matches, replaceMatches, etc.
1  date-and-time-operatorshttp://cql.hl7.org/CodeSystem/cql-language-capabilitiesDate and Time OperatorsDate/time arithmetic, components, now/today, comparisons, etc.
1  interval-operatorshttp://cql.hl7.org/CodeSystem/cql-language-capabilitiesInterval Operatorscontains, in, union, intersect, width, expand, etc.
1  list-operatorshttp://cql.hl7.org/CodeSystem/cql-language-capabilitiesList Operatorssize, first/last, contains, union/intersect/except, map/filter/distinct, sort/reverse/zip, etc.
1  aggregate-functionshttp://cql.hl7.org/CodeSystem/cql-language-capabilitiesAggregate Functionscount, sum, min, max, average, median, mode, etc.
1  clinical-operatorshttp://cql.hl7.org/CodeSystem/cql-language-capabilitiesClinical OperatorsRetrieve/terminology functions; temporal/duration in clinical context.
1  diagnostic-operatorshttp://cql.hl7.org/CodeSystem/cql-language-capabilitiesDiagnostic OperatorsErrors and messaging functions.
1  single-source-queryhttp://cql.hl7.org/CodeSystem/cql-language-capabilitiesSingle source queryQuery over one source.
1  relationships-queryhttp://cql.hl7.org/CodeSystem/cql-language-capabilitiesRelationships queryQuery involving two or more sources.
1  let-clause-queryhttp://cql.hl7.org/CodeSystem/cql-language-capabilitiesLet clause queryIntroduce local bindings.
1  where-clause-queryhttp://cql.hl7.org/CodeSystem/cql-language-capabilitiesWhere clause queryFilter using Boolean conditions.
1  return-clause-queryhttp://cql.hl7.org/CodeSystem/cql-language-capabilitiesReturn clause querySpecify the shape/content of returned rows.
1  aggregate-clause-queryhttp://cql.hl7.org/CodeSystem/cql-language-capabilitiesAggregate clause queryReduce rows to a summary value.
1  multi-source-queryhttp://cql.hl7.org/CodeSystem/cql-language-capabilitiesMulti source queryQuery using two or more sources.
1  unfiltered-context-retrievehttp://cql.hl7.org/CodeSystem/cql-language-capabilitiesUnfiltered context retrieveAll data of a type in the current context.
1  terminology-based-retrievehttp://cql.hl7.org/CodeSystem/cql-language-capabilitiesTerminology-based retrieveRetrieve filtered by ValueSet/CodeSystem/Code.
1  valueset-terminology-target-retrievehttp://cql.hl7.org/CodeSystem/cql-language-capabilitiesValueset terminology target retrieveRetrieve filtered by a ValueSet reference.
1  codesystem-terminology-target-retrievehttp://cql.hl7.org/CodeSystem/cql-language-capabilitiesCodeSystem terminology target retrieveRetrieve filtered by a CodeSystem.
1  code-terminology-target-retrievehttp://cql.hl7.org/CodeSystem/cql-language-capabilitiesCode terminology target retrieveRetrieve filtered by a single Code.
1  searchpath-retrievehttp://cql.hl7.org/CodeSystem/cql-language-capabilitiesSearchpath retrieveRetrieve using a search path expression.
1  include-retrievehttp://cql.hl7.org/CodeSystem/cql-language-capabilitiesInclude retrieveRetrieve that includes related records via references.
1  related-context-retrievehttp://cql.hl7.org/CodeSystem/cql-language-capabilitiesRelated-context retrieveRetrieve scoped to a related context entity.
1  profile-based-retrievehttp://cql.hl7.org/CodeSystem/cql-language-capabilitiesProfile-based retrieveRetrieve constrained to a profile.
1  tuplehttp://cql.hl7.org/CodeSystem/cql-language-capabilitiesTupleStructured type with named elements.
1  choicehttp://cql.hl7.org/CodeSystem/cql-language-capabilitiesChoiceValue that may be one of several specified types.
1  list<T>http://cql.hl7.org/CodeSystem/cql-language-capabilitiesList<T>Ordered collection of elements of type T.
1  interval<T>http://cql.hl7.org/CodeSystem/cql-language-capabilitiesInterval<T>Range of values of type T.
1  interval<integer>http://cql.hl7.org/CodeSystem/cql-language-capabilitiesInterval<Integer>Range of integers.
1  interval<decimal>http://cql.hl7.org/CodeSystem/cql-language-capabilitiesInterval<Decimal>Range of decimal numbers.
1  interval<date>http://cql.hl7.org/CodeSystem/cql-language-capabilitiesInterval<Date>Range of dates (no time).
1  interval<time>http://cql.hl7.org/CodeSystem/cql-language-capabilitiesInterval<Time>Range of times of day (no date).
1  interval<datetime>http://cql.hl7.org/CodeSystem/cql-language-capabilitiesInterval<DateTime>Range of full date/times.

Explanation of the columns that may appear on this page:

Level A few code lists that FHIR defines are hierarchical - each code is assigned a level. In this scheme, some codes are under other codes, and imply that the code they are under also applies
System The source of the definition of the code (when the value set draws in codes defined elsewhere)
Code The code (used as the code in the resource instance)
Display The display (used in the display element of a Coding). If there is no display, implementers should not simply display the code, but map the concept into their application
Definition An explanation of the meaning of the concept
Comments Additional notes about how to use the code