11# CQL.js
22
3- [ ![ npm package ] ( https://badge.fury .io/js/%40cqframework%2Fcql.svg )] ( https://badge.fury.io/js /%40cqframework%2Fcql)
3+ ![ NPM Version ] ( https://img.shields .io/npm/v /%40cqframework%2Fcql )
44
55JavaScript tools for the Clinical Quality Language (CQL).
66
@@ -18,7 +18,7 @@ use it in Node.js and the browser (both on the main thread and in web workers).
1818The library includes a fully featured CQL translator, allowing you to compile CQL to ELM in JavaScript environments:
1919
2020``` js
21- import {ModelManager , LibraryManager , CqlTranslator } from " @cqframework/cql/cql-to-elm" ;
21+ import { ModelManager , LibraryManager , CqlTranslator } from " @cqframework/cql/cql-to-elm" ;
2222
2323const modelManager = new ModelManager ();
2424// Register the necessary model info providers with the model manager here
@@ -28,9 +28,6 @@ const cqlTranslator = CqlTranslator.fromText("library Test version '1.0.0'", lib
2828const elmJson = cqlTranslator .toJson ();
2929```
3030
31- For a complete example, see the source of the
32- [ demo CQL to ELM app] ( https://github.com/cqframework/clinical_quality_language/tree/feature-kotlin/Src/js/cql-to-elm-ui ) .
33-
3431### TypeScript support
3532
3633The TypeScript definitions included in this package are automatically generated from the Kotlin code. The generator is
@@ -40,8 +37,8 @@ so the types may not be perfect.
4037## Project status
4138
4239This package is built from the Kotlin
43- Multiplatform [ source] ( https://github.com/cqframework/clinical_quality_language/tree/feature-kotlin /Src/java ) which
44- itself evolved from the reference Java implementation. The KMP project targets the JVM and JavaScript environments with
40+ Multiplatform [ source] ( https://github.com/cqframework/clinical_quality_language/tree/master /Src/java ) which itself
41+ evolved from the reference Java implementation. The KMP project targets the JVM and JavaScript environments with
4542the goal of maintaining a single, shared codebase for both platforms.
4643
4744This new JavaScript target is currently in beta and its API may change in future releases. If you encounter any issues,
0 commit comments