Hl7.Cql.Runtime
2.0.7-alpha
dotnet add package Hl7.Cql.Runtime --version 2.0.7-alpha
NuGet\Install-Package Hl7.Cql.Runtime -Version 2.0.7-alpha
<PackageReference Include="Hl7.Cql.Runtime" Version="2.0.7-alpha" />
paket add Hl7.Cql.Runtime --version 2.0.7-alpha
#r "nuget: Hl7.Cql.Runtime, 2.0.7-alpha"
// Install Hl7.Cql.Runtime as a Cake Addin #addin nuget:?package=Hl7.Cql.Runtime&version=2.0.7-alpha&prerelease // Install Hl7.Cql.Runtime as a Cake Tool #tool nuget:?package=Hl7.Cql.Runtime&version=2.0.7-alpha&prerelease
Introduction
This is NCQA's and Firely's official support SDK for working with CQL on the Microsoft .NET (dotnet) platform. It contains an engine for executing ELM, and/or turning the contents of an ELM file into a .NET assembly so it can be called statically.
Release notes
This is release version 2.0 (alpha) of the engine. We expect parts of the public interface can to change. The engine has been tested by running it against the current NCQA HEDIS measures and CMS measures. There is quite some variation in how CQL is written and interpreted, so it is likely at this early stage that there will be deviations from other engines currently available.
The releases notes at firely-cql-sdk/releases for each major version will document these changes and (major) issues we have encountered.
Getting Started
- Read how to get started with the Demo solution included in the repository.
- There is a great presentation on the engine from DevDays 2023.
- The CQL section in the .NET SDK documentation
- A word document with background documentation on the design. May be somewhat outdated.
- A diagram showing how all the classes and their dependencies involved.
- A graphic showing the main (internal) parts of the engine. May be somewhat outdated.
The presentation is a good place to start, but note that we have made some minor changes to the public surface, so the names of the classes in the presentation will differ from the examples in the Demo project itself.
Dev Start
During development, new alpha releases will appear on Firely's Github Package feed, to be able to use pre-release packages within the cql solution. To use theses packages you must add https://nuget.pkg.github.com/FirelyTeam/index.json
to your NuGet sources:
Get a Personal Access token (PAT) from github.com with scope
read:packages
Next open a console on your machine and run
dotnet nuget add source --name github --username <USERNAME> --password <PAT> https://nuget.pkg.github.com/FirelyTeam/index.json
USERNAME
: your username on GitHub
PAT
: your Personal access token with at least the scope read:packages
Further information can be found in docs/getting-started.md.
Support
We actively monitor the issues coming in through the GitHub repository at https://github.com/FirelyTeam/firely-cql-sdk/issues. You are welcome to register your bugs and feature suggestions there. For questions and broader discussions, we use the .NET FHIR Implementers chat and CQL chat on Zulip.
Contributing
We are welcoming contributions!
If you want to participate in this project, we're using Git Flow for our branch management. Please submit PRs with changes against the develop
branch.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
-
net8.0
- HL7.Cql.Abstractions (>= 2.0.7-alpha)
- Hl7.Cql.Conversion (>= 2.0.7-alpha)
- Hl7.Cql.Iso8601 (>= 2.0.7-alpha)
- Hl7.Cql.Operators (>= 2.0.7-alpha)
- Hl7.Cql.Primitives (>= 2.0.7-alpha)
- JetBrains.Annotations (>= 2024.2.0)
NuGet packages (7)
Showing the top 5 NuGet packages that depend on Hl7.Cql.Runtime:
Package | Downloads |
---|---|
Hl7.Cql.Model
Support package for Hl7.Cql. Incorporates CQL model information into the runtime. |
|
Hl7.Cql.Logging
Support package for Hl7.Cql. Contains extension methods to initialize logging for the CQL Engine. |
|
Hl7.Cql.Compiler
Support package for Hl7.Cql. Translates ELM into C# expression trees and can emit those expression trees into either runtime Delegates or C# source code. |
|
Hl7.Cql.CodeGeneration.NET
Support package for Hl7.Cql. Converts .NET lambda expressions into C# source code. |
|
Hl7.Cql.Fhir
Support package for Hl7.Cql. Contains the bindings to use Firely's .NET SDK Pocos for FHIR. |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
2.0.7-alpha | 48 | 11/19/2024 |
2.0.4-alpha | 946 | 9/20/2024 |
2.0.3-alpha | 330 | 9/4/2024 |
2.0.2-alpha | 52 | 9/4/2024 |
2.0.1-alpha | 216 | 8/21/2024 |
2.0.0-alpha | 525 | 6/17/2024 |
1.0.0-rc3 | 424 | 7/10/2024 |
1.0.0-rc2 | 1,804 | 10/23/2023 |
1.0.0-rc1 | 2,395 | 9/7/2023 |
0.9.0-rc1 | 78 | 8/30/2023 |