Stream: cql
Topic: Authoring Tool
Lakshmi Thrivarna (Feb 27 2019 at 05:24):
Hi All,
Can anyone please provide a demo for creating a CQL. How to use all the tabs in CDS Authoring Tool??
Thanks in Advance.
Lloyd McKenzie (Feb 27 2019 at 16:53):
@Bryn Rhodes
Bryn Rhodes (Feb 27 2019 at 19:03):
@Chris Moesel is out this week, so he may have much more to add here, but there is a user guide for the authoring tool here: https://cds.ahrq.gov/authoring/userguide
Bryn Rhodes (Feb 27 2019 at 19:04):
I know they also gave a webinar recently, but I wasn't able to attend and don't know whether a recording is available.
Chris Moesel (Mar 05 2019 at 14:13):
Thanks @Bryn Rhodes. Yes, the user guide is a good place to start (for now). The Webinar was recorded and will be posted shortly. When it is, I'll try to come back around and post the link here.
Daniel Tam (Oct 15 2021 at 23:01):
@Chris Moesel : I recently came across this thread -- was wondering if you could post the webinar for that AHRQ authoring tool?
To everyone: Are there other authoring tools out there that I should be aware of? In my organization I am thinking I would need some type of CQL input tool where people can log in, input CQL statements, save CQL statements, and even have an area where we can store and organize company-wide CQL statemetns used for quality metrics. Have you seen anything created so far that might match my needs?
JP (Oct 16 2021 at 00:55):
If your organization is developer-centric, we've found that a GitHub repo and an IDE (Atom or VS Code) with some CQL/FHIR-related plugins is the quickest way to develop and test artifacts, since it aligns well with their existing experience and workflows. The Measures in the connectathon, ecqm-content-r4, and ecqm-content-r4-2021 repos were developed that way, as well as the cds artifacts in the opioid-cds-r4 repo.
You'll notice there's an index of shared CQL libraries in the root of the ecqm repos.
Additionally, there are tools available to create an online, browser-based IDE preconfigured with the CQL/FHIR tooling and backed by a git repository. I think Bryn is planning on demoing such a setup in an upcoming seminar.
Here's a list of some CQL/FHIR-related VS Code plugins:
https://marketplace.visualstudio.com/search?term=fhir&target=VSCode&category=All%20categories&sortBy=Relevance
Admittedly, it not necessarily an ideal setup for clinicians or for those without source control experience in general. The CDS Authoring tool helps abstract away a lot of that complexity.
Chris Moesel (Oct 18 2021 at 12:52):
Hi @Daniel Tam - the webinar video can be found here: https://digital.ahrq.gov/events/national-web-conference-clinical-decision-support-authoring-tool. It is also linked in the introduction to the CDS Authoring Tool User Guide. As for your requirements, here are a few notes to consider:
- The CDS Authoring Tool allows users to create CQL logic by clicking buttons, selecting values, and filling out forms; it does not currently allow direct entry of CQL.
- While it does not allow direct entry of CQL, it does allow upload of existing CQL files (if you authored them elsewhere). Expressions in these files cannot be edited, but they can be referenced and used from the rest of the tool.
- The CDS Authoring Tool does not have any collaborative features built in, nor does it have an area for shared logic, but authors could upload company-wide CQL libraries to their own artifacts in order to leverage common company-wide CQL statements.
- The CDS Authoring Tool does not support all aspects of CQL; it is a limited subset. While we continue to evolve it so it supports more CQL constructs, it will never reach 100% coverage of the CQL spec. This is why we also allow uploading and referencing externally authored CQL libraries.
As @JP mentioned, if you have CQL-savvy authors (or authors willing to learn CQL), then using a shared source code repository (e.g., GitHub) and IDEs w/ CQL plugins will likely work better for you. If you need a more user-friendly solution for non-developers, and are able to work within some limitations, then you should take a look at the CDS Authoring Tool. I believe that all of these solutions (CDS Authoring Tool, CQL IDE plugins, etc.) are open source -- so you also have the option to extend them to meet your needs (if you have the resources and skills to do so).
Daniel Tam (Oct 19 2021 at 23:33):
Chris and JP, thank you very much for the info. This is really helpful. I'll take a look at these options and figure out what will work best for my organization. Will let you know if we end up building something or coming across some ideas that the community might find helpful.
Daniel Tam (Oct 19 2021 at 23:34):
@JPThat CQL plugin for VS Code makes it much easier when reviewing CQL statements. Thank you for that.
Last updated: Apr 12 2022 at 19:14 UTC