Skip to content
CAI
Software that uses CAICheck a score

cqframework/clinical_quality_language

61.8

Adequate · 17 November 2026

80.1k

lines of production code

Kotlin

primary language

1

measurement over time

CAI band scale
CAI lens gauges

What this system is

Behavioural changes

1 commit (0 fixes) modifying (repo-wide)

A change to existing behaviour in (repo-wide) — 1 commit, 853 files: “ADR 004: Promote \Src/java\ to repository root and other changes (\#1797)” (refs \#1797).

(repo-wide) · low confidence · unverified

1 commit (0 fixes) modifying archive

A change to existing behaviour in archive — 1 commit, 77 files: “ADR 004: Archive Documents, coffeescript, dotnet, sql, ide-support folders and delete java-quickstart (\#1789)” (refs \#1789).

archive · medium confidence · unverified

10 commits (2 fixes) modifying engine-fhir/src/jvmMain

A change to existing behaviour in engine-fhir/src/jvmMain — 10 commits (2 fixs), 36 files: “FHIR JSON -\> CQL value parser for KMP (\#1814)”; “Return System.Long results as FHIR string in R4 (\#1866)”; “Name converted R4/R5 backbone elements by their model info type (\#1892)”; and 7 more (refs \#1814, \#1866, \#1892, \#1838, \#1900, …).

engine-fhir/src/jvmMain · medium confidence · unverified

12 commits (3 fixes) modifying engine-fhir/src/jvmTest/kotlin/org/opencds

A change to existing behaviour in engine-fhir/src/jvmTest/kotlin/org/opencds — 12 commits (3 fixs), 49 files: “FHIR JSON -\> CQL value parser for KMP (\#1814)”; “Return System.Long results as FHIR string in R4 (\#1866)”; “Memoize function results and fix expression cache invalidation (\#1887)”; and 9 more (refs \#1814, \#1866, \#1887, \#1892, \#1893, …).

engine-fhir/src/jvmTest/kotlin/org/opencds · medium confidence · unverified

13 commits (4 fixes) modifying cql-to-elm/src

A change to existing behaviour in cql-to-elm/src — 13 commits (4 fixs), 618 files: “Fix CQL AST Builder bugs and make it never throw on malformed input (\#1902)”; “Fix \init\ ordering in \Version\ (\#1861)”; “Add back public overload for both cache mode and error collection in resolveLibrary (\#1825)”; and 10 more (refs \#1902, \#1861, \#1825, \#1839, \#1701, …).

cql-to-elm/src · medium confidence · unverified

2 commits (0 fixes) modifying cqf-fhir-npm

A change to existing behaviour in cqf-fhir-npm — 2 commits, 12 files: “ADR 004: Promote \Src/java\ to repository root and other changes (\#1797)”; “Simplify \String.split()\ calls. Optimize imports. (\#1844)” (refs \#1797, \#1844).

cqf-fhir-npm · medium confidence · unverified

2 commits (0 fixes) modifying playground

A change to existing behaviour in playground — 2 commits, 41 files: “Gradle build for JS projects (\#1817)”; “Make CQL value classes immutable. Cache value hash codes. (\#1900)” (refs \#1817, \#1900).

playground · medium confidence · unverified

2 commits (0 fixes) modifying ucum

A change to existing behaviour in ucum — 2 commits, 3 files: “ADR 004: Promote \Src/java\ to repository root and other changes (\#1797)”; “Support for UCUM arbitrary units (\#1819)” (refs \#1797, \#1819).

ucum · medium confidence · unverified

20 commits (10 fixes) modifying engine/src

A change to existing behaviour in engine/src — 20 commits (10 fixs), 493 files: “Simplify \is Interval\<T\>\ boundary check (\#1864)”; “Fix \init\ ordering in \Version\ (\#1861)”; “Memoize function results and fix expression cache invalidation (\#1887)”; and 17 more (refs \#1864, \#1861, \#1887, \#1734, \#1733, …).

engine/src · medium confidence · unverified

3 commits (1 fix) modifying cql-to-elm-cli

A change to existing behaviour in cql-to-elm-cli — 3 commits (1 fix), 1 file: “ADR 004: Promote \Src/java\ to repository root and other changes (\#1797)”; “Enhance CLI error handling: process exit code + new flag to write even if errors (\#1813)”; “Fix ClassCastException in cql-to-elm-cli with modelinfo (\#1805)” (refs \#1797, \#1813, \#1805).

cql-to-elm-cli · medium confidence · unverified

4 commits (1 fix) modifying elm-fhir

A change to existing behaviour in elm-fhir — 4 commits (1 fix), 230 files: “The FHIR type mapping for System.Any uses the FHIR All Types code "Any", but this code is incorrect for R5+ (\#1905)”; “ADR 004: Promote \Src/java\ to repository root and other changes (\#1797)”; “Simplify \String.split()\ calls. Optimize imports. (\#1844)”; and 1 more (refs \#1905, \#1797, \#1844, \#1830).

elm-fhir · medium confidence · unverified

4 commits (1 fix) modifying engine-fhir/src/jvmTest/kotlin/org/hl7

A change to existing behaviour in engine-fhir/src/jvmTest/kotlin/org/hl7 — 4 commits (1 fix), 8 files: “FHIR JSON -\> CQL value parser for KMP (\#1814)”; “Fix Negate special case for the minimum Long literal (\#1867)”; “Simplify \String.split()\ calls. Optimize imports. (\#1844)”; and 1 more (refs \#1814, \#1867, \#1844, \#1812).

engine-fhir/src/jvmTest/kotlin/org/hl7 · medium confidence · unverified

40 commits (2 fixes) modifying (repo-wide)

A change to existing behaviour in (repo-wide) — 40 commits (2 fixs), 10 files: “Added code of conduct (\#1188)”; “Adjust project testing threshold”; “Add dynamic JSON badge for CQL test results (\#1737)”; and 27 more (refs \#1188, \#1737, \#1216, \#1789, \#1817, …).

(repo-wide) · low confidence · unverified

5 commits (1 fix) modifying shared

A change to existing behaviour in shared — 5 commits (1 fix), 33 files: “Fix CQL AST Builder bugs and make it never throw on malformed input (\#1902)”; “Give BigDecimalJs the exact arithmetic of java.math.BigDecimal (\#1895)”; “ADR 004: Promote \Src/java\ to repository root and other changes (\#1797)”; and 2 more (refs \#1902, \#1895, \#1797, \#1809, \#1844).

shared · medium confidence · unverified

55 commits (6 fixes) modifying Examples

A change to existing behaviour in Examples — 55 commits (6 fixs), 110 files: “Updated ChlamydiaScreening\_CDS example to reflect new syntax (removed during from the retrieve)”; “Added scratchpad to examples”; “Updated ChlamydiaScreening examples to add Proposal creation”; and 52 more (refs \#131, \#1817, \#101, \#1797, \#43, …).

Examples · medium confidence · unverified

6 commits (2 fixes) modifying cql

A change to existing behaviour in cql — 6 commits (2 fixs), 70 files: “Fix CQL AST Builder bugs and make it never throw on malformed input (\#1902)”; “Fix \init\ ordering in \Version\ (\#1861)”; “Parse CQL libraries one declaration at a time so syntax errors stay local (\#1911)”; and 3 more (refs \#1902, \#1861, \#1911, \#1797, \#1809, …).

cql · medium confidence · unverified

7 commits (0 fixes) modifying Src/CQL

A change to existing behaviour in Src/CQL — 7 commits, 3 files: “Refined expression definition. Refined timing phrase for time point comparisons. Refined between and duration syntaxes”; “Adding aggregate functionality. Adding sort/return clauses to the query context”; “Added claused query construct to the grammar”; and 4 more.

Src/CQL · medium confidence · unverified

7 commits (3 fixes) modifying engine-fhir/src/jvmTest/resources

A change to existing behaviour in engine-fhir/src/jvmTest/resources — 7 commits (3 fixs), 111 files: “FHIR JSON -\> CQL value parser for KMP (\#1814)”; “Memoize function results and fix expression cache invalidation (\#1887)”; “Name converted R4/R5 backbone elements by their model info type (\#1892)”; and 4 more (refs \#1814, \#1887, \#1892, \#1893, \#1811, …).

engine-fhir/src/jvmTest/resources · medium confidence · unverified

8 commits (0 fixes) modifying build-logic

A change to existing behaviour in build-logic — 8 commits, 19 files: “Generate type definitions for the \@cqframework/cql\ NPM package (\#1821)”; “Evaluate query joins without re-evaluating loop-invariant work (\#1893)”; “Gradle build for JS projects (\#1817)”; and 5 more (refs \#1821, \#1893, \#1817, \#1835, \#1797, …).

build-logic · medium confidence · unverified

Dependencies

8 commits updating dependencies (50 manifests)

A dependency / build maintenance change in (dependencies) — 8 commits, 50 files: “FHIR JSON -\> CQL value parser for KMP (\#1814)”; “Generate type definitions for the \@cqframework/cql\ NPM package (\#1821)”; “ADR 004: Archive Documents, coffeescript, dotnet, sql, ide-support folders and delete java-quickstart (\#1789)”; and 5 more (refs \#1814, \#1821, \#1789, \#1817, \#1835, …).

(dependencies) · medium confidence · unverified

Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.

How this codebase got here

Baseline

  • First survey — no prior run to compare against. CAI 61.8.

Lenses

  • Code Health 68.4
  • Architecture 92.5
  • Maturity 88.0
  • Readiness 59.7
  • Security 52.0
  • Performance 100.0

Changes since last survey

  • 300 commits — 231 feature/other, 69 fixes

By area

  • Src/java — 234 commits
  • engine/src — 17 commits
  • cql-to-elm/src — 9 commits
  • .github/workflows — 8 commits
  • engine-fhir/src — 8 commits
  • Src/js — 6 commits
  • (root) — 4 commits
  • build-logic/src — 3 commits
  • cql-to-elm-cli/src — 2 commits
  • cql/src — 2 commits
  • .github/ISSUE_TEMPLATE — 1 commit
  • archive/dotnet — 1 commit
  • docs/migration-guides — 1 commit
  • elm-fhir/src — 1 commit
  • js/cql-to-elm-ui — 1 commit
  • playground/ui — 1 commit
  • shared/src — 1 commit

Notable commits

  • fix: #1146: Additional fixes for Medication-related resource retrieves (#1478)
  • fix: #1461: Fixed the value representation of the SimpleObservation profile (#1477)
  • fix: #1475: Fixed mapping expansions for profile-informed authoring not re… (#1476)
  • fix: #1488: Fixed MedicationNotRequested.reasonCode cardinality (#1491)
  • fix: #1492: Fixed the hiding and case mismatch warnings not having error l… (#1545)
  • fix: #1497: Fixed Quantity sub-type casting behavior removing unit and com… (#1498)
  • fix: #1575: Fixed the implementation of equivalent for ratios (#1576)
  • fix: #1617: Fix operator precedence (#1684)
  • fix: Br fix 1528 context parameter access (#1529)
  • fix: Bug: Statements silently dropped when CQL has no library declaration + DateTime constructors (#1706)
  • fix: Data Requirements Fixes (#1536)
  • fix: Data Requirements fixes (#1565)
  • fix: Data requirements fixes (#1543)
  • fix: Fix 1504 library locator in some exceptions (#1544)
  • fix: Fix CQL AST Builder bugs and make it never throw on malformed input (#1902)
  • fix: Fix Ceiling, Floor and Truncate outside the Integer range (#1849) (#1863)
  • fix: Fix ClassCastException in cql-to-elm-cli with modelinfo (#1805)
  • fix: Fix Combine of empty list to return null (#1717, #1731) (#1796)
  • fix: Fix CqlInternalException to CqlToElmError mapping (#1608)
  • fix: Fix DateTime add/subtract of weeks: 52 weeks is 364 days, not a calendar year (#1790)
  • …and 280 more

Architecture

  • 0 containers · 8 bounded contexts · 12 dependency edges (baseline)

Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.

Survey your own repository

cqframework/clinical_quality_language was measured the same way every project in this corpus was: the same rubric, at a pinned commit, with the result published in full. Point a surveyor at a repository you know and see whether you agree with it.

About this page

  • The score is its most recent published measurement, taken on 17 November 2026 at a pinned commit. It is not a live figure and does not change until the project is measured again.
  • Measured at commit 22b284878192764e4fddcbe0e95cf324744812e5 — the exact code this score is about.
  • Scored under rubric-2026.11.4 — the same rubric and the same method as every other entry in this index.
  • Measured by Canine Code Analyzer (cca.canine.dev) using cca measure-2026.11.85+preprod-eba6548ac50f.