Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Working of Measure ELM JSON file of eCMS 2020 measure #157

Open
shardulbanker opened this issue Apr 21, 2020 · 9 comments
Open

Working of Measure ELM JSON file of eCMS 2020 measure #157

shardulbanker opened this issue Apr 21, 2020 · 9 comments

Comments

@shardulbanker
Copy link

Hi,

Can I use directly ELM JSON file provided as part of 2020 Measure bundle of CMS? Can I put the same provided file under spec\fixtures\json\cqm_measures<measure_id>.json?

Is it work as expected or do I need to make any changes?

Thanks.

@Nadeem16011993
Copy link

Hello shardulbanker,

Did you find any solution for your query , i also had the same query

Thanks

@Nadeem16011993
Copy link

Nadeem16011993 commented Aug 6, 2020

@mayerm94 @okeefm can you help with the above query

Thanks and Regards
Nadeem

@mayerm94
Copy link
Contributor

mayerm94 commented Aug 6, 2020

I haven't worked with this repo in a while but my guess is no, you cannot do that since spec\fixtures\json\cqm_measures<measure_id>.json is a directory containing test fixtures and the measure.jsons that you find in that directory do not appear to be ELM json. Open a measure file in spec\fixtures\json\cqm_measures<measure_id>.json and open your ELM json, do they look like they are representing the same type of content?

@Nadeem16011993
Copy link

Exactly they both are totally different, spec\fixtures\json\cqm_measures<measure_id>.json has a totally different format , attached a img.

Any idea how to generate this format and also the QDM Patient format used in this project

Thanks
Nadeem

Measure

@mayerm94
Copy link
Contributor

mayerm94 commented Aug 6, 2020

If I recall correctly https://github.com/projecttacoma/bonnie/blob/master/spec/javascripts/fixtures/json/README details how these fixtures were generated. You might have to spin up an instance of Bonnie to create patients for the measure you're trying to test. Again, it's been a while since I worked with this codebase so some of my knowledge might be dated.

@Nadeem16011993
Copy link

Also i happened to see that the result we get when we run this project for CMS107v6 or be it any other Measure, Its not same as the expected values for IPP, NUMER, DENOM,, DENEX given in the spec\fixtures\json\patients of that particular Measure like in this case CMS107v6 , can see the image below

Any inputs on that ?

Thanks
Nadeem
Measure_result

@mayerm94
Copy link
Contributor

mayerm94 commented Aug 6, 2020

Are you sure that those are the calculated results for the right patient? Other than that, it's hard to tell without debugging the measure execution to see why the expected values don't align with the actual values.

@Nadeem16011993
Copy link

My aim was to calculate ecqm automatically using CQL , as currently i was doing it manually for every measure using stored procedure.
I found this calculation engine so was testing it out with the sample measures which it already has .
So i used Measure CMS107v6 and corresponding patient file DENEXPass_CMOduringED

@keshavr19
Copy link

@Nadeem16011993 Were you able to calculate the results for CMS measures based on the library. We are trying to execute the 2021 CMS measures using the library but we are also not getting the expected results. We tried to generate the measure data, value sets and test patients as mentioned in https://github.com/MeasureAuthoringTool/bonnie/tree/master/spec/javascripts/fixtures/json.

@mayerm94 Can this be due to the dependency on the particular version of cqm-models?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants