cqframework / clinical_quality_language

Clinical Quality Language (CQL) is an HL7 specification for the expression of clinical knowledge that can be used within both the Clinical Decision Support (CDS) and Clinical Quality Measurement (CQM) domains. This repository contains complementary tooling in support of that specification.
https://confluence.hl7.org/display/CDS/Clinical+Quality+Language
Apache License 2.0
267 stars 123 forks source link

Add demo UI for CQL parser #1439

Closed antvaset closed 1 week ago

antvaset commented 2 weeks ago

Overview

The front end is a Next.js app that has the Kotlin/JS- and Kotlin/WASM-based CQL parser dependencies pre-installed. It includes a simple CqlPlayground component that allows you to enter CQL code and see the parse tree. The parser also executes on the server when the page is server-side rendered.

This is a starting point for a demo where the focus has also been to figure out the configuration and wiring for the Kotlin/JS and Kotlin/WASM builds.

Steps to run the app

1) Build the Java/Kotlin project in /Src/java (:cql:build is enough) 2) Run npm install and npm run dev in /Src/js/cql-ui

image
github-actions[bot] commented 2 weeks ago

Formatting check succeeded!

codecov[bot] commented 2 weeks ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Please upload report for BASE (feature-multiplatform-cql-parser@0f3af36). Learn more about missing BASE report.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## feature-multiplatform-cql-parser #1439 +/- ## =================================================================== Coverage ? 64.41% Complexity ? 2173 =================================================================== Files ? 493 Lines ? 28100 Branches ? 5560 =================================================================== Hits ? 18102 Misses ? 7755 Partials ? 2243 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

sonarcloud[bot] commented 1 week ago

Quality Gate Passed Quality Gate passed

Issues
9 New issues
0 Accepted issues

Measures
0 Security Hotspots
89.4% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarQube Cloud