FHIR Chat · Why no ExecutableMeasure profile? · cql

Stream: cql

Topic: Why no ExecutableMeasure profile?


view this post on Zulip Paul Denning (Jan 18 2022 at 19:04):

http://build.fhir.org/ig/HL7/cqf-measures/profiles.html has N/A for Executable Measure, why?

Would we want Executable measure so it can reference Executable Library?
Also, why doesn't Computable Measure reference Computable Library?

view this post on Zulip JP (Jan 18 2022 at 19:11):

The executable content of the Measure is actually the ELM that's stored in the Library that's referenced for CQL-based measures. The Measure Resource itself doesn't change. But I can see the case for making the reference to an CPGExecutableLibrary explicit.

view this post on Zulip Paul Denning (Jan 18 2022 at 19:29):

I'm thinking of $evaluate-measure with a "program" parameter, which effectively looks up Measure resources with a certain useContext, but useContext is only 1..1 in the Publishable Measure. useContext is 0..1 MS in other Measure profiles, so it can be set in Computable Measure, you just need to remember to set it.

view this post on Zulip Bryn Rhodes (Jan 20 2022 at 01:25):

Yes, in general we have only defined the Computable/Executable profiles when there is a clear structural need to do so. In the case of CQL libraries, we can structurally distinguish computable from executable based on the type of content available, and it's useful to do so because it allows us to package things up differently for different target environments.

view this post on Zulip Bryn Rhodes (Jan 20 2022 at 01:26):

In the case of ValueSet, we have the logical definition in the "compose" versus the "expansion", and again, clear utility in being able to package and distribute for environments with different capabilities.

view this post on Zulip Bryn Rhodes (Jan 20 2022 at 01:27):

We don't have that distinction with Measure. It's not that it isn't Computable, it is, it's just that there are no structural differences between a Shareable, Computable, and Executable measure.

view this post on Zulip Bryn Rhodes (Jan 20 2022 at 01:27):

That's why the knowledge capabilities (in R5) are specified on the Shareable profiles.


Last updated: Apr 12 2022 at 19:14 UTC