Stream: cql
Topic: measure report
Surya (Nov 21 2019 at 11:10):
How can we generate MeasureReport for MRP present in Hedis IG??
Bryn Rhodes (Nov 21 2019 at 11:13):
Follow this Quickstart: https://github.com/DBCG/connectathon/wiki/Quickstart
Bryn Rhodes (Nov 21 2019 at 11:13):
But use the MedRec measure.
Bryn Rhodes (Nov 21 2019 at 11:14):
You'll also need to load the value sets, most of those can be pulled from VSAC.
Surya (Nov 21 2019 at 11:17):
@Bryn Rhodes thank you ,I will try that
Surya (Nov 21 2019 at 12:49):
i have all that resources that mentioned in here https://github.com/DBCG/connectathon/wiki/Quickstart, and tried hedis-asf example also i got the measure report too, but i did't get hedis-MRP measure report example.
i am getting exception like this
{
"resourceType": "OperationOutcome",
"text": {
"status": "generated",
"div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><h1>Operation Outcome</h1><table border=\"0\"><tr><td style=\"font-weight: bold;\">ERROR</td><td>[]</td><td><pre>Failed to call access method: java.lang.ClassCastException: java.util.ArrayList cannot be cast to java.lang.Boolean</pre></td>\r\n\t\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t</tr>\r\n\t\t</table>\r\n\t</div>"
},
"issue": [
{
"severity": "error",
"code": "processing",
"diagnostics": "Failed to call access method: java.lang.ClassCastException: java.util.ArrayList cannot be cast to java.lang.Boolean"
}
]
}
Mohammad Afaq Khan (Nov 21 2019 at 12:55):
No so if you have the following scenario:
'''
define List1: {'a','a','a','b','c'}
define List2:{'a','a','b'}
define List1exList2:
...
'''
I want the return to be {'a','c'}
But if List2 was:
'''
define List2:{'a','b'}
'''
The return should be {'a','a','c'}
Surya (Nov 22 2019 at 04:38):
i have all that resources that mentioned in here https://github.com/DBCG/connectathon/wiki/Quickstart, and tried hedis-asf example also i got the measure report too, but i did't get hedis-MRP measure report example.
i am getting exception like this
{
"resourceType": "OperationOutcome",
"text": {
"status": "generated",
"div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><h1>Operation Outcome</h1><table border=\"0\"><tr><td style=\"font-weight: bold;\">ERROR</td><td>[]</td><td><pre>Failed to call access method: java.lang.ClassCastException: java.util.ArrayList cannot be cast to java.lang.Boolean</pre></td>\r\n\t\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t</tr>\r\n\t\t</table>\r\n\t</div>"
},
"issue": [
{
"severity": "error",
"code": "processing",
"diagnostics": "Failed to call access method: java.lang.ClassCastException: java.util.ArrayList cannot be cast to java.lang.Boolean"
}
]
}
@Bryn Rhodes ,
@Chris Moesel .
Bryn Rhodes (Nov 22 2019 at 08:53):
Looking into this; will post an update
Surya (Nov 22 2019 at 09:22):
@Bryn Rhodes Thanks for your response....
Bryn Rhodes (Nov 22 2019 at 18:17):
Hi @Surya, using the CQL source from pages/cql and loading the value sets from VSAC and the HEDIS IG we were able to run this successfully, so it might be that the Library resource packages need to be refreshed. We are checking on this and will confirm.
Adam Stevenson (Nov 23 2019 at 16:15):
The 'common' library was not included in the list of shared libraries here: https://build.fhir.org/ig/cqframework/hedis-ig/index.html. That is now resolved. Also, the artifacts have been refreshed. Loading the common, participation and MRP libraries, the MRP measure and required value sets should be sufficient now for a successful run of the MRP Measure.
Surya (Nov 25 2019 at 06:53):
Hi @Adam Stevenson i did't find that below libraries, these id's are different from existing id's.
"relatedArtifact": [
{
"type": "depends-on",
"resource": {
"reference": "Library/fhirhelpers"
}
},
{
"type": "depends-on",
"resource": {
"reference": "Library/ncqacommon-fhir"
}
},
{
"type": "depends-on",
"resource": {
"reference": "Library/participation-fhir"
}
}
Adam Stevenson (Nov 25 2019 at 15:27):
@Surya, you're right, those ids in the references should not have been changed. Not sure how I missed that before. Good catch. I've corrected that and published the fix. Thank you.
Surya (Nov 26 2019 at 12:48):
Hi @Adam Stevenson i got the Measure report for MRP example, but count value is zero for all .... Why??
"group": [
{
"identifier": {
"value": "ASF-cohort-1"
},
"population": [
{
"identifier": {
"value": "initial-population"
},
"code": {
"coding": [
{
"code": "initial-population"
}
]
},
"count": 0
},
{
"identifier": {
"value": "numerator 1"
},
"code": {
"coding": [
{
"code": "numerator"
}
]
},
"count": 0
},
{
"identifier": {
"value": "denominator 1"
},
"code": {
"coding": [
{
"code": "denominator"
}
]
},
"count": 0
}
]
},
{
"identifier": {
"value": "ASF-cohort-2"
},
"population": [
{
"identifier": {
"value": "initial-population"
},
"code": {
"coding": [
{
"code": "initial-population"
}
]
},
"count": 0
},
{
"identifier": {
"value": "numerator 2"
},
"code": {
"coding": [
{
"code": "numerator"
}
]
},
"count": 0
},
{
"identifier": {
"value": "denominator 2"
},
"code": {
"coding": [
{
"code": "denominator"
}
]
},
"count": 0
}
]
}
]
Adam Stevenson (Nov 26 2019 at 15:48):
@Surya That's a more difficult question to answer. We will be building up the testing around MRP in the next few days. Once that is complete I'll be in a better position to speak with confidence about the state of the logic in the Measure. Meanwhile, are you certain that Patient data exists on the server that you're evaluating the Measure on? Specifically, Patient data that is relevant to your MRP evaluation query and that you expect to result in something other than zero for all of the counts?
Surya (Nov 27 2019 at 09:45):
Hi @Adam Stevenson i uploaded all patient resources which is asf-in,asf-out,asf-in-2,asf-out-2 but there no change in the count value....
Surya (Nov 27 2019 at 09:50):
i did't find, how that patient is related to the measure,
how it will take patient content in measure report
Adam Stevenson (Nov 27 2019 at 15:15):
@Surya can you share the full URL that you're posting to evaluate the measure? The patient id should be specified in the query string, along with the period start and end date for the evaluation to consider. A DSTU3 example: http://localhost:8080/cqf-ruler-dstu3/fhir/Measure/measure-mrp/$evaluate-measure?patient=Patient-6523&periodStart=1997-01-01&periodEnd=1997-12-31
Surya (Nov 28 2019 at 06:11):
Hi @Adam Stevenson our url's is same i think,i have two situations here:
1)with out loading patient (Patient-6523) in my server i was try to GET the measure report for MRP like this
http://10.0.0.103:8078/hspc1/data/Measure/measure-mrp/$evaluate-measure?patient=Patient-6523&periodStart=1997-01-01&periodEnd=1997-12-31 in that measure report count value for all is zero.
"status": "complete",
"type": "individual",
"measure": {
"reference": "Measure/measure-mrp"
},
"period": {
"start": "1997-01-01T00:00:00+05:30",
"end": "1997-12-31T00:00:00+05:30"
},
"group": [
{
"identifier": {
"value": "main-group"
},
"population": [
{
"identifier": {
"value": "initial-population"
},
"code": {
"coding": [
{
"code": "initial-population"
}
]
},
"count": 0
},
{
"identifier": {
"value": "numerator"
},
"code": {
"coding": [
{
"code": "numerator"
}
]
},
"count": 0
},
{
"identifier": {
"value": "denominator"
},
"code": {
"coding": [
{
"code": "denominator"
}
]
},
"count": 0
}
]
}
],
"evaluatedResources": {
"reference": "#9eb15b65-552e-4ddc-9094-5ea99fa66d64"
}
}
2)after loading patient (Patient-6523) , when i do operation of GET measure report ,
http://10.0.0.103:8078/hspc1/data/Measure/measure-mrp/$evaluate-measure?patient=Patient-6523&periodStart=1997-01-01&periodEnd=1997-12-31
i am getting exception like this
{
"resourceType": "OperationOutcome",
"text": {
"status": "generated",
"div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><h1>Operation Outcome</h1><table border=\"0\"><tr><td style=\"font-weight: bold;\">ERROR</td><td>[]</td><td><pre>Failed to call access method: java.lang.ClassCastException: java.util.ArrayList cannot be cast to java.lang.Boolean</pre></td>\r\n\t\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t</tr>\r\n\t\t</table>\r\n\t</div>"
},
"issue": [
{
"severity": "error",
"code": "processing",
"diagnostics": "Failed to call access method: java.lang.ClassCastException: java.util.ArrayList cannot be cast to java.lang.Boolean"
}
]
}
Surya (Dec 02 2019 at 06:43):
Can any one suggest me ,how to resolve this issue......
Thanks in advance.
Lloyd McKenzie (Dec 02 2019 at 13:22):
@Bryn Rhodes
Bryn Rhodes (Dec 03 2019 at 20:22):
Hi @Surya, we'll take a look and let you know what we find.
Surya (Dec 04 2019 at 04:33):
Hi @Bryn Rhodes Thank you for your response,hope you will find the solution soon...
Surya (Dec 09 2019 at 10:16):
Hi all ,After updated resources in hedis-IG, i tried to get MeasureReport for all examples but it is throwing exception.
Surya (Dec 09 2019 at 11:10):
ASF example throwing exception like this:
{
"resourceType": "OperationOutcome",
"text": {
"status": "generated",
"div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><h1>Operation Outcome</h1><table border=\"0\"><tr><td style=\"font-weight: bold;\">ERROR</td><td>[]</td><td><pre>Failed to call access method: java.lang.IllegalArgumentException: Cannot perform the ToDateTime operation with argument of type org.opencds.cqf.cql.runtime.DateTime</pre></td>\r\n\t\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t</tr>\r\n\t\t</table>\r\n\t</div>"
},
"issue": [
{
"severity": "error",
"code": "processing",
"diagnostics": "Failed to call access method: java.lang.IllegalArgumentException: Cannot perform the ToDateTime operation with argument of type org.opencds.cqf.cql.runtime.DateTime"
}
]
}
Surya (Dec 09 2019 at 11:23):
remaining examples throwing exception like this:
{
"resourceType": "OperationOutcome",
"text": {
"status": "generated",
"div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><h1>Operation Outcome</h1><table border=\"0\"><tr><td style=\"font-weight: bold;\">ERROR</td><td>[]</td><td><pre>Resource Library/NCQACommon_FHIR is not known</pre></td>\r\n\t\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t</tr>\r\n\t\t</table>\r\n\t</div>"
},
"issue": [
{
"severity": "error",
"code": "processing",
"diagnostics": "Resource Library/NCQACommon_FHIR is not known"
}
]
}
Bryn Rhodes (Dec 09 2019 at 15:22):
Thank you for the report, we are in the process of updating/testing all of the HEDIS measures for R4 support, we'll take a look at this and let you know.
Last updated: Apr 12 2022 at 19:14 UTC