Stream: cql
Topic: FHIR Measure Packaging
Jerry Goodnough (Dec 20 2019 at 16:31):
@Bryn Rhodes I knew you are working on the profile for packaging FHIR measures as a Bundle resource, is it possible you could point me at where this work is being done?
Bryn Rhodes (Dec 20 2019 at 18:48):
It’s being balloted this cycle, this link is what will be balloted: http://build.fhir.org/ig/HL7/cqf-measures/branches/R4_Lift/packaging.html
Jerry Goodnough (Dec 20 2019 at 21:55):
Thanks... exactly what I needed!
Jerry Goodnough (Dec 27 2019 at 17:55):
@Bryn Rhodes In looking at this I see early on this clause “or as part of a collection of related measures.” - yet I see no specific text on how this might be done, I assume the intent is not to have a bundle of bundles?
Bryn Rhodes (Dec 28 2019 at 19:38):
Not sure yet what a collection of related measures looks like, so we didn't specify any guidance around that. Would welcome feedback on it, but that sentence is forward looking, anticipating that we want to be able to do that, but it's not clear how yet.
Jerry Goodnough (Dec 30 2019 at 16:07):
Ok... got it a forward looking statement, I will give it some thought. Likewise it appears there is no specific profile yet for the inclusion on value sets?
Mohammad Afaq Khan (Jan 02 2020 at 17:48):
I'm in the CQL-Engine/src/main/java/org/opencds/cqf/cql/elm/execution. I'm trying to find the java code for the "during" operator. Does anyone know where this is? I want to know why FHIR requires me to have a FHIRHelpers library when I use this operator. I see the
FHIRHelpers library just defines a bunch of ToStrings for different FHIR object fields.
Mohammad Afaq Khan (Jan 02 2020 at 17:49):
Isn't the ToString method defined within the object's class?
Mohammad Afaq Khan (Jan 02 2020 at 17:59):
The ToString should be Polymorphic with regard to each FHIR object?
Lloyd McKenzie (Jan 03 2020 at 14:57):
@Bryn Rhodes
Bryn Rhodes (Jan 03 2020 at 18:03):
The during
keyword is a synonym for included in
, and is translator to the ELM IncludedIn
operator. So it's being handled in the engine by the IncludedInEvaluator.
Bryn Rhodes (Jan 03 2020 at 18:04):
The ToString
operators defined in FHIRHelpers are conversion operators that are defined as implicit conversions to avoid having to access the value
element of "primitive" types in FHIR.
Bryn Rhodes (Jan 03 2020 at 18:05):
In the CQL type system, there isn't a ToString
defined on the base class, so these ToString
operators aren't overriding behavior from the base the way they do in Java or C#.
Bryn Rhodes (Jan 03 2020 at 18:05):
The translator recognizes the implicit conversion and invokes them when needed to get to a particular target type.
Mohammad Afaq Khan (Jan 03 2020 at 20:08):
Thanks @Bryn Rhodes
Mohammad Afaq Khan (Jan 03 2020 at 20:10):
Thanks @Bryn Rhodes
Mohammad Afaq Khan (Jan 03 2020 at 20:10):
And @Lloyd McKenzie
Mohammad Afaq Khan (Jan 03 2020 at 20:10):
And @Lloyd McKenzie
Jerry Goodnough (Jan 27 2020 at 16:33):
@Bryn Rhodes looking at both the measure-cqmf and the most recent connectathon R4 measure I see one profile inconsistency, namely for populations and stratifiers the “id” filed is marked required in the profile, but does not appears in the measures. Is it vital to make these a required field?
Bryn Rhodes (Jan 27 2020 at 23:50):
@Jerry Goodnough , you're right, those should have ids. We'll get those updated. It looks like the reference implementation is using the code as a fallback, but we'll verify that as well.
Bryn Rhodes (Jan 28 2020 at 03:27):
And yes, they need to be required because the code alone is not unique; there are measure types that have multiple population criteria for the same code, so we need a way to uniquely identify the population criteria being reported.
Jerry Goodnough (Jan 28 2020 at 19:30):
So based on you statement I would assume that these ids would be relate to the cql logic directly?
Bryn Rhodes (Jan 29 2020 at 00:32):
Not necessarily, they could be foo-1, foo-2, etc. They are only used to correlate the population criteria elements in the MeasureReport to the population criteria elements in the Measure. By convention, we set them to an id
-ified representation of the CQL expression name for the criteria, but that's just for convenience.
Last updated: Apr 12 2022 at 19:14 UTC