Stream: MAT/Bonnie
Topic: Error with Measure Observation
Tien Thai (Jan 29 2021 at 20:25):
Hi @Bryn Rhodes
Can you please tell me what the following error is about and what need to look for to resolve this error? Many thanks for your help.
"Measure Observation 1 : A Measure Observation must have an argument that returns the same type as the items in the list that was returned for the definition applied to the associated measure population.:
Regards,
Tien Thai
Bryn Rhodes (Jan 30 2021 at 17:17):
Hi @Tien Thai , that error is saying that your Measure Observation function takes an argument that isn't consistent with the type of elements in the Measure Population. So if your population is made up of "Encounter, Performed"
, then your Measure Observation function needs to take an argument of type "Encounter, Performed"
. Does that help?
Tien Thai (Feb 01 2021 at 20:04):
Hi @Bryn Rhodes ,
Thank you very much for your quick response. I have managed to resolve that error with your suggestion. However, given what have been defined in the THATKACommon library and I am attempting to implement one of the suggested recommendations (i.e. switch to continuous variable measure on line 176), the MAT showed errors when saving groups (see attached screenshot). Can you please provide me a suggestion to resolve those errors? Thank you very much for your help.
Regards,
Tien Thai
PS:
The measure I am building in the MAT is called "VTE-Bleeding Measure 02" and the recommendations are from the link below:
https://github.com/cqframework/CQL-Formatting-and-Usage-Wiki/blob/master/Source/Cooking%20With%20CQL/47/146_CompositeMeasures.cql
Last updated: Apr 12 2022 at 19:14 UTC