AHRQ-CDS / AHRQ-CDS-Connect-Authoring-Tool

The CDS Authoring Tool is part of the CDS Connect project https://cds.ahrq.gov/, sponsored by the Agency for Healthcare Research and Quality (AHRQ), and developed under contract with AHRQ by MITRE's CAMH FFRDC.
https://cds.ahrq.gov/cdsconnect/authoring
Apache License 2.0
42 stars 19 forks source link

Import CQL for authoring #30

Closed naingtu closed 3 years ago

naingtu commented 3 years ago

Is there a capability to import existing CQL to Artifacts rather than creating a new one from scratch? It would be nice to be able to modify the published artifacts. Thanks in advance.

cmoesel commented 3 years ago

Hi @naingtu -- I apologize for the late answer; we somehow missed this question when it first came in.

The CDS Authoring Tool allows authors to upload externally authored CQL to an artifact, but it is read-only: you can use definitions from the uploaded CQL, but you cannot edit them. For example, if you upload a library with a CVD Risk Calculator, you can reference a risk calculation from the library (and compare it to a certain number, for example) -- but you can't modify the calculation logic itself. This is covered in the External CQL section of the User Guide.

We don't support importing external CQL for editing because CQL is a very broad spec and the CDS Authoring Tool does not provide a sufficient user interface (UI) to be able to present arbitrary CQL to the user via its edit controls. There are many CQL constructs we cannot render into our UI.