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
Page standards status: Trial-use | Maturity Level: 2 |
@prefix fhir: <http://hl7.org/fhir/> . @prefix owl: <http://www.w3.org/2002/07/owl#> . @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . # - resource ------------------------------------------------------------------- a fhir:CodeSystem ; fhir:nodeRole fhir:treeRoot ; fhir:id [ fhir:v "cql-language-capabilities"] ; # fhir:text [ fhir:status [ fhir:v "generated" ] ; fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: CodeSystem cql-language-capabilities</b></p><a name=\"cql-language-capabilities\"> </a><a name=\"hccql-language-capabilities\"> </a><p><b>Properties</b></p><p><b>This code system defines the following properties for its concepts</b></p><table class=\"grid\"><tr><td><b>Name</b></td><td><b>Code</b></td><td><b>URI</b></td><td><b>Type</b></td><td><b>Description</b></td></tr><tr><td>Version</td><td>version</td><td>http://cql.hl7.org/CodeSystem/cql-capability-characteristic-codes#version</td><td>string</td><td>The version in which the capability was introduced in the specification</td></tr><tr><td>VersionTo</td><td>versionTo</td><td>http://cql.hl7.org/CodeSystem/cql-capability-characteristic-codes#versionTo</td><td>string</td><td>The last version in which the capability was included in the specification</td></tr><tr><td>Value</td><td>value</td><td>http://cql.hl7.org/CodeSystem/cql-capability-characteristic-codes#value</td><td>string</td><td>A qualifier value used to provide more detail about the capability</td></tr><tr><td>Value Meaning</td><td>valueMeaning</td><td>http://cql.hl7.org/CodeSystem/cql-capability-characteristic-codes#valueMeaning</td><td>string</td><td>A description of the meaning of qualifier values for the capability</td></tr><tr><td>Reference</td><td>reference</td><td>http://cql.hl7.org/CodeSystem/cql-capability-characteristic-codes#reference</td><td>string</td><td>A reference to the specification documenting this capability</td></tr></table><p><b>Concepts</b></p><p>This case-sensitive code system <code>http://cql.hl7.org/CodeSystem/cql-language-capabilities</code> defines the following codes in a Is-A hierarchy:</p><table class=\"codes\"><tr><td><b>Lvl</b></td><td style=\"white-space:nowrap\"><b>Code</b></td><td><b>Display</b></td><td><b>Definition</b></td><td><b>Version</b></td><td><b>Value</b></td><td><b>Value Meaning</b></td><td><b>Reference</b></td></tr><tr><td>1</td><td style=\"white-space:nowrap\">decimal-precision-and-scale<a name=\"cql-language-capabilities-decimal-precision-and-scale\"> </a></td><td>Decimal precision and scale</td><td>How many total digits (precision) and how many digits to the right of the decimal point (scale) the implementation supports for Decimal values.</td><td>1.0</td><td>28,8</td><td>The supported precision and scale of decimal values</td><td><code>https://cql.hl7.org/09-b-cqlreference.html#decimal</code></td></tr><tr><td>1</td><td style=\"white-space:nowrap\">datetime-precision-and-scale<a name=\"cql-language-capabilities-datetime-precision-and-scale\"> </a></td><td>Datetime precision and scale</td><td>The finest granularity (precision) and smallest increment (scale) supported for date/time values.</td><td>1.0</td><td/><td/><td><code>https://cql.hl7.org/09-b-cqlreference.html#datetime</code></td></tr><tr><td>1</td><td style=\"white-space:nowrap\">ucum-unit-conversion-support<a name=\"cql-language-capabilities-ucum-unit-conversion-support\"> </a></td><td>UCUM unit conversion support</td><td>Whether and how the engine can automatically convert between units of measure using UCUM.</td><td>1.0</td><td/><td/><td><code>https://cql.hl7.org/09-b-cqlreference.html#convertquantity</code></td></tr><tr><td>1</td><td style=\"white-space:nowrap\">regex-dialect<a name=\"cql-language-capabilities-regex-dialect\"> </a></td><td>Regex dialect</td><td>Which flavor of regular expressions the implementation supports.</td><td>1.0</td><td/><td/><td><code>https://cql.hl7.org/09-b-cqlreference.html#matches</code></td></tr><tr><td>1</td><td style=\"white-space:nowrap\">supported-data-models<a name=\"cql-language-capabilities-supported-data-models\"> </a></td><td>Supported data models</td><td>Which external models the engine can evaluate against.</td><td>1.0</td><td/><td/><td><code>https://cql.hl7.org/05-languagesemantics.html#data-model</code></td></tr><tr><td>1</td><td style=\"white-space:nowrap\">expand-operator<a name=\"cql-language-capabilities-expand-operator\"> </a></td><td>Expand operator</td><td>Expand on ValueSet/Interval.</td><td>1.3</td><td/><td/><td><code>https://cql.hl7.org/05-languagesemantics.html#collapse-and-expand-operators</code></td></tr><tr><td>1</td><td style=\"white-space:nowrap\">fhirpath-support<a name=\"cql-language-capabilities-fhirpath-support\"> </a></td><td>FHIRPath Support</td><td>Ability to evaluate/translate FHIRPath within CQL.</td><td>1.3</td><td/><td/><td><code>https://cql.hl7.org/16-i-fhirpathtranslation.html</code></td></tr><tr><td>1</td><td style=\"white-space:nowrap\">precision-operators-for-decimal-and-date-time-types<a name=\"cql-language-capabilities-precision-operators-for-decimal-and-date-time-types\"> </a></td><td>Precision operators for Decimal and Date/Time types</td><td>Operators that adjust/control precision.</td><td>1.4</td><td/><td/><td><code>https://cql.hl7.org/09-b-cqlreference.html#precision</code></td></tr><tr><td>1</td><td style=\"white-space:nowrap\">model-defined-contexts<a name=\"cql-language-capabilities-model-defined-contexts\"> </a></td><td>Model-defined contexts</td><td>Contexts defined by the data model.</td><td>1.4</td><td/><td/><td><code>https://cql.hl7.org/05-languagesemantics.html#context-support</code></td></tr><tr><td>1</td><td style=\"white-space:nowrap\">library-namespaces<a name=\"cql-language-capabilities-library-namespaces\"> </a></td><td>Library namespaces</td><td>Organize libraries into namespaces.</td><td>1.4</td><td/><td/><td><code>https://cql.hl7.org/07-physicalrepresentation.html#media-types-and-namespaces</code></td></tr><tr><td>1</td><td style=\"white-space:nowrap\">related-context-retrieves<a name=\"cql-language-capabilities-related-context-retrieves\"> </a></td><td>Related-context retrieves</td><td>Context-relative retrieve operations.</td><td>1.4</td><td/><td/><td><code>https://cql.hl7.org/05-languagesemantics.html#retrieve-paths</code></td></tr><tr><td>1</td><td style=\"white-space:nowrap\">unit-conversion-support<a name=\"cql-language-capabilities-unit-conversion-support\"> </a></td><td>Unit conversion support</td><td>Convert between compatible UCUM units.</td><td>1.4</td><td/><td/><td><code>https://cql.hl7.org/05-languagesemantics.html#conversions</code></td></tr><tr><td>1</td><td style=\"white-space:nowrap\">modular-arithmetic-for-quantities<a name=\"cql-language-capabilities-modular-arithmetic-for-quantities\"> </a></td><td>Modular arithmetic for quantities</td><td>Modulo/remainder with Quantity.</td><td>1.5</td><td/><td/><td><code>https://cql.hl7.org/05-languagesemantics.html#quantity-arithmetic</code></td></tr><tr><td>1</td><td style=\"white-space:nowrap\">expand-a-single-interval<a name=\"cql-language-capabilities-expand-a-single-interval\"> </a></td><td>Expand a single interval</td><td>Expand applied to a single Interval.</td><td>1.5</td><td/><td/><td><code>https://cql.hl7.org/09-b-cqlreference.html#expand</code></td></tr><tr><td>1</td><td style=\"white-space:nowrap\">aggregate-clause<a name=\"cql-language-capabilities-aggregate-clause\"> </a></td><td>Aggregate clause</td><td>Query clause for aggregation.</td><td>1.5</td><td/><td/><td><code>https://cql.hl7.org/05-languagesemantics.html#aggregate-clause</code></td></tr><tr><td>1</td><td style=\"white-space:nowrap\">include-retrieves<a name=\"cql-language-capabilities-include-retrieves\"> </a></td><td>Include retrieves</td><td>Retrieve that follows model references.</td><td>1.5</td><td/><td/><td><code>https://cql.hl7.org/05-languagesemantics.html#retrieve-paths</code></td></tr><tr><td>1</td><td style=\"white-space:nowrap\">searchpath-retrieves<a name=\"cql-language-capabilities-searchpath-retrieves\"> </a></td><td>Searchpath retrieves</td><td>Retrieve using a search path expression.</td><td>1.5</td><td/><td/><td><code>https://cql.hl7.org/05-languagesemantics.html#retrieve-paths</code></td></tr><tr><td>1</td><td style=\"white-space:nowrap\">id-retrieves<a name=\"cql-language-capabilities-id-retrieves\"> </a></td><td>Id retrieves</td><td>Retrieve by unique identifier.</td><td>1.5</td><td/><td/><td><code>https://cql.hl7.org/05-languagesemantics.html#retrieve-paths</code></td></tr><tr><td>1</td><td style=\"white-space:nowrap\">system-data-types<a name=\"cql-language-capabilities-system-data-types\"> </a></td><td>System Data Types</td><td>Primitive, structured, and collection types defined by the System namespace.</td><td/><td/><td/><td><code>https://cql.hl7.org/09-b-cqlreference.html#types</code></td></tr><tr><td>2</td><td style=\"white-space:nowrap\"> system.integer<a name=\"cql-language-capabilities-system.46integer\"> </a></td><td>System.Integer</td><td>Whole numbers with no fractional component.</td><td>1.0</td><td/><td/><td><code>https://cql.hl7.org/09-b-cqlreference.html#integer</code></td></tr><tr><td>2</td><td style=\"white-space:nowrap\"> system.long<a name=\"cql-language-capabilities-system.46long\"> </a></td><td>System.Long</td><td>64-bit signed integers.</td><td>1.5</td><td/><td/><td><code>https://cql.hl7.org/09-b-cqlreference.html#long</code></td></tr><tr><td>2</td><td style=\"white-space:nowrap\"> system.decimal<a name=\"cql-language-capabilities-system.46decimal\"> </a></td><td>System.Decimal</td><td>Numbers with fractional precision and scale.</td><td>1.0</td><td/><td/><td><code>https://cql.hl7.org/09-b-cqlreference.html#decimal</code></td></tr><tr><td>2</td><td style=\"white-space:nowrap\"> system.string<a name=\"cql-language-capabilities-system.46string\"> </a></td><td>System.String</td><td>Sequence of text characters.</td><td>1.0</td><td/><td/><td><code>https://cql.hl7.org/09-b-cqlreference.html#string</code></td></tr><tr><td>2</td><td style=\"white-space:nowrap\"> system.boolean<a name=\"cql-language-capabilities-system.46boolean\"> </a></td><td>System.Boolean</td><td>Logical truth values.</td><td>1.0</td><td/><td/><td><code>https://cql.hl7.org/09-b-cqlreference.html#boolean</code></td></tr><tr><td>2</td><td style=\"white-space:nowrap\"> system.date<a name=\"cql-language-capabilities-system.46date\"> </a></td><td>System.Date</td><td>Calendar date without time.</td><td>1.3</td><td/><td/><td><code>https://cql.hl7.org/09-b-cqlreference.html#date</code></td></tr><tr><td>2</td><td style=\"white-space:nowrap\"> system.time<a name=\"cql-language-capabilities-system.46time\"> </a></td><td>System.Time</td><td>Time of day without date.</td><td>1.0</td><td/><td/><td><code>https://cql.hl7.org/09-b-cqlreference.html#time</code></td></tr><tr><td>2</td><td style=\"white-space:nowrap\"> system.datetime<a name=\"cql-language-capabilities-system.46datetime\"> </a></td><td>System.DateTime</td><td>Date and time point (optional offset).</td><td>1.0</td><td/><td/><td><code>https://cql.hl7.org/09-b-cqlreference.html#datetime</code></td></tr><tr><td>2</td><td style=\"white-space:nowrap\"> system.quantity<a name=\"cql-language-capabilities-system.46quantity\"> </a></td><td>System.Quantity</td><td>Numeric value with unit.</td><td>1.0</td><td/><td/><td><code>https://cql.hl7.org/09-b-cqlreference.html#quantity</code></td></tr><tr><td>2</td><td style=\"white-space:nowrap\"> system.ratio<a name=\"cql-language-capabilities-system.46ratio\"> </a></td><td>System.Ratio</td><td>Fractional relationship between two Quantities.</td><td>1.3</td><td/><td/><td><code>https://cql.hl7.org/09-b-cqlreference.html#ratio</code></td></tr><tr><td>2</td><td style=\"white-space:nowrap\"> system.interval<a name=\"cql-language-capabilities-system.46interval\"> </a></td><td>System.Interval</td><td>Range over an ordered type.</td><td>1.0</td><td/><td/><td><code>https://cql.hl7.org/09-b-cqlreference.html#interval-operators-3</code></td></tr><tr><td>2</td><td style=\"white-space:nowrap\"> system.list<a name=\"cql-language-capabilities-system.46list\"> </a></td><td>System.List</td><td>Ordered collection of elements of a type.</td><td>1.0</td><td/><td/><td><code>https://cql.hl7.org/63-expressionlanguagesemantics.html#collection-types</code></td></tr><tr><td>2</td><td style=\"white-space:nowrap\"> system.tuple<a name=\"cql-language-capabilities-system.46tuple\"> </a></td><td>System.Tuple</td><td>Structured type with named elements.</td><td>1.0</td><td/><td/><td><code>https://cql.hl7.org/63-expressionlanguagesemantics.html#structured-types</code></td></tr><tr><td>2</td><td style=\"white-space:nowrap\"> system.choice<a name=\"cql-language-capabilities-system.46choice\"> </a></td><td>System.Choice</td><td>Value of one among several types.</td><td>1.0</td><td/><td/><td><code>https://cql.hl7.org/63-expressionlanguagesemantics.html#choice-types</code></td></tr><tr><td>2</td><td style=\"white-space:nowrap\"> system.codesystem<a name=\"cql-language-capabilities-system.46codesystem\"> </a></td><td>System.CodeSystem</td><td>Reference to an external code system.</td><td>1.5</td><td/><td/><td><code>https://cql.hl7.org/09-b-cqlreference.html#codesystem</code></td></tr><tr><td>2</td><td style=\"white-space:nowrap\"> system.valueset<a name=\"cql-language-capabilities-system.46valueset\"> </a></td><td>System.ValueSet</td><td>Reference to a set of codes.</td><td>1.5</td><td/><td/><td><code>https://cql.hl7.org/09-b-cqlreference.html#valueset</code></td></tr><tr><td>2</td><td style=\"white-space:nowrap\"> system.vocabulary<a name=\"cql-language-capabilities-system.46vocabulary\"> </a></td><td>System.Vocabulary</td><td>Base type for vocabulary-related types.</td><td>1.5</td><td/><td/><td><code>https://cql.hl7.org/09-b-cqlreference.html#vocabulary</code></td></tr><tr><td>1</td><td style=\"white-space:nowrap\">logical-operators<a name=\"cql-language-capabilities-logical-operators\"> </a></td><td>Logical Operators</td><td>and, or, not, implies under 3-valued logic.</td><td>1.0</td><td/><td/><td><code>https://cql.hl7.org/09-b-cqlreference.html#logical-operators</code></td></tr><tr><td>1</td><td style=\"white-space:nowrap\">type-operators<a name=\"cql-language-capabilities-type-operators\"> </a></td><td>Type Operators</td><td>Type inspection and conversion operators.</td><td>1.0</td><td/><td/><td><code>https://cql.hl7.org/09-b-cqlreference.html#type-operators</code></td></tr><tr><td>1</td><td style=\"white-space:nowrap\">nullological-operators<a name=\"cql-language-capabilities-nullological-operators\"> </a></td><td>Nullological Operators</td><td>Operators dealing with null/missing information.</td><td>1.0</td><td/><td/><td><code>https://cql.hl7.org/09-b-cqlreference.html#nullological-operators</code></td></tr><tr><td>1</td><td style=\"white-space:nowrap\">comparison-operators<a name=\"cql-language-capabilities-comparison-operators\"> </a></td><td>Comparison Operators</td><td>Equal, not equal, <, <=, >, >=, in/not in, etc.</td><td>1.0</td><td/><td/><td><code>https://cql.hl7.org/09-b-cqlreference.html#comparison-operators</code></td></tr><tr><td>1</td><td style=\"white-space:nowrap\">arithmetic-operators<a name=\"cql-language-capabilities-arithmetic-operators\"> </a></td><td>Arithmetic Operators</td><td>Add, subtract, multiply, divide, mod, round, etc.</td><td>1.0</td><td/><td/><td><code>https://cql.hl7.org/09-b-cqlreference.html#arithmetic-operators</code></td></tr><tr><td>1</td><td style=\"white-space:nowrap\">string-operators<a name=\"cql-language-capabilities-string-operators\"> </a></td><td>String Operators</td><td>Length, substring, startsWith, endsWith, matches, replaceMatches, etc.</td><td>1.0</td><td/><td/><td><code>https://cql.hl7.org/09-b-cqlreference.html#string-operators</code></td></tr><tr><td>1</td><td style=\"white-space:nowrap\">date-and-time-operators<a name=\"cql-language-capabilities-date-and-time-operators\"> </a></td><td>Date and Time Operators</td><td>Date/time arithmetic, components, now/today, comparisons, etc.</td><td>1.0</td><td/><td/><td><code>https://cql.hl7.org/09-b-cqlreference.html#date-and-time-operators</code></td></tr><tr><td>1</td><td style=\"white-space:nowrap\">interval-operators<a name=\"cql-language-capabilities-interval-operators\"> </a></td><td>Interval Operators</td><td>contains, in, union, intersect, width, expand, etc.</td><td>1.0</td><td/><td/><td><code>https://cql.hl7.org/09-b-cqlreference.html#interval-operators-3</code></td></tr><tr><td>1</td><td style=\"white-space:nowrap\">list-operators<a name=\"cql-language-capabilities-list-operators\"> </a></td><td>List Operators</td><td>size, first/last, contains, union/intersect/except, map/filter/distinct, sort/reverse/zip, etc.</td><td>1.0</td><td/><td/><td><code>https://cql.hl7.org/09-b-cqlreference.html#list-operators</code></td></tr><tr><td>1</td><td style=\"white-space:nowrap\">aggregate-functions<a name=\"cql-language-capabilities-aggregate-functions\"> </a></td><td>Aggregate Functions</td><td>count, sum, min, max, average, median, mode, etc.</td><td>1.0</td><td/><td/><td><code>https://cql.hl7.org/09-b-cqlreference.html#aggregate-functions</code></td></tr><tr><td>1</td><td style=\"white-space:nowrap\">clinical-operators<a name=\"cql-language-capabilities-clinical-operators\"> </a></td><td>Clinical Operators</td><td>Retrieve/terminology functions; temporal/duration in clinical context.</td><td>1.0</td><td/><td/><td><code>https://cql.hl7.org/09-b-cqlreference.html#clinical-operators</code></td></tr><tr><td>1</td><td style=\"white-space:nowrap\">diagnostic-operators<a name=\"cql-language-capabilities-diagnostic-operators\"> </a></td><td>Diagnostic Operators</td><td>Errors and messaging functions.</td><td>1.0</td><td/><td/><td><code>https://cql.hl7.org/09-b-cqlreference.html#errors-and-messaging</code></td></tr><tr><td>1</td><td style=\"white-space:nowrap\">single-source-query<a name=\"cql-language-capabilities-single-source-query\"> </a></td><td>Single source query</td><td>Query over one source.</td><td>1.0</td><td/><td/><td><code>https://cql.hl7.org/74-queryevaluation.html#evaluate-sources</code></td></tr><tr><td>1</td><td style=\"white-space:nowrap\">relationships-query<a name=\"cql-language-capabilities-relationships-query\"> </a></td><td>Relationships query</td><td>Query involving two or more sources.</td><td>1.0</td><td/><td/><td><code>https://cql.hl7.org/74-queryevaluation.html#evaluate-sources</code></td></tr><tr><td>1</td><td style=\"white-space:nowrap\">let-clause-query<a name=\"cql-language-capabilities-let-clause-query\"> </a></td><td>Let clause query</td><td>Introduce local bindings.</td><td>1.0</td><td/><td/><td><code>https://cql.hl7.org/74-queryevaluation.html#let-clause</code></td></tr><tr><td>1</td><td style=\"white-space:nowrap\">where-clause-query<a name=\"cql-language-capabilities-where-clause-query\"> </a></td><td>Where clause query</td><td>Filter using Boolean conditions.</td><td>1.0</td><td/><td/><td><code>https://cql.hl7.org/74-queryevaluation.html#where-clause</code></td></tr><tr><td>1</td><td style=\"white-space:nowrap\">return-clause-query<a name=\"cql-language-capabilities-return-clause-query\"> </a></td><td>Return clause query</td><td>Specify the shape/content of returned rows.</td><td>1.0</td><td/><td/><td><code>https://cql.hl7.org/74-queryevaluation.html#return-clause</code></td></tr><tr><td>1</td><td style=\"white-space:nowrap\">aggregate-clause-query<a name=\"cql-language-capabilities-aggregate-clause-query\"> </a></td><td>Aggregate clause query</td><td>Reduce rows to a summary value.</td><td>1.0</td><td/><td/><td><code>https://cql.hl7.org/74-queryevaluation.html#aggregate-clause</code></td></tr><tr><td>1</td><td style=\"white-space:nowrap\">multi-source-query<a name=\"cql-language-capabilities-multi-source-query\"> </a></td><td>Multi source query</td><td>Query using two or more sources.</td><td>1.0</td><td/><td/><td><code>https://cql.hl7.org/74-queryevaluation.html#evaluate-sources</code></td></tr><tr><td>1</td><td style=\"white-space:nowrap\">unfiltered-context-retrieve<a name=\"cql-language-capabilities-unfiltered-context-retrieve\"> </a></td><td>Unfiltered context retrieve</td><td>All data of a type in the current context.</td><td>1.0</td><td/><td/><td><code>https://cql.hl7.org/05-languagesemantics.html#language-capabilities</code></td></tr><tr><td>1</td><td style=\"white-space:nowrap\">terminology-based-retrieve<a name=\"cql-language-capabilities-terminology-based-retrieve\"> </a></td><td>Terminology-based retrieve</td><td>Retrieve filtered by ValueSet/CodeSystem/Code.</td><td>1.0</td><td/><td/><td><code>https://cql.hl7.org/05-languagesemantics.html#retrieve-paths</code></td></tr><tr><td>1</td><td style=\"white-space:nowrap\">valueset-terminology-target-retrieve<a name=\"cql-language-capabilities-valueset-terminology-target-retrieve\"> </a></td><td>Valueset terminology target retrieve</td><td>Retrieve filtered by a ValueSet reference.</td><td>1.0</td><td/><td/><td><code>https://cql.hl7.org/05-languagesemantics.html#retrieve-paths</code></td></tr><tr><td>1</td><td style=\"white-space:nowrap\">codesystem-terminology-target-retrieve<a name=\"cql-language-capabilities-codesystem-terminology-target-retrieve\"> </a></td><td>CodeSystem terminology target retrieve</td><td>Retrieve filtered by a CodeSystem.</td><td>1.0</td><td/><td/><td><code>https://cql.hl7.org/05-languagesemantics.html#retrieve-paths</code></td></tr><tr><td>1</td><td style=\"white-space:nowrap\">code-terminology-target-retrieve<a name=\"cql-language-capabilities-code-terminology-target-retrieve\"> </a></td><td>Code terminology target retrieve</td><td>Retrieve filtered by a single Code.</td><td>1.0</td><td/><td/><td><code>https://cql.hl7.org/05-languagesemantics.html#retrieve-paths</code></td></tr><tr><td>1</td><td style=\"white-space:nowrap\">searchpath-retrieve<a name=\"cql-language-capabilities-searchpath-retrieve\"> </a></td><td>Searchpath retrieve</td><td>Retrieve using a search path expression.</td><td>1.0</td><td/><td/><td><code>https://cql.hl7.org/05-languagesemantics.html#retrieve-paths</code></td></tr><tr><td>1</td><td style=\"white-space:nowrap\">include-retrieve<a name=\"cql-language-capabilities-include-retrieve\"> </a></td><td>Include retrieve</td><td>Retrieve that includes related records via references.</td><td>1.0</td><td/><td/><td><code>https://cql.hl7.org/05-languagesemantics.html#retrieve-paths</code></td></tr><tr><td>1</td><td style=\"white-space:nowrap\">related-context-retrieve<a name=\"cql-language-capabilities-related-context-retrieve\"> </a></td><td>Related-context retrieve</td><td>Retrieve scoped to a related context entity.</td><td>1.0</td><td/><td/><td><code>https://cql.hl7.org/05-languagesemantics.html#retrieve-paths</code></td></tr><tr><td>1</td><td style=\"white-space:nowrap\">profile-based-retrieve<a name=\"cql-language-capabilities-profile-based-retrieve\"> </a></td><td>Profile-based retrieve</td><td>Retrieve constrained to a profile.</td><td>1.0</td><td/><td/><td><code>https://cql.hl7.org/42-conformancelevels.html#strict-conformance</code></td></tr><tr><td>1</td><td style=\"white-space:nowrap\">tuple<a name=\"cql-language-capabilities-tuple\"> </a></td><td>Tuple</td><td>Structured type with named elements.</td><td>1.0</td><td/><td/><td><code>https://cql.hl7.org/63-expressionlanguagesemantics.html#structured-types</code></td></tr><tr><td>1</td><td style=\"white-space:nowrap\">choice<a name=\"cql-language-capabilities-choice\"> </a></td><td>Choice</td><td>Value that may be one of several specified types.</td><td>1.0</td><td/><td/><td><code>https://cql.hl7.org/63-expressionlanguagesemantics.html#choice-types</code></td></tr><tr><td>1</td><td style=\"white-space:nowrap\">list<T><a name=\"cql-language-capabilities-list.60T.62\"> </a></td><td>List<T></td><td>Ordered collection of elements of type T.</td><td>1.0</td><td/><td/><td><code>https://cql.hl7.org/63-expressionlanguagesemantics.html#collection-types</code></td></tr><tr><td>1</td><td style=\"white-space:nowrap\">interval<T><a name=\"cql-language-capabilities-interval.60T.62\"> </a></td><td>Interval<T></td><td>Range of values of type T.</td><td>1.0</td><td/><td/><td><code>https://cql.hl7.org/09-b-cqlreference.html#interval-operators-3</code></td></tr><tr><td>1</td><td style=\"white-space:nowrap\">interval<integer><a name=\"cql-language-capabilities-interval.60integer.62\"> </a></td><td>Interval<Integer></td><td>Range of integers.</td><td>1.0</td><td/><td/><td><code>https://cql.hl7.org/09-b-cqlreference.html#interval-operators-3</code></td></tr><tr><td>1</td><td style=\"white-space:nowrap\">interval<decimal><a name=\"cql-language-capabilities-interval.60decimal.62\"> </a></td><td>Interval<Decimal></td><td>Range of decimal numbers.</td><td>1.0</td><td/><td/><td><code>https://cql.hl7.org/09-b-cqlreference.html#interval-operators-3</code></td></tr><tr><td>1</td><td style=\"white-space:nowrap\">interval<date><a name=\"cql-language-capabilities-interval.60date.62\"> </a></td><td>Interval<Date></td><td>Range of dates (no time).</td><td>1.0</td><td/><td/><td><code>https://cql.hl7.org/09-b-cqlreference.html#interval-operators-3</code></td></tr><tr><td>1</td><td style=\"white-space:nowrap\">interval<time><a name=\"cql-language-capabilities-interval.60time.62\"> </a></td><td>Interval<Time></td><td>Range of times of day (no date).</td><td>1.0</td><td/><td/><td><code>https://cql.hl7.org/09-b-cqlreference.html#interval-operators-3</code></td></tr><tr><td>1</td><td style=\"white-space:nowrap\">interval<datetime><a name=\"cql-language-capabilities-interval.60datetime.62\"> </a></td><td>Interval<DateTime></td><td>Range of full date/times.</td><td>1.0</td><td/><td/><td><code>https://cql.hl7.org/09-b-cqlreference.html#interval-operators-3</code></td></tr></table></div>"^^rdf:XMLLiteral ] ; # fhir:extension ( [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg"^^xsd:anyURI ] ; fhir:value [ a fhir:code ; fhir:v "cds" ] ] [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status"^^xsd:anyURI ] ; fhir:value [ a fhir:code ; fhir:v "trial-use" ] ] [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm"^^xsd:anyURI ] ; fhir:value [ a fhir:integer ; fhir:v 2 ] ] ) ; # fhir:url [ fhir:v "http://cql.hl7.org/CodeSystem/cql-language-capabilities"^^xsd:anyURI] ; # fhir:version [ fhir:v "2.0.0-ballot"] ; # fhir:name [ fhir:v "CQLLanguageCapabilityCodes"] ; # fhir:title [ fhir:v "CQL Language Capability Codes"] ; # fhir:status [ fhir:v "active"] ; # fhir:experimental [ fhir:v false] ; # fhir:date [ fhir:v "2025-10-07T22:15:27+00:00"^^xsd:dateTime] ; # fhir:publisher [ fhir:v "Clinical Decision Support WG"] ; # fhir:contact ( [ ( fhir:telecom [ fhir:system [ fhir:v "url" ] ; fhir:value [ fhir:v "http://www.hl7.org/Special/committees/dss/index.cfm" ] ] ) ] ) ; # fhir:description [ fhir:v "Codes for CQL language capabilities."] ; # fhir:caseSensitive [ fhir:v true] ; # fhir:valueSet [ fhir:v "http://cql.hl7.org/ValueSet/cql-language-capability"^^xsd:anyURI ; fhir:link <http://cql.hl7.org/ValueSet/cql-language-capability> ] ; # fhir:hierarchyMeaning [ fhir:v "is-a"] ; # fhir:content [ fhir:v "complete"] ; # fhir:property ( [ fhir:code [ fhir:v "version" ] ; fhir:uri [ fhir:v "http://cql.hl7.org/CodeSystem/cql-capability-characteristic-codes#version"^^xsd:anyURI ] ; fhir:description [ fhir:v "The version in which the capability was introduced in the specification" ] ; fhir:type [ fhir:v "string" ] ] [ fhir:code [ fhir:v "versionTo" ] ; fhir:uri [ fhir:v "http://cql.hl7.org/CodeSystem/cql-capability-characteristic-codes#versionTo"^^xsd:anyURI ] ; fhir:description [ fhir:v "The last version in which the capability was included in the specification" ] ; fhir:type [ fhir:v "string" ] ] [ fhir:code [ fhir:v "value" ] ; fhir:uri [ fhir:v "http://cql.hl7.org/CodeSystem/cql-capability-characteristic-codes#value"^^xsd:anyURI ] ; fhir:description [ fhir:v "A qualifier value used to provide more detail about the capability" ] ; fhir:type [ fhir:v "string" ] ] [ fhir:code [ fhir:v "valueMeaning" ] ; fhir:uri [ fhir:v "http://cql.hl7.org/CodeSystem/cql-capability-characteristic-codes#valueMeaning"^^xsd:anyURI ] ; fhir:description [ fhir:v "A description of the meaning of qualifier values for the capability" ] ; fhir:type [ fhir:v "string" ] ] [ fhir:code [ fhir:v "reference" ] ; fhir:uri [ fhir:v "http://cql.hl7.org/CodeSystem/cql-capability-characteristic-codes#reference"^^xsd:anyURI ] ; fhir:description [ fhir:v "A reference to the specification documenting this capability" ] ; fhir:type [ fhir:v "string" ] ] ) ; # fhir:concept ( [ fhir:code [ fhir:v "decimal-precision-and-scale" ] ; fhir:display [ fhir:v "Decimal precision and scale" ] ; fhir:definition [ fhir:v "How many total digits (precision) and how many digits to the right of the decimal point (scale) the implementation supports for Decimal values." ] ; ( fhir:property [ fhir:code [ fhir:v "version" ] ; fhir:value [ a fhir:string ; fhir:v "1.0" ] ] [ fhir:code [ fhir:v "value" ] ; fhir:value [ a fhir:string ; fhir:v "28,8" ] ] [ fhir:code [ fhir:v "valueMeaning" ] ; fhir:value [ a fhir:string ; fhir:v "The supported precision and scale of decimal values" ] ] [ fhir:code [ fhir:v "reference" ] ; fhir:value [ a fhir:string ; fhir:v "https://cql.hl7.org/09-b-cqlreference.html#decimal" ] ] ) ] [ fhir:code [ fhir:v "datetime-precision-and-scale" ] ; fhir:display [ fhir:v "Datetime precision and scale" ] ; fhir:definition [ fhir:v "The finest granularity (precision) and smallest increment (scale) supported for date/time values." ] ; ( fhir:property [ fhir:code [ fhir:v "version" ] ; fhir:value [ a fhir:string ; fhir:v "1.0" ] ] [ fhir:code [ fhir:v "reference" ] ; fhir:value [ a fhir:string ; fhir:v "https://cql.hl7.org/09-b-cqlreference.html#datetime" ] ] ) ] [ fhir:code [ fhir:v "ucum-unit-conversion-support" ] ; fhir:display [ fhir:v "UCUM unit conversion support" ] ; fhir:definition [ fhir:v "Whether and how the engine can automatically convert between units of measure using UCUM." ] ; ( fhir:property [ fhir:code [ fhir:v "version" ] ; fhir:value [ a fhir:string ; fhir:v "1.0" ] ] [ fhir:code [ fhir:v "reference" ] ; fhir:value [ a fhir:string ; fhir:v "https://cql.hl7.org/09-b-cqlreference.html#convertquantity" ] ] ) ] [ fhir:code [ fhir:v "regex-dialect" ] ; fhir:display [ fhir:v "Regex dialect" ] ; fhir:definition [ fhir:v "Which flavor of regular expressions the implementation supports." ] ; ( fhir:property [ fhir:code [ fhir:v "version" ] ; fhir:value [ a fhir:string ; fhir:v "1.0" ] ] [ fhir:code [ fhir:v "reference" ] ; fhir:value [ a fhir:string ; fhir:v "https://cql.hl7.org/09-b-cqlreference.html#matches" ] ] ) ] [ fhir:code [ fhir:v "supported-data-models" ] ; fhir:display [ fhir:v "Supported data models" ] ; fhir:definition [ fhir:v "Which external models the engine can evaluate against." ] ; ( fhir:property [ fhir:code [ fhir:v "version" ] ; fhir:value [ a fhir:string ; fhir:v "1.0" ] ] [ fhir:code [ fhir:v "reference" ] ; fhir:value [ a fhir:string ; fhir:v "https://cql.hl7.org/05-languagesemantics.html#data-model" ] ] ) ] [ fhir:code [ fhir:v "expand-operator" ] ; fhir:display [ fhir:v "Expand operator" ] ; fhir:definition [ fhir:v "Expand on ValueSet/Interval." ] ; ( fhir:property [ fhir:code [ fhir:v "version" ] ; fhir:value [ a fhir:string ; fhir:v "1.3" ] ] [ fhir:code [ fhir:v "reference" ] ; fhir:value [ a fhir:string ; fhir:v "https://cql.hl7.org/05-languagesemantics.html#collapse-and-expand-operators" ] ] ) ] [ fhir:code [ fhir:v "fhirpath-support" ] ; fhir:display [ fhir:v "FHIRPath Support" ] ; fhir:definition [ fhir:v "Ability to evaluate/translate FHIRPath within CQL." ] ; ( fhir:property [ fhir:code [ fhir:v "version" ] ; fhir:value [ a fhir:string ; fhir:v "1.3" ] ] [ fhir:code [ fhir:v "reference" ] ; fhir:value [ a fhir:string ; fhir:v "https://cql.hl7.org/16-i-fhirpathtranslation.html" ] ] ) ] [ fhir:code [ fhir:v "precision-operators-for-decimal-and-date-time-types" ] ; fhir:display [ fhir:v "Precision operators for Decimal and Date/Time types" ] ; fhir:definition [ fhir:v "Operators that adjust/control precision." ] ; ( fhir:property [ fhir:code [ fhir:v "version" ] ; fhir:value [ a fhir:string ; fhir:v "1.4" ] ] [ fhir:code [ fhir:v "reference" ] ; fhir:value [ a fhir:string ; fhir:v "https://cql.hl7.org/09-b-cqlreference.html#precision" ] ] ) ] [ fhir:code [ fhir:v "model-defined-contexts" ] ; fhir:display [ fhir:v "Model-defined contexts" ] ; fhir:definition [ fhir:v "Contexts defined by the data model." ] ; ( fhir:property [ fhir:code [ fhir:v "version" ] ; fhir:value [ a fhir:string ; fhir:v "1.4" ] ] [ fhir:code [ fhir:v "reference" ] ; fhir:value [ a fhir:string ; fhir:v "https://cql.hl7.org/05-languagesemantics.html#context-support" ] ] ) ] [ fhir:code [ fhir:v "library-namespaces" ] ; fhir:display [ fhir:v "Library namespaces" ] ; fhir:definition [ fhir:v "Organize libraries into namespaces." ] ; ( fhir:property [ fhir:code [ fhir:v "version" ] ; fhir:value [ a fhir:string ; fhir:v "1.4" ] ] [ fhir:code [ fhir:v "reference" ] ; fhir:value [ a fhir:string ; fhir:v "https://cql.hl7.org/07-physicalrepresentation.html#media-types-and-namespaces" ] ] ) ] [ fhir:code [ fhir:v "related-context-retrieves" ] ; fhir:display [ fhir:v "Related-context retrieves" ] ; fhir:definition [ fhir:v "Context-relative retrieve operations." ] ; ( fhir:property [ fhir:code [ fhir:v "version" ] ; fhir:value [ a fhir:string ; fhir:v "1.4" ] ] [ fhir:code [ fhir:v "reference" ] ; fhir:value [ a fhir:string ; fhir:v "https://cql.hl7.org/05-languagesemantics.html#retrieve-paths" ] ] ) ] [ fhir:code [ fhir:v "unit-conversion-support" ] ; fhir:display [ fhir:v "Unit conversion support" ] ; fhir:definition [ fhir:v "Convert between compatible UCUM units." ] ; ( fhir:property [ fhir:code [ fhir:v "version" ] ; fhir:value [ a fhir:string ; fhir:v "1.4" ] ] [ fhir:code [ fhir:v "reference" ] ; fhir:value [ a fhir:string ; fhir:v "https://cql.hl7.org/05-languagesemantics.html#conversions" ] ] ) ] [ fhir:code [ fhir:v "modular-arithmetic-for-quantities" ] ; fhir:display [ fhir:v "Modular arithmetic for quantities" ] ; fhir:definition [ fhir:v "Modulo/remainder with Quantity." ] ; ( fhir:property [ fhir:code [ fhir:v "version" ] ; fhir:value [ a fhir:string ; fhir:v "1.5" ] ] [ fhir:code [ fhir:v "reference" ] ; fhir:value [ a fhir:string ; fhir:v "https://cql.hl7.org/05-languagesemantics.html#quantity-arithmetic" ] ] ) ] [ fhir:code [ fhir:v "expand-a-single-interval" ] ; fhir:display [ fhir:v "Expand a single interval" ] ; fhir:definition [ fhir:v "Expand applied to a single Interval." ] ; ( fhir:property [ fhir:code [ fhir:v "version" ] ; fhir:value [ a fhir:string ; fhir:v "1.5" ] ] [ fhir:code [ fhir:v "reference" ] ; fhir:value [ a fhir:string ; fhir:v "https://cql.hl7.org/09-b-cqlreference.html#expand" ] ] ) ] [ fhir:code [ fhir:v "aggregate-clause" ] ; fhir:display [ fhir:v "Aggregate clause" ] ; fhir:definition [ fhir:v "Query clause for aggregation." ] ; ( fhir:property [ fhir:code [ fhir:v "version" ] ; fhir:value [ a fhir:string ; fhir:v "1.5" ] ] [ fhir:code [ fhir:v "reference" ] ; fhir:value [ a fhir:string ; fhir:v "https://cql.hl7.org/05-languagesemantics.html#aggregate-clause" ] ] ) ] [ fhir:code [ fhir:v "include-retrieves" ] ; fhir:display [ fhir:v "Include retrieves" ] ; fhir:definition [ fhir:v "Retrieve that follows model references." ] ; ( fhir:property [ fhir:code [ fhir:v "version" ] ; fhir:value [ a fhir:string ; fhir:v "1.5" ] ] [ fhir:code [ fhir:v "reference" ] ; fhir:value [ a fhir:string ; fhir:v "https://cql.hl7.org/05-languagesemantics.html#retrieve-paths" ] ] ) ] [ fhir:code [ fhir:v "searchpath-retrieves" ] ; fhir:display [ fhir:v "Searchpath retrieves" ] ; fhir:definition [ fhir:v "Retrieve using a search path expression." ] ; ( fhir:property [ fhir:code [ fhir:v "version" ] ; fhir:value [ a fhir:string ; fhir:v "1.5" ] ] [ fhir:code [ fhir:v "reference" ] ; fhir:value [ a fhir:string ; fhir:v "https://cql.hl7.org/05-languagesemantics.html#retrieve-paths" ] ] ) ] [ fhir:code [ fhir:v "id-retrieves" ] ; fhir:display [ fhir:v "Id retrieves" ] ; fhir:definition [ fhir:v "Retrieve by unique identifier." ] ; ( fhir:property [ fhir:code [ fhir:v "version" ] ; fhir:value [ a fhir:string ; fhir:v "1.5" ] ] [ fhir:code [ fhir:v "reference" ] ; fhir:value [ a fhir:string ; fhir:v "https://cql.hl7.org/05-languagesemantics.html#retrieve-paths" ] ] ) ] [ fhir:code [ fhir:v "system-data-types" ] ; fhir:display [ fhir:v "System Data Types" ] ; fhir:definition [ fhir:v "Primitive, structured, and collection types defined by the System namespace." ] ; ( fhir:property [ fhir:code [ fhir:v "reference" ] ; fhir:value [ a fhir:string ; fhir:v "https://cql.hl7.org/09-b-cqlreference.html#types" ] ] ) ; ( fhir:concept [ fhir:code [ fhir:v "system.integer" ] ; fhir:display [ fhir:v "System.Integer" ] ; fhir:definition [ fhir:v "Whole numbers with no fractional component." ] ; ( fhir:property [ fhir:code [ fhir:v "version" ] ; fhir:value [ a fhir:string ; fhir:v "1.0" ] ] [ fhir:code [ fhir:v "reference" ] ; fhir:value [ a fhir:string ; fhir:v "https://cql.hl7.org/09-b-cqlreference.html#integer" ] ] ) ] [ fhir:code [ fhir:v "system.long" ] ; fhir:display [ fhir:v "System.Long" ] ; fhir:definition [ fhir:v "64-bit signed integers." ] ; ( fhir:property [ fhir:code [ fhir:v "version" ] ; fhir:value [ a fhir:string ; fhir:v "1.5" ] ] [ fhir:code [ fhir:v "reference" ] ; fhir:value [ a fhir:string ; fhir:v "https://cql.hl7.org/09-b-cqlreference.html#long" ] ] ) ] [ fhir:code [ fhir:v "system.decimal" ] ; fhir:display [ fhir:v "System.Decimal" ] ; fhir:definition [ fhir:v "Numbers with fractional precision and scale." ] ; ( fhir:property [ fhir:code [ fhir:v "version" ] ; fhir:value [ a fhir:string ; fhir:v "1.0" ] ] [ fhir:code [ fhir:v "reference" ] ; fhir:value [ a fhir:string ; fhir:v "https://cql.hl7.org/09-b-cqlreference.html#decimal" ] ] ) ] [ fhir:code [ fhir:v "system.string" ] ; fhir:display [ fhir:v "System.String" ] ; fhir:definition [ fhir:v "Sequence of text characters." ] ; ( fhir:property [ fhir:code [ fhir:v "version" ] ; fhir:value [ a fhir:string ; fhir:v "1.0" ] ] [ fhir:code [ fhir:v "reference" ] ; fhir:value [ a fhir:string ; fhir:v "https://cql.hl7.org/09-b-cqlreference.html#string" ] ] ) ] [ fhir:code [ fhir:v "system.boolean" ] ; fhir:display [ fhir:v "System.Boolean" ] ; fhir:definition [ fhir:v "Logical truth values." ] ; ( fhir:property [ fhir:code [ fhir:v "version" ] ; fhir:value [ a fhir:string ; fhir:v "1.0" ] ] [ fhir:code [ fhir:v "reference" ] ; fhir:value [ a fhir:string ; fhir:v "https://cql.hl7.org/09-b-cqlreference.html#boolean" ] ] ) ] [ fhir:code [ fhir:v "system.date" ] ; fhir:display [ fhir:v "System.Date" ] ; fhir:definition [ fhir:v "Calendar date without time." ] ; ( fhir:property [ fhir:code [ fhir:v "version" ] ; fhir:value [ a fhir:string ; fhir:v "1.3" ] ] [ fhir:code [ fhir:v "reference" ] ; fhir:value [ a fhir:string ; fhir:v "https://cql.hl7.org/09-b-cqlreference.html#date" ] ] ) ] [ fhir:code [ fhir:v "system.time" ] ; fhir:display [ fhir:v "System.Time" ] ; fhir:definition [ fhir:v "Time of day without date." ] ; ( fhir:property [ fhir:code [ fhir:v "version" ] ; fhir:value [ a fhir:string ; fhir:v "1.0" ] ] [ fhir:code [ fhir:v "reference" ] ; fhir:value [ a fhir:string ; fhir:v "https://cql.hl7.org/09-b-cqlreference.html#time" ] ] ) ] [ fhir:code [ fhir:v "system.datetime" ] ; fhir:display [ fhir:v "System.DateTime" ] ; fhir:definition [ fhir:v "Date and time point (optional offset)." ] ; ( fhir:property [ fhir:code [ fhir:v "version" ] ; fhir:value [ a fhir:string ; fhir:v "1.0" ] ] [ fhir:code [ fhir:v "reference" ] ; fhir:value [ a fhir:string ; fhir:v "https://cql.hl7.org/09-b-cqlreference.html#datetime" ] ] ) ] [ fhir:code [ fhir:v "system.quantity" ] ; fhir:display [ fhir:v "System.Quantity" ] ; fhir:definition [ fhir:v "Numeric value with unit." ] ; ( fhir:property [ fhir:code [ fhir:v "version" ] ; fhir:value [ a fhir:string ; fhir:v "1.0" ] ] [ fhir:code [ fhir:v "reference" ] ; fhir:value [ a fhir:string ; fhir:v "https://cql.hl7.org/09-b-cqlreference.html#quantity" ] ] ) ] [ fhir:code [ fhir:v "system.ratio" ] ; fhir:display [ fhir:v "System.Ratio" ] ; fhir:definition [ fhir:v "Fractional relationship between two Quantities." ] ; ( fhir:property [ fhir:code [ fhir:v "version" ] ; fhir:value [ a fhir:string ; fhir:v "1.3" ] ] [ fhir:code [ fhir:v "reference" ] ; fhir:value [ a fhir:string ; fhir:v "https://cql.hl7.org/09-b-cqlreference.html#ratio" ] ] ) ] [ fhir:code [ fhir:v "system.interval" ] ; fhir:display [ fhir:v "System.Interval" ] ; fhir:definition [ fhir:v "Range over an ordered type." ] ; ( fhir:property [ fhir:code [ fhir:v "version" ] ; fhir:value [ a fhir:string ; fhir:v "1.0" ] ] [ fhir:code [ fhir:v "reference" ] ; fhir:value [ a fhir:string ; fhir:v "https://cql.hl7.org/09-b-cqlreference.html#interval-operators-3" ] ] ) ] [ fhir:code [ fhir:v "system.list" ] ; fhir:display [ fhir:v "System.List" ] ; fhir:definition [ fhir:v "Ordered collection of elements of a type." ] ; ( fhir:property [ fhir:code [ fhir:v "version" ] ; fhir:value [ a fhir:string ; fhir:v "1.0" ] ] [ fhir:code [ fhir:v "reference" ] ; fhir:value [ a fhir:string ; fhir:v "https://cql.hl7.org/63-expressionlanguagesemantics.html#collection-types" ] ] ) ] [ fhir:code [ fhir:v "system.tuple" ] ; fhir:display [ fhir:v "System.Tuple" ] ; fhir:definition [ fhir:v "Structured type with named elements." ] ; ( fhir:property [ fhir:code [ fhir:v "version" ] ; fhir:value [ a fhir:string ; fhir:v "1.0" ] ] [ fhir:code [ fhir:v "reference" ] ; fhir:value [ a fhir:string ; fhir:v "https://cql.hl7.org/63-expressionlanguagesemantics.html#structured-types" ] ] ) ] [ fhir:code [ fhir:v "system.choice" ] ; fhir:display [ fhir:v "System.Choice" ] ; fhir:definition [ fhir:v "Value of one among several types." ] ; ( fhir:property [ fhir:code [ fhir:v "version" ] ; fhir:value [ a fhir:string ; fhir:v "1.0" ] ] [ fhir:code [ fhir:v "reference" ] ; fhir:value [ a fhir:string ; fhir:v "https://cql.hl7.org/63-expressionlanguagesemantics.html#choice-types" ] ] ) ] [ fhir:code [ fhir:v "system.codesystem" ] ; fhir:display [ fhir:v "System.CodeSystem" ] ; fhir:definition [ fhir:v "Reference to an external code system." ] ; ( fhir:property [ fhir:code [ fhir:v "version" ] ; fhir:value [ a fhir:string ; fhir:v "1.5" ] ] [ fhir:code [ fhir:v "reference" ] ; fhir:value [ a fhir:string ; fhir:v "https://cql.hl7.org/09-b-cqlreference.html#codesystem" ] ] ) ] [ fhir:code [ fhir:v "system.valueset" ] ; fhir:display [ fhir:v "System.ValueSet" ] ; fhir:definition [ fhir:v "Reference to a set of codes." ] ; ( fhir:property [ fhir:code [ fhir:v "version" ] ; fhir:value [ a fhir:string ; fhir:v "1.5" ] ] [ fhir:code [ fhir:v "reference" ] ; fhir:value [ a fhir:string ; fhir:v "https://cql.hl7.org/09-b-cqlreference.html#valueset" ] ] ) ] [ fhir:code [ fhir:v "system.vocabulary" ] ; fhir:display [ fhir:v "System.Vocabulary" ] ; fhir:definition [ fhir:v "Base type for vocabulary-related types." ] ; ( fhir:property [ fhir:code [ fhir:v "version" ] ; fhir:value [ a fhir:string ; fhir:v "1.5" ] ] [ fhir:code [ fhir:v "reference" ] ; fhir:value [ a fhir:string ; fhir:v "https://cql.hl7.org/09-b-cqlreference.html#vocabulary" ] ] ) ] ) ] [ fhir:code [ fhir:v "logical-operators" ] ; fhir:display [ fhir:v "Logical Operators" ] ; fhir:definition [ fhir:v "and, or, not, implies under 3-valued logic." ] ; ( fhir:property [ fhir:code [ fhir:v "version" ] ; fhir:value [ a fhir:string ; fhir:v "1.0" ] ] [ fhir:code [ fhir:v "reference" ] ; fhir:value [ a fhir:string ; fhir:v "https://cql.hl7.org/09-b-cqlreference.html#logical-operators" ] ] ) ] [ fhir:code [ fhir:v "type-operators" ] ; fhir:display [ fhir:v "Type Operators" ] ; fhir:definition [ fhir:v "Type inspection and conversion operators." ] ; ( fhir:property [ fhir:code [ fhir:v "version" ] ; fhir:value [ a fhir:string ; fhir:v "1.0" ] ] [ fhir:code [ fhir:v "reference" ] ; fhir:value [ a fhir:string ; fhir:v "https://cql.hl7.org/09-b-cqlreference.html#type-operators" ] ] ) ] [ fhir:code [ fhir:v "nullological-operators" ] ; fhir:display [ fhir:v "Nullological Operators" ] ; fhir:definition [ fhir:v "Operators dealing with null/missing information." ] ; ( fhir:property [ fhir:code [ fhir:v "version" ] ; fhir:value [ a fhir:string ; fhir:v "1.0" ] ] [ fhir:code [ fhir:v "reference" ] ; fhir:value [ a fhir:string ; fhir:v "https://cql.hl7.org/09-b-cqlreference.html#nullological-operators" ] ] ) ] [ fhir:code [ fhir:v "comparison-operators" ] ; fhir:display [ fhir:v "Comparison Operators" ] ; fhir:definition [ fhir:v "Equal, not equal, <, <=, >, >=, in/not in, etc." ] ; ( fhir:property [ fhir:code [ fhir:v "version" ] ; fhir:value [ a fhir:string ; fhir:v "1.0" ] ] [ fhir:code [ fhir:v "reference" ] ; fhir:value [ a fhir:string ; fhir:v "https://cql.hl7.org/09-b-cqlreference.html#comparison-operators" ] ] ) ] [ fhir:code [ fhir:v "arithmetic-operators" ] ; fhir:display [ fhir:v "Arithmetic Operators" ] ; fhir:definition [ fhir:v "Add, subtract, multiply, divide, mod, round, etc." ] ; ( fhir:property [ fhir:code [ fhir:v "version" ] ; fhir:value [ a fhir:string ; fhir:v "1.0" ] ] [ fhir:code [ fhir:v "reference" ] ; fhir:value [ a fhir:string ; fhir:v "https://cql.hl7.org/09-b-cqlreference.html#arithmetic-operators" ] ] ) ] [ fhir:code [ fhir:v "string-operators" ] ; fhir:display [ fhir:v "String Operators" ] ; fhir:definition [ fhir:v "Length, substring, startsWith, endsWith, matches, replaceMatches, etc." ] ; ( fhir:property [ fhir:code [ fhir:v "version" ] ; fhir:value [ a fhir:string ; fhir:v "1.0" ] ] [ fhir:code [ fhir:v "reference" ] ; fhir:value [ a fhir:string ; fhir:v "https://cql.hl7.org/09-b-cqlreference.html#string-operators" ] ] ) ] [ fhir:code [ fhir:v "date-and-time-operators" ] ; fhir:display [ fhir:v "Date and Time Operators" ] ; fhir:definition [ fhir:v "Date/time arithmetic, components, now/today, comparisons, etc." ] ; ( fhir:property [ fhir:code [ fhir:v "version" ] ; fhir:value [ a fhir:string ; fhir:v "1.0" ] ] [ fhir:code [ fhir:v "reference" ] ; fhir:value [ a fhir:string ; fhir:v "https://cql.hl7.org/09-b-cqlreference.html#date-and-time-operators" ] ] ) ] [ fhir:code [ fhir:v "interval-operators" ] ; fhir:display [ fhir:v "Interval Operators" ] ; fhir:definition [ fhir:v "contains, in, union, intersect, width, expand, etc." ] ; ( fhir:property [ fhir:code [ fhir:v "version" ] ; fhir:value [ a fhir:string ; fhir:v "1.0" ] ] [ fhir:code [ fhir:v "reference" ] ; fhir:value [ a fhir:string ; fhir:v "https://cql.hl7.org/09-b-cqlreference.html#interval-operators-3" ] ] ) ] [ fhir:code [ fhir:v "list-operators" ] ; fhir:display [ fhir:v "List Operators" ] ; fhir:definition [ fhir:v "size, first/last, contains, union/intersect/except, map/filter/distinct, sort/reverse/zip, etc." ] ; ( fhir:property [ fhir:code [ fhir:v "version" ] ; fhir:value [ a fhir:string ; fhir:v "1.0" ] ] [ fhir:code [ fhir:v "reference" ] ; fhir:value [ a fhir:string ; fhir:v "https://cql.hl7.org/09-b-cqlreference.html#list-operators" ] ] ) ] [ fhir:code [ fhir:v "aggregate-functions" ] ; fhir:display [ fhir:v "Aggregate Functions" ] ; fhir:definition [ fhir:v "count, sum, min, max, average, median, mode, etc." ] ; ( fhir:property [ fhir:code [ fhir:v "version" ] ; fhir:value [ a fhir:string ; fhir:v "1.0" ] ] [ fhir:code [ fhir:v "reference" ] ; fhir:value [ a fhir:string ; fhir:v "https://cql.hl7.org/09-b-cqlreference.html#aggregate-functions" ] ] ) ] [ fhir:code [ fhir:v "clinical-operators" ] ; fhir:display [ fhir:v "Clinical Operators" ] ; fhir:definition [ fhir:v "Retrieve/terminology functions; temporal/duration in clinical context." ] ; ( fhir:property [ fhir:code [ fhir:v "version" ] ; fhir:value [ a fhir:string ; fhir:v "1.0" ] ] [ fhir:code [ fhir:v "reference" ] ; fhir:value [ a fhir:string ; fhir:v "https://cql.hl7.org/09-b-cqlreference.html#clinical-operators" ] ] ) ] [ fhir:code [ fhir:v "diagnostic-operators" ] ; fhir:display [ fhir:v "Diagnostic Operators" ] ; fhir:definition [ fhir:v "Errors and messaging functions." ] ; ( fhir:property [ fhir:code [ fhir:v "version" ] ; fhir:value [ a fhir:string ; fhir:v "1.0" ] ] [ fhir:code [ fhir:v "reference" ] ; fhir:value [ a fhir:string ; fhir:v "https://cql.hl7.org/09-b-cqlreference.html#errors-and-messaging" ] ] ) ] [ fhir:code [ fhir:v "single-source-query" ] ; fhir:display [ fhir:v "Single source query" ] ; fhir:definition [ fhir:v "Query over one source." ] ; ( fhir:property [ fhir:code [ fhir:v "version" ] ; fhir:value [ a fhir:string ; fhir:v "1.0" ] ] [ fhir:code [ fhir:v "reference" ] ; fhir:value [ a fhir:string ; fhir:v "https://cql.hl7.org/74-queryevaluation.html#evaluate-sources" ] ] ) ] [ fhir:code [ fhir:v "relationships-query" ] ; fhir:display [ fhir:v "Relationships query" ] ; fhir:definition [ fhir:v "Query involving two or more sources." ] ; ( fhir:property [ fhir:code [ fhir:v "version" ] ; fhir:value [ a fhir:string ; fhir:v "1.0" ] ] [ fhir:code [ fhir:v "reference" ] ; fhir:value [ a fhir:string ; fhir:v "https://cql.hl7.org/74-queryevaluation.html#evaluate-sources" ] ] ) ] [ fhir:code [ fhir:v "let-clause-query" ] ; fhir:display [ fhir:v "Let clause query" ] ; fhir:definition [ fhir:v "Introduce local bindings." ] ; ( fhir:property [ fhir:code [ fhir:v "version" ] ; fhir:value [ a fhir:string ; fhir:v "1.0" ] ] [ fhir:code [ fhir:v "reference" ] ; fhir:value [ a fhir:string ; fhir:v "https://cql.hl7.org/74-queryevaluation.html#let-clause" ] ] ) ] [ fhir:code [ fhir:v "where-clause-query" ] ; fhir:display [ fhir:v "Where clause query" ] ; fhir:definition [ fhir:v "Filter using Boolean conditions." ] ; ( fhir:property [ fhir:code [ fhir:v "version" ] ; fhir:value [ a fhir:string ; fhir:v "1.0" ] ] [ fhir:code [ fhir:v "reference" ] ; fhir:value [ a fhir:string ; fhir:v "https://cql.hl7.org/74-queryevaluation.html#where-clause" ] ] ) ] [ fhir:code [ fhir:v "return-clause-query" ] ; fhir:display [ fhir:v "Return clause query" ] ; fhir:definition [ fhir:v "Specify the shape/content of returned rows." ] ; ( fhir:property [ fhir:code [ fhir:v "version" ] ; fhir:value [ a fhir:string ; fhir:v "1.0" ] ] [ fhir:code [ fhir:v "reference" ] ; fhir:value [ a fhir:string ; fhir:v "https://cql.hl7.org/74-queryevaluation.html#return-clause" ] ] ) ] [ fhir:code [ fhir:v "aggregate-clause-query" ] ; fhir:display [ fhir:v "Aggregate clause query" ] ; fhir:definition [ fhir:v "Reduce rows to a summary value." ] ; ( fhir:property [ fhir:code [ fhir:v "version" ] ; fhir:value [ a fhir:string ; fhir:v "1.0" ] ] [ fhir:code [ fhir:v "reference" ] ; fhir:value [ a fhir:string ; fhir:v "https://cql.hl7.org/74-queryevaluation.html#aggregate-clause" ] ] ) ] [ fhir:code [ fhir:v "multi-source-query" ] ; fhir:display [ fhir:v "Multi source query" ] ; fhir:definition [ fhir:v "Query using two or more sources." ] ; ( fhir:property [ fhir:code [ fhir:v "version" ] ; fhir:value [ a fhir:string ; fhir:v "1.0" ] ] [ fhir:code [ fhir:v "reference" ] ; fhir:value [ a fhir:string ; fhir:v "https://cql.hl7.org/74-queryevaluation.html#evaluate-sources" ] ] ) ] [ fhir:code [ fhir:v "unfiltered-context-retrieve" ] ; fhir:display [ fhir:v "Unfiltered context retrieve" ] ; fhir:definition [ fhir:v "All data of a type in the current context." ] ; ( fhir:property [ fhir:code [ fhir:v "version" ] ; fhir:value [ a fhir:string ; fhir:v "1.0" ] ] [ fhir:code [ fhir:v "reference" ] ; fhir:value [ a fhir:string ; fhir:v "https://cql.hl7.org/05-languagesemantics.html#language-capabilities" ] ] ) ] [ fhir:code [ fhir:v "terminology-based-retrieve" ] ; fhir:display [ fhir:v "Terminology-based retrieve" ] ; fhir:definition [ fhir:v "Retrieve filtered by ValueSet/CodeSystem/Code." ] ; ( fhir:property [ fhir:code [ fhir:v "version" ] ; fhir:value [ a fhir:string ; fhir:v "1.0" ] ] [ fhir:code [ fhir:v "reference" ] ; fhir:value [ a fhir:string ; fhir:v "https://cql.hl7.org/05-languagesemantics.html#retrieve-paths" ] ] ) ] [ fhir:code [ fhir:v "valueset-terminology-target-retrieve" ] ; fhir:display [ fhir:v "Valueset terminology target retrieve" ] ; fhir:definition [ fhir:v "Retrieve filtered by a ValueSet reference." ] ; ( fhir:property [ fhir:code [ fhir:v "version" ] ; fhir:value [ a fhir:string ; fhir:v "1.0" ] ] [ fhir:code [ fhir:v "reference" ] ; fhir:value [ a fhir:string ; fhir:v "https://cql.hl7.org/05-languagesemantics.html#retrieve-paths" ] ] ) ] [ fhir:code [ fhir:v "codesystem-terminology-target-retrieve" ] ; fhir:display [ fhir:v "CodeSystem terminology target retrieve" ] ; fhir:definition [ fhir:v "Retrieve filtered by a CodeSystem." ] ; ( fhir:property [ fhir:code [ fhir:v "version" ] ; fhir:value [ a fhir:string ; fhir:v "1.0" ] ] [ fhir:code [ fhir:v "reference" ] ; fhir:value [ a fhir:string ; fhir:v "https://cql.hl7.org/05-languagesemantics.html#retrieve-paths" ] ] ) ] [ fhir:code [ fhir:v "code-terminology-target-retrieve" ] ; fhir:display [ fhir:v "Code terminology target retrieve" ] ; fhir:definition [ fhir:v "Retrieve filtered by a single Code." ] ; ( fhir:property [ fhir:code [ fhir:v "version" ] ; fhir:value [ a fhir:string ; fhir:v "1.0" ] ] [ fhir:code [ fhir:v "reference" ] ; fhir:value [ a fhir:string ; fhir:v "https://cql.hl7.org/05-languagesemantics.html#retrieve-paths" ] ] ) ] [ fhir:code [ fhir:v "searchpath-retrieve" ] ; fhir:display [ fhir:v "Searchpath retrieve" ] ; fhir:definition [ fhir:v "Retrieve using a search path expression." ] ; ( fhir:property [ fhir:code [ fhir:v "version" ] ; fhir:value [ a fhir:string ; fhir:v "1.0" ] ] [ fhir:code [ fhir:v "reference" ] ; fhir:value [ a fhir:string ; fhir:v "https://cql.hl7.org/05-languagesemantics.html#retrieve-paths" ] ] ) ] [ fhir:code [ fhir:v "include-retrieve" ] ; fhir:display [ fhir:v "Include retrieve" ] ; fhir:definition [ fhir:v "Retrieve that includes related records via references." ] ; ( fhir:property [ fhir:code [ fhir:v "version" ] ; fhir:value [ a fhir:string ; fhir:v "1.0" ] ] [ fhir:code [ fhir:v "reference" ] ; fhir:value [ a fhir:string ; fhir:v "https://cql.hl7.org/05-languagesemantics.html#retrieve-paths" ] ] ) ] [ fhir:code [ fhir:v "related-context-retrieve" ] ; fhir:display [ fhir:v "Related-context retrieve" ] ; fhir:definition [ fhir:v "Retrieve scoped to a related context entity." ] ; ( fhir:property [ fhir:code [ fhir:v "version" ] ; fhir:value [ a fhir:string ; fhir:v "1.0" ] ] [ fhir:code [ fhir:v "reference" ] ; fhir:value [ a fhir:string ; fhir:v "https://cql.hl7.org/05-languagesemantics.html#retrieve-paths" ] ] ) ] [ fhir:code [ fhir:v "profile-based-retrieve" ] ; fhir:display [ fhir:v "Profile-based retrieve" ] ; fhir:definition [ fhir:v "Retrieve constrained to a profile." ] ; ( fhir:property [ fhir:code [ fhir:v "version" ] ; fhir:value [ a fhir:string ; fhir:v "1.0" ] ] [ fhir:code [ fhir:v "reference" ] ; fhir:value [ a fhir:string ; fhir:v "https://cql.hl7.org/42-conformancelevels.html#strict-conformance" ] ] ) ] [ fhir:code [ fhir:v "tuple" ] ; fhir:display [ fhir:v "Tuple" ] ; fhir:definition [ fhir:v "Structured type with named elements." ] ; ( fhir:property [ fhir:code [ fhir:v "version" ] ; fhir:value [ a fhir:string ; fhir:v "1.0" ] ] [ fhir:code [ fhir:v "reference" ] ; fhir:value [ a fhir:string ; fhir:v "https://cql.hl7.org/63-expressionlanguagesemantics.html#structured-types" ] ] ) ] [ fhir:code [ fhir:v "choice" ] ; fhir:display [ fhir:v "Choice" ] ; fhir:definition [ fhir:v "Value that may be one of several specified types." ] ; ( fhir:property [ fhir:code [ fhir:v "version" ] ; fhir:value [ a fhir:string ; fhir:v "1.0" ] ] [ fhir:code [ fhir:v "reference" ] ; fhir:value [ a fhir:string ; fhir:v "https://cql.hl7.org/63-expressionlanguagesemantics.html#choice-types" ] ] ) ] [ fhir:code [ fhir:v "list<T>" ] ; fhir:display [ fhir:v "List<T>" ] ; fhir:definition [ fhir:v "Ordered collection of elements of type T." ] ; ( fhir:property [ fhir:code [ fhir:v "version" ] ; fhir:value [ a fhir:string ; fhir:v "1.0" ] ] [ fhir:code [ fhir:v "reference" ] ; fhir:value [ a fhir:string ; fhir:v "https://cql.hl7.org/63-expressionlanguagesemantics.html#collection-types" ] ] ) ] [ fhir:code [ fhir:v "interval<T>" ] ; fhir:display [ fhir:v "Interval<T>" ] ; fhir:definition [ fhir:v "Range of values of type T." ] ; ( fhir:property [ fhir:code [ fhir:v "version" ] ; fhir:value [ a fhir:string ; fhir:v "1.0" ] ] [ fhir:code [ fhir:v "reference" ] ; fhir:value [ a fhir:string ; fhir:v "https://cql.hl7.org/09-b-cqlreference.html#interval-operators-3" ] ] ) ] [ fhir:code [ fhir:v "interval<integer>" ] ; fhir:display [ fhir:v "Interval<Integer>" ] ; fhir:definition [ fhir:v "Range of integers." ] ; ( fhir:property [ fhir:code [ fhir:v "version" ] ; fhir:value [ a fhir:string ; fhir:v "1.0" ] ] [ fhir:code [ fhir:v "reference" ] ; fhir:value [ a fhir:string ; fhir:v "https://cql.hl7.org/09-b-cqlreference.html#interval-operators-3" ] ] ) ] [ fhir:code [ fhir:v "interval<decimal>" ] ; fhir:display [ fhir:v "Interval<Decimal>" ] ; fhir:definition [ fhir:v "Range of decimal numbers." ] ; ( fhir:property [ fhir:code [ fhir:v "version" ] ; fhir:value [ a fhir:string ; fhir:v "1.0" ] ] [ fhir:code [ fhir:v "reference" ] ; fhir:value [ a fhir:string ; fhir:v "https://cql.hl7.org/09-b-cqlreference.html#interval-operators-3" ] ] ) ] [ fhir:code [ fhir:v "interval<date>" ] ; fhir:display [ fhir:v "Interval<Date>" ] ; fhir:definition [ fhir:v "Range of dates (no time)." ] ; ( fhir:property [ fhir:code [ fhir:v "version" ] ; fhir:value [ a fhir:string ; fhir:v "1.0" ] ] [ fhir:code [ fhir:v "reference" ] ; fhir:value [ a fhir:string ; fhir:v "https://cql.hl7.org/09-b-cqlreference.html#interval-operators-3" ] ] ) ] [ fhir:code [ fhir:v "interval<time>" ] ; fhir:display [ fhir:v "Interval<Time>" ] ; fhir:definition [ fhir:v "Range of times of day (no date)." ] ; ( fhir:property [ fhir:code [ fhir:v "version" ] ; fhir:value [ a fhir:string ; fhir:v "1.0" ] ] [ fhir:code [ fhir:v "reference" ] ; fhir:value [ a fhir:string ; fhir:v "https://cql.hl7.org/09-b-cqlreference.html#interval-operators-3" ] ] ) ] [ fhir:code [ fhir:v "interval<datetime>" ] ; fhir:display [ fhir:v "Interval<DateTime>" ] ; fhir:definition [ fhir:v "Range of full date/times." ] ; ( fhir:property [ fhir:code [ fhir:v "version" ] ; fhir:value [ a fhir:string ; fhir:v "1.0" ] ] [ fhir:code [ fhir:v "reference" ] ; fhir:value [ a fhir:string ; fhir:v "https://cql.hl7.org/09-b-cqlreference.html#interval-operators-3" ] ] ) ] ) . #
IG © 2014+ Clinical Decision Support WG. Package hl7.cql#2.0.0-ballot based on FHIR 4.0.1. Generated 2025-10-07
Links: Table of Contents |
QA Report |
License |
Version History |
Propose a change