FHIR Chat · Example Use cases of CQL · cql

Stream: cql

Topic: Example Use cases of CQL


view this post on Zulip Mritunjay Dubey (Jun 12 2019 at 04:55):

Hello People,
I was just getting started with the cql and I looked at the HL7-Introduction page. The background section(https://cql.hl7.org/01-introduction.html#background) summary is:

The Clinical Quality Measurement(CQM) & Clinical Decision Support are closely related, share many common
requirements, and both aim to improve healthcare quality. However the standards used to represent in Electronic
Format are different , which leads to a lot of duplicate effort. CQL framework tries to solve the same problem by
bringing the common pieces together.

While I got the idea theoretically, I couldn't find an example use case of the same either on that page or any where else. Can someone please provide an example use case for the same. It would be better to have an example in the background section to help us understand better.

view this post on Zulip Lloyd McKenzie (Jun 12 2019 at 05:45):

@Bryn Rhodes

view this post on Zulip Bryn Rhodes (Jun 12 2019 at 05:49):

The Authoring Artifact Logic section of the specification describes building a quality measure and complementary decision support for Chlamydia Screening, and uses it to illustrate sharing logic between the two domains.

view this post on Zulip Bryn Rhodes (Jun 12 2019 at 05:52):

More recently, Opioid Decision Support logic for calculating MME thresholds has been shared with a quality measure CMS460v1.

view this post on Zulip Bryn Rhodes (Jun 12 2019 at 05:53):

It sounds like it would be helpful to link to that example directly in the spec though.

view this post on Zulip Mritunjay Dubey (Jun 12 2019 at 07:30):

Hi @Bryn Rhodes Thanks for the reply. I will have a look into these. I think it will be helpful to have example while getting the introduction only from a scenario basis(or requirement basis) not really implementation. What I mean here if a person who is not really bothered about implementation level details but still can read and get the functional perspective. Something like below:

The report/screening details
The output CQM looking for
The output CDS looking for
The common pieces for both
The specific pieces for both

Lack of experience in HealthCare DecisionSupport/QualityMeasurement might be the reason I was finding it hard to relate, not sure what does others think.

view this post on Zulip Chris Moesel (Jun 12 2019 at 17:21):

@Mritunjay Dubey -- Here's a fairly straight-forward example at a conceptual level.
Guideline: The American Diabetes Association suggests that patients with Diabetes should get a foot exam at least once per year.
CQM: For each patient with Diabetes, check if they received a foot exam during the last year of the measurement period. If yes, measure passes for this patient, if no, measure fails.
CDS: If the patient in the exam room has Diabetes, check if they have received a foot exam in the past six months. If not, recommend a foot exam.

Common bits:

  • determination if the patient has Diabetes
  • structural representation of foot exam (for query of past foot exam)
  • exclusions (e.g., if patient has had both feet amputated, CQM and CDS don't apply)

Specific bits:

  • daterange: CQM looks one year back during the measurement period; CDS looks six months back from today -- and uses shorter lookback since next exam might not be for another year
  • result: CQM returns pass/fail, CDS potentially returns an order for a foot exam

view this post on Zulip Mritunjay Dubey (Jun 13 2019 at 03:36):

Thanks @Chris Moesel, This is what I was talking about. This will surely help to understand much better while getting started.


Last updated: Apr 12 2022 at 19:14 UTC