FHIR Chat · Plan evaluation · cql

Stream: cql

Topic: Plan evaluation


view this post on Zulip Jing Tang (Mar 05 2021 at 01:57):

I see the create measure report api in https://github.com/DBCG/cql-evaluator. Is the application of plan definition going to be exposed as an API in this codebase? or another codebase? thanks!

view this post on Zulip JP (Mar 05 2021 at 15:06):

Yes, eventually. The code that's in the cql-evaluator originated in the cqf-ruler but was tightly tied to the JPA server implementation. We'd like to expose these various operations in other scenarios, such as in the Atom plugin, in a Spark pipeline, etc., so we're refactoring the operations to be data store agnostic. The data store agnostic versions of the operations are being placed into the cql-evaluator project.

There's some implementation of PlanDefinition $apply in the cqf-ruler if you're looking for code today.

https://github.com/DBCG/cqf-ruler/blob/master/r4/src/main/java/org/opencds/cqf/r4/providers/PlanDefinitionApplyProvider.java#L84

view this post on Zulip Jing Tang (Mar 05 2021 at 16:18):

got it! thanks JP!

view this post on Zulip Jing Tang (Mar 05 2021 at 16:18):

@Peter Lubell-Doughtie fyi

view this post on Zulip David Winters (Mar 23 2021 at 17:31):

Hi @JP. It doesn't appear that cqf-ruler currently supports the PlanDefinition $apply operation defined in the most recent FHIR Clinical Guidelines IG. Is that understanding correct? Thanks!

view this post on Zulip JP (Mar 23 2021 at 20:40):

That's correct. It's not yet been updated with the latest changes to the $apply definition.

view this post on Zulip David Winters (Mar 24 2021 at 17:15):

Thanks for the confirmation @JP .


Last updated: Apr 12 2022 at 19:14 UTC