Stream: cql
Topic: CQL authoring tools for measures
Chris Moesel (Jul 12 2019 at 13:43):
@Surya wrote:
hello,
I have gone through the AHRQ project(https://cds.ahrq.gov/authoring/build) . I got some doubt , can we generate cql file for MeasureReport by using this tool or this tool has only generated cql for cds-hooks i.e. for PlanDefinition ??If yes then can we have any open-source tools that can generates measure-report related cql file.
Thank you in Advance.
Chris Moesel (Jul 12 2019 at 13:43):
Hi @Surya -- I moved your question to a separate topic where it might get better response. The AHRQ CDS Authoring Tool that you referenced is designed for the CDS use case (rather than eCQMs). That said, it exports normal CQL logic, so it's possible that the exported logic could be used in eCQMs too (as long as you want FHIR-based eCQMs). If you want QDM-based eCQMs, however, then FHIR-based logic won't work for you. The task of creating the more measure-specific aspects (like MeasureReport) is not supported at all by CDS Authoring Tool. The only authoring tool I'm currently aware of for creating CQL-based measures is the Measure Authoring Tool, which uses the QDM data model.
Surya (Jul 15 2019 at 05:49):
Hi Surya -- I moved your question to a separate topic where it might get better response. The AHRQ CDS Authoring Tool that you referenced is designed for the CDS use case (rather than eCQMs). That said, it exports normal CQL logic, so it's possible that the exported logic could be used in eCQMs too (as long as you want FHIR-based eCQMs). If you want QDM-based eCQMs, however, then FHIR-based logic won't work for you. The task of creating the more measure-specific aspects (like MeasureReport) is not supported at all by CDS Authoring Tool. The only authoring tool I'm currently aware of for creating CQL-based measures is the Measure Authoring Tool, which uses the QDM data model.
Thank You for the reply Chris...Let us suppose,I want to create a cql file for generating MeasureReport(eCQM specific cql files ) in FHIR DataModel then AHRQ CDS-Authoring Tool is useful or not??
Chris Moesel (Jul 15 2019 at 13:51):
@Surya -- Many measures are defined using "Initial Population (IPP)", "Denominator", "Denominator Exclusions", "Denominator Exceptions", and "Numerator". The CDS Authoring Tool has tabs for "Inclusions", "Exclusions", "Sub-populations", and "Recommendations". You could use the CDS Authoring Tool to write most of the logic -- "Inclusions" is basically the same as eCQM "Denominator". "Exclusions" is basically the same as eCQM "Denominator Exclusions", and you could use "Sub-populations" to craft "Numerator" criteria. Then you'd export the CQL from CDS Authoring Tool and have to modify the rest by hand (renaming expressions if necessary, adding IPP or Exceptions if necessary, etc).
The CDS Authoring Tool is not going to export HQMF or FHIR PlanDefinitions, Measures, etc. So you would need to create those yourself.
Surya (Jul 16 2019 at 05:40):
Surya -- Many measures are defined using "Initial Population (IPP)", "Denominator", "Denominator Exclusions", "Denominator Exceptions", and "Numerator". The CDS Authoring Tool has tabs for "Inclusions", "Exclusions", "Sub-populations", and "Recommendations". You could use the CDS Authoring Tool to write most of the logic -- "Inclusions" is basically the same as eCQM "Denominator". "Exclusions" is basically the same as eCQM "Denominator Exclusions", and you could use "Sub-populations" to craft "Numerator" criteria. Then you'd export the CQL from CDS Authoring Tool and have to modify the rest by hand (renaming expressions if necessary, adding IPP or Exceptions if necessary, etc).
The CDS Authoring Tool is not going to export HQMF or FHIR PlanDefinitions, Measures, etc. So you would need to create those yourself.
Thank you for responding chris...ur inputs are really valuable for us... :+1:
Surya (Jul 31 2019 at 05:32):
Hi Surya -- I moved your question to a separate topic where it might get better response. The AHRQ CDS Authoring Tool that you referenced is designed for the CDS use case (rather than eCQMs). That said, it exports normal CQL logic, so it's possible that the exported logic could be used in eCQMs too (as long as you want FHIR-based eCQMs). If you want QDM-based eCQMs, however, then FHIR-based logic won't work for you. The task of creating the more measure-specific aspects (like MeasureReport) is not supported at all by CDS Authoring Tool. The only authoring tool I'm currently aware of for creating CQL-based measures is the Measure Authoring Tool, which uses the QDM data model.
Hello @Chris Moesel ,
Is there any tool available which is supporing FHIR DataModel and generating eCQMs related cql(like measure related) ?? I have seen MAT(Measure Authoring Tool) but It is on QDM(Quick DataModel).so basically I am searching for a tool which can generate cql for eCQMs on Fhir DataModel.
Thank You in advance
Surya (Jul 31 2019 at 11:59):
Hello all,
Is there any tool available which is supporing FHIR DataModel and generating eCQMs related cql(like measure related) ?? I have seen MAT(Measure Authoring Tool) but It is on QDM(Quick DataModel).so basically I am searching for a tool which can generate cql for eCQMs on Fhir DataModel.
Thank You in advance
Bryn Rhodes (Jul 31 2019 at 13:56):
There is a plugin for the Atom editor that supports QDM as well as all versions of FHIR. It allows you to write CQL, validate it against the data model, and generate the ELM. Search for langage-cql in the packages.
Surya (Aug 01 2019 at 05:11):
hii @Chris Moesel
do you have any idea about openCDS tool??Is it helpful for generating cds-hooks and measure related cql file??
Thank you in advance
Bryn Rhodes (Aug 01 2019 at 06:39):
Hi @Surya, OpenCDS refers to a consortium, as well as an architecture for CDS distribution and evaluation services, I'm not aware of any authoring tool there. Can you provide a link to a more specific tool you are asking about?
Surya (Aug 01 2019 at 09:34):
Hi @Surya, OpenCDS refers to a consortium, as well as an architecture for CDS distribution and evaluation services, I'm not aware of any authoring tool there. Can you provide a link to a more specific tool you are asking about?
I have seen AHRQ(https://cds.ahrq.gov/authoring/build) for cds-hooks related cql files generation which is in Fhir DataModel and MAT(https://www.emeasuretool.cms.gov/) for generation of eCQM related cql files but it is in QDM. I have just found some reference of openCDS(http://www.opencds.org/),so I keen to know about that...like do CDSopen provides any authoring tool related to eCQMS or PlanDefinition.
Do you have idea about any tool which generates eCQM cql files for measures on Fhir Datamodel??
Thank You
Chris Moesel (Aug 05 2019 at 13:26):
Hi @Surya -- CQL provides the logic used in measures and CDS. To write a complete eCQM (using FHIR) you would also need to author instances of the appropriate FHIR resources from the FHIR Clinical Reasoning (http://hl7.org/fhir/R4/clinicalreasoning-module.html). I'm not aware of any tools that will help you author these using a graphical interface. You may need to manually author them using a text editor (if you are on Windows, perhaps Notepad++ with the FHIR plugin). As for authoring CQL, I noted how the CDS Authoring Tool could potentially be used for this, but since it is designed for CDS, it would still require some manual adjustments to the output. I would recommend you try @Bryn Rhodes's suggestion and use atom with the CQL extension. It means you will need to learn how to author CQL manually, but this is a worthwhile investment -- and CQL is designed to be easily learned. I'd start by looking at the Author's Guide (chapter 2) of the specification at https://cql.hl7.org/.
Last updated: Apr 12 2022 at 19:14 UTC